aspose file tools*
The moose likes Web Services and the fly likes Find THE jar containing a class Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Find THE jar containing a class Axis2" Watch "Find THE jar containing a class Axis2" New topic
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
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Find THE jar containing a class Axis2