You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Vinh Nguyen (JIRA)" <ji...@apache.org> on 2007/02/27 04:03:05 UTC

[jira] Created: (MUSE-202) badly formatted array xml in request body

badly formatted array xml in request body
-----------------------------------------

                 Key: MUSE-202
                 URL: https://issues.apache.org/jira/browse/MUSE-202
             Project: Muse
          Issue Type: Bug
    Affects Versions: 2.1.0
         Environment: Muse 2.1.0 with Axis2, Eclipse 3.2.1, WinXP
            Reporter: Vinh Nguyen
         Assigned To: Dan Jemiolo


A client request containing either an Element[] or a custom Object[] seems to generate a badly formed xml request body.  There are 2 problems with the output:
1) The xml array elements are stripped of their top node's QName, and
2) The array elements are badly nested.

Attached are some client proxy files to test this issue, and a result.txt file that shows the problem output.

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


[jira] Updated: (MUSE-202) badly formatted array xml in request body

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

Vinh Nguyen updated MUSE-202:
-----------------------------

    Attachment: ArrayElementsTest.zip

Zip file containing test classes and test output log.

> badly formatted array xml in request body
> -----------------------------------------
>
>                 Key: MUSE-202
>                 URL: https://issues.apache.org/jira/browse/MUSE-202
>             Project: Muse
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Muse 2.1.0 with Axis2, Eclipse 3.2.1, WinXP
>            Reporter: Vinh Nguyen
>         Assigned To: Dan Jemiolo
>         Attachments: ArrayElementsTest.zip
>
>
> A client request containing either an Element[] or a custom Object[] seems to generate a badly formed xml request body.  There are 2 problems with the output:
> 1) The xml array elements are stripped of their top node's QName, and
> 2) The array elements are badly nested.
> Attached are some client proxy files to test this issue, and a result.txt file that shows the problem output.

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


[jira] Closed: (MUSE-202) badly formatted array xml in request body

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

Dan Jemiolo closed MUSE-202.
----------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

No need - I figured it out and fixed it. I thought it would be a big problem, turns out it's a simple conditional check. Your sample code helped a lot in making this a quick fix. Let me know if you see any more problems related to this in tomorrow's build.


> badly formatted array xml in request body
> -----------------------------------------
>
>                 Key: MUSE-202
>                 URL: https://issues.apache.org/jira/browse/MUSE-202
>             Project: Muse
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Muse 2.1.0 with Axis2, Eclipse 3.2.1, WinXP
>            Reporter: Vinh Nguyen
>         Assigned To: Dan Jemiolo
>             Fix For: 2.2.0
>
>         Attachments: ArrayElementsTest.zip
>
>
> A client request containing either an Element[] or a custom Object[] seems to generate a badly formed xml request body.  There are 2 problems with the output:
> 1) The xml array elements are stripped of their top node's QName, and
> 2) The array elements are badly nested.
> Attached are some client proxy files to test this issue, and a result.txt file that shows the problem output.

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


[jira] Commented: (MUSE-202) badly formatted array xml in request body

Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MUSE-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476168 ] 

Dan Jemiolo commented on MUSE-202:
----------------------------------

Can you provide the WSDL that you used to create this scenario? Otherwise it's hard to know if we're replicating the right thing.

> badly formatted array xml in request body
> -----------------------------------------
>
>                 Key: MUSE-202
>                 URL: https://issues.apache.org/jira/browse/MUSE-202
>             Project: Muse
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Muse 2.1.0 with Axis2, Eclipse 3.2.1, WinXP
>            Reporter: Vinh Nguyen
>         Assigned To: Dan Jemiolo
>         Attachments: ArrayElementsTest.zip
>
>
> A client request containing either an Element[] or a custom Object[] seems to generate a badly formed xml request body.  There are 2 problems with the output:
> 1) The xml array elements are stripped of their top node's QName, and
> 2) The array elements are badly nested.
> Attached are some client proxy files to test this issue, and a result.txt file that shows the problem output.

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


[jira] Commented: (MUSE-202) badly formatted array xml in request body

Posted by "Vinh Nguyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MUSE-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476468 ] 

Vinh Nguyen commented on MUSE-202:
----------------------------------

Sorry, I don't have a wsdl for the example code I included here.  I simply took the proxy class from the "simple" sample included with Muse 2.1.0, and modified it to output the xml request using 3 different ways of using an array for an operation parameter.  No server-side code is needed for my example because it is primarily meant to show the output from the client to some arbitrary server.  If I have more time in the next few days, I can try to build a more complete sample program and post it.

> badly formatted array xml in request body
> -----------------------------------------
>
>                 Key: MUSE-202
>                 URL: https://issues.apache.org/jira/browse/MUSE-202
>             Project: Muse
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Muse 2.1.0 with Axis2, Eclipse 3.2.1, WinXP
>            Reporter: Vinh Nguyen
>         Assigned To: Dan Jemiolo
>         Attachments: ArrayElementsTest.zip
>
>
> A client request containing either an Element[] or a custom Object[] seems to generate a badly formed xml request body.  There are 2 problems with the output:
> 1) The xml array elements are stripped of their top node's QName, and
> 2) The array elements are badly nested.
> Attached are some client proxy files to test this issue, and a result.txt file that shows the problem output.

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