You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Wei Chen <wc...@vitria.com> on 2003/01/30 01:19:01 UTC

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