Bug with automatically generated WSDD

2004-09-03 Thread WAJSBERG Julien RD-BIZZ
Hi, we're facing two problems that seems different but also related, with typeMapping and beanMapping in a WSDD file. The second one will be in another mail ;) We're trying to expose, in RPC/Literal style, the following java class : public class BusinessStructImpl { public SimpleBean

Problems with typeMapping and beanMapping in Axis 1.2b3

2004-09-03 Thread WAJSBERG Julien RD-BIZZ
Hi, and now, the second problem ! It's more like a problem with arrays. We're still trying to expose, in RPC/Literal style, the following java class : public class BusinessStructImpl { public String[] echoStringArray(String[] param) { return param; } public ArrayBean

Re: Request formed from WSDL doesn't have the method name?

2004-09-07 Thread WAJSBERG Julien RD-BIZZ
Frank-Ralph Reiser a écrit : One of my web service classes deployed with axis has e.g. a method public Data findCityByName(String name) {...} which returns a Data object containing an array of City objects. Consuming that webservice using an JSP client with generated stubs by wsdl2java and either

Re: Axis and .NET interoperability - Arrays

2004-09-24 Thread WAJSBERG Julien RD-BIZZ
Ellecer Valencia a écrit : (i'll probably be told to create WSDL first... but if so, why then do we have java2wsdl?) You can generate a first draft with java2wsdl, modify it according to your needs, and use wsdl2java afterwards :) -- Julien

Re: The automatically deployed ?wsdl document

2004-09-28 Thread WAJSBERG Julien RD-BIZZ
Robert Bateman a écrit : I tried that Karim. I can see my service, but it appears I have something mis-configured in my service as I can't seem to get the WSDL to display. I think you have to specify the wsdl file in your wsdd. http://www.osmoticweb.com/axis-wsdd/wsdlFile.htm also in

Re: NoClassDefFound: Software, part II (sorry ...)

2004-09-29 Thread WAJSBERG Julien RD-BIZZ
Axel Bock a écrit : Keith Hatton wrote: Try not using long directory names with spaces in them when you're setting the CLASSPATH. I think your AXIS_HOME variable (C:\Programme\Apache Software Foundation\Axis1.2b) or TOMCAT_HOME is the problem. The Java interpreter is having a problem with the

Re: axis1.2b3 much slower than axis1.1

2004-10-01 Thread WAJSBERG Julien RD-BIZZ
Martin Kuba a écrit : Hi, However it is much slower than Axis 1.1. I have a simple webservice for measuring the speed, and it show that 1.2 is about three times slower. The exact results are: Axis1.1 server / Axis1.1 client - 192 calls/sec Axis1.2 server / Axis1.2 client - 67 calls/sec

Re: Generating a return value w/o using objects?

2004-10-18 Thread WAJSBERG Julien RD-BIZZ
Michael Schuerig a écrit : I'm still pretty new to web services in general and Axis in particular. I have a case, where I don't want to generate the value returned from a call not from objects. I have the ResultSet from a database query and would like to avoid first binding its rows to objects

Re: Need to let axis check if parameter is null ?

2004-10-19 Thread WAJSBERG Julien RD-BIZZ
Maybe, you can try to generate a service skeleton from your modified wsdl file... ? Jairam, Roopnaraine a crit : Please help. *From:* Jairam, Roopnaraine *Sent:* Monday, October 18, 2004 10:03 AM *To:* [EMAIL PROTECTED]

Re: is it a must??

2004-10-20 Thread WAJSBERG Julien RD-BIZZ
Koney, Satish a écrit : If I develop a web service using axis, SHOULD the axis be deployed as web application in the server ?? or is there any other way? It's the way it works. It's a servlet, so you need a servlet container, such as tomcat. -- Julien

Re: Does axis 1.2 comply with JDK 5.0 (1.5)

2004-11-16 Thread WAJSBERG Julien RD-BIZZ
Vy Ho a écrit : Also, unzip the axis.jar file, I do not see the package there either. It's only on the CVS trunk : http://cvs.apache.org/viewcvs.cgi/ws-axis/java/src/org/apache/axis/constants/ You must either : - wait for the next Axis release - checkout the CVS version -- Julien

Bug about array of beans in 1.2RC2 (wrapped/literal)

2004-11-19 Thread WAJSBERG Julien RD-BIZZ
Hi, We have a strange bug in axis 1.2RC2, dealing with array of beans. There is a method whose signature is : public ArrayBean echoArrayBean(ArrayBean param); ArrayBean is defined like this : public class ArrayBean implements Serializable { private String stringData; private SimpleBean[]

Re: axis java client and php 5

2004-11-19 Thread WAJSBERG Julien RD-BIZZ
Christian Kalkhoff a crit : Hi, i want to use the axis soap client to connect to php 5.0.2. soap server. Unfortunally the server is not in may hand, so i cannot change it to java. It seems that php soap library doesn't understand the id href tags in axis generated messages. Do you mean

Re: Bug about array of beans in 1.2RC2 (wrapped/literal)

2004-11-22 Thread WAJSBERG Julien RD-BIZZ
and setter from simpleBeanArrayData but also a getter and setter by index, getSimpleBeanArrayData(int i) and setSimpleBeanArrayData(int i, SimpleBean bean). This keeps Axis from generating the ArrayOf_ type (which is not valid based on the WS-I spec). -Original Message- From: WAJSBERG Julien RD-BIZZ

Re: long vs. Long

2004-11-24 Thread WAJSBERG Julien RD-BIZZ
Tim Dev a écrit : Hi, I have a simple test method: Long foo(Long bar) Java2WSDL maps the Long to xsd:long and the client stub contains the method as: long foo(long bar) How does the WSDL look like ? The parameter and return value should have a nillable='true' attribute, otherwise I guess it's

Re: Axis 1.2 RC2 released

2004-11-24 Thread WAJSBERG Julien RD-BIZZ
Montabert, Olivier a écrit : Hi, The problem is that you have a WSDL with multiple parts in doc/lit mode, which is not WS-I compliant. Either change your operation, or use rpc/literal instead. or rather wrapped/literal. -- Julien

Re: Deserializing arrays doc/lit style?

2004-11-25 Thread WAJSBERG Julien RD-BIZZ
Daniel Beland a écrit : I had the same problem, and someone gave the answer earlier in another thread. You need a class that contains only the array and no more attributes with the standard get/set methods + getX(int i) and setX(int i, X x) methods. And your MyService class can return this class

Re: long vs. Long

2004-11-26 Thread WAJSBERG Julien RD-BIZZ
Tim Gmane a écrit : WAJSBERG Julien RD-BIZZ wrote: Tim Dev a écrit : Hi, I have a simple test method: Long foo(Long bar) Java2WSDL maps the Long to xsd:long and the client stub contains the method as: long foo(long bar) How does the WSDL look like ? The parameter and return value should have

Re: long vs. Long

2004-12-01 Thread WAJSBERG Julien RD-BIZZ
Simon Fell a écrit : -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tim K. (Gmane) Sent: Monday, November 29, 2004 7:20 PM To: [EMAIL PROTECTED] Subject: Re: long vs. Long If anyone else has an example on how to get the Long stuff to work end-to-end and to

Re: desperate newbie-- trouble with image attachment

2004-12-01 Thread WAJSBERG Julien RD-BIZZ
Vy Ho a écrit : Looking at the reference for Java2Wsdl, there's this line: -y, --styleThe style of binding in the WSDL, either DOCUMENT, RPC, or WRAPPED. That means you can pass in DOCUMENT as the style when generating the wsdl to say that you want DOCUMENT style messaging. Be

Re: byte[] incorrectly converted to xsd:byte in wsdl

2004-12-03 Thread WAJSBERG Julien RD-BIZZ
I also have a service returning byte[], and it is correctly serialized as xsd:base64Binary (both in wrapped/literal and rpc/encoded styles) . James Black a écrit : I am using Axis 1.2RC2 and I have a function: public byte[] lookupSelectLocationsString(Item input) ~From the wsdl file I have this:

Re: Multiple methods in a single web service (message style)

2004-12-03 Thread WAJSBERG Julien RD-BIZZ
Eyad Garelnabi a crit : Hi, Im interested in having the client call one of two (or three) methods that are within the same web service. Im using currently using message style webservices and through the research Ive done so far it seems to me that with message style I cant have multiple methods

Re: Cant find AdminClient class

2004-12-07 Thread WAJSBERG Julien RD-BIZZ
yes otherwise, you can configure another variable with this specific classpath (like AXISCLASSPATH), and use this one when you launch the java interpreter : java -cp %AXISCLASSPATH% AdminClient ... (or java -cp $AXISCLASSPATH with unix). (maybe double quotes if you have spaces in your

Re: Serialization Compatibility

2004-12-16 Thread WAJSBERG Julien RD-BIZZ
Hi, I found once that interoperability for HashMap of Strings is good between axis 1.1 and Perl, using RPC/Encoded. using literal encoding, it doesn't work anymore. The problem is that you will need wrapped/literal mode for interoperability with .Net :) So, Anne is right, you should avoid

Re: java2wsdl ant task for document/literal

2004-12-20 Thread WAJSBERG Julien RD-BIZZ
Ephemeris Lappis a écrit : Thanks for your feedback. Bad news !... I'd like to have a point of view from the Axis team about this issue. I'm not currently working a lot in web services domains, but according to what i've been reading in this list and others, document/literal seems to be often

Re: java2wsdl ant task for document/literal

2004-12-21 Thread WAJSBERG Julien RD-BIZZ
Ephemeris Lappis a écrit : I'm not a SOAP expert ! I think i had understood the difference between document and wrapped styles, and i suppose tools that will process the repective wsdl files will not generate similar codes : both use xml messages without soap encoding, but in document mode the

Re: java2wsdl ant task for document/literal

2004-12-21 Thread WAJSBERG Julien RD-BIZZ
Daniel Beland a écrit : In fact, to be more precise, it means that there is a schema element, with the same name as the operation, that contains (wraps) the actual document element representing all the parameters. ie: wrapped A AElement/ (of type X) /A document AElement/ (of type X) I believe

Re: WS-RM support?

2004-12-21 Thread WAJSBERG Julien RD-BIZZ
Jian J Zhang a écrit : Does AXIS supports WS-RM? Thanks, A first implementation exists : http://ws.apache.org/ws-fx/sandesha/ But I don't know if it's mature. -- Julien

Re: java2wsdl ant task for document/literal

2004-12-22 Thread WAJSBERG Julien RD-BIZZ
Ephemeris Lappis a écrit : Hello. I'm not sure i have understood it all. Sincerly, i remember, years ago, i had a look at the CORBA/GIOP/IIOP marshalling protocols, and finished the day with the same headache ! But, once more, we were lucky : we had IDL to write our interfaces... As i understand,

Re: java2wsdl ant task for document/literal

2004-12-22 Thread WAJSBERG Julien RD-BIZZ
For the difference between wrapped and non-wrapped document-style web services, you can read the weblog of Anne Thomas Manes : http://www.burtongroup.com/weblogs/annethomasmanes/archives/2004/04/000187.html Maybe it will make you better understand :) (this little article helped me also in the

Re: Axis memory leak

2005-01-14 Thread WAJSBERG Julien RD-BIZZ
Vy Ho a écrit : In client-side stub code, look for the call object and try: Call.getMessageContext().getRequestMessage().getSOAPEnvelope().getRecorder().clear(); -- Lyndon Tiu I can choose not to use the application scope for now. However, this shows a very serious problem with the generated

Re: Using Headers Client Side

2005-02-01 Thread WAJSBERG Julien RD-BIZZ
M Litherland a écrit : Hi all, I'm new to Axis and I am trying to create a SOAP client to communicate with a vendor. They have supplied me with the WSDL and I ran WSDL2Java against it to create my stubs. There are custom headers, so I specified the '-a' option for WSDL2Java to produce a stub