I believe you can deploy a service with document style and we will generate doc/lit 
WSDL.  I don't think there are switch in Java2WSDL to do this.

--
Tom Jordahl
Macromedia


-----Original Message-----
From: OBRADOVIC,PETAR (HP-Vancouver,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 5:53 PM
To: '[EMAIL PROTECTED]'
Subject: java2wsdl and style=document


Is there a way to generate non-RPC WSDL file from Java code?  I tried
methods with the following signatures but the binding style was still RPC:

public Document doWork(Document xml);
public Document doWork(MessageContext mc, Document xml);
public Document doWork(MessageContext mc, Document xml) throws AxisFault;

In the previous posts I read that some were successful in creating
document-based services with multiple method:
http://marc.theaimsgroup.com/?l=axis-user&m=101792064523621&w=2

If I create WSDL by hand will wsdl2java work?  I'll try that next.

Thanks,
Petar

Reply via email to