Hi; ESB v 4.7.0
*Sequence [1]:* <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:m0=" http://ws.wso2.org/dataservice" name="ImageId" expression="//m0:ImageID/text()" scope="default" type="STRING"/> <payloadFactory media-type="xml"> <format> <m1:Select_Image xmlns:m1="http://ws.wso2.org/dataservice"> <m1:ImageID>$1</m1:ImageID> </m1:Select_Image> </format> <args> <arg xmlns:ns="http://org.apache.synapse/xsd" expression="get-property('ImageId')" evaluator="xml"/> </args> </payloadFactory> <callout endpointKey="ImageSvcEndpoint"> <source type="envelope"/> <target xmlns:ns="http://org.apache.synapse/xsd" xpath="$body"/> </callout> *Error[1]* [2014-02-26 16:53:05,582] INFO - LogMediator To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:07de44 dc-5760-40d5-8682-8bf61528d9a0, Direction: response, MESSAGE = Executing default 'fault' sequence, ERROR_CODE = , ERROR_MESSAGE = Not in GZIP format, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ "><soapenv:Body><m1:Select_I mage xmlns:m1="http://ws.wso2.org/dataservice "><m1:ImageID/></m1:Select_Image></soapenv:Body></soapenv:Envelope> *Sequence [2]:* <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:m0=" http://ws.wso2.org/dataservice" name="ImageId" expression="//m0:ImageID/text()" scope="default" type="STRING"/> <payloadFactory media-type="xml"> <format> <m1:Select_Image xmlns:m1="http://ws.wso2.org/dataservice"> <m1:ImageID>$1</m1:ImageID> </m1:Select_Image> </format> <args> <arg xmlns:ns="http://org.apache.synapse/xsd" expression="get-property('ImageId')" evaluator="xml"/> </args> </payloadFactory> <callout endpointKey="ImageSvcEndpoint"> <source xmlns:ns="http://org.apache.synapse/xsd" xpath="$body"/> <target xmlns:ns="http://org.apache.synapse/xsd" xpath="$body"/> </callout> *Error2* [2014-02-26 16:56:25,717] ERROR - NativeWorkerPool Uncaught exception org.apache.axiom.soap.SOAPProcessingException: Can not detach SOAP Body, SOAP Envelope must have a Body !! at org.apache.axiom.soap.impl.llom.SOAPBodyImpl.detach(SOAPBodyImpl.java:162) at org.apache.axiom.om.impl.llom.OMNodeImpl.setParent(OMNodeImpl.java:105) at org.apache.axiom.soap.impl.llom.SOAPElement.setParent(SOAPElement.java:78) at org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:296) at org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:212) at org.apache.axiom.soap.impl.llom.SOAPBodyImpl.addChild(SOAPBodyImpl.java:231) at org.apache.axis2.client.ServiceClient.fillSOAPEnvelope(ServiceClient.java:678) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:551) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530) at org.apache.synapse.mediators.builtin.CalloutMediator.mediate(CalloutMediator.java:221) *Sequence 3* <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:m0=" http://ws.wso2.org/dataservice" name="ImageId" expression="//m0:ImageID/text()" scope="default" type="STRING"/> <payloadFactory media-type="xml"> <format> <m1:Select_Image xmlns:m1="http://ws.wso2.org/dataservice"> <m1:ImageID>$1</m1:ImageID> </m1:Select_Image> </format> <args> <arg xmlns:ns="http://org.apache.synapse/xsd" expression="get-property('ImageId')" evaluator="xml"/> </args> </payloadFactory> <property xmlns:ns="http://org.apache.synapse/xsd" name="ImageSvcRequest" expression="$body" scope="default" type="OM"/> <callout endpointKey="ImageSvcEndpoint"> <source xmlns:ns="http://org.apache.synapse/xsd" xpath="get-property('ImageSvcRequest')"/> <target xmlns:ns="http://org.apache.synapse/xsd" xpath="$body"/> </callout> *Error3* 2014-02-26 17:00:52,663] INFO - LogMediator To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:3698f1 5-7dac-472e-b030-fd7810547fdf, Direction: response, MESSAGE = Executing default 'fault' sequence, ERROR_CODE = , ERROR_MESSAGE = Not in GZIP format, nvelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ "><soapenv:Body><m1:Select_I age xmlns:m1="http://ws.wso2.org/dataservice "><m1:ImageID/></m1:Select_Image></soapenv:Body></soapenv:Envelope> What i'm doing wrong in above three sequences? Thanks.. -- -Ratha mobile: (+94)755906608
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
