WSDL-Beschreibung

WebService-Schnittstellen werden (technisch) üblicherweise mittels WSDL beschrieben (Web Services Description Language). Auch für die OpaccOXAS WebService-Schnittstelle existiert eine solche Beschreibung.

Die WSDL-Bschreibung kann standardmässig unter der URL http://localhost:9955/Opacc/ServiceBus/Interface/Ws/Generic?wsdl abgeholt werden, wobei "localhost" durch den Namen oder die IP-Adresse des zuständigen APS ersetzt werden muss.
Achtung
Achtung
Der Aufruf kann mit "?wsdl" oder "?singleWsdl" erfolgen. Gültig sind zum Beispiel folgende URLs:
Unter .NET 4.0
http://SERVERNAME.intra.local:9955/Opacc/ServiceBus/Interface/Ws/Generic?wsdl
Unter .NET 4.6.1
http://SERVERNAME.intra.local:9955/Opacc/ServiceBus/Interface/Ws/Generic?wsdl
http://SERVERNAME.intra.local:9955/Opacc/ServiceBus/Interface/Ws/Generic?singleWsdl
Tipp
Tipp
In bestimmten Situationen, z.B. wenn eine Firewall den Zugriff verhindert, kann es sein, dass der Aufruf auf die oben angegebene URL nicht möglich ist. In solchen Fällen kann auf die folgende Beschreibung zurückgegriffen werden.
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" name="GenericService" targetNamespace="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic">
<wsdl:types>
<xsd:schema targetNamespace="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Imports">
<xsd:import schemaLocation="http://testvm22e.intra.local:9955/Opacc/ServiceBus/Interface/Ws/Generic?xsd=xsd0" namespace="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic"/>
<xsd:import schemaLocation="http://testvm22e.intra.local:9955/Opacc/ServiceBus/Interface/Ws/Generic?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
<xsd:import schemaLocation="http://testvm22e.intra.local:9955/Opacc/ServiceBus/Interface/Ws/Generic?xsd=xsd2" namespace="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws"/>
<xsd:import schemaLocation="http://testvm22e.intra.local:9955/Opacc/ServiceBus/Interface/Ws/Generic?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<xsd:import schemaLocation="http://testvm22e.intra.local:9955/Opacc/ServiceBus/Interface/Ws/Generic?xsd=xsd4" namespace="http://schemas.microsoft.com/Message"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="Generic_Request_InputMessage">
<wsdl:part name="parameters" element="tns:Request"/>
</wsdl:message>
<wsdl:message name="Generic_Request_OutputMessage">
<wsdl:part name="parameters" element="tns:RequestResponse"/>
</wsdl:message>
<wsdl:message name="Generic_RequestWithProcInstrAndInfos_InputMessage">
<wsdl:part name="parameters" element="tns:RequestWithProcInstrAndInfos"/>
</wsdl:message>
<wsdl:message name="Generic_RequestWithProcInstrAndInfos_OutputMessage">
<wsdl:part name="parameters" element="tns:RequestWithProcInstrAndInfosResponse"/>
</wsdl:message>
<wsdl:message name="Generic_FlatRequest_InputMessage">
<wsdl:part name="parameters" element="tns:FlatRequest"/>
</wsdl:message>
<wsdl:message name="Generic_FlatRequest_OutputMessage">
<wsdl:part name="parameters" element="tns:FlatRequestResponse"/>
</wsdl:message>
<wsdl:message name="Generic_FlatRequestWithStreamResponse_InputMessage">
<wsdl:part name="parameters" element="tns:FlatRequestWithStreamResponse"/>
</wsdl:message>
<wsdl:message name="Generic_FlatRequestWithStreamResponse_OutputMessage">
<wsdl:part name="parameters" element="tns:FlatRequestWithStreamResponseResponse"/>
</wsdl:message>
<wsdl:message name="Generic_EncryptPassword_InputMessage">
<wsdl:part name="parameters" element="tns:EncryptPassword"/>
</wsdl:message>
<wsdl:message name="Generic_EncryptPassword_OutputMessage">
<wsdl:part name="parameters" element="tns:EncryptPasswordResponse"/>
</wsdl:message>
<wsdl:message name="Generic_StartSession_InputMessage">
<wsdl:part name="parameters" element="tns:StartSession"/>
</wsdl:message>
<wsdl:message name="Generic_StartSession_OutputMessage">
<wsdl:part name="parameters" element="tns:StartSessionResponse"/>
</wsdl:message>
<wsdl:message name="Generic_StopSession_InputMessage">
<wsdl:part name="parameters" element="tns:StopSession"/>
</wsdl:message>
<wsdl:message name="Generic_StopSession_OutputMessage">
<wsdl:part name="parameters" element="tns:StopSessionResponse"/>
</wsdl:message>
<wsdl:portType name="Generic">
<wsdl:operation name="Request">
<wsdl:input wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/Request" message="tns:Generic_Request_InputMessage"/>
<wsdl:output wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/RequestResponse" message="tns:Generic_Request_OutputMessage"/>
</wsdl:operation>
<wsdl:operation name="RequestWithProcInstrAndInfos">
<wsdl:input wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/RequestWithProcInstrAndInfos" message="tns:Generic_RequestWithProcInstrAndInfos_InputMessage"/>
<wsdl:output wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/RequestWithProcInstrAndInfosResponse" message="tns:Generic_RequestWithProcInstrAndInfos_OutputMessage"/>
</wsdl:operation>
<wsdl:operation name="FlatRequest">
<wsdl:input wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/FlatRequest" message="tns:Generic_FlatRequest_InputMessage"/>
<wsdl:output wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/FlatRequestResponse" message="tns:Generic_FlatRequest_OutputMessage"/>
</wsdl:operation>
<wsdl:operation name="FlatRequestWithStreamResponse">
<wsdl:input wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/FlatRequestWithStreamResponse" message="tns:Generic_FlatRequestWithStreamResponse_InputMessage"/>
<wsdl:output wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/FlatRequestWithStreamResponseResponse" message="tns:Generic_FlatRequestWithStreamResponse_OutputMessage"/>
</wsdl:operation>
<wsdl:operation name="EncryptPassword">
<wsdl:input wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/EncryptPassword" message="tns:Generic_EncryptPassword_InputMessage"/>
<wsdl:output wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/EncryptPasswordResponse" message="tns:Generic_EncryptPassword_OutputMessage"/>
</wsdl:operation>
<wsdl:operation name="StartSession">
<wsdl:input wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/StartSession" message="tns:Generic_StartSession_InputMessage"/>
<wsdl:output wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/StartSessionResponse" message="tns:Generic_StartSession_OutputMessage"/>
</wsdl:operation>
<wsdl:operation name="StopSession">
<wsdl:input wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/StopSession" message="tns:Generic_StopSession_InputMessage"/>
<wsdl:output wsaw:Action="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/StopSessionResponse" message="tns:Generic_StopSession_OutputMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="BasicHttpBinding_Generic" type="tns:Generic">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="Request">
<soap:operation soapAction="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/Request" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="RequestWithProcInstrAndInfos">
<soap:operation soapAction="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/RequestWithProcInstrAndInfos" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="FlatRequest">
<soap:operation soapAction="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/FlatRequest" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="FlatRequestWithStreamResponse">
<soap:operation soapAction="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/FlatRequestWithStreamResponse" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="EncryptPassword">
<soap:operation soapAction="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/EncryptPassword" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="StartSession">
<soap:operation soapAction="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/StartSession" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="StopSession">
<soap:operation soapAction="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic/Generic/StopSession" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="GenericService">
<wsdl:port name="BasicHttpBinding_Generic" binding="tns:BasicHttpBinding_Generic">
<soap:address location="http://testvm22e.intra.local:9955/Opacc/ServiceBus/Interface/Ws/Generic"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>