Consuming SOAP Webservice in Android using HttpUrlConnection.
Create a class like below. Please make sure to call this function in background Thread/AsyncTask/Service.
ServiceResponse.java
==================
Create a class like below. Please make sure to call this function in background Thread/AsyncTask/Service.
ServiceHandler.java
====================
1 | import java.io.BufferedReader; /* requestUrl= endpoint methodName = namespace+ServiceMethodName soapxml= soap xml string */ |
ServiceResponse.java
==================
1 | ** |
No comments:
Post a Comment