I am using Axis 1 (version 1.4). The web service cleint cannot find the
service if more than 1 method is placed in server-config.wsdd as:

 <service name="MySvc" provider="java:MSG" style="wrapped" use="literal"> 
        <wsdlFile>./WEB-INF/wsdl/mySvc.wsdl</wsdlFile>
    <parameter name="className" value="org.MySvc"/>
    <parameter name="allowedMethods" value="method1,method2"/>
  </service>

The client successfully works if one method at a time is placed. Cleint does
not work with * pattern either.

Client throws exception with message:

Couldn't find an appropriate operation for XML QName
{http://svc.org/aoc/2009/11/}myRequest


It works if I put 1 method name at a time. In other words, client worked in
both the situatioans as shown below:

 <service name="MySvc" provider="java:MSG" style="wrapped" use="literal"> 
        <wsdlFile>./WEB-INF/wsdl/mySvc.wsdl</wsdlFile>
    <parameter name="className" value="org.MySvc"/>
    <parameter name="allowedMethods" value="method1"/>
  </service>

also worked for:

 <service name="MySvc" provider="java:MSG" style="wrapped" use="literal"> 
        <wsdlFile>./WEB-INF/wsdl/mySvc.wsdl</wsdlFile>
    <parameter name="className" value="org.MySvc"/>
    <parameter name="allowedMethods" value="method2"/>
  </service>


Any suggestion?

-- 
View this message in context: 
http://old.nabble.com/Axis1---multiple-method-names-in-server-config.wsdd-tp26399087p26399087.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to