I have a following XML request which work fine in SOAP-UI but the same request when i run on POSTMAN (even the headers are same) gives following error
Invalid SOAP request.
Similarly i tried the same XML with the CURL request, but it gives empty response
If any of you guys please help me, what i need to add to run in POSTMAN? If it runs on postman i can make it workable on CURL.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-AAAKHI2521" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>BUKHARIAPI</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">pass1234</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body xmlns:ns2="http://www.opentravel.org/OTA/2003/05">
<ns2:OTA_AirAvailRQ EchoToken="11868765275150-1300252521" PrimaryLangID="en-us" SequenceNmbr="1" Target="TEST" TimeStamp="2024-01-02T23:29:27" Version="20061.00">
<ns2:POS>
<ns2:Source TerminalID="AAAKHI2521">
<ns2:RequestorID ID="BUKHARIAPI" Type="4" />
<ns2:BookingChannel Type="12" />
</ns2:Source>
</ns2:POS>
<ns2:OriginDestinationInformation>
<ns2:DepartureDateTime>2024-01-15T00:00:00</ns2:DepartureDateTime>
<ns2:OriginLocation LocationCode="KHI" />
<ns2:DestinationLocation LocationCode="ISB" />
</ns2:OriginDestinationInformation>
<ns2:TravelerInfoSummary>
<ns2:AirTravelerAvail>
<ns2:PassengerTypeQuantity Code="ADT" Quantity="1" />
</ns2:AirTravelerAvail>
</ns2:TravelerInfoSummary>
</ns2:OTA_AirAvailRQ>
</soap:Body>
</soap:Envelope>````
You can copy from the succussed header parameter from SOAI get call.
Content-Type: text/xml;charset=UTF-8
SOAPAction: "getAvailability"
Host: 9p6.isaaviations.com
User-Agent: Apache-HttpClient/4.5.5 (Java/16.0.2)
https://9p6.isaaviations.com/webservices/services/AAResWebServices?wsdl