Hi Nancy
you can use string as input but you have to use RPCMessageReciver ,
since RawXMLMessageReceiver can not handle that

nancy wrote:

>Hi ,
>
> 
>
>      I have deployed a webservice 'ProcessService' using Axis2 version0.95
>
>.It consists a method 
>
> 
>
>createProcess(String businessObjectId) .
>
> 
>
>This method returns void .In services.xml I use:-
>
> 
>
> “<messageReceiver
> class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>” for
> this operation .
>
> When I invoke this method following exception are displayed:-
>
> 
>
>org.apache.axis2.AxisFault: org.apache.axis2.AxisFault: Raw Xml provider
>
>supports only the methods bearing the signature public OMElement
>
>&lt;method-name&gt;(OMElement) where the method name can be anything
>
> 
>
>      at
>
>org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver.invokeBusinessLogic(R
>
>awXMLINOnlyMessageReceiver.java:118)
>
> 
>
>      at
>
>org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessa
>
>geReceiver.java:34)
>
> 
>
>      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:394)
>
> 
>
>      at
>
>org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
>
>TPTransportUtils.java:282)
>
> 
>
>      at
>
>org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:157)
>
> 
>
>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>
> 
>
>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
> 
>
>      at
>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>
>FilterChain.java:284)
>
> 
>
>      at
>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>
>ain.java:204)
>
> 
>
>      at
>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>
>va:257)
>
> 
>
> 
>
>      ... 2 more
>
> 
>
> 
>
>I don’t to use OmElement in my method signature.Can’t I use String as input 
>parameter AND RETURN TYPE.If yes,how to make soap request for that….
>
>And how can it be solved?
>
> 
>
> 
>
> 
>
>Thanks
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to