Title: Message
In all likelihood, you want:
 
provider="java:RPC" style="wrapped" use="literal"
 
MSG is used if you want to deal with the XML elements directly rather than as java beans.  RPC does not mean the style has to be "rpc".  Yeah, it's an unfortunate name.
-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 1:17 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Need WSDL for this SOAP message


Anne, thanks once again for your patience.  I am having a terrible time figuring out where the following belong:  RPC, Wrapped, Document, Literal, Message.

Here's the WSDD I'm using:
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
   <service name="MySubscriptionService" provider="java:MSG" style="wrapped" use="literal">
      <parameter name="className" value="edu.asu.vpia.webauth.MySubscriptionService"/>
      <parameter name="allowedMethods" value="*"/>
      <wsdlFile>/webauth.wsdl</wsdlFile>
   </service>
</deployment>

I think the confusion is over the "document" part of document/literal.  On one hand, it's "document" as opposed to RPC, a style, as you discussed. 

On the other hand, it's the companion to 'wrapped' indicating that Axis will pass all the parameters on the command line rather than wrapping them as a Java object.

So am I imagining things, or are there two definitions of "document", one used by the wider world, and one used within Axis WSDD?

I'm trying to work from the Axis Users Guide.  Under "Individual Service Configuration" it says:
  Style - whether to use RPC:enc or doc/lit encoding
But it doesn't say what to put in the style attribute for each one.

And right now I'm uncertain which one I need to use, even if I knew what to put.  Is there a page with a table that lists all the parameters to <service> and all the possible values?  I can find documentation on WSDL, but not on WSDD as that appears to be Axis specific.

--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM

Reply via email to