c# - add web Reference in webservices issue -
I have developed a web service with the name (inbox service) in my local system. When I added a web context, I would like to use its web service paragraph file
& lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Search xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns: xsd = "http://www.w3.org/2001/XMLSchema" xmlns = "http: // schemas. Xmlsoap.org/disco/"> & Lt; ContractRef ref = "http: // localhost: 1518 / popup-message / inbox.sviz.ms? Wsdl" docRef = "http: // localhost: 1518 / popup-message / inbox.sviz.mx" xmlns = "http: // Schemas. Xmlsoap.org/disco/scl/ "/ & gt; & Lt; Soap address = "http: // localhost: 1518 / popup-message / inbox service command" xmlns: q1 = "http://tempuri.org/" binding = "Q1: inbox service" "xmlns =" http : // Schemas.xmlsoap.org/disco/soap/ "/> & lt; soap address =" http: // localhost: 1518 / popup-message / inbox.sviz.mx "xmlns: q2 =" http: // Tempuri.org/ "binding =" Q2: InboxServices12 "xmlns =" http: // Schemas.xmlsoap.org/disco/soap/ "/> & lt; / search & gt;
But when I run my project on the server I like this project My project URL is: Now my web site is like this. If I am tied to the method of calling from my page then it is not working which is the issue here
Any good will be thank you < / P>
Did you edit the URL in web.config / app.config? Note that if the web context In DLL (not only web layer), you can also view the setting in web.config; In such cases, copy the settings versus the DLL configuration in vs. web.config. Note that DLL configuration does not really do anything, except that it is not available anywhere to copy / paste it.
Comments
Post a Comment