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

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch