AnsweredAssumed Answered

API Gateway - redirecting SOAP Envelope

Question asked by Ednei Rodrigues Employee on Jul 6, 2018
Latest reply on Jul 24, 2018 by Ednei Rodrigues

Hello Guys, how are you doing ?

 

The customer environment has a lot of legacy application (four) that they consume TEWS (IDM). 

However, after the integration with SSO, these applications stopped and now they aren't authenticating, because IDM is requering SSO Headers.

 

Well, The customer doesn't know how insert SSO Headers in the application Code and they don't want to do that. So, they are asking to the API Gateway to do that.

 

I am very new in this Product and I am getting many issues to translate this idea.

 

So, What Do I have ?

 

1) I simulate this situation in the SOAP UI:

 

(This is example, the applications will send a lot of TEWS commands)

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<TaskContext xmlns="http://tews6/wsdl">
<admin_id>User</admin_id>
<admin_password>senha</admin_password>
<no_namespace_on_soapfaults_header>true</no_namespace_on_soapfaults_header>
</TaskContext>
<ModifyUserQuery xmlns="http://tews6/wsdl">
<ModifyUserSearch>
<Subject index="0">
<FriendlyName>User</FriendlyName>
</Subject>
</ModifyUserSearch>
</ModifyUserQuery>
</soap:Body>
</soap:Envelope>

With this header:

With this type of authentication:

 

Response:

 

 

2) I could simulate in the API Gateway (But I Used static values):

 

 

 

 

 

 

 

Now, my challenge is the API Gateway capture this SOAP Envelope from SOAPUI. However, I don't know how!

Is this possible the API capture the SOAP Envelope without transformation ? I mean, the entire package ? 

 

Thank you!

Outcomes