How can i convert soap response into xml in apigee?

I am having XML request and soap response from target system.I have converted xml request into soap request by passing xml as an variable into CDATA and receiving soap response therefor.But not able to convert response into XML.If anyone can share the inputs.

0 2 589
2 REPLIES 2

Error-

{ "fault": { "faultstring": "response message is not available for ExtractVariable: Extract-Variables-response", "detail": { "errorcode": "steps.extractvariables.SourceMessageNotAvailable" } } }

@Vaibhav Jain

It would be easier for people on this forum to help you, if you could post your policy configuration and trace.

The error message you posted clearly indicates - the source message you are specifying isn't available, or has the value null.

Check your extract variables policy for the definition of <Source> attribute.

Second, the Response object is available only in the Response flows. If you have used the ExtractVariables policy configured in the request flow, the response variable will not yet exist. It will resolve to null.