Amila:Thank you for your response. I have attached the output of the transaction from Wireshark, hopefully it has the equivalent data that tcp mon would have. I have also attached the raw wireshark data.
To be clear, I have narrowed down this case from a more complicated schema / soap interaction. I have reproduced it by creating a small WSDL that points to a static XML file that is a snippet of the data that is returned from my web service. These are the files that I attached in the first email.
-Jake Amila Suriarachchi wrote:
Can you look the request you send and the response you received using the tcp mon. and send us?thanks, Amila.On Tue, Jul 8, 2008 at 2:07 AM, Jake Goulding <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:Apologies, but the XML should say: <tree xmlns="urn:/vivisimo/types" I attached an earlier version, before I cleaned up my namespaces. -Jake Jake Goulding wrote: Hey all: I am trying to figure out my other problems, and I ran into this: org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement Body at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at vivisimo.ServiceStub.fromOM(ServiceStub.java:2346) at vivisimo.ServiceStub.Simple(ServiceStub.java:194) at Main.main(Main.java:24) Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected subelement Body at vivisimo.ServiceStub$Tree$Factory.parse(ServiceStub.java:878) at vivisimo.ServiceStub.fromOM(ServiceStub.java:2340) ... 2 more Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement Body at vivisimo.ServiceStub$Tree$Factory.parse(ServiceStub.java:864) ... 3 more I have narrowed down my schema, WSDL, and java file to the attached. I have 2 nodes, <tree> and <node>. Tree has exactly one <node> child, and <node> can have 0-unbounded <node> children. I think the schema is correctly specifying this. However it looks like axis incorrectly exits out of the node, and then reports that the *containing* element is an "unexpected subelement". Boiled down, my example says: soap:body tree node Any help on this would be great. Thanks! -Jake ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- Amila Suriarachchi, WSO2 Inc.
POST /soap/soap.xml HTTP/1.1 Content-Type: application/soap+xml; charset=UTF-8; action="simple" User-Agent: Axis2 Host: 127.0.0.1 Content-Length: 251 <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><ns1:Simple xmlns:ns1="urn:/vivisimo/types"><ns1:query>hello world</ns1:query></ns1:Simple></soapenv:Body></soapenv:Envelope>HTTP/1.1 200 OK Date: Tue, 08 Jul 2008 13:42:11 GMT Server: Apache Last-Modified: Mon, 07 Jul 2008 20:35:38 GMT ETag: "19ec2e0-1ac-4517504a83a80" Accept-Ranges: bytes Content-Length: 428 Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > <soap:Body> <tree xmlns="urn:/vivisimo/types"> <node> <node> <description>Diary</description> </node> </node> </tree> </soap:Body> </soap:Envelope>
wireshark-raw
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]