| Author |
Find THE jar containing a class Axis2
|
Remi Desreumaux
Greenhorn
Joined: Sep 23, 2010
Posts: 19
|
|
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
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
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!
|
My free books and tutorials: http://www.slideshare.net/krizsan
|
 |
Remi Desreumaux
Greenhorn
Joined: Sep 23, 2010
Posts: 19
|
|
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
Joined: Sep 29, 2010
Posts: 1
|
|
Hi,
How were you able to solve the problem?
I can't resolve the problem...
help...
thanks
|
 |
Remi Desreumaux
Greenhorn
Joined: Sep 23, 2010
Posts: 19
|
|
|
I put it in stand by.... did not resolve it
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
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!
|
 |
 |
|
|
subject: Find THE jar containing a class Axis2
|
|
|