You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by xu cai <je...@gmail.com> on 2006/09/07 05:48:43 UTC

Parameter in soap request can't be recognized and sent to deployed web services in Axis 1.4

Hi Anne and all,
       I deployed a doc/literal web service using Axis 1.4. There are two
parameters defined for the operation.
The soap request look likes

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoa
p.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
  <xmlString xmlns="test:uri">
        &lt;?xml version=&quot;1.0&quot;?&gt;&lt;Request
Noun=&quot;call_agent&quot; Verb=&quot;show&quot;
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;/Request&gt;
 </xmlString>
  <key xmlns="test:uri">-2145701720</key>
</soapenv:Body>
</soapenv:Envelope>

There are two parameter in the soap body : xmlString and key.  The
"xmlString" parameter can be sent to the deployed service and the "key"
parameter can't be sent to services.  So the service implementation class
get a "null" key and throw an exception.

Could anybody tell me what's wrong ?

-- 
- xucai