Hi Malaka, In my original wsdl file of the service don’t have soapAction( <soap:operation soapAction="" style="rpc"/> ). Then what is the value I should put in header mediator’s value field.
Please check the attached wsdl files for both service and proxy service. Regards, Akila From: Malaka Silva [mailto:[email protected]] Sent: 12 November 2014 12:33 PM To: Akila Nimantha [IT/EKO/LOITS] Cc: [email protected] Subject: Re: [Dev] ESB Unsupported content type faultString Hi Akila, For the mentioned error in [1], it seems SOAPAction is required by the backend service. Use the Header mediator to set the soap action. More information can be found in [2] [1] the endpoint reference (epr) for the operation not found and the wsa action = null [2] https://docs.wso2.com/display/ESB481/Header+Mediator On Wed, Nov 12, 2014 at 10:33 AM, Akila Nimantha [IT/EKO/LOITS] <[email protected]<mailto:[email protected]>> wrote: Hi all, Any updates on this. Still searching on the internet but couldn’t find correct answer. ☹ Regards, Akila From: Akila Nimantha [IT/EKO/LOITS] Sent: 11 November 2014 9:56 AM To: [email protected]<mailto:[email protected]> Subject: ESB Unsupported content type faultString Hi all, I am trying to invoke a web service created in oracle application server using ESB proxy service. What I did was created a passthrough proxy using endpoind and endpoint wsdl. When first time I trying to invoke it, it gives me below error, the endpoint reference (epr) for the operation not found and the wsa action = null then I changed <handler class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher" name="SOAPMessageBodyBasedDispatcher"/> with <handler class="org.apache.synapse.core.axis2.SynapseSOAPMessageBodyBasedDispatcher" name="SOAPMessageBodyBasedDispatcher"/> in axis2.xml file.(I used this link http://stackoverflow.com/questions/23584536/using-wso2-esb-passthrough-proxy-on-weblogic-spring-web-service/23602518#23602518 ) Now it gives me the following fault, <SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <faultcode>SOAP-ENV:Protocol</faultcode> <faultstring>Unsupported content type "application/soap+xml; charset=UTF-8", must be: "text/xml".</faultstring> <faultactor>/cyberfin_lofc_fdRates/FdRates</faultactor> </SOAP-ENV:Fault> Also I tried to add content type header to the proxy as mentioned below. But it give me same fault. <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="payloadtest2" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <header name="contentType" scope="transport" value="text/xml"/> <send> <endpoint> <address uri="http://192.100.151.47:7778/cyberfin_lofc_fdRates/FdRates"/> </endpoint> </send> </inSequence> <outSequence> <send/> </outSequence> </target> <publishWSDL uri="http://192.100.151.47:7778/cyberfin_lofc_fdRates/FdRates?wsdl"/> <description/> </proxy> What should I do ???????? also plain web service is accessible through the soapUI…. Please check the attachments for plain service wsdl and proxy wsdl. Regards, Akila This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. _______________________________________________ Dev mailing list [email protected]<mailto:[email protected]> http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/> Save a tree -Conserve nature & Save the world for your future. Print this email only if it is absolutely necessary. This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you.
AppServerFdRates.wsdl
Description: AppServerFdRates.wsdl
ESBpayloadtest2.wsdl
Description: ESBpayloadtest2.wsdl
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
