Вы находитесь на странице: 1из 2

<HelloOutputType xmlns="http://www.oracle.

com/training/xsd/HelloWorld"> <greetings>Hello:{fn:data($body/hel:HelloInput/hel:name)}</greetings> </HelloOutputType>

<?xml version="1.0" encoding="windows-1252" ?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:helObj="http://www.oracle.com/training/xsd/HelloWorld" targetNamespace="http://www.oracle.com/training/xsd/HelloWorld" elementFormDefault="qualified"> <xsd:element name="HelloInput" type="helObj:HelloInputType"/> <xsd:element name="HelloOutput" type="helObj:HelloOutputType"/> <xsd:complexType name="HelloInputType"> <xsd:sequence> <xsd:element name="name" type="xsd:string"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="HelloOutputType"> <xsd:sequence> <xsd:element name="greetings" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:schema> <?xml version="1.0" encoding="UTF-8" ?> <wsdl:definitions targetNamespace="http://www.oracle.com/training/wsdl/HelloWorl d" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:helSer="http://www.oracle.com/training/wsdl/HelloWorld" xmlns:helObj="http://www.oracle.com/training/xsd/HelloWorld" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"> <wsdl:types> <xsd:schema> <xsd:import namespace="http://www.oracle.com/training/xsd/HelloWorld" schema Location="xsd/Hello.xsd"/> </xsd:schema> </wsdl:types> <wsdl:message name="HelloInputMsg"> <wsdl:part name="payload" element="helObj:HelloInput"/> </wsdl:message> <wsdl:message name="HelloOutputMsg"> <wsdl:part name="payload" element="helObj:HelloOutput"/> </wsdl:message> <wsdl:portType name="HelloInterface"> <wsdl:operation name="sayHello"> <wsdl:input message="helSer:HelloInputMsg"/> <wsdl:output message="helSer:HelloOutputMsg"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="HelloInterfaceSOAP11Binding" type="helSer:HelloInterface"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="sayHello"> <soap:operation style="document" soapAction="http://www.oracle.com/training/wsdl/HelloWorld

/sayHello"/> <wsdl:input> <soap:body use="literal" parts="payload"/> </wsdl:input> <wsdl:output> <soap:body use="literal" parts="payload"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="HelloWoldService"> <wsdl:port name="Hellowoldintface" binding="helSer:HelloInterfaceSOAP11Binding"> <soap:address location="http://ramesh"/> </wsdl:port> </wsdl:service> </wsdl:definitions>

Вам также может понравиться