Originally posted by: Jaango
I have taken the exact wsdl from the below link and imported to build a type tree for analyze operation.(using wsdl import)
http://pic.dhe.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=%2Fcom.ibm.wsaa.doc_4.1%2Fadmhwebs29.htm
The below xml is valid according to wsdl
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.external.dmh.ibm.com">
<soapenv:Header/>
<soapenv:Body>
<ser:analyze>
<ser:token>
<ser:authToken>?</ser:authToken>
</ser:token>
<ser:containerName>?</ser:containerName>
<ser:FileName>?</ser:FileName>
<ser:resourceManagerName>?</ser:resourceManagerName>
</ser:analyze>
</soapenv:Body>
</soapenv:Envelope>
However when I run the map with this input xml, fails with one or more inputs was invalid.
Level 6: Offset 370, len 0, comp 4 of 4, #1, DI 000000000002:)
Data at offset 370 ('<CR><LF> <ser:resour...') does not match INITIATOR '<OWSP><<IGNORE...><NULL>resourceManagerName'
of TYPE X'0046' (ElemDecl resourceManagerName Comp analyze Element WsaaServiceService).
I am not sure why it fails at resource managername element alone.
If I change that element without any namespace as below it works.
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.external.dmh.ibm.com">
<soapenv:Header/>
<soapenv:Body>
<ser:analyze>
<ser:token>
<ser:authToken>?</ser:authToken>
</ser:token>
<ser:containerName>?</ser:containerName>
<ser:FileName>?</ser:FileName>
<resourceManagerName>?</resourceManagerName>
</ser:analyze>
</soapenv:Body>
</soapenv:Envelope>
I referred to this link and found that namespaces before an element should not matter
http://www.ibm.com/developerworks/websphere/library/techarticles/0909_napoli/0909_napoli.html
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender