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 |
MyService.WSDL
Description: MyService.WSDL
Test.java
Description: Test.java