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

[WSDL2Java] missing type or ref attribute for node 'unknown'

2004-12-20 Thread toto toto
Hi, I'm having trouble generating a client for my ws. The WSDL is attached to this mail. Here is the error stack trace : WSDL2Java: [java] java.io.IOException: Error: missing type or ref attribute for node 'unknown' [java] at

Problem with {User defined type} having array of {User defined type} with RPC-Literal

2004-12-20 Thread Adaptive Protocols
Hello, We are trying to work with our web service, which is publishedas RPC-Literal. In all the simple cases, it is working very fine. But in some of the cases, we are facing problems; like: a). If an operation has a parameter with a schema like 'A user defined type having a array of User

Re: java2wsdl ant task for document/literal

2004-12-20 Thread V D
WAJSBERG Julien RD-BIZZ wrote: 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,

Re: java2wsdl ant task for document/literal

2004-12-20 Thread Davanum Srinivas
VD, Do you have a open bug? thanks, dims On Mon, 20 Dec 2004 08:01:56 -0500, V D [EMAIL PROTECTED] wrote: WAJSBERG Julien RD-BIZZ wrote: 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

Re: java2wsdl ant task for document/literal

2004-12-20 Thread V D
Good question. I assume that this problem was talked about so many times up here, someone must listen. However, I am wrong to assume forum can replace bug report (probably some laziness kick in too), and I should have file the bug report instead. I'll do that and post a link here later.

Re: More Axis questions...

2004-12-20 Thread Jongjin Choi
Michael, Your example looks like one of simple and extreme example of JAX-RPC. How the annotation is good for soap header processing... I think that this is not a bug of Axis but may be annoying for use. This is because the 'testMethodRequest' input message has two parts (in0, parameters) in

RE: Inter operability with c#; complex object array insideanother container

2004-12-20 Thread Sharam Fouladgar-Mercer
Sagar, You cannot use operator or method overloading for interoperable Java/.NET Web Services. The WSDL 1.1 specification does not allow or disallow it and subsequently, it has become a topic for heated debate. The 2.0 final spec is looking towards completely disallowing it. -Sharam

axis faul [Dani Web Service]

2004-12-20 Thread Daniel Snchez Gmez
Hi axis-user, I've done tipical fibonacci axis example and it runs ok. Now I'm trying to export a class more complex (because it imports another classes) to a web service. I think I do all steps good, but when I run my service's client, I obtain these exceptions: AxisFault

[WSDL2Java] missing type or ref attribute for node 'unknown'

2004-12-20 Thread F.K.
Oups ... I've just noticed my WSDL file wasn't attached to the message. --- Hi, I'm having trouble generating a client for my ws. The WSDL is attached to this mail. Here is the error stack trace : WSDL2Java: [java] java.io.IOException: Error: missing type or ref attribute for

[WSDL2Java] missing type or ref attribute for node 'unknown'

2004-12-20 Thread F.K.
Oups ... I've just noticed my WSDL file wasn't attached to the message. --- Hi, I'm having trouble generating a client for my ws. The WSDL is attached to this mail. Here is the error stack trace : WSDL2Java: [java] java.io.IOException: Error: missing type or ref attribute for

Encryption?

2004-12-20 Thread Magnus Svensson (HF/EAB)
Hi, I resend this question due to mail server problem: I have a question regarding encryption and export control. Does Axis include any SW encryption that restricts export (i.e. special ECCN code)? Regards, Magnus Svensson

Re: Problem with {User defined type} having array of {User defined type} with RPC-Literal

2004-12-20 Thread Anne Thomas Manes
Note that Axis doesn't really support RPC/Literal. It kinda supports it from a client perspective, but there's no Axis WSDD style attribute value that corresponds to RPC/Literal. I suggest you use Wrapped Document/Literal instead. (Note that .NET does not support RPC/Literal, either.) Anne On

Re: Problem with {User defined type} having array of {User defined type} with RPC-Literal

2004-12-20 Thread Jeff Greif
Is wrapped supposed to have meaning only on the server side (where it determines how arguments are passed to the implementation method for the operation), or also on the client side (where it would determine whether the document that makes up the soap body of a doc/lit operation must be supplied,

getting a parameter

2004-12-20 Thread Paul Jones
Hello I am fairly new to axis so I may be missing something very obvious but I can not get the values of the parameters passed to our webservice from the MessageContext. I am writing an Authorization piece to the service and need to know what the value of the

NoSuchMethod exception

2004-12-20 Thread Seaman, Sloan
Title: NoSuchMethod exception I turned on debug logging for org.apache and I noticed: 2004-12-20 13:26:19,966 [http-8080-Processor25] DEBUG org.apache.axis.encoding.ser.BaseDeserializerFactory - Exception: java.lang.NoSuchMethodException:

exposing multiple classes as part of the same web service

2004-12-20 Thread Tim K. (Gmane)
Hi, Let's assume that I already have a few interfaces and their implementation that follow all the web services rules and they are suitable of being exposed via Axis the way they are. Is it possible for Axis to combine all these interfaces/classes into one web service automatically or do I

Unable to create client handler?

2004-12-20 Thread Laran Evans
Can anyone explain what this means and how I can make it go away? The class that it's barking about IS in the classpath. I'm running in WebLogic 8.1 and I've put saaj.jar and jaxrpc.jar in the classpath set in startWebLogic.cmd before webservices.jar. TIA AxisFault faultCode:

RE: java2wsdl ant task for document/literal

2004-12-20 Thread Ephemeris Lappis
I have open a new bug report this morning (in France), with the a simple example: AXIS-1734. We will appreciate help... Philippe -Message d'origine- Philippe De : V D [mailto:[EMAIL PROTECTED] Philippe Envoyé : lundi 20 décembre 2004 14:37 Philippe À : [EMAIL PROTECTED] Philippe Objet :

Re: getting a parameter

2004-12-20 Thread aveitas
Hi Paul, This should get you where you want to go SOAPEnvelopeenv = messageContext.getRequestMessage().getSOAPEnvelope(); SOAPBodyElement e= env.getFirstBody(); Iterator it = e.getChildElements(); while (it.hasNext()) { } By iterating thru the child elements you should be

RE: java2wsdl ant task for document/literal

2004-12-20 Thread Ephemeris Lappis
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 javabeans arguments of

Axis 1.2rc2, JBoss 4.0, EJB

2004-12-20 Thread Eugene Shershnev
Hi All, I'm trying to create Axis web services that warps an EJB deployed in JBoss 4.0. I've created deployment descriptor, packaged Axis WAR into my EAR file; ws4ee is undeployed. When I'm calling any method, I'm getting an error: Tried to invoke method public java.lang.String

Re: Unable to create client handler?

2004-12-20 Thread Mark Malinoski
Laran, Check to make sure you have edu.cornell.cit.soap.handlers.CUWebAuthClientHandler in your classpath. Somewhere you've told the Axis engine that you want to use that class as a request or response handler and it's not in your classpath. Typically it's done in a client side deployment

Axis 1.2rc2, JBoss 4.0, EJB

2004-12-20 Thread Eugene Shershnev
Hi All, I'm trying to create Axis web services that warps an EJB deployed in JBoss 4.0. I've created deployment descriptor, packaged Axis WAR into my EAR file; ws4ee is undeployed. When I call any method, I get an error: Tried to invoke method public java.lang.String

RE: More Axis questions...

2004-12-20 Thread Michael Merz
Thanks much for your help with this. I agree, it's technically not a bug. However, when you extend the sample below by making the IN parameter an INOUT parameter, you get 4 (!) parameters in the stub for each original parameter in the original web method. Thus, a method that has originally 5

Re: Unable to create client handler?

2004-12-20 Thread Andrea Dal Farra
Laran, Can you please provide the handler's class; how are you registering the handle? Andrea Dal Farra On Mon, 20 Dec 2004 14:01:41 -0500, Laran Evans [EMAIL PROTECTED] wrote: Can anyone explain what this means and how I can make it go away? The class that it's barking about IS in the

Re: java2wsdl ant task for document/literal

2004-12-20 Thread Vy Ho
Use wrapped style, and it works with document/literal webservices (that is what it is, with a spin on how you program it). Ephemeris Lappis wrote: 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

Re: java2wsdl ant task for document/literal

2004-12-20 Thread Michael Schuerig
One thing that didn't become clear for me during this thread is why people are using java2wsdl at all. When I started with Axis and web services, I, too, had the idea of making Axis generate the right WSDL for me automagically. I've given up on this idea since. I don't object to generating

Re: java2wsdl ant task for document/literal

2004-12-20 Thread Davanum Srinivas
Michael, I do advocate starting from WSDL, but i do find it convenient to start from a java skeleton code and then tweak the wsdl using the wsdl editors like XMLSPY. thanks, dims On Mon, 20 Dec 2004 21:31:33 +0100, Michael Schuerig [EMAIL PROTECTED] wrote: One thing that didn't become clear

RE: java2wsdl ant task for document/literal

2004-12-20 Thread Ephemeris Lappis
As i already said before, i'm not a soap expert, not at all. Nevertheless, i think generating wsdl files from existing java code is an easy way : wsdl syntax is not so friendly. I known such a comparison is not always welcome : with CORBA we all first write the services interface, using IDL,

Accessing Java Webservices from Non-Java Clients

2004-12-20 Thread Suneet Shah
Title: Message Hello, I have exposedparts of my J2EE application as a set ofweb service using Axis. I now have a situation where I need to access these web services from C on a Unix and Windows. Are there any tools available to facilitate this? Any suggestions would be helpful. Thanks in

Re: Accessing Java Webservices from Non-Java Clients

2004-12-20 Thread Toshiyuki Kimura
See http://ws.apache.org/axis/cpp/index.html, and please go to '[EMAIL PROTECTED]'. Thanks, Toshi [EMAIL PROTECTED] On Mon, 20 Dec 2004, Suneet Shah wrote: Hello, I have exposed parts of my J2EE application as a set of web service using Axis. I now have a situation where I need to access these web

Re: Problem with {User defined type} having array of any type with Wrapped-Literal

2004-12-20 Thread Adaptive Protocols
Thanks Anne. I am trying with Wrapped Document/Literal. But here also, I am facing the same problem. I even tried with a user define type having an array of primitives, schema is like Company (Company Java Object - UDT) employeeCodes ( int array ) I passed this object to server using operation

XML Input to Axis Client Side API for web service invocation

2004-12-20 Thread Adaptive Protocols
Hello Everybody, I have an issue with Axis Client side API. The requirement is that: I want to invoke web services using Axis Client. Now here I don't have parameters as java objects rather I do have XML structure ( as required for soap message ) for these objects. So is there any way to

object is not an instance of declaring class

2004-12-20 Thread Herbert Christy
Hi, I am developing a client with dynamic loading. So far, when I do the invocation, it works properly. However, if I invoke the same service several time within short period (let say , 10 seconds), I might get exception of object is not an instance of declaring class. If I trace the message