axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Fernández (JIRA) <j...@apache.org>
Subject [jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly
Date Wed, 18 Apr 2007 10:02:15 GMT

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

Jorge Fernández commented on AXIS2-2325:
----------------------------------------

Manoj,

I generated it with Eclipse plugin 1.2.1. 
I didn't realized that there wasn't any getter or setter until you told me ;). The faults
I use are exactly like that. The only thing I created specially for this issue was the java
file.

I have just tried again and it generates the same thing. But remember that the faults I defined
are IncorrectUser and IncorrectPassword and it generates validateUser. No matter what attributes
I put in the exceptions, it seems it doesn't bother those exceptions cos it creates a new
one.

I have also tried adding a getter method to both exceptions and still have the same issue.

In my project, I had to change anyType from the wsdl manually to string. I didn't modify anything
in the wsdl attached to this issue.


Jorge

> Java2WSDL does not generate faults correctly
> --------------------------------------------
>
>                 Key: AXIS2-2325
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2325
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP Java 1.5, Eclipse 3.2.2, Axis2 Eclipse Plugin 1.2.1
>            Reporter: Jorge Fernández
>         Assigned To: Deepal Jayasinghe
>         Attachments: API.java, API.wsdl, IncorrectPasswordFault.java, IncorrectUserFault.java
>
>
> The first problem is that in the WSDL generated my fault name is ignored and instead
it's compound from the operation name and "Fault".
> Also  if I throw two exceptions from one operation, in the WSDL only one appears and
with the name I said before.
> I attach the API from where I build the WSDL, the Faults classes and the WSDL generated.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message