Question

5
Replies
88
Views
Close popover
Ambrish Patil (AmbrishPatil510)
S&P Global

S&P Global
IN
AmbrishPatil510 Member since 2018 6 posts
S&P Global
Posted: February 10, 2020
Last activity: February 24, 2020
Closed

Issue with SOAP Request Envelope

Hi,

 

I have built service SOAP localhost host. all the configuration are done but when i run the service soap rule to test service, SOAP request Envelope is getting generated with the name spaces as below for which i able to receive the null response from the service:

<?xml version="1.0"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ns1:GetEmployeeDetailsRequest xmlns:ns1="GetEmployeeDetailsRequest"> 123456<EmployeeID/> </ns1:GetEmployeeDetailsRequest> </soap:Body> </soap:Envelope>

but when i modify the soap request envelope as below able to receive the response from the service:

 

<?xml version="1.0"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ns1:GetEmployeeDetailsRequest xmlns:ns1="GetEmployeeDetailsRequest"> <EmployeeID>123456</EmployeeID> </ns1:GetEmployeeDetailsRequest> </soap:Body> </soap:Envelope>

would like to know when or in which scenarios SOAP request envlope will get generated with name space? what to do with service to get the proper response from service ?

 

Thanks in advance.

Pega Platform 7.4 Data Integration System Architect Pega Academy
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.