Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Try this:</p> <p>SimpleServiceSchema.xsd:</p> <pre><code>&lt;xsd:schema targetNamespace="http://ttdev.com/ss/include" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt; &lt;xsd:complexType name="concatRequestType"&gt; &lt;xsd:sequence&gt; &lt;xsd:element name="param1" type="xsd:string"/&gt; &lt;xsd:element name="param2" type="xsd:string"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;xsd:complexType name="concatResponseType"&gt; &lt;xsd:sequence minOccurs="0" maxOccurs="100"&gt; &lt;xsd:element name="name" type="xsd:string"/&gt; &lt;xsd:element name="description" type="xsd:string"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;/xsd:schema&gt; &lt;wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ttdev.com/ss" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:inc="http://ttdev.com/ss/include" name="SimpleService" targetNamespace="http://ttdev.com/ss"&gt; &lt;wsdl:types&gt; &lt;xsd:schema targetNamespace="http://ttdev.com/ss"&gt; &lt;xsd:import namespace="http://ttdev.com/ss/include" schemaLocation="SimpleServiceSchema.xsd"/&gt; &lt;xsd:element name="concatRequest" type="inc:concatRequestType"/&gt; &lt;xsd:element name="concatResponse" type="inc:concatResponseType"/&gt; &lt;/xsd:schema&gt; &lt;/wsdl:types&gt; &lt;wsdl:message name="concatRequest"&gt; &lt;wsdl:part name="parameters" element="tns:concatRequest"/&gt; &lt;/wsdl:message&gt; &lt;wsdl:message name="concatResponse"&gt; &lt;wsdl:part name="parameters" element="tns:concatResponse"/&gt; &lt;/wsdl:message&gt; &lt;wsdl:portType name="SimpleService"&gt; &lt;wsdl:operation name="concat"&gt; &lt;wsdl:input message="tns:concatRequest"/&gt; &lt;wsdl:output message="tns:concatResponse"/&gt; &lt;/wsdl:operation&gt; &lt;/wsdl:portType&gt; &lt;wsdl:binding name="SimpleServiceSOAP" type="tns:SimpleService"&gt; &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt; &lt;wsdl:operation name="concat"&gt; &lt;soap:operation soapAction="http://ttdev.com/ss/NewOperation"/&gt; &lt;wsdl:input&gt; &lt;soap:body use="literal"/&gt; &lt;/wsdl:input&gt; &lt;wsdl:output&gt; &lt;soap:body use="literal"/&gt; &lt;/wsdl:output&gt; &lt;/wsdl:operation&gt; &lt;/wsdl:binding&gt; &lt;wsdl:service name="SimpleService"&gt; &lt;wsdl:port name="p1" binding="tns:SimpleServiceSOAP"&gt; &lt;soap:address location="http://localhost:8080/ss/p1"/&gt; &lt;/wsdl:port&gt; &lt;/wsdl:service&gt; &lt;/wsdl:definitions&gt; </code></pre> <p>(thank you, XMLSpy)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload