⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loggingfacility.wsdl

📁 Java有关XML编程需要用到axis 的源代码 把里面bin下的包导入相应的Java工程 进行使用
💻 WSDL
字号:
<?xml version="1.0" encoding="utf-8"?>

<!--
	September 14, 2002

	(c) Copyright 2002, The Web Services-Interoperability Organization (WS-I)
	Download or use of this file is governed by the Policies and Bylaws of WS-I.

	For more information, send email info@ws-i.org. 	
-->

<wsdl:definitions 
		xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
		xmlns:xs="http://www.w3.org/2001/XMLSchema" 
		xmlns:log="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd" 
		xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl" 
		targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl" 
		xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
		xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/">
	<wsdl:documentation>
      This WSDL document describes the LoggingFacility service for the WS-I Basic Sample Application. This
      service is part of a supply chain management system. It is used to demonstrate a web service that is
      conformant with the Basic Profile and to show how different web service platforms can interoperate.
		</wsdl:documentation>

	<wsdl:types>
	  <xs:schema>
  	    <xs:import namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd" schemaLocation="LoggingFacility.xsd"/>
	  </xs:schema>
	</wsdl:types>

	<wsdl:message name="logEventRequest">
		<wsdl:part name="Document" element="log:logEventRequestElement"/>
	</wsdl:message>

	<wsdl:message name="getEventsRequest">
		<wsdl:part name="Document" element="log:getEventsRequestElement"/>
	</wsdl:message>

	<wsdl:message name="getEventsResponse">
		<wsdl:part name="Document" element="log:getEventsResponseElement"/>
	</wsdl:message>

	<wsdl:message name="getEventsRepositoryMissingFault">
		<wsdl:part name="Document" element="log:getEventsFaultElement"/>
	</wsdl:message>

	<wsdl:portType name="LoggingFacilityLogPortType">
		<wsdl:operation name="logEvent">
			<wsdl:documentation>Append an entry to the system log.</wsdl:documentation>
			<wsdl:input message="tns:logEventRequest"/>
		</wsdl:operation>
		<wsdl:operation name="getEvents">
			<wsdl:documentation>Retrieve entries from the system log with the specified userId.</wsdl:documentation>
			<wsdl:input message="tns:getEventsRequest"/>
			<wsdl:output message="tns:getEventsResponse"/>
			<wsdl:fault name="RepositoryMissingFault" message="tns:getEventsRepositoryMissingFault"/>
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:binding name="LoggingFacilitySoapBinding" type="tns:LoggingFacilityLogPortType">
		<wsdl:documentation>
		        <wsi:Claim conformsTo="http://ws-i.org/profiles/basic1.0/" />
	        </wsdl:documentation>
		<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
		<wsdl:operation name="logEvent">
			<soap:operation soapAction=""/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
		</wsdl:operation>
		<wsdl:operation name="getEvents">
			<soap:operation soapAction=""/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
			<wsdl:fault name="RepositoryMissingFault">
				<soap:fault name="RepositoryMissingFault" use="literal"/>
			</wsdl:fault>
		</wsdl:operation>
	</wsdl:binding>
</wsdl:definitions>

<!--
The following is an example of a SOAP message compliant with the above WSDL for the logEvent request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <m:logEventRequestElement xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd">
      <m:DemoUserID>My Id is 72+1111,AF37C.sdsdsd</m:DemoUserID>
      <m:ServiceID>WarehouseA:http://www.ws-i.org/SA/Warehouse.asmx</m:ServiceID>
      <m:EventID>3</m:EventID>
      <m:EventDescription>Initiating operation ShipGoods.</m:EventDescription>
      <d:Detail xmlns:d="http://my/namespace/">
        <d:Customer>D22845-W8N349Y-tky</d:Customer>
        <d:ProductId>123123123</d:ProductId>
        <d:Quantity>12</d:Quantity>
      </d:Detail>
    </m:logEventRequestElement>
  </s:Body>
</s:Envelope>


The following is an example of a SOAP message compliant with the above WSDL for the getEvents request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/envelope/">
  <s:Body>
    <m:getEventsRequestElement xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd">
      <m:DemoUserID>My Id is 72+1111,AF37C.sdsdsd</m:DemoUserID>
    </m:getEventsRequestElement>
  </s:Body>
</s:Envelope>


The following is an example of a SOAP message compliant with the above WSDL for the getEvents response:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <m:getEventsResponseElement xmlns:m="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd">
      <m:LogEntry>
        <m:Timestamp>2002-08-09T13:45:51</m:Timestamp>
        <m:ServiceID>WarehouseA:http://www.ws-i.org/SA/Warehouse.asmx</m:ServiceID>
        <m:EventID>3</m:EventID>
        <m:EventDescription>Initiating operation ShipGoods.</m:EventDescription>
        <d:Detail xmlns:d="http://my/namespace/">
          <d:Customer>D22845-W8N349Y-tky</d:Customer>
          <d:ProductId>123123123</d:ProductId>
          <d:Quantity>12</d:Quantity>
        </d:Detail>
      </m:LogEntry>
      <m:LogEntry>
        <m:Timestamp>2002-08-09T13:47:04</m:Timestamp>
        <m:ServiceID>WarehouseA:http://www.ws-i.org/SA/Warehouse.asmx</m:ServiceID>
        <m:EventID>4</m:EventID>
        <m:EventDescription>Completing operation ShipGoods.</m:EventDescription>
      </m:LogEntry>
    </m:getEventsResponseElement>
  </s:Body>
</s:Envelope>

-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -