wsdl.exe

ASMX web proxy class changing class name from PascalCase to camelCase - visual studio 2019

会有一股神秘感。 提交于 2021-01-29 09:10:07
问题 We had a legacy asmx web service (2.0 framework) which were migrated to 4.8 framework. [WebMethod] public virtual GetCreditPolicyResponse GetCreditPolicy(GetCreditPolicy getCreditPolicy) { return organisationStrategy.GetCreditPolicy(getCreditPolicy); } Class definition : public class GetCreditPolicy { public GetCreditPolicy(); public int RecognitionId { get; set; } } Now while we are generating the wsdl of this we are getting the following : <s:element name="GetCreditPolicy"> <s:complexType>

C# web-service client: multiple web-service methods with same (complex) return type?

冷暖自知 提交于 2020-02-19 14:42:04
问题 I am chipping away at building a client for a Java B2B web-service at the moment and I think I have identified the cause of a problem we have been having for quite some time. Unfortunately I'm unable to post the WSDL. Apparently my auto-generated proxy code (via wsdl.exe: have to use WSE 3.0 due to WCF not supporting password digest) is not able to handle the web-service's WSDL having multiple web-methods with the same complex return type. Take for example - a web-service that defines the

Web service not handling multiple simultaneous request from same application with proxy class

大城市里の小女人 提交于 2020-01-13 19:10:48
问题 I have an application scheduling multiple tasks which are calling different web services, some the same web service but different method. Each task is executed in an interval and each task is running in its own thread. To obtain reference to the webservice I have a wsdl.exe generated proxy class which is instantiated inside each of the tasks and allways disposed. However when running the application, the tasks are actually waiting for eachother at the service requests, web service doesnt

Web service not handling multiple simultaneous request from same application with proxy class

故事扮演 提交于 2020-01-13 19:10:28
问题 I have an application scheduling multiple tasks which are calling different web services, some the same web service but different method. Each task is executed in an interval and each task is running in its own thread. To obtain reference to the webservice I have a wsdl.exe generated proxy class which is instantiated inside each of the tasks and allways disposed. However when running the application, the tasks are actually waiting for eachother at the service requests, web service doesnt

Web service not handling multiple simultaneous request from same application with proxy class

随声附和 提交于 2020-01-13 19:09:22
问题 I have an application scheduling multiple tasks which are calling different web services, some the same web service but different method. Each task is executed in an interval and each task is running in its own thread. To obtain reference to the webservice I have a wsdl.exe generated proxy class which is instantiated inside each of the tasks and allways disposed. However when running the application, the tasks are actually waiting for eachother at the service requests, web service doesnt

Where can I find WSDL.exe?

自闭症网瘾萝莉.ら 提交于 2020-01-12 11:56:18
问题 I have Visual Studio 2010 Ulitmate (with MSDN Premium), but I can't seem to find this file. I have tried installing the Visual Studio SDK but I can't seem to find the file. I have looked in: C:\Windows\Microsoft.NET\Framework\v3.5 C:\Windows\Microsoft.NET\Framework\v4.0.30319 C:\Program Files (x86)\Microsoft Visual Studio 10.0\SDK\v3.5 But I can't seem to find it. (In case you are wondering, I need it to perform these steps.) 回答1: it should be under C:\Program Files (x86)\MicrosoftSdks

Creating web service and client with shared types

南笙酒味 提交于 2019-12-22 06:36:33
问题 I have created two wsdl files with shared types imported from xsd schema file. After that I have created web services using interface generated by wsdl.exe tool with parameter /serverInterface. Frist web service, have web method “RegisterData” with put into queue some complex object to be processed, by system “A”. As result of this method is returned Boolean (with tell us that object was registered successful). Second web service, have web method “UpdateData” to update some data in system “B”

Magento API not working with wsdl.exe but works with Soap UI

巧了我就是萌 提交于 2019-12-11 12:45:11
问题 I'm trying to integrate Magento 1.7 with a C# application. When I tried to use the "Add Service Reference" function in Visual Studio, it finds the service and all the operations but when I click OK, it doesn't generate anything. i.e. the Reference.cs file is almost empty (only has one line with namespace). I tried using wsdl.exe to generate the proxy in command prompt and I got the following error: R2718: A wsdl:binding in a DESCRIPTION MUST have the same set of wsdl:operations as the wsdl

WSDL.exe - generate interface as well as concrete class for easy fake/mocks later

∥☆過路亽.° 提交于 2019-12-07 01:26:41
问题 Is it possible to get WSDL.exe to generate interfaces as well as, or instead of, concrete classes when it generates proxys to a web service? We're consuming a 3rd party webservice from an ASP.Net application, and have generated our proxy classes using WSDL.exe all well and good. I now want to write tests against my wrapper and business classes by faking out the web service. There is no interface or abstract base class to the proxy, and they are marked internal, meaning I can't inherit from

Web service not handling multiple simultaneous request from same application with proxy class

感情迁移 提交于 2019-12-06 07:21:49
I have an application scheduling multiple tasks which are calling different web services, some the same web service but different method. Each task is executed in an interval and each task is running in its own thread. To obtain reference to the webservice I have a wsdl.exe generated proxy class which is instantiated inside each of the tasks and allways disposed. However when running the application, the tasks are actually waiting for eachother at the service requests, web service doesnt process the service request from task y before its done processing request from task x (I can see this