soap

How Do I Call XML SOAP Service that Requires Signature from .Net Core?

∥☆過路亽.° 提交于 2020-01-12 20:19:09
问题 I realize that this question refers to old technology. I am calling a vendor system and have no ability to change the service. We are required to call an XML/SOAP WS and then sign the request. 10 years ago, I would have used something like Web Services Enhancements (WSE) 3.0 and moved right along. As it is today, I'm stuck at what to do in our .Net Core (.Net Standard 2.0) application. I'm willing to use many kinds of solutions, including commercial ones. I looked at Chilkat, but it seemed

Difference between SoapClient request and Soap curl request in php

倾然丶 夕夏残阳落幕 提交于 2020-01-12 14:01:42
问题 I am very confused with Soap curl request I found here an example SOAP request in PHP with CURL and Soap request using SoapClient PHP http://php.net/manual/en/class.soapclient.php My question and doubts are First - does these both fill the same purpose. Second - Is there any performance difference if they are used for same purpose. Thanks in advance 回答1: You are right that they fill the same purpose. Though, the SoapClient has a lot of functionality for supporting SOAP requests built in and

Passing user-defined types in PHP SOAP

邮差的信 提交于 2020-01-12 08:50:09
问题 I'm having trouble understanding how to pass user-defined types in PHP SOAP calls. Could someone give me a hint (or a link to a manual) please? Example: In my WSDL file, I define the type: <types> <schema targetNamespace="http://example.com/CustData" xmlns="http://www.w3.org/2000/10/XMLSchema"> <element name="personalInformation"> <complexType> <all> <element name="name" type="xsd:string"/> <element name="title" type="xsd:string"/> <element name="lang" type="xsd:string"/> </all> </complexType

SOAP RPC/Encoded convert to RPC/Literal

偶尔善良 提交于 2020-01-12 08:49:23
问题 Does anyone know of a tool or 'blackbox' that would convert a RPC/Encoded WSDL to RPC/Literal? I don't have the ability to change the API (it's not mine) but the tool I want to use does not support RPC/Encoded. I'd like to see if someone has created a simple black box communication converter. I want to use wave maker and i'm not a programmer so I'm looking for a tool to just take care of the translation. 回答1: If you are changing the encoding of the WSDL, then the SOAP messages would change to

Get Strings from SOAP Message in Java

此生再无相见时 提交于 2020-01-12 08:35:09
问题 How can I get specific parts from a SOAP message and get their values? For example, if the .wsdl message is this: <wsdl:message name="theRequest"> <wsdl:part name="username" type="xsd:string"/> <wsdl:part name="password" type="xsd:string"/> <wsdl:part name="someMsg" type="xsd:string"/> </wsdl:message> I want to get someMsg value and save it into a String variable. I was looking at this: Get SoapBody Element value, but didn't really understand much. If someone could provide an explanation or

How to specify port name in php WSDL

隐身守侯 提交于 2020-01-12 08:09:29
问题 How do I select the port in SOAP PHP? I'm developing a travel booking website with TravelPort as the GDS. I've just began looking at their WSDLs and I'm trying to use them to call their server with PHP. I'm not able to do it. I know that the server works, because if I craft a request and send it through cURL, I get the response I'm expecting, but by using and adapting their own sample code (accept confidentiality agreement, and then click “Sample Code” to see), I'm not going anywhere. By

How to specify port name in php WSDL

泪湿孤枕 提交于 2020-01-12 08:09:07
问题 How do I select the port in SOAP PHP? I'm developing a travel booking website with TravelPort as the GDS. I've just began looking at their WSDLs and I'm trying to use them to call their server with PHP. I'm not able to do it. I know that the server works, because if I craft a request and send it through cURL, I get the response I'm expecting, but by using and adapting their own sample code (accept confidentiality agreement, and then click “Sample Code” to see), I'm not going anywhere. By

Both REST and SOAP Web Services for a single application

萝らか妹 提交于 2020-01-12 06:48:07
问题 We've build an application using Spring and deployed it with Tomcat. We have a working REST interface, however one of our clients only has a SOAP client. My understanding is that a SOAP web service and a REST web service cannot coexist on the same port or application. What are my options for accepting a SOAP request with as little development as possible. Should I accept a soap packet via the rest interface and parse the XML? Or can I setup a SOAP interface communicate with my REST interface

Call .NET Webservice with Android

妖精的绣舞 提交于 2020-01-12 03:37:08
问题 I know this question has been asked here before, but I don't think those answers were adequate for my needs. We have a SOAP webservice that is used for an iPhone application, but it is possible that we need an Android specific version or a proxy of the service, so we have the option to go with either SOAP or JSON. I have a few concerns about both methods: SOAP solution: Is it possible to generate java source code from a WSDL file, if so, will it include some kind of proxy class to invoke the

Python SOAP client with Zeep - authentication

人走茶凉 提交于 2020-01-11 19:52:09
问题 I am trying to use Zeep to implement a SOAP client, as it seems the only maintained library at the moment: ZSI looked very good but its latest version on pypi dates 2006 suds seemed to be a popular alternative, but the master is unmaintained since 2011 and there are a lot of forks out there but none seems "official" and "recent" enough to be used in a large project. So, trying to use Zeep, I am stuck with the authentication required by the server to access the WSDL. Such operation was quite