Re: Problem generating code with wsdl

Tech-Archive recommends: Speed Up your PC by fixing your registry



This is a snip from the client side proxy of the AvaluosService class
generated by wsdl, with the WebServiceBindingAttribute:

[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="AvaluosBinding",
Namespace="urn:m15.AvaluosPortType")]
public partial class AvaluosService :
System.Web.Services.Protocols.SoapHttpClientProtocol {

Ron

"Cesar" <Cesar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3EA7F8F3-BD35-40A7-B008-D919212CA233@xxxxxxxxxxxxxxxx
Hello RYoung,

Thanks for your help. I did as you indicated and used the framework 2.0
SDK
(wsdl.exe) to generate the proxy class (C#). But when I tried to add it to
my
VS 2003 project an error ocurred. This is the error:

An exception occurred while trying to create an instance of
System.Web.Services.Protocols.SoapHttpClientProtocol. The exception was
"WebServiceBindingAttribute is required on proxy classes.".

Any ideas? Is there something that I need to configure ?
Thanks a lot.
Regards,
Cesar

"RYoung" wrote:

I used wsdl.exe on the wsdl you originally posted and didn't encounter
any
errors.
I generated both server implementation of the wsdl, and a client proxy.

Ahh, I just seen your using VS 2003. Maybe you can download the .NET 2.0
SDK
and use the wsdl.exe tool from there, then just generate the client side
proxy and add that to your project.

Ron




.



Relevant Pages

  • Re: WSDL web reference problem
    ... Finally got to the bottom of the difference, the WSDL is right (apart from ... you can create the client proxies for them and compare the two ... | proxies to see whether they're identical. ... | single webservice proxy for the two ones and just change the client ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How does the client of a webservice figure out a complex type
    ... attribute with a hint for the client side proxy this is a DataSet. ... >if the wsdl does not contain any reference, ... >> As for how webservice client figure out a complex type, ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: ISA Server Problems, please help
    ... The All access rule for SBS Internet ... Web Proxy and/or ... > To accommodate the linux SecureNAT clients you should create a new Client ... ISA Server denies the specified Uniform Resource Locator. ...
    (microsoft.public.windows.server.sbs)
  • Re: Need to Turn Off Proxy Server in SBS 4.5
    ... client machines (it is done by default when you install an SBS client)? ... IE's web proxy settings are disabled like you said, ... Server is internal only...no outside web or ftp serving. ...
    (microsoft.public.backoffice.smallbiz)
  • Re: Please enter password for HTTP proxy
    ... Web Proxy log: WEBEXTDyyyymmdd.log ... This newsgroup only focuses on SBS technical issues. ... |> on to the SBS server that hosts the ISA. ... |> sure the problematic clients also have Firewall Client installed. ...
    (microsoft.public.windows.server.sbs)