Hi, I am creating an API in ESB 5.0.0 for GET Resource, where I have a secured SOAP backend service. Below is my synapse configuration of the API. I find some error logged in the console.
<?xml version="1.0" encoding="UTF-8"?> <api xmlns="http://ws.apache.org/ns/synapse" name="PatientAPI" context="/patientapi"> <resource methods="GET" uri-template="/{patientId}"> <inSequence> <header name="Authorization" scope="transport" value="Basic cGlyaXlhOnBpcml5YTEyMw=="/> <payloadFactory media-type="xml"> <format> <soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser=" http://service.sample.ninewells.com"> <soapenv:Header/> <soapenv:Body> <ser:readNinewells> <ser:patientId>1111</ser:patientId> </ser:readNinewells> </soapenv:Body> </soapenv:Envelope> </format> <args> <arg value="1990"/> </args> </payloadFactory> <header name="Action" value="urn:readNinewells"/> <property name="SOAPAction" value="urn:readNinewells" scope="transport"/> <property name="messageType" value="application/soap+xml" scope="axis2" type="STRING"/> <send> <endpoint> <address uri="https://xxxx.xx.xx.xx:xxx3 /services/NinewellsPatientService" format="soap11"/> </endpoint> </send> </inSequence> <outSequence> <property name="messageType" value="application/json" scope="axis2" type="STRING"/> <send/> </outSequence> </resource> </api> There is a 500 Internal Server Error logged in the console. Below is the exception found. {"faultstring":"The endpoint reference (EPR) for the Operation not found is /services/DurdansPatientService and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator."} Highly appreciate your advice on this. Thanks. -- Regards, *Piriya Sivalingam* *Software Engineer - Support Team* *WSO2* *Mobile : +94 77 8462039* [image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
