Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "what Watch "what New topic

what'e the relationship between SOAP and kSOAP2

Anil Deshpande
Ranch Hand

Joined: Jan 13, 2008
Posts: 119
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

Joined: Mar 22, 2000
Posts: 13036
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.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: what'e the relationship between SOAP and kSOAP2
It's not a secret anymore!