[ 
http://issues.apache.org/jira/browse/AXIS2-798?page=comments#action_12442132 ] 
            
Nadeem Hoda commented on AXIS2-798:
-----------------------------------


   [[ Old comment, sent by email on Sun, 4 Jun 2006 14:07:38 -0700 (PDT) ]]

Dims, 
 
Done. Thanks.
 
Nadeem



> WSDL2Java Fails on MTOM wsdls
> -----------------------------
>
>                 Key: AXIS2-798
>                 URL: http://issues.apache.org/jira/browse/AXIS2-798
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to