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 "Jorge Fernández (JIRA)" <ji...@apache.org> on 2007/03/14 22:17:09 UTC

[jira] Created: (AXIS2-2325) Java2WSDL does not generate faults correctly

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
            Priority: Minor


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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manoj Khangaonkar updated AXIS2-2325:
-------------------------------------

    Attachment: API.wsdl

API.wsdl generated by using the patch

> 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, API.wsdl, API.wsdl, axis2-2325patch.txt, 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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488788 ] 

Manoj Khangaonkar commented on AXIS2-2325:
------------------------------------------

Hi,

The things I think we need to  fix are

(1) WSDL does allow multiple fault messages. If a method declared multiple exception, there needs to 1 fault for each exception.

(2) Need to generate messages for each fault

(3) The binding section needs an fault element for each fault

(4) generating faultname = operation name + "Fault" is not necessary , you can use the exception type name. In any case this does not work for
multiple faults.

(5) types section - Generate the type definition for each fault correctly. Since exception generally extend java.lang.Exception or other exception classes, we have
to be careful here

Will look into providing a patch

Mj

> 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
>            Priority: Minor
>         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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492491 ] 

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

Also, one more thing:

In the message definition, the prefix of the faults is wrong, it should be the prefix of the service schema namespace and it's the prefix of the faults namespace.

In the file I sent is:

<wsdl:message name="DataAccessFault">
<wsdl:part name="part1" element="ax21:DataAccessFault" />
</wsdl:message>

and it should be

<wsdl:message name="DataAccessFault">
<wsdl:part name="part1" element="xsd:DataAccessFault" />
</wsdl:message>

I attached new exceptions. I forgot that I had changed their names. The new exceptions are DataAccessFault and ValidationFault

> 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.java, API.wsdl, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, DataAccessFault.java, IncorrectPasswordFault.java, IncorrectUserFault.java, ValidationFault.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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490648 ] 

Manoj Khangaonkar commented on AXIS2-2325:
------------------------------------------

The attached patch takes care of the following :

1. generates multiple fault when necessary

2. generates messages and bindings for the faults

3. Name of fault is type name of the exception

4. AXISFault is shown in the inheritance heirarchy - filter it out - just as we do for java.lang.Object.

Jorge,

You'll need to add get/set method to exception - to get the necessary elements in the type definetion of the fault

> 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, API.wsdl, axis2-2325patch.txt, 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


[jira] Resolved: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-2325.
--------------------------------------

    Resolution: Fixed

The issue should be fixed in the curren SVN after my last commit.

> 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
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: API.java, API.java, API.wsdl, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, DataAccessFault.java, edited_API.wsdl, IncorrectPasswordFault.java, IncorrectUserFault.java, JIRA2325.zip, ValidationFault.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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492932 ] 

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

Hi again,

I'm bringing some updates:

I said that in the message definitions, faults had the wrong prefix but it was the full name which was wrong. See below:

<wsdl:message name="DataAccessFault">
<wsdl:part name="part1" element="ax21:DataAccessFault" />
</wsdl:message>

and it should be

<wsdl:message name="DataAccessFault">
<wsdl:part name="part1" element="xsd:DataAccessFaultFault" />
</wsdl:message> 

I edited manually the wsdl dropping the repeated elements in the messages definitions and the types definitions and I got the 

edited_API.wsdl

In spite of the changes, I get a wrong request exception from the service instead of he one I'm throwing. 

In the zip file I attach a simple client and service and the code generated.

As you can see on it, I build the exception like this:

	ValidationFaultException exception = new ValidationFaultException();
		ValidationFault fault = new ValidationFault();
		//ValidationFault0 fault35 = new ValidationFault0();
		ValidationFaultFault faultfault=new ValidationFaultFault();
		fault.setDescription("hola");
		faultfault.setValidationFault(fault);
		exception.setFaultMessage(faultfault);
		throw exception;

And when debugging I can see the variable exception that has 4 attributes:
cause, detailedMessage,faultMessage and StackTrace. The former one is a ValidationFaultExcepion. So cause attribute has the same ValidationFaultException inside and this is recursive.


I tried defining them like this, but I'm still having problems:

<xs:element name="DataAccessFault" nillable="true" type="ns0:DataAccessFault"/>
<xs:element name="InvalidArgumentValueFault" nillable="true" type="ns0:InvalidArgumentValueFault"/>	
<xs:element name="ValidationFault" nillable="true" type="ns0:ValidationFault"/>


That was like this:

<xs:element name="DataAccessFault">
	<xs:complexType>
		<xs:sequence>
			<xs:element name="DataAccessFault" nillable="true" type="ns0:DataAccessFault"/>
		</xs:sequence>
	</xs:complexType>
</xs:element>
<xs:element name="InvalidArgumentValueFault">
	<xs:complexType>
		<xs:sequence>
			<xs:element name="InvalidArgumentValueFault" nillable="true" type="ns0:InvalidArgumentValueFault"/>
		</xs:sequence>
	</xs:complexType>
</xs:element>		
<xs:element name="ValidationFault">
	<xs:complexType>
		<xs:sequence>
			<xs:element name="ValidationFault" nillable="true" type="ns0:ValidationFault"/>
		</xs:sequence>
	</xs:complexType>
</xs:element>

> 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.java, API.wsdl, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, DataAccessFault.java, IncorrectPasswordFault.java, IncorrectUserFault.java, ValidationFault.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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490397 ] 

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

That WSDL seems to be ok. The only thing I can see is that the attribute private String userName; is not generated in the WSDL but, correct me if I'm wrong, I would have to add the getter or setter and thent It will work. I think there is an issue that corrects the problem of having to generate de getter to get the attribute in the wsdl but I supose that the patch isn't available yet.

The next thing is the issue axis2-2326 that is related with this.

Thanks a lot

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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489582 ] 

Manoj Khangaonkar commented on AXIS2-2325:
------------------------------------------

Jorge,

In your attached API.wsdl , the definition of the fault is 

<xs:element name="validateUserFault">
	<xs:complexType>
	<xs:sequence>
	<xs:element name="validateUserFault" type="xs:anyType"/>
	</xs:sequence>
	</xs:complexType>
</xs:element>

Of special interest is xs:anyType.

What java2WSDL options did you use to generate this ? 

For me it generates something like

<xs:element name="validateUserFault">
	<xs:complexType>
	<xs:sequence>
	</xs:sequence>
	</xs:complexType>
</xs:element>

Since the exception has no public members or get/set methods - I can understand what was generated for me ?

What option / editing was used to add the xs;anyType to the WSDL ?

Mj




 


> 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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Reopened: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández reopened AXIS2-2325:
------------------------------------


Hi,

This issue was fixed but now it had another effect:

When I generate my WSDL (with Eclipse plugin from the axis2 1.2 release) from an API with 2 or more operations that throw the same faults, it generates one fault element in the wsdl for each operation. Resulting that the WSDL has several elements with the same name in the schema definition and also in the message definition.

When I try to generate classes from that WSDL, I get an exception.

Manoj, the patch to fix the hierarchy problem was added to the new release? I'm asking because it's not generating the extension base element in the schema definition of the faults

> 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, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, 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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492551 ] 

Manoj Khangaonkar commented on AXIS2-2325:
------------------------------------------

Jorge,

The inhertiance ( hierarchy ) patch was probably committed in 1.2

Mj

> 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.java, API.wsdl, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, DataAccessFault.java, IncorrectPasswordFault.java, IncorrectUserFault.java, ValidationFault.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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Priority: Major  (was: Minor)

> 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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Attachment: ValidationFault.java

> 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.java, API.wsdl, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, DataAccessFault.java, IncorrectPasswordFault.java, IncorrectUserFault.java, ValidationFault.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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Attachment: edited_API.wsdl

> 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.java, API.wsdl, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, DataAccessFault.java, edited_API.wsdl, IncorrectPasswordFault.java, IncorrectUserFault.java, JIRA2325.zip, ValidationFault.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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Attachment: IncorrectPasswordFault.java

> 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
>            Priority: Minor
>         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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Attachment: DataAccessFault.java

> 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.java, API.wsdl, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, DataAccessFault.java, IncorrectPasswordFault.java, IncorrectUserFault.java, ValidationFault.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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Attachment: API.java

> 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
>            Priority: Minor
>         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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Attachment: IncorrectUserFault.java

> 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
>            Priority: Minor
>         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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490672 ] 

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

Thanks a lot!

Could you tell me when will this patch be available in a official release??
And how can I apply it to my axis2 1.1.1??

> 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, API.wsdl, API.wsdl, axis2-2325patch.txt, 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


[jira] Assigned: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi reassigned AXIS2-2325:
---------------------------------------------------

    Assignee: Deepal Jayasinghe  (was: Amila Chinthaka Suriarachchi)

please have a look at

> 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
>            Priority: Minor
>         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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488789 ] 

Manoj Khangaonkar commented on AXIS2-2325:
------------------------------------------

Hi,

This seems to be a pretty serious limitation. Perhaps we should raise the priority to Major

Mj

> 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
>            Priority: Minor
>         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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2325:
------------------------------------

    Priority: Blocker  (was: Major)

> 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
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: API.java, API.java, API.wsdl, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, DataAccessFault.java, edited_API.wsdl, IncorrectPasswordFault.java, IncorrectUserFault.java, JIRA2325.zip, ValidationFault.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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Attachment: API.wsdl

> 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, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, 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


[jira] Resolved: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-2325.
--------------------------------------

    Resolution: Fixed

fixed in current SVN (1.2 branch)

> 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, API.wsdl, API.wsdl, axis2-2325patch.txt, 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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manoj Khangaonkar updated AXIS2-2325:
-------------------------------------

    Attachment: API.wsdl

Jorge,

Attached is WSDL I generated after fixing some of the issues by me earlier. The generated faults however still extend
AxisFault. The patch is still not submitted because it is work in progress.

Take a look at this WSDL and tell me all the thing you think are still incorrect or need to be fixed.

Deepal and other committers,

please chime in if necessary

Mj

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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2325:
------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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: Amila Chinthaka Suriarachchi
>            Priority: Minor
>         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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manoj Khangaonkar updated AXIS2-2325:
-------------------------------------

    Attachment: axis2-2325patch.txt

Patch to fix this issue

> 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, API.wsdl, axis2-2325patch.txt, 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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Attachment: API.wsdl

> 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
>            Priority: Minor
>         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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Attachment: API.java

> 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.java, API.wsdl, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, DataAccessFault.java, IncorrectPasswordFault.java, IncorrectUserFault.java, ValidationFault.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


[jira] Updated: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2325:
-----------------------------------

    Attachment: JIRA2325.zip

> 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.java, API.wsdl, API.wsdl, API.wsdl, API.wsdl, axis2-2325patch.txt, DataAccessFault.java, edited_API.wsdl, IncorrectPasswordFault.java, IncorrectUserFault.java, JIRA2325.zip, ValidationFault.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


[jira] Commented: (AXIS2-2325) Java2WSDL does not generate faults correctly

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489680 ] 

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

Also another thing: The wsdl shouldn't have a extension base tag that showed that the fault extends from AxisFault?? I get the same problem with other classes and I have to generate it manually. I don't know if that's a fixed issue

> 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