Hi Neil, I had a similar problem and discovered that you must use the attribute style="document" in the service element. In beta 1 Axis would not retain this attribute in server-config.wsdd. I had been editing the server-config.wsdd to add this after the service deployment. In beta 2 this seems to have been fixed. Your WSDD would be:
<service name="SamplesMsg" provider="java:MSG" style="document"> <parameter name="allowedMethods" value="*"/> <parameter name="className" value="Test"/> </service> Alex Volanis Consulting Engineer e-mail: [EMAIL PROTECTED] -----Original Message----- From: Neil Smyth [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 7:22 AM To: '[EMAIL PROTECTED]' Subject: java2wsdl and style=document I saw some previous emails on the mailing list about getting Axis to generate document bound wsdl for a deployed service (similar mail title), but it does not seem to be generated. For example if I deploy a service like the following <service name="SamplesMsg" provider="java:MSG"> <parameter name="allowedMethods" value="*"/> <parameter name="className" value="Test"/> </service> I get wsdl using a rpc binding. Is it wrong to expect the wsdl generated from this service to use document binding? The sample Test class is very simple: import org.w3c.dom.Document; public class Test { public Document doSomething(Document doc) { System.out.println("a test"); return null; } } I also had a quick look at the Java2WSDL command line options but didn't spot anything to help. The version of Axis being used is beta2, and would appreciate any pointers on how I can extract a document bound wsdl description if indeed it is currently supported. Regards, Neil
