[jboss-user] [EJB/JBoss] - Re: Stateless EJB web service and nested elements
pepper_fiend
do-not-reply at jboss.com
Wed Dec 13 16:24:00 EST 2006
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993605#3993605
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993605
More information about the jboss-user
mailing list