axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Thomas Manes" <a...@manes.net>
Subject RE: Sanity check for doc/lit service
Date Thu, 06 Mar 2003 16:34:57 GMT
Jim,

Doc/lit uses the former format. And there's no formal way to indicate the
operation name. Axis determines the operation based on the namespace and the
top level element in the body (the message). Many other systems rely on
SOAPAction or perhaps a SOAP header element.

Anne

> -----Original Message-----
> From: Brain, Jim [mailto:JBrain@Aegonusa.com]
> Sent: Thursday, March 06, 2003 11:17 AM
> To: AXIS Mailing List (E-mail)
> Subject: Sanity check for doc/lit service
>
>
> I read the 1.1 spec, but didn't see an answer.
>
> If you build a doc/lit web service (AXIS or other), let's say with a
> document with root of <Jim>, should it be:
>
> <Envelope>
> <Body>
> <Jim>
> ...
>
>
> Or
>
> <Envelope>
> <Body>
> <Insert_transaction_name_here>
> <Jim>
> ...
>
> I noticed that the RPC style uses the latter, and the service
> name is placed
> in the <insert....> location.
>
> So, should I
>
> *	Construct doc/lit SOAP msgs like RPC, with a service name below
> Body, and my doc below the service name
> *	Put my Doc XML right below Body?
> *	Do either, as there is no standard?
>
> Enquiring Minds want to know, and can't seem to find the answer
> on Google or
> in the standard.
>
> Jim
>
>
> Jim Brain, jbrain@aegonusa.com <mailto:jbrain@aegonusa.com>
> "Researching tomorrow's decisions today."
> (319) 369-2070 (work)
> Systems Architect, ITS, AEGON Financial Partners
>


Mime
View raw message