Note that gSOAP 2.7.6c doesn't like test/wsdl/faults2/FaultService.wsdl. In particular it complains that:

Warning: part 'msg' uses literal style and must refer to an element rather than a type


From: "Jarmo Doc" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [EMAIL PROTECTED], [email protected]
Subject: Re: Exceptions are killing me
Date: Thu, 12 Jan 2006 18:41:39 -0800

[Re-sending]

OK Dims, here's the XML from the standard Axis 1.3 test/wsdl/faults2 (which is a doc/lit testcase, thus relevant to my situation).

I'd say that it's substantially similar to the XML that I personally see with my custom exceptions, and therefore I would venture to say that it's *not* fully deserializable by a gSOAP client (because it does not correctly indicate the embedded exception type).

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soapenv:Body><soapenv:Fault>
  <faultcode>soapenv:Server.generalException</faultcode>
  <faultstring/>
  <detail>
   <msg>
    <a>throw</a>
    <b>0</b>
    <c>throw</c>
   </msg>
<ns1:exceptionName xmlns:ns1="http://xml.apache.org/axis/";>test.wsdl.faults2.TestFault</ns1:exceptionName> <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/";>myhostname</ns2:hostname>
  </detail>
 </soapenv:Fault></soapenv:Body></soapenv:Envelope>

This is essentially what I was seeing earlier.  What do you think?  Thanks.



From: Davanum Srinivas <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: Exceptions are killing me
Date: Thu, 12 Jan 2006 15:06:57 -0500

Can u try to see the on the wire serialization is for test\wsdl\faults
example? in a servlet environment? last i check that was fine. it
starts from a wsdl.

You may need to switch off the hostname and stack trace stuff (see
axis.development.system in
http://ws.apache.org/axis/java/reference.html) for interop with other
stacks.

thanks,
dims

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/

Reply via email to