Hello,

I have a problem with axis2.1.1 (and last nightly build too). I use axis2 in
tomcat5.

My simple Echo webservice is well deployed but when i try to access it, i
've got this problem :
- Deploying Web service: Echo.aar
- Exception occurred while trying to invoke service method echo
org.apache.axis2.AxisFault: namespace mismatch require
http://myhost/xsdfound none.

here is my services.xml :

<service name="Echo" scope="application">
   <description>
       Echo
   </description>

    <parameter name="ServiceClass">
       myhost.Echo
   </parameter>
   <operation name="echo">
       <messageReceiver class="
org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
   </operation>

</service>


and my Echo.java :

package myhost;
public class Echo {
       public static int echo(int id) throws Exception {
               return id;
       }
}

Thanks in advance,

best regards

Reply via email to