Java Reference
In-Depth Information
Listing 11-1
JDM WSDL structure
1. <?xml version="1.0" encoding="UTF-8"?>
2. < definitions name="DataMiningService"
3. targetNamespace="http://www.jsr-73.org/2004/webservices"
4. xmlns:jdmws="http://www.jsr-73.org/2004/webservices"
5. xmlns="http://schemas.xmlsoap.org/wsdl/"
6. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
8. <types>
9. <xsd:schema targetNamespace="http://www.jsr-73.org/2004/webservices"
10. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11. xmlns:jdm="http://www.jsr-73.org/2004/JDMSchema">
12. < xsd:import namespace="http://www.jsr-73.org/2004/JDMSchema"
13. schemaLocation="jdm.xsd"/>
14. <xsd:complexType name="saveObject">
15. <xsd:sequence>
16. <xsd:element name="object" type="jdm:MiningObject"/>
17. </xsd:sequence>
18. <xsd:attribute name="objectName" type="xsd:string" use="required"/>
19. <xsd:attribute name="overwrite" type="xsd:boolean" use="optional"/>
20. <xsd:attribute name="verify" type="xsd:boolean" use="optional"/>
21. </xsd:complexType>
22. <xsd:complexType name="saveObjectResponse">
23. <xsd:sequence>
24. <xsd:element name="report" type="jdm:VerificationReport" minOccurs="0"/>
25. </xsd:sequence>
26. </xsd:complexType>
27. .. .. .. ..
28. <xsd:element name="saveObjectElement" type="jdmws:saveObject"/>
29. <xsd:element name="saveObjectResponseElement"
30. type="jdmws:saveObjectResponse"/>
31. .. .. .. ..
32. </xsd:schema>
33. </types>
34. < message name="IDataMining_saveObject">
35. <part name="parameters" element="jdmws:saveObjectElement"/>
36. </message>
37. <message name="IDataMining_saveObjectResponse">
38. <part name="result" element="jdmws:saveObjectResponseElement"/>
39. </message>
40. .. .. .. ..
41. < portType name="IDataMining">
42. <operation name="saveObject">
43. <input message="jdmws:IDataMining_saveObject"/>
44. <output message="jdmws:IDataMining_saveObjectResponse"/>
45. <fault name="jdmExceptionMsg" message="jdmws:IDataMining_exception"/>
46. </operation>
47. .. .. .. ..
48. </portType>
49. < binding name="IDataMiningBinding" type="jdmws:IDataMining">
50. <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
Search WWH ::




Custom Search