AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Dorner Thomas
Hi Mahen, I dop it this way: I use this this client-config.wsdd below to do my sessionhandling. I also use a chain of handlers instead of a single handler - no matter. And you had to define the Service for which the client should use the handler. ?xml version=1.0 encoding=UTF-8? deployment

RemoteExceptions and Soap:Fault

2004-08-25 Thread Sami Lakka
Hi, Im implementing a specification that requires me to put fault codes into the Soap:Fault- element. The Axis documentation says that RemoteExceptions can be used to create the Soap:Fault- element. Is there some way that I can use to specify what the fault code of the Soap:Fault-

Re: Newbie: Using Axis for serializing/deserializing only

2004-08-25 Thread Oleg Tkachenko
Janarthanan Poornavel wrote: Google and look for skaringa.net ,its quite simple and effective Well, thanks for suggestions once again, but can anybody explain how this can be done with Axis? -- Oleg Tkachenko http://blog.tkachenko.com Multiconn Technologies, Israel

Re: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
Hi Dorner,, Thanx for replying.. I want to further know, What is the exact location that i have to put the client-config.wsdd file? Thanx Mahen On Wed, 25 Aug 2004 08:47:59 +0200, Dorner Thomas [EMAIL PROTECTED] wrote: Hi Mahen, I dop it this way: I use this this

Axis generates an undefined namespace in the generated WSDL?

2004-08-25 Thread [EMAIL PROTECTED]
Hi all, I use wsdl2java to create my stubs, but the generated wsdl for my web service contains an undefined namespace tns1, which obviously blows up my web service client software. Does anyone know what I'm doing wrong, or if this is a known issue in Axis? I'd really appreciate any information

Serialization Problem - Invalid element in class - arg0

2004-08-25 Thread Julian Salernos Mail
Hi all. this is my first post. The problem I am experiencing pertains to an unusual xml marshalling by client-side Axis Call.invoke() invocations: An extra (my interpretation of the problem) xml element named 'arg0' (ns1:arg0) gets inserted into the xml marshalled by client-side axis (ie. from

AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Dorner Thomas
Set Java-Option with the path where you put your client-config.wsdd (example for windows) -Daxis.ClientConfigFile=C:\\projects\\...\\WebContent\\WEB-INF\\client-config.wsdd You can place your clientconfig wherever you want! Tomi

Re: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
Thanx more problems... I am using JSP as the client to call the Web Service. The JSP calls the stub genereted by the WSDL2Java tool. I have put AXIS.jar in the WEB-INF\Lib folder of the WAR file Now where do i have to put the client-config.wsdd file. Thanx Mahen - Original Message

Re: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
I am using WebSphere 5.1 to deploy the WAR On Wed, 25 Aug 2004 18:39:52 +0600, Mahen Perera [EMAIL PROTECTED] wrote: Thanx more problems... I am using JSP as the client to call the Web Service. The JSP calls the stub genereted by the WSDL2Java tool. I have put AXIS.jar in the

AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Dorner Thomas
You can put it in the WEB-INF\ folder where your Server-config.wsdd lies too! See my email before, you can put where you want and set the JVM Tomi -Ursprüngliche Nachricht- Von: Mahen Perera [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. August 2004 14:40 An: [EMAIL PROTECTED]

Re: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
i put the client.config in the Web-INF folder,, however, still the handler is not getting executed. I cant see the session id SOAP header in the SOAP request. :( Any ideas? Thank you Mahen On Wed, 25 Aug 2004 14:43:11 +0200, Dorner Thomas [EMAIL PROTECTED] wrote: You can put it in the

AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Dorner Thomas
Have you set your path? And how do you set your path? -- The Server will use the client-config.wsdd in the axis.jar When he can´t find another one!!! -- the last step when searching Client-config.wsdd. So you can replace the client-config.wsdd in the axis.jar or Set the path to

Axis/gSOAP: BeanDeserializer problems

2004-08-25 Thread Laurent . IOZELLI
Hi all, I have a big problem with Axis: I need to make an Axis client communicate with a gSOAP C server hosting my web service. Both of them are generated from the same WSDL document, and they are both rpc/litteral (I didn't choose it, the gSOAP server is already implemented and I can't modify

Re: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
what do u mean by path in a WAR ? Mahen On Wed, 25 Aug 2004 15:21:29 +0200, Dorner Thomas [EMAIL PROTECTED] wrote: Have you set your path? And how do you set your path? -- The Server will use the client-config.wsdd in the axis.jar When he can´t find another one!!! -- the last step when

AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Dorner Thomas
You can t set the path in the war! You had to set the JVM-Options in Tomcat for example. In catalina.bat for example - look for the line: %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% and set your path: -Daxis.ClientConfigFile=C:\\projects\\\\WebContent\\WEB-INF\\client-

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
I am using WebSphere 5.1, Any id how to do in this? Anyway I replaced the client-config.wsdd file in AXIS.jar with my newer version. Still didnt work Please help me Mahen On Wed, 25 Aug 2004 15:40:27 +0200, Dorner Thomas [EMAIL PROTECTED] wrote: You can t set the path in the war! You had

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Yves Langisch
Mahen, put the client-config.wsdd into the WEB-INF/classes folder not into the root of WEB-INF. Yves Mahen Perera wrote: I am using WebSphere 5.1, Any id how to do in this? Anyway I replaced the client-config.wsdd file in AXIS.jar with my newer version. Still didnt work Please help me Mahen On

Re: Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
hi Thanx for the reply I tried that too. Still didnt work :( Mahen On Wed, 25 Aug 2004 15:58:44 +0200, Yves Langisch [EMAIL PROTECTED] wrote: Mahen, put the client-config.wsdd into the WEB-INF/classes folder not into the root of WEB-INF. Yves Mahen Perera wrote: I am using

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Yves Langisch
Mahen, Can you please post your client-config.wsdd? Yves Yves Langisch wrote: Mahen, put the client-config.wsdd into the WEB-INF/classes folder not into the root of WEB-INF. Yves Mahen Perera wrote: I am using WebSphere 5.1, Any id how to do in this? Anyway I replaced the client-config.wsdd file

Re: Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
this is the client-config file ?xml version=1.0 encoding=UTF-8? deployment xmlns=http://xml.apache.org/axis/wsdd/; xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; globalConfiguration parameter name=adminPassword value=admin/ parameter name=attachments.Directory

Re: Axis generates an undefined namespace in the generated WSDL?

2004-08-25 Thread [EMAIL PROTECTED]
Could someone at least tell me if it's a stupid question? I've looked all through the mailing list archives, but although I find examples of tns1 and tns2 they too are never properly defined in the namespace. How are they supposed to be resolved? In case it helps, here is my entire generated

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Yves Langisch
Yet another question, are you working with the Axis-generated stub? I assume that the relevant is: requestFlow handler type=session/ /requestFlow responseFlow handler type=session/ /responseFlow See above in your file how handlers have to be declared. Transport (e.g. java:) is missing:

Exception with Axis 1.1 final

2004-08-25 Thread Sandeep Arshanapally
Title: Exception with Axis 1.1 final Hi, We are using Axis 1.1 final with Tomcat 4.1.30 and seeing the following exception happens sometimes. Any idea of what might be wrong??? Thanks in advance, Sandeep AxisFault faultCode:

RE: Exception with Axis 1.1 final

2004-08-25 Thread Keith Tingle
Can you post the contents of the SOAP message axis is attempting to parse? It looks as though the client is not sending XML. Payformance Corporation confidentiality statement *** Notice: This e-mail message, including any

Java2WSDL help

2004-08-25 Thread
Hi, I want to convert the %AXIS_HOME%/samples/faults example from rcp/encoded to document/literal. I run the java2wsdl command but I get an error. Just curious why is it asking for typemapping info when it's create my wsdl file. Would you know how I can get pass this error message? Thanks

Re: Java2WSDL help

2004-08-25 Thread Henry Lu
As far as I know, Axis 1.2 beta doesn't work with doc/lit. I tried so many times and I failed to get it going and I filed reports through the JIRA and no answer so far. I am waiting for the next release to resolve this very, very important issue. -Henry [EMAIL PROTECTED] 8/25/2004 2:36:19 PM

RE: Exception with Axis 1.1 final

2004-08-25 Thread Sandeep Arshanapally
Title: RE: Exception with Axis 1.1 final Any easy way to log the messaging on the client side? We are using SSL so its not possible to run TCPMon. Sandeep -Original Message- From: Keith Tingle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 25, 2004 11:53 AM To: '[EMAIL

RE: serializing 2D arrays

2004-08-25 Thread Mark Cassidy
Thanks William. I tried your suggestion about just sending it as 1D but the server code rejected it. I'll spend a little time looking at custom serialization. And the server side guys are trying to see if they can handle an array of arrays. - Mark --- Zwicky, William R ERDC-CERL-IL

RE: Java2WSDL help

2004-08-25 Thread Anderson Jonathan
My team has been building WS-I compliant doc/lit services and clients for months now using Axis 1.2 alphas, beta 1, and beta 2. We just build our services from the XSD+WSDL in (WSDL2Java), instead of from the Java code out (Java2WSDL). Very important to understand the implications of either

RE: Java2WSDL help

2004-08-25 Thread Anand Natrajan
Dexter, Henry: Axis 1.2b2 works just fine with doc/lit. From the error you're reporting, it looks like java2wsdl cannot find a way to serialise some of your custom data types. I have a similar situation, and I use the Ant task below. Perhaps you can start from that to construct your command-line

What's the right WSDL for MIME?

2004-08-25 Thread Anand Natrajan
All, I have a web service implemented in Java using Axis. In this service, I have a method that takes some simple params and returns a single attachment. Following the Axis examples, I have defined the signature of this method as: public DataHandler fileReadAttach(AvakiPrincipal

RE: What's the right WSDL for MIME?

2004-08-25 Thread Anne Thomas Manes
Btw -- WS-I just published the Attachments Profile [1]. Here's an example of a correct WSDL description for document/literal binding. Note that Axis should not be using the apachesoap:dataHandler datatype. Also note that even though the binding is doc/literal, the MIME attachment message parts

RE: What's the right WSDL for MIME?

2004-08-25 Thread Anne Thomas Manes
Btw -- WS-I just published the Attachments Profile [1]. Here's an example of a correct WSDL description for document/literal binding. Note that Axis should not be using the apachesoap:dataHandler datatype. Also note that even though the binding is doc/literal, the MIME attachment message parts

RE: Axis generates an undefined namespace in the generated WSDL?

2004-08-25 Thread Anne Thomas Manes
The wsdl:definitions statement should contain a bunch of namespace declarations, including wsdl, wsdlsoap, xsd, impl, and tns2, at the very least. I suggest you use a later build. This bug was fixed a long time ago. Anne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Axis generates an undefined namespace in the generated WSDL?

2004-08-25 Thread Anne Thomas Manes
The wsdl:definitions statement should contain a bunch of namespace declarations, including wsdl, wsdlsoap, xsd, impl, and tns2, at the very least. I suggest you use a later build. This bug was fixed a long time ago. Anne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Axis response has incorrect namespace?

2004-08-25 Thread Anne Thomas Manes
Let's see your WSDL document... -Original Message- From: Dana Kaufman [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 11:31 PM To: [EMAIL PROTECTED] Subject: Axis response has incorrect namespace? I can't figure this out. I have a simple Echo web service written in Java using

RE: Axis response has incorrect namespace?

2004-08-25 Thread Anne Thomas Manes
Let's see your WSDL document... -Original Message- From: Dana Kaufman [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 11:31 PM To: [EMAIL PROTECTED] Subject: Axis response has incorrect namespace? I can't figure this out. I have a simple Echo web service written in Java using