Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Find THE jar containing a class Axis2

 
Remi Desreumaux
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I take advantage of this topic to ask a general question :

In this tutorial, http://www.ibm.com/developerworks/opensource/library/ws-webaxis1/, they talk about this :

Invoking In-Only operation

The org.apache.axis2.clientapi.MessageSender class is used to invoke an In-Only operation, as shown in Listing 3 below, that invokes the subscribe() operation of the StockQuoteService.


I really cannot find org.apache.axis2.clientapi.MessageSender .
How can I do ?
Thank you.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Remi Desreumaux wrote:I really cannot find org.apache.axis2.clientapi.MessageSender .
How can I do ?

You click the following link:
http://www.jarfinder.com/index.php/java/info/org.apache.axis2.clientapi.MessageSender
Best wishes!
 
Remi Desreumaux
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is weird cause I have problems when compiling.
I think there are unconsistencies between some objects inside.
The method send (String,OmElement) in the type MessageSender is not applicable for the arguments (String,OmElement).
cast payload to OMlement.



OmElement seems to belong to two packages :

Type mismatch: cannot convert from org.apache.axiom.om.OMElement to org.apache.axis2.om.OMElement
 
Jonathan Martinez
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How were you able to solve the problem?
I can't resolve the problem...
help...
thanks
 
Remi Desreumaux
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I put it in stand by.... did not resolve it
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Remi Desreumaux wrote:OmElement seems to belong to two packages :
Type mismatch: cannot convert from org.apache.axiom.om.OMElement to org.apache.axis2.om.OMElement

Take a look at the imports in your class and make sure it imports the Axis class and not the Axiom class.
If this does not solve your problems, then you should make sure that you only have the absolute minimum JARs on the classpath.
That is, if you can remove the axiom JAR, then do it.
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic