axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe" <dee...@opensource.lk>
Subject Re: [Axis2] Problem with Accessing Client API
Date Mon, 19 Sep 2005 09:53:15 GMT
Hi Gayan;

Fixed it , please take an update and see

Thanks,
 Deepal
................................................................
~Future is Open~

  ----- Original Message ----- 
  From: Gayan Asanka 
  To: axis-dev@ws.apache.org 
  Sent: Monday, September 19, 2005 3:15 PM
  Subject: [Axis2] Problem with Accessing Client API


  Hi All,

   

  I am having a new problem in client API, I use the same client for all test in each round.
But only I can't call the client more than once, it throws an exception when going to produce
a new call with same repository. Could some please let me know how should I change my client
API access with this new architectural changes. Following is the exception I get. You can
reproduce this with itests.

   

  org.apache.axis2.AxisFault: Two service can not have same name, a service with AnonymousService
alredy exist in the system

              at org.apache.axis2.engine.AxisConfigurationImpl.addServiceGroup(AxisConfigurationImpl.java:264)

              at org.apache.axis2.engine.AxisConfigurationImpl.addService(AxisConfigurationImpl.java:255)

              at org.apache.axis2.clientapi.Call.assumeServiceContext(Call.java:221)

              at org.apache.axis2.clientapi.Call.<init>(Call.java:61)

              at org.apache.axis2.interopt.whitemesa.round1.Round1Client.sendMsg(Round1Client.java:32)

              at org.apache.axis2.interopt.whitmesa.round1.Round1InteropTest.testEchoVoid(Round1InteropTest.java:65)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

   

   

  Thanks,

   

  Gayan Asanka

Mime
View raw message