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! Go to 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.