This content has been marked as final.
Show 2 replies
-
1. Re: Stateless EJB web service and nested elements
pepper_fiend Dec 13, 2006 4:23 PM (in response to pepper_fiend)A quick update...I used TcpMon to sniff the soap envelope. Here's what I get back:
<?xml version="1.0" encoding="UTF-8"?> <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> <ns1:getSaleResponse xmlns:ns1="http://sample.myco.com/hibernate"> <getSaleReturn> <customerName>Brian</customerName> <id>11</id> <product> <id>5</id> <name>CD</name> <price>14.95</price> </product> <quantity>3</quantity> </getSaleReturn> </ns1:getSaleResponse> </soapenv:Body> </soapenv:Envelope>
This seems to be correct; however, as I researched before, the SimpleDeserializer cannot handle child elements, and the tag above does have child elements. -
2. Re: Stateless EJB web service and nested elements
pepper_fiend Dec 13, 2006 4:55 PM (in response to pepper_fiend)Okay, my apologies on this thread...it looks like the issue was on the web service client-side. I was using dynamic service invokation, and JBoss's implementation of the rpc interfaces was choking. This is not the proper forum for resolving that.