tsoap :SAAJ0537

Four Stars

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>
    <ns2Smiley Frustratedecurity>
        <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>
            <sseSmiley Tongueassword Type=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">hidden_password</sseSmiley Tongueassword>
        </sse:UsernameToken>
    </ns2Smiley Frustratedecurity>
</soapenv:Header>
<soapenv:Body>
    <ns1:Hidden-Request>
        <ns1:domain>XXXX</ns1:domain>
        <ns1:RqListInfo>
            <ns1:temporalCriteria xsi:type=\"ns1Smiley TongueeriodCriteria\">
                <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.

Four Stars

Re: tsoap :SAAJ0537

Solved!

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

Regards

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog