You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Alan Lewis (JIRA)" <xm...@xml.apache.org> on 2007/04/20 13:13:15 UTC

[jira] Created: (XMLBEANS-327) generating exception beans from WSDL:fault tag

generating exception beans from WSDL:fault tag
----------------------------------------------

                 Key: XMLBEANS-327
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-327
             Project: XMLBeans
          Issue Type: Bug
          Components: Compiler
    Affects Versions: Version 2
         Environment: Windows XP professional + BEA Workshop for Weblogic 9.2
            Reporter: Alan Lewis


When compiling xmlbeans from a WSDL file, the code generated from a <wsdl:fault name="...... /> generates code that should form an exception, but in fact the generated classes cannot be used as exception objects because they are not inherited from Throwable or some other exception type.  This leads to code that cannot be compiled.

Thanks for any help or advice.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (XMLBEANS-327) generating exception beans from WSDL:fault tag

Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Danner resolved XMLBEANS-327.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Cezar Andrei

I'm pretty sure this is by design. I thought it worked like this. When XMLBeans parses a WSDL, it creates types based on the schemas in the wsdl:types section. Information about how those types are used within the Service are left to the service author.

If XmlBeans was to parse the entire WSDL and change its base type based on how the WSDL were used, how should something like this behave.
...
<wsdl:portType name="EchoSomethingPort">
    <wsdl:operation name="echoSomething">
      <wsdl:input message="tns:XMLBeansType"/>
      <wsdl:output message="tns:XMLBeansType"/>
      <wsdl:fault message="tns:XMLBeansType"/>
    </wsdl:operation>
  </wsdl:portType>

Cezar if you disagree please reopen

> generating exception beans from WSDL:fault tag
> ----------------------------------------------
>
>                 Key: XMLBEANS-327
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-327
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: Version 2
>         Environment: Windows XP professional + BEA Workshop for Weblogic 9.2
>            Reporter: Alan Lewis
>         Assigned To: Cezar Andrei
>
> When compiling xmlbeans from a WSDL file, the code generated from a <wsdl:fault name="...... /> generates code that should form an exception, but in fact the generated classes cannot be used as exception objects because they are not inherited from Throwable or some other exception type.  This leads to code that cannot be compiled.
> Thanks for any help or advice.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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