Recently replaced a legacy SOAP application with REST service (Rest service is hosted in apigee; SOAP service is not). Would like to create a SOAP proxy in apigee that takes the incoming SOAP call, converts it to REST, then converts the rest response to SOAP for the reply.
Example:
In coming SOAP request -
<LookupDetails>
<MethodParameters>
<request>
<IdentificationNumber>12345678</IdentificationNumber>
<RequestingUserName>USER</RequestingUserName>
<RequestingUserPassword>PASSWORD</RequestingUserPassword>
<RequestingUserClient>CLIENT</RequestingUserClient>
<RequestingUserRole isNull="false"/>
<APIKEY isNull="false"/>
</request>
</MethodParameters>
</LookupDetails>
Need the proxy to validate the user name and password then convert request to REST and do a post to my existing REST API with the request body below.
<Search xmlns="http://schema.search.com">
<Fields>
<string>DetailList</string>
</Fields>
<Id>
<string>12345678</string>
</Id>
</Search>
I would appreciate any assistance you can provide.