wso2esb - WSO2 ESB Proxy service call Backend service endpoint(WCF)(Big IP) have error 403/404 -


i create wso2 esb proxy service end service. can success call dev wcf service endpoint hosted in dev server , endpoint dev server name.
use same way call test environment endpoint, test endpoint big ip endpoints. it's seem wso2 can't access big ip endpoints.

from debug info.(my big ip endpoint https://hostname/201507/servicename.svc)

[2015-07-08 11:48:21,786] debug - headers http-outgoing-3 >> post /201507/servicename.svc http/1.1 [2015-07-08 11:48:21,786] debug - headers http-outgoing-3 >> content-type: application/soap+xml [2015-07-08 11:48:21,787] debug - headers http-outgoing-3 >> transfer-encoding: chunked [2015-07-08 11:48:21,787] debug - headers http-outgoing-3 >> host: hostname:80 [2015-07-08 11:48:21,787] debug - headers http-outgoing-3 >> connection: keep-alive [2015-07-08 11:48:21,787] debug - headers http-outgoing-3 >> user-agent: synapse-pt-httpcomponents-nio 

it's seems wso2 can't success post soap right endpoint, have wrong port(80).
try hard code port https://hostname:443/201507/servicename.svc, no luck same error.
know reason this?

edit:

this may cause default wso2 using chunked-encoding call end service.

issue: port 80 https. bug in wso2 esb4.8.1 (https://wso2.org/jira/browse/esbjava-3336)

my issue may cause wso2 default using http 1.1 transfer-encoding: chunked call end endpoint.

test environment backend servcie can't support chunking encoding. cause error.

add

<property name="disable_chunking" value="true" scope="axis2"/> 

for pass through proxy:
content length not right when disable chunking in esb.
see bug in https://wso2.org/jira/browse/esbjava-3297

for other:
it's working! if client soap11 send contenttype "text/xml" , end accept "application/soap+xml". need add

<property name="messagetype" value="application/soap+xml" scope="axis2" type="string"/> <property name="contenttype" value="application/soap+xml" scope="axis2" type="string"/> (default not needed property contenttype) 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -