Hi,
we have an interface defined on our ESB, which still needs to be implemented.
I received a wsdl and xsd from the administrators from the ESB, and now I have to develop the code which implements this wsdl (Soap Server, not consumer!!)
So something like this :
$server = new soap_server;
//register wsdl
$server->configureWSDL('soap', '');
//register a function that works on server
$server->register('GetNOLSData',array("xmldata" => "xsd:string"),array("result" => "xsd:string"),"urn:ocm","urn:urn:ocm#GetNOLSData", "document", "encoded");
Is there any tool which allows me already to create a kind of code skeleton that implements this WSDL
Structure wsdl :
<wsdl:definitions xmlns:TSTAPP="http://www.xxxxxxxx.com/wsdl/esb/TSTAPP/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd1="http://www.xxxxxxxx.com/xsd/esb/TSTAPP"
xmlns:xsd2="http://www.xxxxxxxx.com/xsd/esb/TSTAPP"
xmlns:esb="http://www.xxxxxxxx.com/xsd/esb/ESBCommonTypes"
name="TSTAPP"
targetNamespace="http://www.xxxxxxxx.com/wsdl/esb/TSTAPP/">
<wsdl:types>
<xsd:schema xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
<xsd:import namespace="http://www.xxxxxxxx.com/xsd/esb/ESBCommonTypes"
schemaLocation="../../../xsd/esb/ESBCommonTypes-v01.80.xsd"/>
</xsd:schema>
<xsd:schema targetNamespace="http://www.xxxxxxxx.com/wsdl/esb/TSTAPP/">
<xsd:element name="NewOperation">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="in" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="NewOperationResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="out" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
<xsd:import namespace="http://www.xxxxxxxx.com/xsd/esb/TSTAPP"
schemaLocation="../../../xsd/esb/LOC1/TSTAPP.xsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" name="ESBHeader">
<wsdl:part name="esbHeader" element="esb:header"/>
</wsdl:message>
<wsdl:message name="GetSRVC1DataRequest">
<wsdl:part element="xsd2:GetSRVC1Data" name="parameters"/>
</wsdl:message>
<wsdl:message name="GetSRVC1DataResponse">
<wsdl:part element="xsd2:GetSRVC1DataResponse" name="parameters"/>
</wsdl:message>
Any help is most welcome