Web service with REST
Hi I am currently having issue with some of the services I have implemented with REST enabled. With SOAP, all the operations are working fine, but with REST there are couples of operations that do not work. As I understand, axis2 converts the REST/HTTP request to a SOAP message. I have RawXMLINOutMessageReceiver as the message receiver. Requests that work fine have the following xml structure defined in the WSDL. In this case I am able to access the OMElement node b within the saop body. The URL provided in the browser looks like http://domain/service/MyService/a Requests that have issues are of the following structure In this case, the soap message is created with only "a" and "b" as the OMElement node. The "c" and "d" nodes are not created during the conversion. The URL provided in the browser looks like http://domain/service/MyService/a?c=sample&d=free I would like to understand the REST architecture within axis2 and how the request parameters are mapped to the actual xml structure defined in WSDL. Any help will be appreciated. Thanks Shantaram
rampart for encryption only
Hi I have the following scenario. Currently a filter mechanism to authenticate all incoming requests (over http) on the middle-tier is in place, for all WS invocations. The web server is also configured to handle https. Required .keystore files are created for both client and server side. I need rampart to basically do only the encryption part. How can I achieve this? Thanks in advance Shantaram
NoSuchMethodError error while engagin rampart
Hi I am trying to engage rampart module. I get the following error org.apache.axis2.AxisFault: java.lang.NoSuchMethodError: boolean org.apache.axis2.context.MessageContext.isEngaged(javax.xml.namespace.QN ame) at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java :434) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:373) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO peration.java:294) I am using rampart-1.1.mar and axis2-1.2 I have included the module in the service.xml as well as axis2.xml Please advice. Thanks Shantaram