I believe I ran into this same issue druing development of my first service. Make sure that your service name is not the same as the name of your implementing class. There's a good reason for this, I've just yet to dig into it.
Give it a run. Cory -----Original Message----- From: Uwe Kubosch [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 2:14 AM To: [EMAIL PROTECTED] Subject: WSDL problem Hi all! I'm a newbie to Axis and WSDL, but I hope you can help me. I have an autogenerated WSDL file that I wish to run WSDl2Java on. Running WSDL2Java gives the following output: java.io.IOException: Binding operation has no corresponding portType operation: name = BetalingInnland, input name = inBetalingInnland, output name = at org.apache.axis.wsdl.symbolTable.SymbolTable.populateBindings(SymbolTable.java:1763) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:577) at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:421) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:408) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393) at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245) at java.lang.Thread.run(Thread.java:536) Looking at the file in Eclipse (WSAD), I get lots of validation errors, but the first one, on line 17 is: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'xsd:schema'. Can anyone help me with this? Any help is greatly appreciated. Here is the WSDL: <?xml version="1.0" encoding="UTF-8"?> <definitions name="BetalingInnland-interface" targetNamespace="urn:BetalingInnland-interface" xmlns:def="urn:BetalingInnland-interface" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:hdr="urn:compaq_nsk_oss_SoapHeader" xmlns:tns="urn:cpq_tns_BetalingInnland" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <types> <xsd:schema targetNamespace="urn:compaq_nsk_oss_SoapHeader" xmlns="http://www.w3.org/2001/XMLSchema"> <xsd:element name="Session"> <xsd:complexType> <xsd:attribute minOccurs="0" maxOccurs="1" name="SessionID" type="xsd:string" /> <xsd:attribute minOccurs="0" maxOccurs="1" name="BeginNewTransaction" type="xsd:string" /> <xsd:attribute minOccurs="0" maxOccurs="1" name="CurrentTransactionCommand" type="xsd:string" /> <xsd:attribute minOccurs="0" maxOccurs="1" name="SessionCommand" type="xsd:string" /> <xsd:attribute minOccurs="0" maxOccurs="1" name="Subsession" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="Encoding"> <xsd:complexType> <xsd:attribute name="OutputEncoding" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:schema> <xsd:schema targetNamespace="urn:cpq_tns_BetalingInnland" xmlns="http://www.w3.org/2001/XMLSchema"> <xsd:complexType name="req_p1000010_datapart"> <xsd:sequence> <xsd:element name="deb_kto" type="xsd:int" minOccurs="1" maxOccurs="1" /> <xsd:element name="kred_kto" type="xsd:int" minOccurs="1" maxOccurs="1" /> <xsd:element name="kred_navn" type="xsd:string" minOccurs="1" maxOccurs="1" /> <xsd:element name="bel" type="xsd:long" minOccurs="1" maxOccurs="1" /> <xsd:element name="forfalls_dato" type="xsd:int" minOccurs="1" maxOccurs="1" /> <xsd:element name="txtyp_kd" type="xsd:string" minOccurs="1" maxOccurs="1" /> <xsd:element name="prioritet" type="xsd:int" minOccurs="1" maxOccurs="1" /> <xsd:element name="oblat" type="xsd:int" minOccurs="1" maxOccurs="1" /> <xsd:element name="kid" type="xsd:string" minOccurs="1" maxOccurs="1" /> <xsd:element name="melding" type="xsd:string" minOccurs="1" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> <xsd:complexType name="req_p1000010_header"> <xsd:sequence> <xsd:element name="beh_kd" type="xsd:short" minOccurs="1" maxOccurs="1" /> <xsd:element name="kunde_id" type="xsd:string" minOccurs="1" maxOccurs="1" /> <xsd:element name="konsern_id" type="xsd:int" minOccurs="1" maxOccurs="1" /> <xsd:element name="kunde_kat" type="xsd:int" minOccurs="1" maxOccurs="1" /> <xsd:element name="bruker_id" type="xsd:int" minOccurs="1" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> <xsd:complexType name="rep_p1000010_datapart"> <xsd:sequence> <xsd:element name="tx_lnr" type="xsd:unsignedInt" minOccurs="1" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> <xsd:complexType name="rep_p1000010_header"> <xsd:sequence> <xsd:element name="retur_kd" type="xsd:short" minOccurs="1" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> <xsd:element name="BetalingInnlandResponse0"> <xsd:complexType> <xsd:sequence> <xsd:element name="rep_p1000010_header" type="tns:rep_p1000010_header" minOccurs="1" maxOccurs="1" /> <xsd:element name="rep_p1000010_datapart" type="tns:rep_p1000010_datapart" minOccurs="1" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="BetalingInnland"> <xsd:complexType> <xsd:sequence> <xsd:element name="req_p1000010_header" type="tns:req_p1000010_header" minOccurs="1" maxOccurs="1" /> <xsd:element name="req_p1000010_datapart" type="tns:req_p1000010_datapart" minOccurs="1" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> </types> <message name="outBetalingInnlandResponse0"> <part name="BetalingInnlandResponse0" element="tns:BetalingInnlandResponse0" /> </message> <message name="inBetalingInnland"> <part name="BetalingInnland" element="tns:BetalingInnland" /> </message> <message name="nss_SoapSessionHeader"> <part name="Session" element="hdr:Session" /> </message> <message name="nss_SoapEncodingHeader"> <part name="Encoding" element="hdr:Encoding" /> </message> <portType name="portBetalingInnland"> <operation name="BetalingInnland"> <input name="inBetalingInnland" message="def:inBetalingInnland" /> <fault name="outBetalingInnlandResponse0" message="def:outBetalingInnlandResponse0" /> </operation> </portType> <binding name="BetalingInnlandBinding" type="def:portBetalingInnland"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> <operation type="def:BetalingInnland" name="BetalingInnland"> <soap:operation soapAction="BetalingInnland" /> <input name="inBetalingInnland"> <soap:body namespace="BetalingInnland" use="literal" /> <soap:header wsdl:required="false" message="def:nss_SoapSessionHeader" part="Session" use="literal" /> <soap:header wsdl:required="false" message="def:nss_SoapEncodingHeader" part="Encoding" use="literal" /> </input> <output name=" "> <soap:body namespace="BetalingInnland" use="literal" /> <soap:header wsdl:required="false" message="def:nss_SoapSessionHeader" part="Session" use="literal" /> </output> <fault name="outBetalingInnlandResponse0"> <soap:body namespace="BetalingInnland" use="literal" /> <soap:header wsdl:required="false" message="def:nss_SoapSessionHeader" part="Session" use="literal" /> </fault> </operation> </binding> <service name="BetalingInnlandService"> <port name="def:portBetalingInnland" binding="def:BetalingInnlandBinding"> <soap:address location="http://www.nssoap.com/bemo/bin/SoapServer.pway" /> </port> </service> </definitions>
