Re: WSE SP3 WSDLs and the 2003 IDE

From: Yves Reynhout (spamticide_at_yahoo.com)
Date: 03/22/05


Date: Tue, 22 Mar 2005 22:40:19 +0100

Mike wrote:
> 1. What exe does the VS IDE use to generate ws proxy classes under WSE SP3? I
> just renamed Wsdl.EXE and WseWsdl2.exe and the IDE still generated a proxy. I
> sure would've expected WseWsdl2.exe to be the one it used.
>
> 2. To make it easier for the client to add web references, I have combined
> the over 40 web services in my project into a single WSDL. This also keeps me
> from having to deal with converting like objects between services (i.e. A
> person class in the web service1 proxy is NOT a person in the web service2
> proxy because of namespace differences).
>
> Problem is, in the generated proxy class only the first class inherits from
> Microsoft.Web.Services2.WebServicesClientProtocol. The remaining classes
> inherit from System.Web.Services.Protocols.SoapHttpClientProtocol. This won't
> work, as I'm using WSE for all of my security and I need the -Wse proxy
> classes.
>
> Any thoughts? I sure like having all my ws references combined in 1, and I
> surely like not having to deal with different 'person' classes, but this is
> driving me nuts.
>
> Thanks in advance,
> Mike
>
1. Have a "reflection" at WseSettings2.dll. It contains a ToolInstaller
class (derived from System.Configuration.Install.Installer) which
modifies the wsdl.exe.config and devenv.exe.config to include a class
WseExtensionImporter (which is responsible for the codegeneration when
you do an "Add Webreference"). Probably this assembly "WseSettings2.dll"
is called during setup of WSE 2.0 SP3, which explains how the "magic" works.
2. This maybe a bug (it's probably related to the implementation of
WseExtensionImporter). Fancy writing your own SoapExtensionImporter?



Relevant Pages

  • Re: Problems using web services & ISA Server - forgot to mention we are running ISA 2000 sp2.
    ... incidents with the ISA Server group. ... > Hello Mike, ... > To make a web service crossing a firewall, we have to set is Proxy ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Trend & Proxy address
    ... Is there a place in the console to see what the settings are? ... Mike ... by default the proxy port is 8080 ... >> I installed Trend and got to the proxy screen and didn't know the ...
    (microsoft.public.windows.server.sbs)
  • Re: UPDATE: [wcolburn@nmt.edu: SMTP relay through checkpoint firewall]
    ... Mike> People use the CONNECT method from inside a LAN to make SSL/HTTPS ... Mike> connections through a proxy. ... but can add additional ports or deny even those ...
    (Bugtraq)
  • Re: Browsing for Web Parts - SLOW
    ... Not being well-up in Proxy I'll leave that question to someone else. ... (If it's any incentive for lurkers I'll try to add proxy suggestions from ... > Thanks Mike! ... >> There's an answer in the WSS FAQ - ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: WSE 2.0 security problem
    ... certificate is installed on the other machine that you installed the proxy ... > Is there something else I need to install on other machines to get my WSE> security working? ... > // Get the SoapContext for the SOAP request that is being made to the ...
    (microsoft.public.dotnet.languages.csharp)

Loading