soap

Soap WSDL ComplexType being posted as wrong argument type

醉酒当歌 提交于 2019-12-19 10:07:17
问题 I have a server (SoapUI) answering requests for a WSDL. When sending test requests, my server code is receiving a list of arguments, but I'm trying to achieve is a single argument, of complex type , eg: { ingredient_id => INT something => STRING ... } My types are as follow: <wsdl:types> <xsd:schema targetNamespace="/ingredient"> <xsd:element name="getIngredientInfo" type="tns:IngredientRequest"></xsd:element> <xsd:element name="getIngredientInfoResponse" type="tns:ingredient"></xsd:element>

Use wsse security header in soap message (Visual Studio 2015, .Net Framework 4.5)

为君一笑 提交于 2019-12-19 09:43:10
问题 I would like to consume a Soap Service provided by DHL. You can find the wsdl here: https://wsbexpress.dhl.com/sndpt/expressRateBook?WSDL Therefore I created a new ClassLibrary in Visual Studio 2015 targeting .net framework 4.5. Then I added a Web Reference to the created project by providing the wsdl address. I generated a proxy file with all types and ports in it but my first problem is, that the generated Service extends from System.Web.Services.Protocols.SoapHttpClientProtocol . As I read

Delphi XE6 - SOAP built with 'USE_INDY' connecting to a webservice over a proxy issue

若如初见. 提交于 2019-12-19 09:43:09
问题 I have an application which connects to a webservice using THttpRio component. Webservice has basic authentication. I've compiled the Delphi SOAP units using the 'USE_INDY' directive in order that the THttpRio component to use WinHttp. Now I need to get through a proxy to my webservice. Looking into the Soap.SOAPHTTPTrans unit I've fixed some bugs, but I do not know how I should set up the THttpRio component to get through the proxy. I've tried to set the proxy property of the HTTPRIO

Using SharePoint SOAP with jQuery GetListItems - Simple but can't work it out!

≯℡__Kan透↙ 提交于 2019-12-19 09:26:38
问题 I'm trying to load in a SharePoint list to a Unordered List so I can create a simple search function (the Sharepoint Search is just horrible). The code I have borrowed and adapted is below: $(document).ready(function() { var soapEnv = "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'> \ <soapenv:Body> \ <GetListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'> \ <listName>Metric_Audit</listName> \ <viewFields> \ <ViewFields> \ <FieldRef Name='ReportName'

Using SharePoint SOAP with jQuery GetListItems - Simple but can't work it out!

依然范特西╮ 提交于 2019-12-19 09:26:12
问题 I'm trying to load in a SharePoint list to a Unordered List so I can create a simple search function (the Sharepoint Search is just horrible). The code I have borrowed and adapted is below: $(document).ready(function() { var soapEnv = "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'> \ <soapenv:Body> \ <GetListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'> \ <listName>Metric_Audit</listName> \ <viewFields> \ <ViewFields> \ <FieldRef Name='ReportName'

SOAP response to XML with SimpleXML

£可爱£侵袭症+ 提交于 2019-12-19 09:15:55
问题 I am trying to convert a SOAP response to XML. SOAP has an envelop and a body <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> When I try to convert $responseXML = simplexml_load_string($string); I get object(SimpleXMLElement)#20 (0) { } If I edit the $string as soap:Envelope and soap:Body I can get the XML. What's wrong with : ? Can not get XML. I hope it's

Using a WSDL with abstract types in PHP

限于喜欢 提交于 2019-12-19 08:28:23
问题 I'm working on an integration between our web application and Microsoft Exchange 2007. I am using Exchange Web Services (EWS) to communicate to the Exchange Server. However, I am running into some issues with the WSDL. There are several types defined in the WSDL that have elements of abstract types. For example: <xs:complexType name="RestrictionType"> <xs:sequence> <xs:element ref="t:SearchExpression"/> </xs:sequence> </xs:complexType> SearchExpression is an abtract type. There are several

Convert a WSDL to its respective HTTP Bindings

人走茶凉 提交于 2019-12-19 08:17:33
问题 I'm simply trying to convert a WSDl into a number of different HTTP-requests from data supplied by the WSDL. I have read through a ton of similar questions, but none really provided an answer. Some say to use SOAPUI - I am familiar with this application and do use it. But I need to create these HTTP-requests from the WSDL on my own. Some say to try JAXWS - I looked at a number of tutorials on this as well as on Axis and these translate the WSDL into Java class bindings and you use those

Read XML Attribute VBA

痴心易碎 提交于 2019-12-19 07:48:59
问题 I am trying to get the attribute of a single node in VBA, but can't manage it using DOM The XML looks like following: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetUserInfoResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/"> <GetUserInfoResult> <GetUserInfo> <User ID="16" Name="" LoginName="login

Read XML Attribute VBA

泄露秘密 提交于 2019-12-19 07:48:10
问题 I am trying to get the attribute of a single node in VBA, but can't manage it using DOM The XML looks like following: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetUserInfoResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/"> <GetUserInfoResult> <GetUserInfo> <User ID="16" Name="" LoginName="login