Click here to Skip to main content
16,018,797 members

Comments by Mahesh1220 (Top 11 by date)

Mahesh1220 12-Aug-13 3:34am View    
Thank you both.....
Mahesh1220 9-Aug-13 8:12am View    
Deleted
Can anyone provide code to call web service related to Recharge mobile and reading the response from the web service ?


Here is my complete soap format:

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.


Here is my SOAP format.

POST /RechargeAll.asmx HTTP/1.1
Host: myserverAPI.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://myserverAPI.net/RechargeMobile"


<soap:envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:header>
<mobilesoapheader xmlns="http://myserverAPI.net/">
<strusername>string
<strpassword>string
<strcode>string


<soap:body>
<rechargemobile xmlns="http://myserverAPI.net/">
<refnumber>string
<custmobilenumber>string
<rechargetype>string
<opearatoralias>string
<regionalias>string
<amount>double
<ipaddress>string



HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length


<soap:envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:body>
<rechargemobileresponse xmlns="http://myserverAPI.net/">
<rechargemobileresult>string




How can i make request and read the response.....?
Mahesh1220 6-Aug-13 9:14am View    
Thank you.....
Mahesh1220 6-Aug-13 9:11am View    
Yes, Obviously as i have to pass User name and Password...
Mahesh1220 6-Aug-13 8:58am View    
No i will send request to :

www.remoteserverIP.in/recharge.ashx?uid=<user_id>&pwd=<password>
&mobileno=<mobile_number>&amt=<recharge_amount>&rcode=<recharge_code>&transid=<transacti
on_id>