Re: Deserializing an XSL-transformed response

2005-03-16 Thread Yves Langisch
Scott, Are you looking for this? /** * Deserializes a SOAP Reader (i.e. a XML file) to the appropriate Java Class * generated by Axis. * * @param reader content for deserializing (_a complete SOAP envelope_) * @param clazz Java Type representation of the XML stream is

Re: Is it possible to catch a custom fault?

2005-03-16 Thread Sunil Kothari
Hi Jay, Yes it is possible to catch custom faults exactly the way you want. I think if you are getting the expected behaviour it may be due to: 1) DII way of invoking a service won't allow you to catch custom faults Stubs or dynamic proxy approach is fine 2) Check your WSDL there should be ment

Re: R: Soap and axis interoperability

2005-03-16 Thread Anne Thomas Manes
You should not hard code the URI in the client. You should obtain the URI at runtime from an input parameter or from a configuration file or something. On Wed, 16 Mar 2005 16:45:23 +0100, Marcello Marangio <[EMAIL PROTECTED]> wrote: > Hi Anne > Thanks for your answer. > My soap client actually do

Is it possible to catch a custom fault?

2005-03-16 Thread Jay Glanville
Hello all. I have a custom fault class that extends AxisFault in my Axis server. It basically holds information about validation errors (invalid information was passed in). public class ValidationFault extends AxisFault { ... } I use this fault on methods in my service where information that

Deserializing an XSL-transformed response

2005-03-16 Thread Scott Wilson
I have a bit of an odd problem: My application is a search adapter for a federated search system; it calls a remote search service, which returns some results in its native schema format. This is deserialized into my RecordData bean that AXIS has helpfully generated, with the results lurking in th

Re: Complex parameters with arrays failing with 1.2-RC3

2005-03-16 Thread Davanum Srinivas
Chad, Can you please compare the request/response pairs using RC2 and RC3 and post a bug report? thanks, dims On Wed, 16 Mar 2005 14:45:39 -0800 (PST), Chad Brandon <[EMAIL PROTECTED]> wrote: > Hi, > > I have a client application which sends some complex > value objects as parameters to some w

Complex parameters with arrays failing with 1.2-RC3

2005-03-16 Thread Chad Brandon
Hi, I have a client application which sends some complex value objects as parameters to some wrapped/literal services. These all worked fine in 1.2-RC1 and 1.2-RC2, however in RC3, I get the below stack trace. I thought maybe the stubs were not in sync with the WSDL (since I've seen this error b

Re: Returning nulls with minOccurs set to 0

2005-03-16 Thread Eugene Shershnev
I just posted my comments to JIRA-530 that cover this case. http://issues.apache.org/jira/browse/AXIS-530   Here is the copy:   I just tested this in the nightly build of 2005/03/16. Here is what I have: 1) Wrapped web service, Tomcat 5.5.4 2) WSDL:       3) ComplexT

Attachments written as files are left around on client side

2005-03-16 Thread Gaurang Mehta
Hi, I am sure this has been answered before, but I couldn't find a response with a search on the user list. Binary attachments in the response are stored as temporary files on the client side and are left around well after use. Questions are: 1. Is there a way to not write the files? 2. If not,

Re: xsd:any element not in the generated wsdl

2005-03-16 Thread Davanum Srinivas
this is a bug. please report it. thx, dims On Wed, 16 Mar 2005 18:03:45 - (GMT), Daniel Beland <[EMAIL PROTECTED]> wrote: > > > Hi, > > I try to generate java code from a wsdl with the following complexType: > > > > maxOccurs="unbounded"/> > > > > wsdl2java generates the Xm

xsd:any element not in the generated wsdl

2005-03-16 Thread Daniel Beland
Hi, I try to generate java code from a wsdl with the following complexType: wsdl2java generates the XmlData class correctly with a single field private org.apache.axis.message.MessageElement [] _any; But when I install this on tomcat and look at the wsdl generated by Axis, th

Re: DataHandler problem (Axis 1.1)

2005-03-16 Thread Vy Ho
Can you give a small wsdl file to see what's going on there? Have you tried to import the namespace? http://xml.apache.org/xml-soap"/> before using it? Pere Soler Rubí wrote: I was talking about the James Richardson problem's (http://marc.theaimsgroup.com/?l=axis-user&m=110561615200800&w=2) En

Re: axis stubs

2005-03-16 Thread Elaine Nance
Well, when (in my limited experience) I've used -p, the package is generated structure and all. So I guess I'd use the -p switch and designate the interface I want to use, while moving classes out of danger of being overwritten. I'm sure there are others here with better solutions than that,

Re: org.xml.sax.SAXException: SimpleDeserializer encountered a ch ild element...

2005-03-16 Thread Anne Thomas Manes
Use message style. On Wed, 16 Mar 2005 09:47:51 -0600, BALDWIN, ALAN J [AG-Contractor/1000] <[EMAIL PROTECTED]> wrote: > I actually took out the static wsdl after the first post. The wsdl below is > generated by Axis. As for RC2, I had included the old jar file. I just > updated the jars, an

Re: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS?

2005-03-16 Thread Anne Thomas Manes
Per both the SOAP 1.1 spec and the WS-I BP, faults must be described as document/literal -- even if the input and output messages are rpc/encoded. Perhaps that's why .NET is having so much trouble. Anne On Tue, 15 Mar 2005 20:11:45 -0800, Dino Chiesa <[EMAIL PROTECTED]> wrote: > > > Does .NET

RE: org.xml.sax.SAXException: SimpleDeserializer encountered a ch ild element...

2005-03-16 Thread BALDWIN, ALAN J [AG-Contractor/1000]
I actually took out the static wsdl after the first post. The wsdl below is generated by Axis. As for RC2, I had included the old jar file. I just updated the jars, and it didn't fix anything. What I really want to do is turn off the xml-->java binding, and get at the xml myself. This ser

R: Soap and axis interoperability

2005-03-16 Thread Marcello Marangio
Hi Anne Thanks for your answer. My soap client actually doesn't know whether the service is axis or apache; it only knows that the server is soap compliant, i.e. a server that communicates via soap envelopes. In our case, SOAP is the interface of a more complex clent-server infrastructure laying b

Re: faultcodes in SoapFaults thrown from Axis

2005-03-16 Thread Anne Thomas Manes
Yes. That's correct. On Wed, 16 Mar 2005 09:19:23 +0100, Tysnes Are Thobias <[EMAIL PROTECTED]> wrote: > > Thanks for the information Anne :o) > > "Alternatively, it is acceptable to define custom fault codes in a > namespace controlled by the specifying authority" > > Means this is an accept

Re: Soap and axis interoperability

2005-03-16 Thread Anne Thomas Manes
Please clarify your question. Is it: Can a single client application call two different web services, one implemented using Apache Axis and the other implemented using Apache SOAP? > Yes. And, in fact, you should be able to use any SOAP toolkit to implement > the client proxy (although interoperab

Axis/Tomcat timeout exception

2005-03-16 Thread Richard Wallis
Anyone seen this exception before? It gets thrown in to Catalina. out after a session timeout period time, after a call to my SOAP service. java.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.getAttribute(StandardSession

WebSphere Classloader Constraints with XERCES

2005-03-16 Thread babloosony
Hi All, I am using Windows 2000, WSAD 5.1.2, WebSphere 5.1 Application Server Test Environment, IBM JDK 1.4. I have an EAR that has xerces.jar and below settings on WebSphere Environment : a.ear Classloader mode: PARENT_LAST b.ear WAR classloader policy: APPLICATION c.war Classloader mode : PAREN

Handlers, and methods

2005-03-16 Thread Dan O'Neill
Is it possible to make a handler invoke after a method is invoked? Or if not is it possible to have all your messages filtered and if they contain a certain something etc., then do something else? The second part I can do but how do you filter all messages? Can anyone help? Dan

Soap and axis interoperability

2005-03-16 Thread Marcello Marangio
Hi all. Is it possible to have the same client code to call an axis service or an apache soap service? In other words, are soap and axis interoperable? As far as I understand there is a difference in the endpoints format, so a client that builds an axis endpoint like http://hostname/axis/services/S

Java2WSDL.....

2005-03-16 Thread Nanda, Anshuman
Does anyone know how can I specify custom serializer/de-serializer to be used for a given webservice when generating the WSDL and the .wsdd file using Java2WSDL tool. Regards Anshuman Nanda -Original Message- From: Chad Woolley [mailto:[EMAIL PROTECTED] Sent: 16 March 2005 18:51 To: ax

Can Wsdl2Java make the stub implement a specified interface?

2005-03-16 Thread Chad Woolley
Hi, I would like Wsdl2Java to make the generated class implement an interface. This would save a ton of effort and duplication during testing, where I currently have to duplicate a lot of stub-generation and test code for both classes. Is there any support for this planned? Has anyone else re

RE: ws-addressing support

2005-03-16 Thread Shahi, Ashutosh
Check http://ws.apache.org/ws-fx/addressing/ for the Apache implementation of ws-addressing. Ashutosh -Original Message- From: Küst Heiko [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 2:11 PM To: axis-user@ws.apache.org Subject: ws-addressing support hi, i have a question

ws-addressing support

2005-03-16 Thread Küst Heiko
hi, i have a question about ws-addressing: does axis support it? if not, are there other projects that implement ws-addressing? thanks for your help heiko

RE: faultcodes in SoapFaults thrown from Axis

2005-03-16 Thread Tysnes Are Thobias
Thanks for the information Anne :o) "Alternatively, it is acceptable to define custom fault codes in a namespace controlled by the specifying authority" Means this is an acceptable custom faultcode !? http://www.mycompany.com/webservices/ns/";>ns1:CustomFaultcode Cheers, Are T. Tysnes -