Hi, I think problem is in endpoint. Try It with https endpoint.
Thanks On Fri, Apr 25, 2014 at 11:49 AM, Supun Sethunga <sup...@wso2.com> wrote: > attached is the client. > > Thanks! > > > On Fri, Apr 25, 2014 at 11:39 AM, Roshan Wijesena <ros...@wso2.com> wrote: > >> can you attache your client also .. >> >> >> On Fri, Apr 25, 2014 at 11:14 AM, Supun Sethunga <sup...@wso2.com> wrote: >> >>> Hi, >>> >>> Im trying to secure a non-secured back-end service using a proxy. When i >>> create a secure proxy with policies from the ESB and execute the client, i >>> get the following exception. >>> >>> >>> >>> >>> >>> >>> >>> *Exception in thread "main" org.apache.axis2.AxisFault: Read timed >>> out at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at >>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:197) >>> at >>> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at >>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404) >>> at >>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231) >>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)* >>> ... >>> ... >>> >>> For the testing purpose, when I create a simple pass through proxy and >>> execute the client, the sent message actually reaches the proxy with all >>> the security headers. (checked using ESB SOAP tracer). So I guess my client >>> works fine. >>> >>> But the SOAP tracer in ESB does not track the message sent when the >>> secure proxy (with policy applied) is used. >>> >>> Any idea on what causes this exception? >>> >>> I have attached the policy file herewith. >>> >>> Thanks, >>> Supun >>> >>> -- >>> *Supun Sethunga* >>> Software Engineer >>> WSO2, Inc. >>> lean | enterprise | middleware >>> Mobile : +94 716546324 >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Best Regards, >> Senior Software Engineer-WSO2 Inc. >> Roshan Wijesena >> Mobile: *+94752126789* >> Email: ros...@wso2.com >> *WSO2, Inc. :** wso2.com <http://wso2.com/>* >> lean.enterprise.middleware. >> > > > > -- > *Supun Sethunga* > Software Engineer > WSO2, Inc. > lean | enterprise | middleware > Mobile : +94 716546324 > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Milinda Perera Software Engineer; WSO2 Inc. http://wso2.com , Mobile: (+94) 714 115 032
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev