axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nadeem Hoda (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-798) WSDL2Java Fails on MTOM wsdls
Date Sun, 04 Jun 2006 21:05:30 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-798?page=all ]

Nadeem Hoda updated AXIS2-798:
------------------------------

    Attachment: Axis2-MTOM.wsdl

This is a simple MTOM WSDL attempt that gives the error indicated by the ticket:

Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
: Error parsing WSDL
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:96)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: WSDLException (at /definitions/binding/operation/input/feature): faul
tCode=INVALID_WSDL: Encountered illegal extension element '{http://schemas.xmlso
ap.org/wsdl/}feature' in the context of a 'javax.wsdl.BindingInput'. Extension e
lements must be in a namespace other than WSDL's.:
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityElement(Unknown Sou
rce)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseBindingInput(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseBindingOperation(Unknown Source)

        at com.ibm.wsdl.xml.WSDLReaderImpl.parseBinding(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(
CodeGenerationEngine.java:238)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:81)
        ... 2 more

> WSDL2Java Fails on MTOM wsdls
> -----------------------------
>
>          Key: AXIS2-798
>          URL: http://issues.apache.org/jira/browse/AXIS2-798
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: Win32
>     Reporter: Nadeem Hoda
>  Attachments: Axis2-MTOM.wsdl
>
> In wsdl bindings, the following MTOM construct fails when using WSDL2Java: 
> <operation......>.....
>  <input>
>      <feature  uri="http://www.w3.org/2003/06/soap/features/http-optimization"  required="true"/>
>  </input>
> Error:
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
> : Error parsing WSDL
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
> ionEngine.java:96)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: WSDLException (at /definitions/binding/operation[1]/input/feature): f
> aultCode=INVALID_WSDL: Encountered illegal extension element '{http://schemas.xm
> lsoap.org/wsdl/}feature' in the context of a 'javax.wsdl.BindingInput'. Extensio
> n elements must be in a namespace other than WSDL's.:
>         at com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityElement(Unknown Sou
> rce)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.parseBindingInput(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.parseBindingOperation(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.parseBinding(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(
> CodeGenerationEngine.java:238)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
> ionEngine.java:81)
>         ... 2 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message