Actually, since you're referencing the part using the "type" attribute, you
can tell that this is an RPC style service. If it were a document style
service, the message part would reference an element rather than a type.

Anne

-----Original Message-----
From: David Song [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 15, 2004 8:19 PM
To: [EMAIL PROTECTED]
Subject: Question about SOAP style in Axis 1.2


Hi all,

I created a simple Test.jws web service which takes in a string of XML,
appends some more XML tags and returns the string.  Axis 1.2
automatically generates the WSDL, some snippets below:

<wsdl:message name="FooResponse">
    <wsdl:part name="FooReturn" type="apachesoap:Document"/>
  </wsdl:message>

Looks like Axis 1.2 already generates document style.  How else does it
know to generate type="apachesoap:Document"???

My question is: does Axis 1.2 by default generates document style SOAP?

Many thanks!
David

Reply via email to