I have developed an application for banking client. To send an SMS they gave me a webservice.
The problem is the given webservice is in their intranet. They are in other country. I told them to give me the access of webservice through internet but they told me that due to security reason they cant allow me to access their webservice via internet.
And if I include their webservice through add webreference it shows me error like
There was an error downloading 'http://10.2.11.191:8080/corews/services/UserProfileService?wsdl'.
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time
So is there any way by which I can access their webserivice from their intranet.
Take a Remote Desktop Connection of any one of the client system using Teamviewer or any and deploy your Application(If Development Environment requires ask your client to prepare). then give WebReference of Local webservice to your Application.
There could be several reasons for the same error you need to check the following points. First of all you need to check are you able to browse the service on the machine on which you want to consume the same service. If you are not able to browse then -
First of all you need to check the proxy settings of your machine.
Another possible case of the error, the port 8080 (in case you are using Http)of the server should be open for the server from which you are consuming the service.
if this will not resolve the problem then please check the service on the local machine without any security settings.
thanks.
Rahul Pratap Singh
Marked as answer by peter pi - msft on Feb 14, 2012 12:33 AM
if you are able to connect with a VPN that should work!
otherwise or you develop "from" inside their network, i mean, directly in their server, with remote connection
OR
you develop a dummy webservice in you machine that simulates the remote Ws, do whatever you have to do an then deply it to the remote server and hopefully everithing will work fine!
amol_benare6...
Member
3 Points
41 Posts
Consume web service(wsdl) in our desktop application..
Feb 07, 2012 08:21 AM|LINK
Hello friends
I have developed an application for banking client. To send an SMS they gave me a webservice.
The problem is the given webservice is in their intranet. They are in other country. I told them to give me the access of webservice through internet but they told me that due to security reason they cant allow me to access their webservice via internet.
And if I include their webservice through add webreference it shows me error like
There was an error downloading 'http://10.2.11.191:8080/corews/services/UserProfileService?wsdl'.
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time
So is there any way by which I can access their webserivice from their intranet.
Or can I simulate same webservice on my machine?
Please help me...
Thankling you in advance...
baluiis
Member
4 Points
11 Posts
Re: Consume web service(wsdl) in our desktop application..
Feb 07, 2012 09:32 AM|LINK
Hi,
you have only one choice.
Take a Remote Desktop Connection of any one of the client system using Teamviewer or any and deploy your Application(If Development Environment requires ask your client to prepare). then give WebReference of Local webservice to your Application.
May be this solves your problem.
</div>rahulpratap8...
Member
34 Points
9 Posts
Re: Consume web service(wsdl) in our desktop application..
Feb 07, 2012 01:21 PM|LINK
Hi Amol,
There could be several reasons for the same error you need to check the following points. First of all you need to check are you able to browse the service on the machine on which you want to consume the same service. If you are not able to browse then -
if this will not resolve the problem then please check the service on the local machine without any security settings.
thanks.
Rahul Pratap Singh
ze.espogeira
Member
383 Points
101 Posts
Re: Consume web service(wsdl) in our desktop application..
Feb 07, 2012 02:32 PM|LINK
Hi
if you are able to connect with a VPN that should work!
otherwise or you develop "from" inside their network, i mean, directly in their server, with remote connection
OR
you develop a dummy webservice in you machine that simulates the remote Ws, do whatever you have to do an then deply it to the remote server and hopefully everithing will work fine!
Hope it helps