Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "WSDL Patterns"

Line 1: Line 1:
<h2>SOAP Document Literal</h2>
+
<h2>SOAP Document Literal Wrapped</h2>
 +
([http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/#listing8 more info])
  
  
<b>Interface Pattern</b>
+
<b>Interface Pattern </b>
 
<pre>
 
<pre>
 
<wsdl:types>
 
<wsdl:types>
Line 8: Line 9:
 
                             xmlns:tns="http://www.example.org/XXX/"
 
                             xmlns:tns="http://www.example.org/XXX/"
 
                             targetNamespace="http://www.example.org/XXX/">
 
                             targetNamespace="http://www.example.org/XXX/">
<xsd:element name="getPurchaseOrderRequest">
+
<xsd:element name="getPurchaseOrder">
 
<xsd:complexType>
 
<xsd:complexType>
 
<xsd:sequence>
 
<xsd:sequence>
Line 18: Line 19:
 
<xsd:complexType>
 
<xsd:complexType>
 
<xsd:sequence>
 
<xsd:sequence>
<xsd:element name="out1" type="xsd:string" />
+
<xsd:element name="out1" type="xsd:string"/>
 
</xsd:sequence>
 
</xsd:sequence>
 
</xsd:complexType>
 
</xsd:complexType>
Line 25: Line 26:
 
</wsdl:types>
 
</wsdl:types>
 
<wsdl:message name="getPurchaseOrderRequest">
 
<wsdl:message name="getPurchaseOrderRequest">
<wsdl:part element="tns:getPurchaseOrderRequest" name="getPurchaseOrderRequest" />
+
<wsdl:part name="getPurchaseOrderRequest" element="tns:getPurchaseOrder"/>
 
</wsdl:message>
 
</wsdl:message>
 
<wsdl:message name="getPurchaseOrderResponse">
 
<wsdl:message name="getPurchaseOrderResponse">
<wsdl:part element="tns:getPurchaseOrderResponse" name="getPurchaseOrderResponse" />
+
<wsdl:part name="getPurchaseOrderResponse" element="tns:getPurchaseOrderResponse"/>
 
</wsdl:message>
 
</wsdl:message>
 
<wsdl:portType name="PurchaseOrder">
 
<wsdl:portType name="PurchaseOrder">

Revision as of 03:34, 1 July 2006

SOAP Document Literal Wrapped

(more info)


Interface Pattern

	<wsdl:types>
		<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                            xmlns:tns="http://www.example.org/XXX/"
                            targetNamespace="http://www.example.org/XXX/">
			<xsd:element name="getPurchaseOrder">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="in1" type="xsd:string" />
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="getPurchaseOrderResponse">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="out1" type="xsd:string"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:schema>
	</wsdl:types>
	<wsdl:message name="getPurchaseOrderRequest">
		<wsdl:part name="getPurchaseOrderRequest" element="tns:getPurchaseOrder"/>
	</wsdl:message>
	<wsdl:message name="getPurchaseOrderResponse">
		<wsdl:part name="getPurchaseOrderResponse" element="tns:getPurchaseOrderResponse"/>
	</wsdl:message>
	<wsdl:portType name="PurchaseOrder">
		<wsdl:operation name="getPurchaseOrder">
			<wsdl:input message="tns:getPurchaseOrderRequest" />
			<wsdl:output message="tns:getPurchaseOrderResponse" />
		</wsdl:operation>
	</wsdl:portType>

HTTP GET

Back to the top