Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
fataboubou
Contributor
Contributor

tsoap :SAAJ0537

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>
    <ns20683p000009M9p6.pngecurity>
        <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>
            <sse0683p000009MAB6.pngassword Type=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">hidden_password</sse0683p000009MAB6.pngassword>
        </sse:UsernameToken>
    </ns20683p000009M9p6.pngecurity>
</soapenv:Header>
<soapenv:Body>
    <ns1:Hidden-Request>
        <ns1:domain>XXXX</ns1:domain>
        <ns1:RqListInfo>
            <ns1:temporalCriteria xsi:type=\"ns10683p000009MAB6.pngeriodCriteria\">
                <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.

Labels (4)
1 Reply
fataboubou
Contributor
Contributor
Author

Solved!

Don't put carriage return after the first  " occurrence!

Regards