Wednesday, 3 April 2013

SOAP web service in blackberry (java environment)

Hi everyone,
    It's my pleasure to give a tutorial and environment setup needed to complete a web service for .net using a SOAP protocall.When I need this, I spent 2 days to did a successful compilation of SOAP in blackberry,so decided to post SOAP tutorial here.

First of all we need a SOAP JAR which must be "pre-verified", other wise you have  a very tedious process to create a pre-verified jar...so I attaching a alredy preverified jar for SOAP.

download: blackberry preverified ksoap2 jar 

==>then add to the project you need through ->properties->java build path->libraries-->add external jar.
==>also checkmark the checkbox under the tab-export import.

And the code sample tutorial is attached here.


Let me know..if you have any problem regarding this...Best luck.

and one important note,  append ";devicedide=true" to the service URL.
(If deviceside=true is specified in the connection URI, a direct TCP connection is opened from the handheld, without using the BlackBerry MDS Connection Service.)