Search code examples
ksoap2blackberry-jde

Blackberry - Consume .Net Soap Service


I am new to blackberry app development and was wondering if someone could point me in the right direction(and may be a sample application) of how to consume web service in native apps. I'm using Blackberry JDE plugin for Eclipse.

I am able to consume a restful webservice, but now I want to consume a SOAP service. I am new to eclipse , so I would require in detail information.

Thanks,


Solution

  • Hey thanks for all the help. Figured it out. The problem was wcf service. When I tried with a simple web service(.asmx), it worked like charm and all the stubs were generated correctly. Probably wcf uses Soap 1.2 default and asmx service SOAP 1.1.

    I even tried using KSOAP2 for calling wcf service with little success. Again switching back to asmx instead of wcf, solved the issue.

    Now I have problem of plenty, which method to use(KSOAP or Stub) :)

    I am all for non KSOAP method, but the only thing that is stopping me is I have to generated stub files everytime a introduce a new method. Anyways +1 for all the help