Ask a Question related to ASP.NET Web Services, Design and Development.
-
Demetri #1
WSDL Dilemma
I have a solution which has multiple projects. One of the projects is a web
service. Another project is a web application. The web application needs to
reference the web service. The web application has not had a problem with
referencing the exposed web methods and classes in the web service.
Prior to today the name spaces and project names in each have been changed a
bit for organization sake, this also includes changing of names of the output
assemblies. In the process a class was ripped out of the web service and put
into a class library project that the web service will reference as well as
the web application since the will both share said class.
Now my problem. When I upate the web reference in the web application there
is NO change to the classes and name spaces. The class that I ripped out of
the web service STILL remains when referenced in the web application.
I have done everything I can think of. I have verified that the web service
is being rebuilt and the new dll has the correct assembly name. In the class
viewer it reflects my changes within the web service.
I even added a new web method and that DOES get picked up by the web
application in addition to the ripped out class REMAINING in there. <sigh>
The WSDL file that gets maded after I have deleted web references in the web
application and then re-establish the web reference still has information
about the class that I ripped out as though I never took it out.
I am about to pull my hair out. What in the world am I doing wrong???
-Demetri
Demetri Guest
-
my FLV playback dilemma...it stutters...Please help
Hello from Canada...please help ! I'm a "newbie" to FLV, experimenting and willing to learn if you are willing to teach :) ...my video won't... -
Unable to load WSDL. If currently online, please verifythe URI and/or format of the WSDL
Hello, I'm using Flex 2.0 Beta 3 with Flash Player 9. http://mywsdlurl)"] at">http://mywsdlurl)"</a> mx.rpc.soap::WSDLParser/::dispatchFault()... -
WSDL error on Flex app running on JBoss using WSDL to Weblogic
Hello, Not sure if my last post made it so sorry if this ends up being a duplicate post. I have a Flex 1.5 app running on JBoss 4.0.2 which uses... -
WSDL file produces useless class when imported with WSDL.exe
I am having a problem with a WSDL file supplied by a client. When WSDL.exe is used, the WSDL file (shown later) produces the following output class.... -
combo box dilemma
I placed a posting awhile back and recvd a response that got me going (thanks Fred). But in doing so, I ran into a further snag. So I am posting... -
Dan Rogers #2
RE: WSDL Dilemma
Hi Demetri,
If the class that you refactored is still referenced either in a call
parameter or return type from one of your web methods it will be included
in the generated shadow proxy classes. If the XML namespace (not the
ASP.net namespace) remains unchanged, then the class you refactored hasn't
actually been shifted, from an XML schema perspective.
To make the proxy side implementation use the version you refactored, you
need to manually alter the generated proxy code by commenting out the class
you want to use from a different DLL, and then add a Imports statement (for
VB) at the top of the file and add a reference to the new DLL to the
project for the calling side.
I hope this helps
Dan Rogers
Microsoft Corporation
--------------------cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFT NGXA01.phx.gbl!TK2MSFTNGXA>Thread-Topic: WSDL Dilemma
>thread-index: AcTWNLqUW+vvJM4iSOW5AvZRcajIgQ==
>X-WBNR-Posting-Host: 198.176.41.2
>From: "=?Utf-8?B?RGVtZXRyaQ==?=" <Demetri@discussions.microsoft.com>
>Subject: WSDL Dilemma
>Date: Mon, 29 Nov 2004 08:59:03 -0800
>Lines: 29
>Message-ID: <FF141FF9-A47B-4FC1-8F4C-E744ABC91FDA@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path:
03.phx.gblmicrosoft.public.dotnet.framework.aspnet.webservic es:26851>Xref: cpmsftngxa10.phx.gblweb>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>I have a solution which has multiple projects. One of the projects is ato>service. Another project is a web application. The web application needsa>reference the web service. The web application has not had a problem with
>referencing the exposed web methods and classes in the web service.
>
>Prior to today the name spaces and project names in each have been changedoutput>bit for organization sake, this also includes changing of names of theput>assemblies. In the process a class was ripped out of the web service andas>into a class library project that the web service will reference as wellthere>the web application since the will both share said class.
>
>Now my problem. When I upate the web reference in the web applicationof>is NO change to the classes and name spaces. The class that I ripped outservice>the web service STILL remains when referenced in the web application.
>
>I have done everything I can think of. I have verified that the webclass>is being rebuilt and the new dll has the correct assembly name. In theweb>viewer it reflects my changes within the web service.
>
>I even added a new web method and that DOES get picked up by the web
>application in addition to the ripped out class REMAINING in there. <sigh>
>
>The WSDL file that gets maded after I have deleted web references in the>application and then re-establish the web reference still has information
>about the class that I ripped out as though I never took it out.
>
>I am about to pull my hair out. What in the world am I doing wrong???
>
>-Demetri
>Dan Rogers Guest



Reply With Quote

