Wednesday, July 10, 2013

Android and Siebel WebServices

Finally life has turned to, need of hour,development of MobileApps for siebel and trust me it is as thrilling as watching any bond movie. with new projects come new challenges. So while developing android app for our users we got stuck in one show-stopper issue.

The main requirement was to consume a webservice hosted in siebel. On Android, consuming a SOAP web service is more difficult (as opposed to consuming a RESTful web service), since it does not include any libraries to communicate with SOAP web services. Unfortunately you have to manually write the code to consume the service which is not as straightforward as compared to writing in any other Java project.

With siebel doesn't giving a direct hosted URL it was more difficult for us to write the code. As an alterate solution we have to write a .net webservice which consumes the siebel webservice. The next issue is to generate the Java classes needed from the .Net WSDL files, and this is where I was coming up short with knowledge. But with little help from google found library called kSOAP2 that filled the gap and helped in generating the classes. I am still not able to figure out how to directly consume siebel webservice in android app without wrapping it in another webservcie. Any idea on this will be of great help.

Happy Integration!!


4 comments:

Alex said...

Hi Rahul,

sounds like the Siebel Application Integration for Oracle Fusion Middleware product could help here.


I haven't touched this in a while but here is a starter post.

have a nice day

@lex

Siebelish said...

Many thanks @lex. I was going through your piece on REST web services and it could be very helpful here.

Regards,
-Rahul-

Konstantin said...

Another way is to use an inbound http service, without any soap overheads.

http://docs.oracle.com/cd/E14004_01/books/EAI3/EAI3_EAIHTTPTrans9.html

Siebelish said...

Thanks for insight Konstantin.

Regards,
-Rahul-