wsdl

“The underlying connection was closed: A connection that was expected to be kept alive was closed by the server” when calling SOAP

房东的猫 提交于 2019-12-13 04:41:58
问题 I sometimes got error "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server" when calling another WSDL service. I use .Net 4.5 WCF service, My application connect to external 3rd party SOAP-WSDL service to perform actions. most of calls to this service done successfully, but there is one specific call, 5% of that calls are failed with that error The underlying connection was closed: A connection that was expected to be kept alive was

Web service decimal attribute value can't be set

六眼飞鱼酱① 提交于 2019-12-13 04:38:02
问题 I'm new to web service : I have an attribute of type decimal and of use optional: Here's my WSDL: <xsd:attribute name="taxes" use="optional"> <xsd:simpleType> <xsd:restriction base="xsd:decimal"> <xsd:totalDigits value="9" /> <xsd:fractionDigits value="2" /> <xsd:maxInclusive value="9999999.99" /> </xsd:restriction> </xsd:simpleType> </xsd:attribute> I want to set this attribute, the problem that its value is not modified, when I change use attribute to required the value is changed. Here'

NODEJS / PHP WSDL SOAP: Object reference not set to an instance of an object

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 04:25:19
问题 Uncaught SoapFault exception: [a:InternalServiceFault] Object reference not set to an instance of an object. in Line ... Already got lots of question related to this, but I am unable to make it work out, so posting this possible duplicate again. Im missing something here in the request, but couldn't figure it out. Any help is appreciated. I tried this in both PHP & NodeJS, and same error occurred in both. <?php $wsdl = 'http://test.eprabhu.com/Api/Utility.svc?wsdl'; $params = array( "UserName

Where does Websphere get the WSDL from?

纵饮孤独 提交于 2019-12-13 03:53:46
问题 I have a java application that has Web Services published using Axis. With the latest release one of the service methods in the WSDL is wrong. It has a field in a complex type with double instead of an array of doubles. I've checked the src WSDL and the generated classes like the data object and the binding stub, but they are all correct. However, when I browse to the WSDL it is different. I can see other differences. For example, the source is just a complex type with a sequence where the

how to call GetWeather method on webservicex web service?

眉间皱痕 提交于 2019-12-13 03:43:34
问题 When reading the output below, for a script to get the weather, the MemberType describes the API per the WSDL ? The broader question is, from powershell, how do I know which methods I can invoke? And, how are they invoked? Specifically, this method: GetWeather Method string GetWeather(string CityName, string CountryName) Yet when I try to invoke that method I get: Data Not Found . Why? What's the correct way to call that method? Do I need to call another method first? Using .NET on Windows,

Error adding web reference when attempting to download <url>/$metadata

浪尽此生 提交于 2019-12-13 03:07:38
问题 In VS2019, when I attempt to add a web reference to a wsdl provided by an API ([url]/file.wsdl - which is different from what I'm used to, that being [url]/?wsdl) I can see the wsdl itself (after selecting the appropriate cert), but I get this error in the area where it shows the "Web services found at this URL": There was an error downloading '[url]/file.wsdl/$metadata'. The request was aborted: Could not create SSL/TLS secure channel. I can navigate in a browser to both the wsdl file AND

WSDL time format is ignored from Visual Studio

大城市里の小女人 提交于 2019-12-13 01:36:10
问题 A WSDL file from a customer specifies the time data type using this syntax: <xsd:simpleType name="time"><xsd:restriction base="xsd:time"><xsd:pattern value="[0-9]{2}:[0-9]{2}:[0-9]{2}"/></xsd:restriction></xsd:simpleType> I included the WSDL file as "Web Reference" (not Service Reference) in a Visual Studio C# project. Which generates this code: [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="time")] public System.DateTime I_TIMETO {

How to use existing in memory WSDL in order to create WCF service?

巧了我就是萌 提交于 2019-12-13 01:29:37
问题 1) I know that WSDL file is generated on client side when we want to use existing WCF service. This is in case we use "Add Service Reference..." option in Visual Studio. What I don't understand is - at what moment exactly WSDL file is used when we use the client proxy to invoke WCF service? 2) I don't know how to use or connect or attach existing in memory WSDL in the process of creation WCF service. I mean what should I write? Something like: Uri mexAddress = new Uri("http://localhost:2240

Error when Running SvcUtil.exe Against Service WSDL

♀尐吖头ヾ 提交于 2019-12-13 01:14:33
问题 I am trying to create a service proxy for a SOAP service exposed by another entity. After running: svcutil.exe https://<domain-omitted>/feed30/clientdataservice.asmx?wsdl I get the following error: Attempting to download metadata from 'https://<domain- omitted>/feed30/clientdataservice.asmx' using WS-Metadata Exchange or DISCO Generating files... Warning: No code was generated. If you were trying to generate a client, this could be because the metadata documents did not contain any valid

PHP - SOAP Client Unable to Call HTTPS Endpoint

懵懂的女人 提交于 2019-12-13 00:47:07
问题 I have a problem that I can't call the webservice from other server and it shows error like this : Error Fetching http headers When I looked into more detailed error, I realized that the endpoint is not right. For example, I wrote this in my php code $client=new SoapClient('https://www.example.com:17819/wsdl/sample.php?wsdl', array("trace" => 1, "connection_timeout" => 5, "exceptions" => 1)); The endpoint supposed to be in https , but the error shows that the endpoint begins with http -->