Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.apache.axis2.AxisFault exception - Operation not Found

 
Constantinos Grevenitis
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The exception that I get is this one:

org.apache.axis2.AxisFault: The getSOAPMessage operation cannot be found.
at org.apache.axis2.client.ServiceClient.createClient(ServiceClient.java:584)
at org.apache.axis2.client.ServiceClient.sendReceiveNonBlocking(ServiceClient.java:560)
at eKONES.client.Client.main(Client.java:70)

==============================================================================

The problem problably has to do with QName. Also I would like to explain what setAction("urn:echo") is, and what kind of args setAction() can get. I also give you services.xml
============================================================================


==========================================================================

<service name="eKONES">

<parameter name="ServiceClass" locked="xsd:false"> eKONES.service.SOAPService </parameter>

<operation name="getSOAPMessage">
<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
</operation>

</service>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic