Hi All,
I write a simple Java file:
package sample;
public class Hello{
public String echo(String str,int a){
return str+"------"+a;
}
}
Then I obtain a wsdl file through Java2WSDL tool which specifies the style is
DOCUMENT and the use is Literal.After get the wsdl file,generate associated
java files through WSDL2Java.When invoke the service,it throws
NullPointerException both the client and server.
But if I specifies the style of the service is WRAPPED and the use is
LITERAL,it's OK!
Please let me know if anyone has encountered such
problem before and any pointers would be very useful.
Thanks in Advance,
Best Regards,
Robert Zhang
Email:[EMAIL PROTECTED]
Tel:86-010-62014411-2437