Web Services Transformer removed namespace in the request

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
akmyam
Participant
Posts: 2
Joined: Wed May 27, 2009 4:38 am

Web Services Transformer removed namespace in the request

Post 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>
akmyam
Participant
Posts: 2
Joined: Wed May 27, 2009 4:38 am

Post by akmyam »

Applied the APAR JR41267 patch
and the problem is sovled.
Post Reply