Hi!

You need to add this to your client code:
call.setOperationStyle(Style.DOCUMENT);

or better:
call.setOperationStyle(Style.WRAPPED);

and:
call.setOperationUse(Use.LITERAL);

Regards,
Guenter

> -----Original Message-----
> From: Dave Belfer-Shevett [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 21, 2005 7:33 PM
> To: Grossberger, Guenter
> Cc: [email protected]
> Subject: RE: Newbie problem moving to 'document' style requests. Help!
> 
> On Wed, 2005-09-21 at 19:19 +0200, Grossberger, Guenter wrote:
> 
> > Did you generate the client with WSDL2Java or write it on 
> your own? If
> > generated you have to run WSDL2Java after changing the WSDL. If
> > self-made you have to change the style to document in your code.
> 
> Hi Guenter, thanks for replying.  
> 
> I wrote the client and WSDL on my own, and that's whats 
> pasted into the
> posting.  I'm not sure where I set 'document' in my code... can you be
> more specific?
> 
> Right now I'm spending some time reading this document, which seems to
> be talking about what I want to do, but there's a lot of material :-/
> 
> http://java.sun.com/developer/technicalArticles/xml/jaxrpcpatterns/
> 
> 
>       -dbs
> 
> -- 
> Dave Belfer-Shevett <[EMAIL PROTECTED]>
> The Homeport Collective
> 
> 

Reply via email to