You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2006/06/02 22:57:30 UTC

[jira] Commented: (AXIS2-798) WSDL2Java Fails on MTOM wsdls

    [ http://issues.apache.org/jira/browse/AXIS2-798?page=comments#action_12414516 ] 

Davanum Srinivas commented on AXIS2-798:
----------------------------------------

Nadeem,

Please upload you complete wsdl.

thanks,
dims

> 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

>
> 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