axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "giovanni zigliara (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5034) Incorrect exception name is used for fault message while creating AxisService from WSDL
Date Thu, 11 Aug 2011 10:23:27 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083052#comment-13083052
] 

giovanni zigliara commented on AXIS2-5034:
------------------------------------------

Hi,
this bug seem the same as mine.
I'm upgrading from axis2 1.4.1 to 1.6.0 and the following is an extract from my wsdl:
...
<xsd:element name="goofy_fault" type="tns:AbcException"></xsd:element>
...
<wsdl:message name="goofy_faultMsg">
   <wsdl:part name="fault" element="tns:goofy_fault"></wsdl:part>
</wsdl:message>
...
<wsdl:operation name="goofy">
    <wsdl:input message="tns:goofyRequest"></wsdl:input>
    <wsdl:output message="tns:goofyResponse"></wsdl:output>
    <wsdl:fault name="fault" message="tns:goofy_faultMsg"></wsdl:fault>
 </wsdl:operation>
...

Generating java code from wsdl definitions, the tool does not generate the *_faultMsg.java
anymore ("goofy_faultMsg.java" in the extract) which are the exception messages thrown by
the services, but only an "anonymous" Fault.java which is neither compatible with the existing
implementation nor correct to be used with.

Can you please tell me in which version this bug is planned to be resolved and when such version
is planned to be released?
Thanks in advance. 

> Incorrect exception name is used for fault message while creating AxisService from WSDL
> ---------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5034
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5034
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.6.0
>            Reporter: Ivan
>              Labels: Geronimo
>         Attachments: AXIS2-5034.patch
>
>
> Per the JAX-WS spec 2.5
> Conformance (Exception naming): In the absence of customizations, the name of a mapped
exception
> MUST be the value of the name attribute of the wsdl:message referred to by the wsdl:fault
element
> mapped according to the rules in sections 2.8 and 2.8.1.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message