wsdl

How do I make a SOAP-request in php, just like in SoapUI?

不羁岁月 提交于 2019-12-11 17:57:30
问题 I am all new to php and all lost in doing a soap request. I have this other question How to send a SOAP request in javascript, like in SoapUI, which I have just got answered, but I have now decided to work in php instead of Node.js. As I want my php code to do the exact same, I will repeat my earlier question down below: I have this WSDL site that I need to get some answers from. I have figured out how to do this in SoapUI, but I have no idea how to do it in php. The request that I am sending

Interoperable way to send XML data in WCF?

岁酱吖の 提交于 2019-12-11 17:52:27
问题 I'm using System.Xml.XmlElement as a parameter for sending XML data in WCF. Is this generally the interoperable way to send XML data in WCF, so that, for example, a PHP or Java Web Service will understand it if I'll send it from a WCF Client? I've read that I should never send XML directly as string in WCF. In WSDL generated by WCF the XmlElement object is mapped to the xsd:any element in the following way: <xsd:element name="SendXMLData"> <xsd:complexType> <xsd:sequence> <xsd:element

creating any object with python zeep

风流意气都作罢 提交于 2019-12-11 17:25:36
问题 i am pretty new to zeep, and soap. i`am trying to make client request to soap ws function. wsdl of function: -<s:element name="GetRetailTransactions"> -<s:complexType> -<s:sequence> -<s:element name="parameters" maxOccurs="1" minOccurs="0"> -<s:complexType mixed="true"> -<s:sequence> <s:any/> </s:sequence> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element> i dont fully understand how to create object with type any in zeep. i have tried : wsdl = 'http://domain/app.asmx

How to make a SOAP call to WSUS Server

爱⌒轻易说出口 提交于 2019-12-11 16:35:41
问题 How can I create an SOAP envelope to get update details from WSUS Server? I found complete WSDL file and documentation, when I tried hitting 10.66.195.242/ApiRemoting30/WebService.asmx I'm getting Server error Server Error in '/ApiRemoting30' Application. Error: 2018-10-08 05:10:20 10.66.195.242 GET /ApiRemoting30/WebService.asmx - 80 NH-2K8-R2-3\administrator 10.44.141.162 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:62.0)+Gecko/20100101+Firefox/62.0 500 0 0 5003 来源: https://stackoverflow

PHP - Not able to read xml sub node value

做~自己de王妃 提交于 2019-12-11 13:53:36
问题 I am calling this soap API with curl and not able read response value properly so can you please guide me what I am doing wrong. Here is my code: $wsdl = "http://xxxx/xxxx/xxxx"; $body = '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:par="http://xxxx.com"> <soapenv:Header/> <soapenv:Body> <par:cancelReservationReq> <par:garageID>47</par:garageID> <par:orderNumber>orderNumber168</par:orderNumber> <!--Optional:--> <par:barCode>barCode168</par:barCode> <!-

javax.xml.ws.WebServiceException when invoking WSDL service

核能气质少年 提交于 2019-12-11 13:51:52
问题 I was looking to use the Travelport Universal API to develop a Flight Booking System, so i have used this Travelport Developers official link as reference: Getting Started for Travelport Developers As the documentation referred: Travelport Universal API offers an array of travel content for air, hotel, car, and rail, including ancillaries (optional services). It also provides functionality to build complete traveler, agency, branch, and account profiles. For be able to send requests and

WCF client proxy mishandling returned SOAP envelope

懵懂的女人 提交于 2019-12-11 13:48:37
问题 I have a RPC encoded PHP webservice that returns a simple soap envelope with a boolean datatype. When doing the trace on the client side, the soap envelope looks like this right before it goes into the WCF proxy: <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://sample.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP

Is modifying existing XSD type by extending it from exact same type backward compatible?

雨燕双飞 提交于 2019-12-11 13:45:54
问题 I made earlier XSD+WSDL for a WS that is implemented by a customer. We implement the client. I have type like this in WS Create-operation: <xs:complexType name="tWorkCreate"> <xs:sequence> <xs:element ref="plan:workkey" /> <xs:element ref="plan:workdata" /> </xs:sequence> </xs:complexType> Now I would like to use the same type for new Update-operation, but naming is wrong. So I plan to do like this: <xs:complexType name="tWorkSet"> <xs:sequence> <xs:element ref="plan:workkey" /> <xs:element

SOAP Request from PHP is not working

做~自己de王妃 提交于 2019-12-11 13:34:15
问题 I have a web service available @ http://www.xxxxx/zzzzzzzz/service.asmx and I am trying to send a SOAP request for method - some_function with both the parameters but still not able to get the connection through. This is my code: <?php $param = array('cedula'=>'XXXX','contrasena'=>'YYYYYY'); $client = new SoapClient("http://www.xxxxx/zzzzzzzz/service.asmx?wsdl"); $result = $client->__soapCall('some_function', $param); print $result; ?> Error that I'm getting is: Fatal error: Uncaught

java.util.Date property rendered as xs:string in xsd using JAX-WS (Apache CXF / Metro)

帅比萌擦擦* 提交于 2019-12-11 13:15:12
问题 I generated some model classes based on a WSDL using apache cxf. I then added a jaxb bindingfile to convert all xs:dateTime and xs:date elements to java.util.date (instead of the default XMLGregorianCalendar): <jxb:javaType name="java.util.Date" xmlType="xs:date" parseMethod="org.apache.cxf.tools.common.DataTypeAdapter.parseDate" printMethod="org.apache.cxf.tools.common.DataTypeAdapter.printDate"/> <jxb:javaType name="java.util.Date" xmlType="xs:dateTime" parseMethod="org.apache.cxf.tools