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 Fran <fc...@gmail.com> on 2007/05/25 11:24:40 UTC
[AXIS2] Error: Service not found
Hi!
I created a web service using Axis2 and ADB, for client and service. I
deploy my service in Axis2 and run Axis2 server, but when I try to
execute my client it shows the following error:
org.apache.axis2.AxisFault: Service not found operation terminated !!
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271)
at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
at servidor.ServidorStub.conectar(ServidorStub.java:501)
at cliente.ClienteWS.conectar(ClienteWS.java:28)
//... The stack trace of my classes
Can anyone help me? It's my first web service.
And another question: What is the utility of this part of the build.xml file?
<wsdl2java wsdlFilename="${basedir}/resources/META-INF/Servidor.wsdl"
output="${build.dir}/cliente"
packageName="servidor"
databindingName="adb"
----------> namespaceToPackages="http://servidor/xsd=servidor.xsd"
language="java"
synconly="true"/>
In the examples that I saw, it has the name of the service package, in
my case there is a package called "servidor" and the class service is
"servidor.Servidor", without more sublevels.
Thanks!
--
Saludos
Fran
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [AXIS2] Error: Service not found
Posted by Fran <fc...@gmail.com>.
2007/5/25, Fran <fc...@gmail.com>:
> Hi!
>
> I created a web service using Axis2 and ADB, for client and service. I
> deploy my service in Axis2 and run Axis2 server, but when I try to
> execute my client it shows the following error:
>
> org.apache.axis2.AxisFault: Service not found operation terminated !!
> at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271)
> at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
> at servidor.ServidorStub.conectar(ServidorStub.java:501)
> at cliente.ClienteWS.conectar(ClienteWS.java:28)
> //... The stack trace of my classes
>
> Can anyone help me? It's my first web service.
>
> And another question: What is the utility of this part of the build.xml file?
>
> <wsdl2java wsdlFilename="${basedir}/resources/META-INF/Servidor.wsdl"
>
> output="${build.dir}/cliente"
>
> packageName="servidor"
>
> databindingName="adb"
>
> ----------> namespaceToPackages="http://servidor/xsd=servidor.xsd"
>
> language="java"
>
> synconly="true"/>
>
> In the examples that I saw, it has the name of the service package, in
> my case there is a package called "servidor" and the class service is
> "servidor.Servidor", without more sublevels.
>
> Thanks!
>
> --
> Saludos
>
> Fran
>
I solved the problem.
--
Saludos
Fran
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org