File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes what'e the relationship between SOAP and kSOAP2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "what Watch "what New topic
Author

what'e the relationship between SOAP and kSOAP2

Anil Deshpande
Ranch Hand

Joined: Jan 13, 2008
Posts: 119
Hi,
I am cmpletly new to Web service. If question seems very primitive sorry. But I need to know what is the relationship between SOAP and kSOAP2. I have been working in Android. And Android doesn't support SOAP. It makes use of kSOAP2. But while publishing the SOAP web services I am not makin use of anything related to kSOAP2.
I am consuming the SOAP web service using kSOAP2.

Does that mean SOAP is used for publising the web service and kSOAP2 is used for consuming the web service?

And also whether kSOAP 2 can also be used to publish web service.

I am making use of Axis to publish SOAP web service through Eclispe IDE. I am making use of bottom up approach to publish the web service through tomcat web server.

Please clarify my doubts.

Thanks and Regards,
Anil Deshpande


Anil Deshpande
SCJP 1.5, SCWCD 1.5
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
The kSOAP2 site at sourceforge very clearly states that the toolkit is intended for:

kSOAP is a SOAP web service client library for constrained Java environments such as Applets or J2ME applications (CLDC / CDC / MIDP).


So - kSOAP2 is NOT a SOAP publishing tool. Also development seems to have stopped years ago - unless there is a newer site?

SOAP is a standard for web service messaging - both client and server sides.

Bill
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42916
    
  68
Why are you using SOAP for a mobile device? Normally one would use REST.
Anil Deshpande
Ranch Hand

Joined: Jan 13, 2008
Posts: 119
@William: thanks for claryfying my doubt. I think I missed the "client" thing while reading.

@Ulf: I was just exploring the possibilities. I had come across some kSOAP based web services in Android. So I was checking it out.

Thanks and for both.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what'e the relationship between SOAP and kSOAP2