Files
sage-mcp-server/spike/mock-x3.wsdl
2026-03-10 16:57:26 +00:00

260 lines
9.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Mock WSDL that replicates Sage X3's CAdxWebServiceXmlCC structure.
Key characteristics:
- SOAP 1.1 (NOT 1.2)
- RPC/encoded binding style (NOT document/literal)
- soapenc:Array for complex array types
- Adonix/WSS namespace
-->
<definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://www.adonix.com/WSS"
xmlns:wss="http://www.adonix.com/WSS"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://www.adonix.com/WSS"
name="CAdxWebServiceXmlCC">
<!-- ============================== -->
<!-- TYPES: X3 complex types -->
<!-- ============================== -->
<types>
<xsd:schema targetNamespace="http://www.adonix.com/WSS">
<!-- CAdxCallContext: passed to every operation -->
<xsd:complexType name="CAdxCallContext">
<xsd:all>
<xsd:element name="codeLang" type="xsd:string"/>
<xsd:element name="codeUser" type="xsd:string"/>
<xsd:element name="password" type="xsd:string"/>
<xsd:element name="poolAlias" type="xsd:string"/>
<xsd:element name="poolId" type="xsd:string"/>
<xsd:element name="requestConfig" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
<!-- CAdxResultXml: returned from every operation -->
<xsd:complexType name="CAdxResultXml">
<xsd:all>
<xsd:element name="messages" type="wss:ArrayOfCAdxMessage"/>
<xsd:element name="resultXml" type="xsd:string"/>
<xsd:element name="status" type="xsd:int"/>
<xsd:element name="technicalInfos" type="wss:ArrayOfCAdxTechnicalInfos"/>
</xsd:all>
</xsd:complexType>
<!-- CAdxMessage -->
<xsd:complexType name="CAdxMessage">
<xsd:all>
<xsd:element name="message" type="xsd:string"/>
<xsd:element name="type" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
<!-- ArrayOfCAdxMessage (SOAP-encoded array) -->
<xsd:complexType name="ArrayOfCAdxMessage">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="wss:CAdxMessage[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<!-- CAdxTechnicalInfos -->
<xsd:complexType name="CAdxTechnicalInfos">
<xsd:all>
<xsd:element name="message" type="xsd:string"/>
<xsd:element name="type" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
<!-- ArrayOfCAdxTechnicalInfos (SOAP-encoded array) -->
<xsd:complexType name="ArrayOfCAdxTechnicalInfos">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="wss:CAdxTechnicalInfos[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<!-- CAdxParamKeyValue: used for objectKeys in read/query -->
<xsd:complexType name="CAdxParamKeyValue">
<xsd:all>
<xsd:element name="key" type="xsd:string"/>
<xsd:element name="value" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
<!-- ArrayOfCAdxParamKeyValue (SOAP-encoded array) -->
<xsd:complexType name="ArrayOfCAdxParamKeyValue">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="wss:CAdxParamKeyValue[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
</types>
<!-- ============================== -->
<!-- MESSAGES -->
<!-- ============================== -->
<!-- getDescription -->
<message name="getDescriptionRequest">
<part name="callContext" type="wss:CAdxCallContext"/>
<part name="publicName" type="xsd:string"/>
</message>
<message name="getDescriptionResponse">
<part name="getDescriptionReturn" type="wss:CAdxResultXml"/>
</message>
<!-- read -->
<message name="readRequest">
<part name="callContext" type="wss:CAdxCallContext"/>
<part name="publicName" type="xsd:string"/>
<part name="objectKeys" type="wss:ArrayOfCAdxParamKeyValue"/>
</message>
<message name="readResponse">
<part name="readReturn" type="wss:CAdxResultXml"/>
</message>
<!-- query -->
<message name="queryRequest">
<part name="callContext" type="wss:CAdxCallContext"/>
<part name="publicName" type="xsd:string"/>
<part name="objectKeys" type="wss:ArrayOfCAdxParamKeyValue"/>
<part name="listSize" type="xsd:int"/>
</message>
<message name="queryResponse">
<part name="queryReturn" type="wss:CAdxResultXml"/>
</message>
<!-- save -->
<message name="saveRequest">
<part name="callContext" type="wss:CAdxCallContext"/>
<part name="publicName" type="xsd:string"/>
<part name="objectXml" type="xsd:string"/>
</message>
<message name="saveResponse">
<part name="saveReturn" type="wss:CAdxResultXml"/>
</message>
<!-- run -->
<message name="runRequest">
<part name="callContext" type="wss:CAdxCallContext"/>
<part name="publicName" type="xsd:string"/>
<part name="inputXml" type="xsd:string"/>
</message>
<message name="runResponse">
<part name="runReturn" type="wss:CAdxResultXml"/>
</message>
<!-- ============================== -->
<!-- PORT TYPE -->
<!-- ============================== -->
<portType name="CAdxWebServiceXmlCC">
<operation name="getDescription">
<input message="tns:getDescriptionRequest"/>
<output message="tns:getDescriptionResponse"/>
</operation>
<operation name="read">
<input message="tns:readRequest"/>
<output message="tns:readResponse"/>
</operation>
<operation name="query">
<input message="tns:queryRequest"/>
<output message="tns:queryResponse"/>
</operation>
<operation name="save">
<input message="tns:saveRequest"/>
<output message="tns:saveResponse"/>
</operation>
<operation name="run">
<input message="tns:runRequest"/>
<output message="tns:runResponse"/>
</operation>
</portType>
<!-- ============================== -->
<!-- BINDING: RPC/Encoded SOAP 1.1 -->
<!-- ============================== -->
<binding name="CAdxWebServiceXmlCCBinding" type="tns:CAdxWebServiceXmlCC">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getDescription">
<soap:operation soapAction=""/>
<input>
<soap:body use="encoded" namespace="http://www.adonix.com/WSS"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="http://www.adonix.com/WSS"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="read">
<soap:operation soapAction=""/>
<input>
<soap:body use="encoded" namespace="http://www.adonix.com/WSS"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="http://www.adonix.com/WSS"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="query">
<soap:operation soapAction=""/>
<input>
<soap:body use="encoded" namespace="http://www.adonix.com/WSS"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="http://www.adonix.com/WSS"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="save">
<soap:operation soapAction=""/>
<input>
<soap:body use="encoded" namespace="http://www.adonix.com/WSS"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="http://www.adonix.com/WSS"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="run">
<soap:operation soapAction=""/>
<input>
<soap:body use="encoded" namespace="http://www.adonix.com/WSS"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="http://www.adonix.com/WSS"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<!-- ============================== -->
<!-- SERVICE -->
<!-- ============================== -->
<service name="CAdxWebServiceXmlCCService">
<port name="CAdxWebServiceXmlCC" binding="tns:CAdxWebServiceXmlCCBinding">
<soap:address location="http://localhost:28124/soap-generic/syracuse/collaboration/syracuse/CAdxWebServiceXmlCC"/>
</port>
</service>
</definitions>