You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Chau Hua <CH...@mobius.com> on 2004/10/21 14:34:30 UTC

Webservice method with 2 parameters not working properly

I have created a document literal webservice in Axis via import of a .NET
wsdl.
One operation in this webservice has 2 parameters, i.e.  String
savePreviewContent(String contentxml, String filenm).
Somehow, the value of the second parameter is always set to null when it
gets to the web service method. Does anyone know what I did wrong here?  
I debugged and saw the value was passed correctly from the client up to the
RPCHandler.
One solution is to pass a string array (containing  2 strings) for the first
parameter, but I am curious what could be done to fix this problem.

Thanks for any help,
Cathy