soap - Postman HTTP Status 400 - why? -


i want consume soap webservice dynamics nav 2013 r2 via
http://servername:7047/dynamicsnav71/ws/cronus%20ag/codeunit/wsinterface

i can visit page via chrome , asks me credentials (which correct , working).
if i'm logged crome , start postman i'm able consume it:

post /dynamicsnav71/ws/cronus%20ag/codeunit/wsinterface http/1.1 host: servername:7047 content-type: text/xml soapaction: urn:microsoft-dynamics-schemas/codeunit/wsinterface:process cache-control: no-cache postman-token: 5e640ab7-d0af-a098-0665-da4fa281f892  <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsin="urn:microsoft-dynamics-schemas/codeunit/wsinterface">    <soapenv:header/>    <soapenv:body>        <wsin:process>            <wsin:request>input</wsin:request>            <wsin:response>fake_response</wsin:response>        </wsin:process>    </soapenv:body> </soapenv:envelope> 

and statuscode 200 ok response.

as soon, close chrome browser , send request again status 401 (unauthorized), add authorization header. after status 400 following headers:

post /dynamicsnav71/ws/cronus%20ag/codeunit/wsinterface http/1.1 host: servername:7047 content-type: text/xml soapaction: urn:microsoft-dynamics-schemas/codeunit/wsinterface:process authorization: ntlm ywnhbvxncnu6z3j1mtizna== cache-control: no-cache postman-token: 595777b7-5183-38d3-d49b-6bc5d4e3d30e  <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsin="urn:microsoft-dynamics-schemas/codeunit/wsinterface">    <soapenv:header/>        <soapenv:body>             <wsin:process>                 <wsin:request>input</wsin:request>                 <wsin:response>fake_response</wsin:response>             </wsin:process>        </soapenv:body> </soapenv:envelope> 

nothing changed beside authorization header, why status 400? can help? if i'm logged in chrome authorization header doesn't matter if sent or not...

ntlm authentication not supported postman, can use fiddler or chrome browser authentication. https://github.com/postmanlabs/postman-app-support/issues/1137


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -