WSDL 1.2 was aborted. It is dead. No products support it. Don't even think about reading it.
WSDL 1.1 is the only version of the spec that you should be using at this point. WSDL 2.0 is still not complete, and it will change in incompatible ways before it is completed. (e.g., the spec writers have just voted to change the namespace URI). Anne On 3/2/07, Yadav, Yogendra (IT) <[EMAIL PROTECTED]> wrote:
Hi Anne, WSDL1.2 #4.1 defines "include" element, works same way as xsd:include for includes in same namespace. http://www.w3.org/TR/2003/WD-wsdl12-20030303/#includes -yogen -----Original Message----- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 4:14 PM To: axis-user@ws.apache.org Subject: Re: wsdl:include is not recognized by wsdl2java There is no such element as <include> defined in the WSDL namepsace. Use <wsdl:import>. Anne On 3/2/07, Yadav, Yogendra (IT) <[EMAIL PROTECTED]> wrote: > > > > Hi, > WSDL2Java does not recognize <wsdl:include>, when I tried I get this > error, please tell me what is wrong in the way I am using it ? > > Exception in thread "main" > org.apache.axis2.wsdl.codegen.CodeGenerationException: > Error parsing WSDL > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGeneration Engine.java:114) > at > org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at > org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: javax.wsdl.WSDLException: WSDLException (at > /definitions/include): faultCode=INVALID_WSDL: Encountered illegal > extension element '{htt p://schemas.xmlsoap.org/wsdl/}include' in the > context of a 'javax.wsdl.Definition'. Extension elements must be in a > namespace other than WSDL's. > at > com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityElement(Unknown > Source) > at > com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown > Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown > Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown > Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown > Source) > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(Cod eGenerationEngine.java:276) > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGeneration Engine.java:97) > ... 2 more > > WSDL snippet: > <include location="DocumentService_abstract.wsdl"/> > > <wsdl:import> works > <import namespace="urn:abs_con" > location="DocumentService_abstract.wsdl"/> > > thanx > -yogen > > ________________________________ > > > NOTICE: If received in error, please destroy and notify sender. Sender > does not intend to waive confidentiality or privilege. Use of this > email is prohibited when received in error. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]