wsdl

System.NullReferenceException when using WSDL in C# SOAP Request

岁酱吖の 提交于 2019-12-12 04:54:21
问题 Another Similar But cant figure out Problem Tried the answer which worked for previous question in this same post, Which was for Arrays. Over here it is lookups and iv tried the below but its still not working. Iv also tried createCustomerRequest.CustomerDetails.Title[0].Code[0] = cloneTitleCode[0]; All the [0] iv switched them around and took them off too and tried all the combinations still doesnt work. //Security settings to match server using this line: - Dsoapui.https.protocols=SSLv3

WSDL - consume web service with WS-Security authentication - Delphi

让人想犯罪 __ 提交于 2019-12-12 04:48:44
问题 I'm doing a project for electronic invoicing, which connects to a service using WSDL Soap next link Link Wsdl Service So I use the WSDL Importer of Delphi to generate classes to connect. My code to use the service procedure TForm1.Button1Click(Sender: TObject); var tBillServ : billService; tSendB : sendBill; ByteA : TByteDynArray; tSendBResp: sendBillResponse; begin tSendB:=sendBill.Create; tSendBResp:=sendBillResponse.Create; tSendB.fileName:='Demo.zip'; SetLength(ByteA,2); ByteA[0]:=10;

C# IIS Hosted WCF service doesn't generate client endpoints

江枫思渺然 提交于 2019-12-12 04:48:39
问题 I have created a WCF service using C# in Visual Studio 2013, and hosted it on an IIS server. I am having trouble consuming the service in a new WPF client because endpoints are missing after I add the service reference. I can access the service using the URL, which gives me the instructional page stating that I'll need to create a client in order to test the service. The URL works on both the server and my laptop. The WSDL does exist, and I'm able to view the XML structure. Visual Studio lets

How to map multiple attributes from source to a multivalued attribute on target in xsl transformations

≡放荡痞女 提交于 2019-12-12 04:47:24
问题 I have to use xsl transformations for mapping from one wsdl to another.In my source wsdl I have an attribute which has multiple values for example the result from the sorce wsdl is <Groups> <group>Group1</group> <group>Group2</group> </Groups> The type of the attribute to which this is to be mapped in the target wsdl is : <xs:complexType name="attributesMultiValued"> <xs:sequence> <xs:element name="name" type="xs:string" minOccurs="0"/> <xs:element name="values" type="xs:string" nillable=

Could not find main class error when running a java wsdl client

谁说我不能喝 提交于 2019-12-12 04:38:22
问题 I have written the following code, which is meant to be a client wsdl for http://www.nanonull.com/TimeService/TimeService.asmx?WSDL: package time; class Client { public static void main(String args[]){ TimeService service = new TimeService(); TimeServiceSoap port= service.getTimeServiceSoap(); String result = port.getTimeZoneTime("UTC+10"); System.out.println("Time is "+result); } } But when I try to run it with java I get the following: C:\Program Files\Java\jdk1.6.0_22\bin>java client

Missing SOAP method parameters in generated WSDL using the default Java 1.6 java.xml.ws API

余生颓废 提交于 2019-12-12 04:29:43
问题 I have implemented a simple webservice that has one method that takes a String and returns a message containing the input parameter. package com.product.mobile.webapp.soap; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import javax.jws.soap.SOAPBinding.ParameterStyle; import javax.jws.soap.SOAPBinding.Style; import javax.jws.soap.SOAPBinding.Use; @WebService @SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL,

ONVIF wsdl service: unable to authenticate

血红的双手。 提交于 2019-12-12 04:08:12
问题 I am developing a ONVIF driver using .NET 4 (Windows Forms, not WCF). I started importing WSDL files as a service in visual studio. So I am able to send command to a device in this way: HttpTransportBindingElement httpTransportBindingElement = new HttpTransportBindingElement(); [...] TextMessageEncodingBindingElement messegeElement = new TextMessageEncodingBindingElement(); [...] CustomBinding binding = new CustomBinding(messegeElement, httpTransportBindingElement); [...] EndpointAddress

wsimport giving parse error

血红的双手。 提交于 2019-12-12 04:07:38
问题 I am getting strange parsing error when I try to import a WSDL using wsimport . Error:- org.xml.sax.SAXParseException: Invalid WSDL file: expected {http://schemas.xmlsoap.org/wsdl/}definitions found definitions at line 1) I checked the WSDL and I am also surprised the first element of it is not <wsdl:definitions ...> But rather: <definitions xmlns:soap="https://schemas.xmlsoap.org/wsdl/soap/" ...> Could this be the problem? The web service is external, so I dont have any control over the WSDL

mule - web service consumer (soap) always returns null

谁都会走 提交于 2019-12-12 03:38:28
问题 I am using the Zuora soap API. I am attempting to perform a query. I don't get any errors but the results are always null when I output the payload to log. What am I doing wrong? (the query I provide below should return 320 records, which is what I get if I execute the same query in a local non-mule test script) This is the section of the flow. I set the zoql query to flowVars (flowVars.query). For example : select id from Account WHERE updatedDate > '2016-06-24T23:00:00-06:00' I use

wsdl2dispatch raises exception while generating server file

倖福魔咒の 提交于 2019-12-12 03:25:59
问题 I want to implement a SOAP web server using python ZSI library. I tried solution described here, but I get exception while using wsdl2dispatch command as described in page 6 of the book: wsdl2dispatch --extended mywsdl.xml It raises: Traceback (most recent call last): File "/usr/local/bin/wsdl2dispatch", line 11, in <module> load_entry_point('ZSI==2.0rc3', 'console_scripts', 'wsdl2dispatch')() File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 561, in load_entry