svcutil.exe

WCF: Svcutil generates invalid client proxy, Apache AXIS Web Service, overload operations

北城余情 提交于 2019-11-28 01:27:45
I'm using a 3rd party web service written in Java and using Apache Axis 1.3. The service has many overload operations. When the WCF Svcutil generates the proxy, it renames the overloaded operation by appending a number after the operation name. For example: getDataResponse getData(getDataRequest request); getDataResponse1 getData1(getDataRequest1 request); This by itself isn't a problem, but when Svcutil generates the request/response messages, it neglects to change the WrapperName property of the MessageContracts. [MessageContractAttribute( WrapperName = "getData", WrapperNamespace = "http:/

Passing username and password to svcutil.exe?

久未见 提交于 2019-11-27 17:49:54
问题 We have OSB services that are currently secured with a username and a password. I get a 401 unauthorized when attempting to generate a service proxy using svcutil. I know you need to set up a svcutil.exe.config file but I cannot find any examples except for one that passes a certificate. Dows anyone know how to send a username and password using svcutil? 回答1: I don't think you can do that. What you can do in this case is either connect to that address in a browser and just download and save

WCF service reference namespace differs from original

▼魔方 西西 提交于 2019-11-27 10:02:22
问题 I'm having a problem regarding namespaces used by my service references. I have a number of WCF services, say with the namespace MyCompany.Services.MyProduct ( the actual namespaces are longer ). As part of the product, I'm also providing a sample C# .NET website. This web application uses the namespace MyCompany.MyProduct . During initial development, the service was added as a project reference to the website and uses directly. I used a factory pattern that returns an object instance that