Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,

I have created one web service for saving XML file,and created an asp.net application to pass xml file to web service as parameter.
At first i have compiled two application in my local machine and given 'Web Reference' to the web service like 'http://localhost:3112/Web_Service/Service.asmx'.its working fine and able to access web services also.
But now am running web service on remote machine(IP is 10.10.1.169) and trying to give 'Web Reference' my local machine like 'http://10.10.1.169/Web_Service/Service.asmx'.But it is not getting connected.I have searched in google already.But not getting correct result.

Please Help me,

Thanks in advance,
Fuad
Posted
Comments
jkirkerx 25-Nov-12 0:59am    
I was going to answer the question, but there's really not enough information in your question.

So you made a web service, that is designed to be accessed by any machine with the proper credentials.

Of did you make a webservice for use with ajax and jquery
fuad.p 25-Nov-12 1:13am    
Thanks for reply jkirkerx.

I have created web service using asp.net with C#.And getting connected while connecting to web service from same PC (From my ASP.Net Client application i have given Web Reference like 'http://localhost:3112/Web_Service/Service.asmx'.

Now my Web Service is running on another machine (IP is 10.10.1.213),and i am trying to access that Web Service from my local machine (giving web reference URL like 'http://10.10.1.213/Web_Service/Service.asmx').but it is not getting connected and showing the message like 'Object not found!.The requested URL was not found on this server'.Please help me to rectify that.

Regards,

Fuad

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900