Alcune operazioni API dei servizi Web richiedono che le applicazioni client utilizzino gli elementi allineati di stile "document/literal". Le applicazioni client richiedono l'aiuto delle classi helper per generare gli elementi allineati necessari.
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:bons1="http://com/ibm/bpe/unittest/sca" xmlns:tns="http://ProcessTypes/bpel/ProcessCustomer" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ProcessCustomer" targetNamespace="http://ProcessTypes/bpel/ProcessCustomer"> <wsdl:types> <xsd:schema targetNamespace="http://ProcessTypes/bpel/ProcessCustomer" xmlns:bons1="http://com/ibm/bpe/unittest/sca" xmlns:tns="http://ProcessTypes/bpel/ProcessCustomer" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:import namespace="http://com/ibm/bpe/unittest/sca" schemaLocation="xsd-includes/http.com.ibm.bpe.unittest.sca.xsd"/> <xsd:element name="doit"> <xsd:complexType> <xsd:sequence> <xsd:element name="input1" nillable="true" type="bons1:Customer"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="doitResponse"> <xsd:complexType> <xsd:sequence> <xsd:element name="output1" nillable="true" type="bons1:Customer"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> </wsdl:types> <wsdl:message name="doitRequestMsg"> <wsdl:part element="tns:doit" name="doitParameters"/> </wsdl:message> <wsdl:message name="doitResponseMsg"> <wsdl:part element="tns:doitResponse" name="doitResult"/> </wsdl:message> <wsdl:portType name="ProcessCustomer"> <wsdl:operation name="doit"> <wsdl:input message="tns:doitRequestMsg" name="doitRequest"/> <wsdl:output message="tns:doitResponseMsg" name="doitResponse"/> </wsdl:operation> </wsdl:portType> </wsdl:definitions>
<xsd:schema xmlns:bons1="http://com/ibm/bpe/unittest/sca" xmlns:tns="http://ProcessTypes/bpel/ProcessCustomer" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ProcessTypes/bpel/ProcessCustomer"> <xsd:import namespace="http://com/ibm/bpe/unittest/sca" schemaLocation="Customer.xsd"/> <xsd:element name="doit"> <xsd:complexType> <xsd:sequence> <xsd:element name="input1" type="bons1:Customer" nillable="true"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="doitResponse"> <xsd:complexType> <xsd:sequence> <xsd:element name="output1" type="bons1:Customer" nillable="true"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)