I am trying to change a web service from provider="java:RPC" to
provider="java:MSG".  There are four signatures defined in the axis
documentation which are:
public Element [] method(Element [] bodies);
public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
public Document method(Document body);
public void method(SOAPEnvelope req, SOAPEnvelope resp); 


I want to use the signature public Document method(Document body);

The problem is - I just don't get it????  In the web service call I want
to use, the method is defined as:
public Document getXML(String sSQL)

I am passing a select statement, and the method fetches the data and
creates a Document object to return.  I continue to get an error
message:
Java.lang.Exception: Method 'getXML does not match any of the valid
signatures for message-style service methods

I did a google search, but that didn't return any helpful solutions.
When the reference is to signature, I am guessing that I have to pass
"Document body" into getXML and not "String sSQL".  Okay... Where or how
do I pass the String parameter and get the signature correct for this to
work?

(Background info --- I am making a call to oracle, which is returning an
XML document as a string.  I convert this to a Document, then return
this.  I am trying to resolve size issues in the return.  If anyone has
other suggestions, they would be greatly appreciated!.  The goal is to
return a 300,000 record table as an XML file, and have a Microsoft Soap
application read the file as the client.  I'd possibly use DIME, but
haven't figured out how to do this with a String...)

Thanks,

Ken Lee

Reply via email to