This depends on your experience. First of all, I would like to suggest that
you can start to write web service client using java + axis2 and test it by
monitoring the SOAP message with TCPMon. Then you can write same web service
client using other languages + corresponding web service API to make sure
inter-operability. Hopeful it is useful for you.

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

Thanks for your answer, but how do you *easily* test a webservice when you
are developping ?
In which langage and how ?

thanks

2007/4/12, donald yang < [EMAIL PROTECTED]>:
>
> As I am not familar with python, I can not give you more help. Pls read
> the document of SOAPpy API and find out how to set the name space.
>
> On 4/12/07, Jean-Paul Sartres <[EMAIL PROTECTED]> wrote:
> >
> > here is my client :
> >
> > from SOAPpy import WSDL
> > wsdlFile = 'http://localhost:8080/axis2-1.2-SNAPSHOT/services/Echo?wsdl
> > '
> > server = WSDL.Proxy(wsdlFile)
> > part1 = 76
> > print server.echo(part1)
> >
> > So the problem come from the client, this is a good news ;)
> >
> >
> > 2007/4/12, donald yang < [EMAIL PROTECTED]>:
> > >
> > > 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/xsd found 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