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 "Antonio Andrade (JIRA)" <ji...@apache.org> on 2008/10/16 21:11:44 UTC

[jira] Created: (AXIS2-4091) WSDL11ToAxisServiceBuilder + HTTP Binding: Unused/Useless global element declations are appended into WSDL's XSD documents

WSDL11ToAxisServiceBuilder + HTTP Binding: Unused/Useless global element declations are appended into WSDL's XSD documents
--------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-4091
                 URL: https://issues.apache.org/jira/browse/AXIS2-4091
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.4, nightly
         Environment: Windows XP. 4GB RAM Intel Xeon dual-core @2.83Ghz
            Reporter: Antonio Andrade
            Priority: Minor


Observed Behavior: 
1) New XML schema global elements declarations are created and appended into WSDL's XSD documents when they should not. This is the case of message <wsdl:part/>s already referencing global element declarations (through the 'element' attribute of the message part). 

2) Whether a message part requires a 'wrapped' element or not can be determine by reading the 'wrappedInput' and 'wrappedOutput' attributes of the 'BindingOperationEntry' inner class after the message part has been analyzed but the 'addPartToElement' method fails to properly set them for all cases (i.e. ignores whether the message part comes from an input or output message by ignoring the 'isOutMessage' argument received).

Expected Behavior: 
1) No XML schema global elements declarations should be added whenever message <wsdl:part/>s use the 'element' attribute (i.e. already reference global element declarations).

2) The 'addPartToElement' method should take into account the value of the 'isOutMessage' argument received to set the value of the 'wrappedInput' and 'wrappedOutput' attributes of the 'BindingOperationEntry' inner class.

-- 
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-4091) WSDL11ToAxisServiceBuilder + HTTP Binding: Unused/Useless global element declations are appended into WSDL's XSD documents

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

Antonio Andrade updated AXIS2-4091:
-----------------------------------

    Attachment: JUnit Tests - Half of Patch.jpg

Attaching screenshot of JUnit Tests results AFTER the part 2 of the patch is fixed but BEFORE the part 1is included: AxisService is created but duplicated elements are found.

> WSDL11ToAxisServiceBuilder + HTTP Binding: Unused/Useless global element declations are appended into WSDL's XSD documents
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4091
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4091
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.4, nightly
>         Environment: Windows XP. 4GB RAM Intel Xeon dual-core @2.83Ghz
>            Reporter: Antonio Andrade
>            Priority: Minor
>         Attachments: AXIS2-4091.patch, JUnit Tests - Before.jpg, JUnit Tests - Half of Patch.jpg
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Observed Behavior: 
> 1) New XML schema global elements declarations are created and appended into WSDL's XSD documents when they should not. This is the case of message <wsdl:part/>s already referencing global element declarations (through the 'element' attribute of the message part). 
> 2) Whether a message part requires a 'wrapped' element or not can be determine by reading the 'wrappedInput' and 'wrappedOutput' attributes of the 'BindingOperationEntry' inner class after the message part has been analyzed but the 'addPartToElement' method fails to properly set them for all cases (i.e. ignores whether the message part comes from an input or output message by ignoring the 'isOutMessage' argument received).
> Expected Behavior: 
> 1) No XML schema global elements declarations should be added whenever message <wsdl:part/>s use the 'element' attribute (i.e. already reference global element declarations).
> 2) The 'addPartToElement' method should take into account the value of the 'isOutMessage' argument received to set the value of the 'wrappedInput' and 'wrappedOutput' attributes of the 'BindingOperationEntry' inner class.

-- 
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-4091) WSDL11ToAxisServiceBuilder + HTTP Binding: Unused/Useless global element declations are appended into WSDL's XSD documents

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

Antonio Andrade updated AXIS2-4091:
-----------------------------------

    Attachment: JUnit Tests - Before.jpg

Attaching screenshot of JUnit Tests results before the patch. The AxisService fails to be created.

> WSDL11ToAxisServiceBuilder + HTTP Binding: Unused/Useless global element declations are appended into WSDL's XSD documents
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4091
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4091
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.4, nightly
>         Environment: Windows XP. 4GB RAM Intel Xeon dual-core @2.83Ghz
>            Reporter: Antonio Andrade
>            Priority: Minor
>         Attachments: AXIS2-4091.patch, JUnit Tests - Before.jpg
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Observed Behavior: 
> 1) New XML schema global elements declarations are created and appended into WSDL's XSD documents when they should not. This is the case of message <wsdl:part/>s already referencing global element declarations (through the 'element' attribute of the message part). 
> 2) Whether a message part requires a 'wrapped' element or not can be determine by reading the 'wrappedInput' and 'wrappedOutput' attributes of the 'BindingOperationEntry' inner class after the message part has been analyzed but the 'addPartToElement' method fails to properly set them for all cases (i.e. ignores whether the message part comes from an input or output message by ignoring the 'isOutMessage' argument received).
> Expected Behavior: 
> 1) No XML schema global elements declarations should be added whenever message <wsdl:part/>s use the 'element' attribute (i.e. already reference global element declarations).
> 2) The 'addPartToElement' method should take into account the value of the 'isOutMessage' argument received to set the value of the 'wrappedInput' and 'wrappedOutput' attributes of the 'BindingOperationEntry' inner class.

-- 
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-4091) WSDL11ToAxisServiceBuilder + HTTP Binding: Unused/Useless global element declations are appended into WSDL's XSD documents

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

Antonio Andrade updated AXIS2-4091:
-----------------------------------

    Attachment: AXIS2-4091.patch

Submitting patch for Review:

1) No XML schema global element declarations are appended to WSDL's XSD documents whenever message <wsdl:parts/>s are already referencing global element declarations.

2) In the 'addPartToElement' method, the 'isOutMessage' argument received is now read to consistently set the value of the 'wrappedInput' and 'wrappedOutput' attributes.

> WSDL11ToAxisServiceBuilder + HTTP Binding: Unused/Useless global element declations are appended into WSDL's XSD documents
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4091
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4091
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.4, nightly
>         Environment: Windows XP. 4GB RAM Intel Xeon dual-core @2.83Ghz
>            Reporter: Antonio Andrade
>            Priority: Minor
>         Attachments: AXIS2-4091.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Observed Behavior: 
> 1) New XML schema global elements declarations are created and appended into WSDL's XSD documents when they should not. This is the case of message <wsdl:part/>s already referencing global element declarations (through the 'element' attribute of the message part). 
> 2) Whether a message part requires a 'wrapped' element or not can be determine by reading the 'wrappedInput' and 'wrappedOutput' attributes of the 'BindingOperationEntry' inner class after the message part has been analyzed but the 'addPartToElement' method fails to properly set them for all cases (i.e. ignores whether the message part comes from an input or output message by ignoring the 'isOutMessage' argument received).
> Expected Behavior: 
> 1) No XML schema global elements declarations should be added whenever message <wsdl:part/>s use the 'element' attribute (i.e. already reference global element declarations).
> 2) The 'addPartToElement' method should take into account the value of the 'isOutMessage' argument received to set the value of the 'wrappedInput' and 'wrappedOutput' attributes of the 'BindingOperationEntry' inner class.

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