Hello,
I used Axis 1.3 to generate java stub to invoke a webservice on a systinet web server. The sub is generated ok and I can execute it, but every time I do, I get the following error:
{urn:idoox-java-mapping}idoox-java-mapping.org.idoox.xmlrpc.MessageProcessingException:<ijm:stack-trace>org.idoox.xmlrpc.MessageProcessingException: Unknown element getGroups
The getGroups element is the name of the method I want to invoke. I used Apache TCP Tunnel/Monitor to check my soap request and it seems that the problem is in the body of my request. The wsdl file I used indicates that the document/literal encoding is used, so the name of my method should not be in the soap body, but it is.
The request looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<getGroups xmlns=""/>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<getGroups xmlns=""/>
</soapenv:Body>
</soapenv:Envelope>
While it should look like this:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body/>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body/>
</soapenv:Envelope>
Does anybody know how I could solve this problem and make Axis generate the correct request.
Thanks
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.