Page 1 of 1

Web Services Transformer removed namespace in the request

Posted: Wed Nov 09, 2011 3:24 pm
by akmyam
I am having a problem with Web Services Transformer stage.
When I submit a request, it removed the namespace from the request.

I have a field called SoapBody as the Input.

SoapBody=
<ns:encryptRequest xmlns:ns="urn:wsc.abc.com/wsdl/23">
<clearTextBlock>
<ns:fieldName>Numbers</ns:fieldName>
<clearTextValue ns:id="_102">11111</clearTextValue>
</clearTextBlock>
</ns:encryptRequest>


When I run the job,
I captured the actual request that's sending to the web service, and noticed that the "ns:" is removed from the encryptRequest and fieldName element.
Does anyone know why?


<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>
<encryptRequest xmlns:ns="urn:wsc.abc.com/wsdl/23">
<clearTextBlock>
<fieldName>Numbers</fieldName>
<clearTextValue ns:id="_102">11111</clearTextValue>
</clearTextBlock>
</encryptRequest>
</soapenv:Body>
</soapenv:Envelope>

Posted: Fri Dec 09, 2011 8:59 am
by akmyam
Applied the APAR JR41267 patch
and the problem is sovled.