Hello
 I now have a straight method which gets called, returns on the
server-side, but the client is never notified.After a while, the
client outputs:
    at
org.apache.axis2.description.OutInAxisOperationClient$SyncCallBac
k.waitForCompletion(OutInAxisOperation.java:497)
    at
org.apache.axis2.description.OutInAxisOperationClient.sendAsync(O
utInAxisOperation.java:313)
    at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl
(OutInAxisOperation.java:224)
    at
org.apache.axis2.client.OperationClient.execute(OperationClient.j
ava:163)
    at
com.webservice.SearchStub.searchMessage(SearchStub.java:1064)
    at com.examples.TestSearch.main(TestSearch.java:48)

 I am really not doing anything fancy here. How do I overcome
this problem? I am using Axis 1.5.1 (the latest version).

Another Axis2 bug perhaps?

Jamie




On Sat, 27 Feb 2010 21:27 +0200, "jamie" <jam...@fastmail.fm>
wrote:

 In your services.xml file, you need to add an additional:

 <operation name="searchMessage">
    <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only";
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"
/>
</operation>

for every one of your void methods. Failure to do so, will result
in them not being called. I ask the Axis2 development team to
please release a new version of Axis2 that fixes this issue.


On Sat, 27 Feb 2010 21:24 +0200, "jamie" <jam...@fastmail.fm>
wrote:

Hi Everyone
For people experiencing the same behaviour, it turns out this is
a rather severe bug in Axis2 1.5 and Axis2 1.5.1. To be honest,
its so severe, I wonder whether the Axis2 framework was tested at
all before it went out the door. I lost eight hours due to the
problem. You need to:

  FastMail.FM WARNING: URL text and host don't match, possible
  phishing attempt. URL disabled. Original
  URL='http://amilachinthaka.blogspot.com/'. Original
  text='gspot.com/'. For more information on phishing click
  here.

Reply via email to