Hello Nadeeshaan I have this simple proxy:
<?xml version="1.0" encoding="UTF-8"?><proxy xmlns="http://ws.apache.org/ns/synapse"<http://ws.apache.org/ns/synapse%22> name="xxxxWsV2_Based_Proxy" startOnLoad="true" statistics="disable" trace="enable" transports="http,https"> <target> <inSequence> <property name="FORCE_HTTP_1.0" scope="axis2" type="STRING" value="true"/> <property name="DISABLE_CHUNKING" scope="axis2" type="STRING" value="true"/> <property name="EXPECT-100" scope="axis2" type="STRING" value="true"/> <log level="full"/> </inSequence> <outSequence> <log level="full"/> <send/> </outSequence> <endpoint> <wsdl port="xxxxWsV2Port" service="xxxxxWsV2Service" uri="file:/var/www/html/xxxxWsV2.wsdl"/> </endpoint> </target> <description/> </proxy> The proxy receives this response from endpoint: --urn:uuid:ax7xx36-98xx9-4ex1-bxxc-ax1xxxxx8bxc Content-Type: text/xml; charset=utf-8 Content-Transfer-Encoding: 8bit Content-ID: <urn:uuid:3xcxxx4b-x9ea-xxf6-81c3-8a8xxxxe6bx7> <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"<http://schemas.xmlsoap.org/soap/envelope/%22> xmlns:ns1="https://xxxx.es/xxxx/ws/xxxxws_v2/1.0/infoEnvioV2"><https://xxxx.es/xxxx/ws/xxxxws_v2/1.0/infoEnvioV2%22%3E> <SOAP-ENV:Body> <resultadoInfoEnvioV2> <ns1:identificador>xa3x2xxxxx8xx7</ns1:identificador> </resultadoInfoEnvioV2> </SOAP-ENV:Body> </SOAP-ENV:Envelope> --urn:uuid:a07xxx6-9xxx9-4xxa1-xx9c-a91dxxbcc Content-Type: application/octet-stream; charset=utf-8 Content-Transfer-Encoding: binary Content-ID: <urn:uuid:69xxx17b-x96c-xx3e-9x78-721dxxxxxxa23> http://xx.x.x.xxx/Texto_de_prueba.txt --urn:uuid:a07xxx6-9xxx9-4ea1-bxxc-a9xxx0c8bcc- You can see that this response that comes with a coded file: Content-Type: application/octet-stream; charset=utf-8 Content-Transfer-Encoding: binary The problem is proxy doesn’t return any response to SOAPUI. Also ESB log shows this error: TID: [-1234] [] [2017-12-21 17:15:38,305] ERROR {org.apache.synapse.transport.passthru.util.RelayUtils} - Error while building Passthrough stream {org.apache.synapse.transport.passthru.util.RelayUtils} org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<' I just want to know which wso2 command/s should I add to the proxy configuration for bypassing this response so that it can be read by SOAPUI Thanks Marcos
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
