Hi, Well upon some research I think the following must be the reason for the error that I get,
When I deploy a service in Axis2, it automatically generates three different end-points for the service. 1 - For SOAP 1.1 (*OrderServiceProxyHttpsSoap11Endpoint*) 2 - For SOAP 1.2 (*OrderServiceProxyHttpsSoap12Endpoint*) 3 - For RESTful calls (*OrderServiceProxyHttpsEndpoint*) I see that the ESB adds the SOAP headers and engages the rampart module(for authentication) when testing the service. So this works fine with the first two end-points but NOT with the RESTful one. This is because this Axis endpoint does not expect the rampart header in the 3rd scenario. The call for this endpoint could be checked by a simple java-client which does not engage the rampart module (but does authentication via HTTP authorization) as explained in [1]. Hope this is the correct conclusion for the given behaviour. [1] http://code.chamiladealwis.com/index.html Thanks ------------------------------------- *Shabir Mohamed* *Software Engineer* WSO2 Inc.; http://wso2.com Email: [email protected] <[email protected]> Mobile: +94 77 3516019 | +94 71 6583393
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
