Making SOAP Requests Using Postman - Postman Blog _ Postman Blog
Making SOAP Requests Using Postman - Postman Blog _ Postman Blog
Sign In
If this topic interests you, learn the latest about SOAP requests in Postman by reading
our 2020 tutorial blog post here.
This is a guest post by Ankit Dua, developer at BeeHyv Software Solutions. You can
connect with Ankit on LinkedIn.
We know it says Postman “REST” client, but that doesn’t mean we can’t use it for making
SOAP requests. One can easily make any HTTP SOAP request using Postman by
following these simple steps:
1. Give the SOAP endpoint as the URL. If you are using a WSDL, then give the path to the
WSDL as the URL.
We use cookies to analyze tra c, track and improve your 2. Set the request method to POST.
experience, and assist in our marketing e orts. Our Cookie 3. Open the raw editor, and set the body type as “text/xml”.
Notice provides more information and explains how to amend 4. In the request body, give the SOAP Envelope, Header and Body tags as required. Start
your cookie settings. Cookie Notice by giving the SOAP Envelope tag, which is necessary, and de ne all the namespaces.
Give the SOAP header and the body. The name of the SOAP method (operation) should
Accept Cookies
be speci ed in the SOAP body. For example, for the WSDL operation “GetPostman”
de ned as –
<wsdl:operation name="GetPostman">
<http:operation location="/GetPostman"/>
</wsdl:operation>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pm="https://www.postman.com/">
<soapenv:Header></soapenv:Header>
<soapenv:Body>
<pm:GetPostman>
.
.
.
</pm:GetPostman>
</soapenv:Body>
</soapenv:Envelope>
With tools like history, collections and environments, SOAP testing inside Postman
becomes really easy.
How’s your experience making SOAP requests in Postman? Let us know in the
comments below.
Guest Author
This is a special guest author feature for the Postman blog. See more
posts by Guest Author
Comments
Your name
Your email
Post Comment
Ramana
Aug 17, 2020
I need to make SOAP request automate by mapping the elements of SOAP
request to Environment or Global or Collection variables and with the above
approach, how can i assign variables with body soap xml ements by {{}}. Could
you please provide better approach like SOAP UI tool which will automatically
fetch the SOAP XML if we provide WSDL URL but Postman need seperate tool to
get Endpoint, Action and request Body which is very poor in Postman tool. Kindly
help me to understand better in postman how can use like SOAP UI tool for the
above points.
Madhan
Jun 22, 2020
Need to read data from le and pass data as an input to SOAP call and output
the response(by extracting particular nodes). Please let me know if this is
possible in Postman(with SOAP calls).
Ser Dario
Feb 14, 2018
wow it’s incredible it works ne and you can save a lot of time for quick testing!!!!
thank you very much!!! I also used it for testing soap service with complex data
input and it works ne as well!!! I wasted some time at the begininng to
understand how to de ne comnplex data, but once I did it for the rst time I
save a lot of time for repeating di erent tests 🙂 It works also on https
endpoints, you just need to trust that site on google chrome explorer!!!
Kim Christensen
Feb 2, 2018
When using postman for an old Axis SOAP application where soapAction=”” you
also need the header “SOAPAction” with no value
Abhi
Dec 13, 2017
I am trying to execute a Microsoft dynamics CRM SDK’s Method using SOAP. It
Gives me authentication error. I think i have to pass Credential and URL as
Headers but how to do that i dont know…Can anyone please help me out here.
following is the soap:- AuditId “” RetrieveAuditDetails
Arnaldo Trujillo
Jan 25, 2018
You have to make a NTML authentication
qSEzNeS
Aug 31, 2016
Those nerds don’t bother to answer questions here. Hey, cant you see how many
questions you were asked?
Shamasis Bhattacharya
Aug 31, 2016
What a coincidence I read this! Honestly you’re right. It becomes extremely
di cult to juggle between our help system, Twitter and 3 GitHub issue trackers
along with our slack community for chat. Would love if you can ask your
questions on GitHub or slack – https://www.postman.com/slack-invite
Newsletter signup
Like this post? We've got plenty more in our monthly newsletter.
Have it automatically delivered to your inbox.
API Client Release Notes Development Postman Enterprise Resellers Support Careers We're Hiring!
Design & Mock Postman API Product Management Community Content Blog
Workspaces Webinars
Interceptor
API Visualizer