Soap Integration

RaviSanker5421
Tera Contributor

Hii all I need help in servicenow soap integration:

 

I need to do the soap integration using flowdesigner 

Action is---> Run Report

I have : wsdl end point
             user name and password

         

payload:

 

 

<soap:Header/>
<soap:Body>
<pub:runReport>
<pub:reportRequest>
<pub:attributeFormat></pub:attributeFormat>
<pub:reportAbsolutePath>/Custom/Human Capital Management/Phoenix Reports/HR/Service_Now Reports/HR_Organization_Structure_Report.xdo</pub:reportAbsolutePath>
<pub:sizeOfDataChunkDownload>-1</pub:sizeOfDataChunkDownload>
</pub:reportRequest>
</pub:runReport>
</soap:Body>
</soap:Envelope>




How to do can any one explain

1 REPLY 1

Community Alums
Not applicable

I havent done this via Flow designer, as its **bleep**ty, but anyways the principle is the same. REST and SOAP are quite different. One is HTTP/S called endpoint while the SOAP (Simple Object App Protocol) is real protocol which has it's own rules and is called usually Webservice. First thing to do if calling it from SNow is to have your WSDL. This you can do from your browser - use the provider's end pont - if its https://blah.blaahblah.blah/soapysoap - just add at the end ?WSDL. The provided XML file is your WebServiceDefinitionLAnguage file. In this file you have different services in it. Best to explore is with https://www.soapui.org/docs/soap-and-wsdl/working-with-wsdls/.

Note that usually you need to pass one response to the next service - https://www.soapui.org/docs/soap-and-wsdl/operations-and-requests/