Title: RE: Axis' built-in Providers

Thanks a lot for clarifying that.  That's what I had assumed, but I just wanted to make sure.

Any idea how we can get this information into the user-guide or the reference guide?  Is there a standard process?  It seems like it would benefit a lot of people.

Wei

-----Original Message-----
From: Nelson Minar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 13, 2004 1:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Axis' built-in Providers

>I am interested in developing services using doc/literal, but I am slightly
>confused by what I need to do exactly in AXIS.

You have the right idea, the part that's not clear is that for wrapped
doc/literal services you also use Axis' RPC provider. In the simplest
case, all you need to do to change a service from rpc/encoded to
document/literal is to change this:
  <service name="MyService" provider="java:RPC">
to this:
  <service name="MyService" provider="java:RPC" style="wrapped" use="literal">

No need to write your own provider class.

Make sure you use Axis 1.2 beta - its support for document/literal is
much improved.

Reply via email to