Error importing WSDL
1
While importing a WSDL we get the following error: Unsupported operation 'getTicketDetails': Missing operation binding. Anybody any ideas whats wrong here? See WSDL below! <definitions name="OTRSBinding" targetnamespace="" xmlns:tns="http://o.teraco.co.za/otrs.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-env="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xmlns="http://schemas.xmlsoap.org/wsdl/"> <wsdl:types> <xsd:schema targetnamespace="http://o.teraco.co.za/otrs.wsdl"> <xsd:element name="accountName" type="xsd:string"/> <xsd:element name="OperationResponse"> <xsd:complextype> <xsd:sequence> <xsd:element name="Result" minoccurs="0" maxoccurs="unbounded"> <xsd:complextype> <xsd:sequence/> </xsd:complextype> </xsd:element> </xsd:sequence> </xsd:complextype> </xsd:element> <xsd:complexType name="array"> <xsd:complexContent> <xsd:restriction base="soapenc:Array"> <xsd:attribute ref="soapenc:arrayType" soapenc:arrayType="xsd:string[]"/> </xsd:restriction> </xsd:complexContent> </xsd:complexType> <!--<xsd:complexType name="mixed"> <xsd:all> <xsd:element name="varString" type="xsd:string"/> <xsd:element name="varInt" type="xsd:int"/> <xsd:element name="varFloat" type="xsd:float"/> <xsd:element name="varArray" type="soapenc:Array"/> </xsd:all> </xsd:complexType>--> </xsd:schema> </wsdl:types> <message name="listTicketsInput"> <part name='accountName' element='tns:accountName'/> </message> <message name="listTicketsOutput"> <part name='Result' element="tns:OperationResponse" /> </message> <portType name="OTRSPortType"> <operation name="getTicketDetails"> <input message="tns:getTicketDetailsInput"/> <output message="tns:getTicketDetailsOutput"/> </operation> <operation name="listTickets"> <input message="tns:listTicketsInput"/> <output message="tns:listTicketsOutput"/> </operation> </portType> <binding name="OTRSBinding" type="tns:OTRSPortType"> <soap-env:binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/" style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/" name="listTickets"> <soap-env:operation soapAction="listTickets"/> <input xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/"> <soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </input> <output xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/"> <soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </output> </operation> </binding> <service name="OTRS"> <port xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/" name="OTRSPort" binding="tns:OTRSBinding"> <soap-env:address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://o.teraco.co.za/otrs.php"/> </port> </service> </definitions>
asked
Han Konings
0 answers