Getting Error while exposing SOAP service as API

Not applicable

I have a SOAP service which is up and running. I want to expose it as a API using apigee.

I can see the target URL and request Body as below in "Set Target Policy" of target request flow.

Target URL: = http://192.168.0.103:8088/mockServicePortBinding

Request Body: <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:Body> <getData xmlns="http://ws.service"> <Type>1</Type> </getData> </soap:Body> </soap:Envelope>

With the above targetURL and SOAP Request, I can get the successful response from SOAPUI/Posman.

But while Calling exposed API proxy, I am getting this error.

While invoking the API, I am getting this error

{ "Envelope": { "encodingStyle": "http://schemas.xmlsoap.org/soap/encoding/", "Body": { "Fault": { "faultcode": "soap:Server", "faultstring": "The Service is temporarily unavailable", "faultactor": {}, "detail": { "source": { "errorcode": "messaging.adaptors.http.flow.ServiceUnavailable" } } } } } }

Solved Solved
0 4 982
1 ACCEPTED SOLUTION

Are you using apigee cloud or installed onpremise? Your ip seems internal so you won't be able to connect to it from apigee in the cloud.

View solution in original post

4 REPLIES 4

Not applicable

Please assist me to fix the issue.

Are you using apigee cloud or installed onpremise? Your ip seems internal so you won't be able to connect to it from apigee in the cloud.

Thanks For your answer.

Yeah, I am using Cloud version and connected to internet. My web service endpoint points to my local machine.

Can you suggest me a solution to fix this issue.

It is not possible for any software running outside your internal network to have access to your local machine. You will either need to configure your network gateway to route requests in or deploy your APIs somewhere publicly accessible.