Hello,

Has anyone had experience with document style web services similar to the
one shown below? The users guide indicates that "Document services do not
use any encoding (so in particular, you won't see multiref object
serialization or SOAP-style arrays on the wire) but DO still do XML<->Java
databinding."

I'm looking to leverage this databinding to serialize and deserialize xml
documents in the body, but the samples/encoding (from what I can tell) deals
with rpc style, not document style.

Thanks,
Matt Crawford
Enterprise Rent-A-Car


<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; >
<SOAP-ENV:Body>
 <SomeXmlElement xmlns="http://www.somUri.org/someClassName";
anAttribute="foo">
  <AnotherXmlElement value="X"/>
  <AThirdXmlElement value="three"/>
 </SomeXmlElement>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Would somehow map to (with appropriate typeMapping entries)

public class SomeXmlService() {
        public SomeXmlResponse method(SomeXmlElement arg0) {
                return new SomeXmlReponse();
        }
}

Reply via email to