You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I am trying to add parameters to the map like so: HashMap<String, String> formParams = new HashMap<String, String>(); formParams.put("xpath:/sayThanksWithAdjective/adjective", "Handsome"); formParams.put("xpath:/sayThanksWithAdjective/name", "Vikram");
The output I am getting is as below: <s11:Envelope xmlns:s11='http://schemas.xmlsoap.org/soap/envelope/'> <s11:Body> <impl:sayThanksWithAdjective xmlns:impl='http://demo'> <impl:adjective>?XXX?</impl:adjective> <impl:name>?XXX?</impl:name> </impl:sayThanksWithAdjective> </s11:Body> </s11:Envelope>
Here is the expected output <s11:Envelope xmlns:s11='http://schemas.xmlsoap.org/soap/envelope/'> <s11:Body> <impl:sayThanksWithAdjective xmlns:impl='http://demo'> <impl:adjective>**Handsome**</impl:adjective> <impl:name>**Vikram**</impl:name> </impl:sayThanksWithAdjective> </s11:Body> </s11:Envelope>
The text was updated successfully, but these errors were encountered:
I have tried the example thats listed here.
But the parameters are not being replaced in the final request. I still see the placeholders ?XXX?
I don't get any errors either.
Is there a known issue around this?
Here is my WSDL
`
<wsdl:definitions targetNamespace="http://demo" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://demo" xmlns:intf="http://demo" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
wsdl:types
</wsdl:types>
<wsdl:message name="sayThanksRequest">
</wsdl:message>
<wsdl:message name="sayThanksWithAdjectiveResponse">
</wsdl:message>
<wsdl:message name="sayThanksWithAdjectiveRequest">
</wsdl:message>
<wsdl:message name="sayThanksResponse">
</wsdl:message>
<wsdl:message name="sayHelloWorldRequest">
</wsdl:message>
<wsdl:message name="addPersonRequest">
</wsdl:message>
<wsdl:message name="addPersonResponse">
</wsdl:message>
<wsdl:message name="sayHelloWorldResponse">
</wsdl:message>
<wsdl:portType name="HelloWorld">
</wsdl:portType>
<wsdl:binding name="HelloWorldSoapBinding" type="impl:HelloWorld">
</wsdl:binding>
<wsdl:service name="HelloWorldService">
</wsdl:service>
</wsdl:definitions>
`
And I am trying to add parameters to the map like so:
HashMap<String, String> formParams = new HashMap<String, String>(); formParams.put("xpath:/sayThanksWithAdjective/adjective", "Handsome"); formParams.put("xpath:/sayThanksWithAdjective/name", "Vikram");
The output I am getting is as below:
<s11:Envelope xmlns:s11='http://schemas.xmlsoap.org/soap/envelope/'> <s11:Body> <impl:sayThanksWithAdjective xmlns:impl='http://demo'> <impl:adjective>?XXX?</impl:adjective> <impl:name>?XXX?</impl:name> </impl:sayThanksWithAdjective> </s11:Body> </s11:Envelope>
Here is the expected output
<s11:Envelope xmlns:s11='http://schemas.xmlsoap.org/soap/envelope/'> <s11:Body> <impl:sayThanksWithAdjective xmlns:impl='http://demo'> <impl:adjective>**Handsome**</impl:adjective> <impl:name>**Vikram**</impl:name> </impl:sayThanksWithAdjective> </s11:Body> </s11:Envelope>
The text was updated successfully, but these errors were encountered: