Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hello,
i try to use tsoap component and i have SAAJ0537 issue.
The soap webservice works successfully with SOAPUI.
the soap message is :
"
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<soapenv:Envelope
xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope\"
xmlns:ns1=\"http://hidden_url\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xmlns:ns2=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\"
soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">
<soapenv:Header>
<ns2ecurity>
<sse:UsernameToken
xmlns:sse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\"
xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\"
wsu:Id=\"UsernameToken-28681679\">
<sse:Username>hidden_user</sse:Username>
<sseassword Type=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">hidden_password</sseassword>
</sse:UsernameToken>
</ns2ecurity>
</soapenv:Header>
<soapenv:Body>
<ns1:Hidden-Request>
<ns1:domain>XXXX</ns1:domain>
<ns1:RqListInfo>
<ns1:temporalCriteria xsi:type=\"ns1eriodCriteria\">
<ns1:begin>2018-04-10</ns1:begin>
<ns1:end>2018-04-15</ns1:end>
</ns1:temporalCriteria>
<ns1:administrativeCriteria>
<ns2:hostingOrganism>YYYY</ns2:hostingOrganism>
</ns1:administrativeCriteria>
</ns1:RqListInfo>
</ns1:Hidden-Request>
</soapenv:Body>
</soapenv:Envelope>"
i googled this keyword (SAAJ0537) but i didn't find something to solve this issue.
Thankyou.
Solved!
Don't put carriage return after the first " occurrence!
Regards