Skip to content

Instantly share code, notes, and snippets.

@CloCkWeRX
Created February 8, 2012 05:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CloCkWeRX/1765797 to your computer and use it in GitHub Desktop.
Save CloCkWeRX/1765797 to your computer and use it in GitHub Desktop.
Reproduce steps...
<?php
$wsdl = ...;
$soapOptions = array(
'login' => '...',
'password' => '...',
'trace' => 1,
'exceptions' => true,
);
$code_table_client = new RPDesktopCodeTableSoapClient(new SoapClient($wsdl,
$soapOptions));
<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.7-b01-. --><!--
Copyright 2011, RP Data Limited. All rights reserved.
--><wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://rpdata.com/rpdesktop/ws/2011/09/CodeTableService/" xmlns:ct="http://rpdata.com/rpdesktop/ws/2011/09/CodeTable" xmlns:ms="http://rpdata.com/rpdesktop/ws/2011/09/CodeTableService/messages/" xmlns:ft="http://rpdata.com/rpdesktop/ws/2011/09/CodeTableService/faults/" name="CodeTableService" targetNamespace="http://rpdata.com/rpdesktop/ws/2011/09/CodeTableService/">
<wsdl:types>
<xsd:schema>
<xsd:import namespace="http://*****.com/rpdesktop/ws/2011/09/CodeTableService/messages/" schemaLocation="http://*****:80/codetable-service/CodeTableService?xsd=3" />
</xsd:schema>
<xsd:schema>
<xsd:import namespace="http://*****.com/rpdesktop/ws/2011/09/CodeTableService/faults/" schemaLocation="http://evr-sit.rpdata.com:80/codetable-service/CodeTableService?xsd=2" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="getRequest">
<wsdl:part name="request" element="ms:getRequest" />
</wsdl:message>
<wsdl:message name="getResponse">
<wsdl:part name="response" element="ms:getResponse" />
</wsdl:message>
<wsdl:message name="getFaultException">
<wsdl:part name="fault" element="ft:getFault" />
</wsdl:message>
<wsdl:portType name="CodeTableServicePortType">
<wsdl:operation name="get">
<wsdl:input name="getRequest" message="tns:getRequest" />
<wsdl:output name="getResponse" message="tns:getResponse" />
<wsdl:fault name="getFault" message="tns:getFaultException" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CodeTableServiceSOAPBinding" type="tns:CodeTableServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="get">
<soap:operation soapAction="http://localhost:8080/codetable-service/CodeTableService/get" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="getFault">
<soap:fault name="getFault" use="literal" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CodeTableService">
<wsdl:port name="CodeTableServicePort" binding="tns:CodeTableServiceSOAPBinding">
<soap:address location="http://*****.com:80/codetable-service/CodeTableService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment