Title: Message
Change your test program to for document type
 
    String  x = service.myOperation(p0, 2, 8, p4);
 
Haneef
-----Original Message-----
From: Wei Chen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 4:19 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: how to make this WSDL work?

Hi,

 

I try to implement the attached WSDL (using document/literal). I used the following command to generate Java:

 

  java org.apache.axis.wsdl.WSDL2Java -s MyService.wsdl

 

and register the service using:

 

  java org.apache.axis.client.AdminClient MyService\deploy.wsdd

 

 

But my test always fails (with null pointer exception).

 

Could someone tell me what's wrong? Do I have to do something special to make document/literal working? (It seems if I change WSDL to rpc/encoded style, the test is fine).

 

Thanks.

 

- Wei Chen

Reply via email to