On Thu, 1 Sep 2005, jayachandra wrote:

> Supposing I've to extract the operation name from a SOAP Envelope I got into
> my code, can I safely assume that for all styles and uses (doc-lit, rpc-enc)
> the first child element of body has its localPart as the operation Name, or
> are there any hitches in making that decision

You can assume this for rpc/encoded but not for document/literal. Basic
doc-lit sends and receives documents defined by schemata external to the web
service (i.e. XSD files included in the WSDL contract) and it doesn't require
an enclosing element named after the operation. See

  http://ws.apache.org/axis/java/apiDocs/index.html

for Axis' description of the message arrangements.

I think in document/literal document types are supposed to map one-to-one with
messages so a service can infer the operation from the document type.

Guy Rixon                                       [EMAIL PROTECTED]
Institute of Astronomy                          Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA          Fax: +44-1223-337523

Reply via email to