Hi All, I have create an API in ESB 5.0.0 for accessing a secured SOAP BE service. Attached is the sysnapse configuraion for my API.
<api xmlns="http://ws.apache.org/ns/synapse" name="NawalokaPatientAPI" context="/nawaloka"> <resource methods="GET" uri-template="/read/{patientid}"> <inSequence> <property name="Authorization" value="Basic YnVkZGhpbWFsYTpidWRkaGltYWxhMTIz" scope="transport"/> <payloadFactory media-type="xml"> <format> <ser:read xmlns:ser="http://service.sample.nawaloka.com"> <ser:patientId>123</ser:patientId> </ser:read> </format> <args> <arg evaluator="xml" expression="get-property('uri.var.patientid')"/> </args> </payloadFactory> <log level="full"/> <property name="SOAPAction" value="urn:read" scope="transport"/> <property name="messageType" value="text/xml" scope="axis2"/> <property name="ContentType" value="text/xml" scope="axis2"/> <send> <endpoint> <address uri=" https://192.168.55.160:9443/services/NawalokaPatientService" format="soap11"/> </endpoint> </send> </inSequence> <outSequence> <property name="messageType" value="application/json" scope="axis2"/> <send/> </outSequence> </resource> </api> The WSDL for my BE service can be found in following URL location. http://192.168.55.160:9763/services/NawalokaPatientService?wsdl My problem is, when I tried to invoke the API using SOAPUI, the following error message prompt with 500 error code. {"Exception": "SOAP Envelope can not have children other than SOAP Header and Body"} Attached what is logged in ESB, enabled wirelogs and debug logs. How can I resolve this issue? Appreciate your support. -- *Buddhimala Ranasinghe* Software Engineer-Support Team | WSO2 Emil: [email protected] Mobile:+94771563138 Web:http://wso2.com [image: https://wso2.com/signature] <https://wso2.com/signature>
Error
Description: Binary data
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
