Hi, you should specifiy the name space with http://myhost/xsd in your web
service client. it is helpful if you can post your web service client source
code.

best regards
donald

On 4/12/07, Jean-Paul Sartres <[EMAIL PROTECTED]> wrote:

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