[ 
http://jira.codehaus.org/browse/XFIRE-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Tremblay updated XFIRE-901:
----------------------------------

    Attachment: AegisBindingProvider_fix.txt

The client is also a bit problematic.
The AegisBindingProvider had to be fixed also.

This fix will allow clients to set a JDOM Element to null (xsi:nil).


> "Not enough message parts for the operation" when using jdom.Element 
> parameters
> -------------------------------------------------------------------------------
>
>                 Key: XFIRE-901
>                 URL: http://jira.codehaus.org/browse/XFIRE-901
>             Project: XFire
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.2
>         Environment: Windows XP Pro.
> JRE 1.5.0_09
>            Reporter: Daniel Tremblay
>         Assigned To: Dan Diephouse
>            Priority: Minor
>         Attachments: AegisBindingProvider_fix.txt, StaxBuilder_fix.txt
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> The following method would raise the exception "Not enough message parts for 
> the operation":
> public String MyMethod(String a, Element b,String c);
> But, the following method would function properly:
> public String MyMethod(String a, String c, Element b);
> The problem stems from the org.codehaus.xfire.util.jdom.StaxBuilder.buildTree 
> method parsing up (current = current.getParentElement() ).
> For the stated example, the params collection would only appear to have two 
> items instead of three.
> The SOAP body would look like this:
> <soapenv:Body>
>       <mtb:MyMethod>
>          <mtb:a>DAN</mtb:a>
>        <mtb:b><myelement>1</myelement></mtb:b>
>        <mtb:c>null</mtb:c>
>       </mtb:MyMethod>
> </soapenv:Body>
> What ended up happening is that mtb:b would then contain the mtb:c element.
> The fix is very simple.  Still need to regression test.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to