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 Sagar Yerunkar <sa...@lntinfotech.com> on 2007/03/23 10:49:13 UTC
[AXIS2]Client side repository setup
Hello,
I have a simple web service with has two functions - tryPing and tryEcho.
This webservice has been written and consumed using Axis2's primary APIs.
I have successfully read the services synchronously as well as
asynchronously using a single transport layer call. I then changed the
call to dual transport using
options.setUseSeparateListener(true)
and deployed the addressing module on the client isde using
ConfigurationContextFactory.createConfigurationContextFromFileSystem(axis2repo,
axis2xml)
where axis2repo is my axis2/repository folder and axis2xml points to
axis2/conf/axis2.xml
I created the ServiceClient object using
AxisService.createClientSideAxisService()
However, i get the following error shown below:
My console output on the client side is :
Mar 23, 2007 3:15:50 PM org.apache.axis2.deployment.DeploymentEngine
doDeploy
INFO: Deploying module : addressing-1.1.1
Mar 23, 2007 3:15:50 PM org.apache.axis2.deployment.DeploymentEngine
doDeploy
INFO: Deploying module : soapmonitor-1.1.1
Mar 23, 2007 3:15:50 PM org.apache.axis2.deployment.DeploymentEngine
doDeploy
INFO: Deploying Web service version.aar
org.apache.axis2.AxisFault: Operation anonOutonlyOp not found
at org.apache.axis2.client.ServiceClient.createClient(
ServiceClient.java:651)
at org.apache.axis2.client.ServiceClient.fireAndForget(
ServiceClient.java:486)
at org.apache.axis2.client.ServiceClient.fireAndForget(
ServiceClient.java:469)
at primary.AsyncSingleTransport.main(AsyncSingleTransport.java:216
)
Kindly help me resolve this error.
Regards,
Sagar M. Yerunkar
______________________________________________________________________