Taking my first stab at creating a web service and failing when I try to
add
a web reference.
To this point all I have done is added a web service to the application.
It
has the default HelloWorld method.
In a separate windows applicaiton I try and set up a Web Reference to this
page, and it sees it ok (ie the left side shows the HelloWorld method)
but
the right side shows this error:
-----------------------------------------------------------------------
There was an error downloading 'http://192.168.109.206/pqs.asmx'.
The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href="/pqs.asmx?AspxAutoDetectCookieSupport=1">here</a>.</h2>
</body></html>
--.
-----------------------------------------------------------------------
I'm guessing this is something very simple I have not done..
Did you build your web service project first?
--
John Saunders [MVP]
Re: public function from class in other namespace inaccessible ... First off, if you want to use a class to pass data to a web service, you ... A web reference is not the same as a referenced assembly. ... > I added a new class test to the namespace of the webservice which I try to ... > public int TheInt... (microsoft.public.dotnet.languages.csharp)
Re: Consuming Web Service without Web Reference ... Eventhough I extracted schema from WSDL iam not able to call the web service.... calling a web service than creating an xml and pushing it to the SOAP adapter.... still have to generate a proxy and configure it in your send port.... Initially I tried adding the Web reference using the WSDL file. ... (microsoft.public.biztalk.general)
RE: Dynamic URL Behavior & Configuration ... I have a 3rd party web service running in a Web Server within our network. ...Dynamic URL Behavior & Configuration... references a class library which in turn has a web reference.... (microsoft.public.dotnet.framework.webservices)
Re: web service ... Can you send a screenshot of the "Add Web Reference" dialog box after you ... I have just tried that web service you specified, and got the WSDL displayed... ok and was able to generate a proxy class in C# just fine. ... (microsoft.public.cert.exam.mcad)
Re: Client found response content type of , but expected text/xml ... did you update your web reference after changeing the webservice namespace?... Check the file reference.cs if the correct namespace is in there. ... There seems to be a bug in VS.Net when updating a web reference,... > I am trying to run a web service project with multiple web services. ... (microsoft.public.dotnet.framework.webservices)