You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Ockleford Paul (NHS CONNECTING FOR HEALTH)" <pa...@nhs.net> on 2012/12/27 15:09:06 UTC

Configuration for style=rpc

Hi,

I have been working on moving our existing web services under axis 1 to axis 2. I am pretty much there with everything I need to do but one thing I have noticed is that in the axis 2 generated wsdl the service is a document style service.

I think with axis1 it was rpc, at least all of our documentation talks about rpc services. Here is a small piece of the wsdl (generated):

<wsdl:binding name="AuthenticationServiceSoap12Binding" type="ns:AuthenticationServicePortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="synchronisePassword">
<soap12:operation soapAction="urn:synchronisePassword" style="document"/>
<wsdl:input><soap12:body use="literal"/></wsdl:input>
<wsdl:output><soap12:body use="literal"/></wsdl:output>
</wsdl:operation>
</wsdl:binding>

Is there something that I need to do within the services.xml file to expose these methods as rpc style web services?

Thanks,

Paul

********************************************************************************************************************

This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere

********************************************************************************************************************