You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dain Sundstrom (JIRA)" <ji...@apache.org> on 2007/12/11 04:14:43 UTC

[jira] Created: (CXF-1281) SOAP Encoded Support

SOAP Encoded Support
--------------------

                 Key: CXF-1281
                 URL: https://issues.apache.org/jira/browse/CXF-1281
             Project: CXF
          Issue Type: New Feature
          Components: Aegis Databinding
            Reporter: Dain Sundstrom
         Attachments: struct.diff

The attached patch adds support for SOAP encoded structs and references to Aegis.  The patch includes javadoc and unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (CXF-1281) SOAP Encoded Support

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

Dain Sundstrom reopened CXF-1281:
---------------------------------


Attempt to make a subtask of RPC/Encoded task

> SOAP Encoded Support
> --------------------
>
>                 Key: CXF-1281
>                 URL: https://issues.apache.org/jira/browse/CXF-1281
>             Project: CXF
>          Issue Type: New Feature
>          Components: Aegis Databinding
>            Reporter: Dain Sundstrom
>            Assignee: Benson Margulies
>             Fix For: 2.1
>
>         Attachments: struct.diff
>
>
> The attached patch adds support for SOAP encoded structs and references to Aegis.  The patch includes javadoc and unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-1281) SOAP Encoded Support

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

Dain Sundstrom updated CXF-1281:
--------------------------------

    Issue Type: Sub-task  (was: New Feature)
        Parent: CXF-1300

> SOAP Encoded Support
> --------------------
>
>                 Key: CXF-1281
>                 URL: https://issues.apache.org/jira/browse/CXF-1281
>             Project: CXF
>          Issue Type: Sub-task
>          Components: Aegis Databinding
>            Reporter: Dain Sundstrom
>            Assignee: Benson Margulies
>             Fix For: 2.1
>
>         Attachments: struct.diff
>
>
> The attached patch adds support for SOAP encoded structs and references to Aegis.  The patch includes javadoc and unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-1281) SOAP Encoded Support

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

Dain Sundstrom updated CXF-1281:
--------------------------------

    Attachment: struct.diff

> SOAP Encoded Support
> --------------------
>
>                 Key: CXF-1281
>                 URL: https://issues.apache.org/jira/browse/CXF-1281
>             Project: CXF
>          Issue Type: New Feature
>          Components: Aegis Databinding
>            Reporter: Dain Sundstrom
>         Attachments: struct.diff
>
>
> The attached patch adds support for SOAP encoded structs and references to Aegis.  The patch includes javadoc and unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-1281) Encoded: Struct and Ref

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

Dain Sundstrom resolved CXF-1281.
---------------------------------

    Resolution: Fixed

> Encoded: Struct and Ref
> -----------------------
>
>                 Key: CXF-1281
>                 URL: https://issues.apache.org/jira/browse/CXF-1281
>             Project: CXF
>          Issue Type: Sub-task
>          Components: Aegis Databinding
>            Reporter: Dain Sundstrom
>            Assignee: Benson Margulies
>             Fix For: 2.1
>
>         Attachments: struct.diff
>
>
> The attached patch adds support for SOAP encoded structs and references to Aegis.  The patch includes javadoc and unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1281) SOAP Encoded Support

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550443 ] 

Benson Margulies commented on CXF-1281:
---------------------------------------

Dain, could you please post some theory of operation of the BeanType changes? What was the proxy stuff that you took out?

> SOAP Encoded Support
> --------------------
>
>                 Key: CXF-1281
>                 URL: https://issues.apache.org/jira/browse/CXF-1281
>             Project: CXF
>          Issue Type: New Feature
>          Components: Aegis Databinding
>            Reporter: Dain Sundstrom
>            Assignee: Benson Margulies
>         Attachments: struct.diff
>
>
> The attached patch adds support for SOAP encoded structs and references to Aegis.  The patch includes javadoc and unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1281) SOAP Encoded Support

Posted by "Dain Sundstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550673 ] 

Dain Sundstrom commented on CXF-1281:
-------------------------------------

The code still support proxies.  The BeanType code was using the following if block to choose to set a property on the actual object or the proxy delegate:

if (isProxy) {
    delegate.writeProperty(name.getLocalPart(), writeObj);
} else {
    writeProperty(name, object, writeObj, clazz, inf);
}

I replaced this with equivalent to the following code:

Object target = isProxy ? delegate : object;

writeProperty(name, target, writeObj, clazz, inf);

protected void writeProperty(QName name, Object object, Object property, Class impl, BeanTypeInfo inf)
    throws DatabindingException {

    if (object instanceof InterfaceInvocationHandler) {
        InterfaceInvocationHandler delegate = (InterfaceInvocationHandler) object;
        delegate.writeProperty(name.getLocalPart(), property);
        return;
    }
    // existing writePropery code here
}

The reason I made this change, I have a single place I can hook property setting (so I can deal with SoapRef objects), without introducing a new method with 7 arguments (yuck).



> SOAP Encoded Support
> --------------------
>
>                 Key: CXF-1281
>                 URL: https://issues.apache.org/jira/browse/CXF-1281
>             Project: CXF
>          Issue Type: New Feature
>          Components: Aegis Databinding
>            Reporter: Dain Sundstrom
>            Assignee: Benson Margulies
>         Attachments: struct.diff
>
>
> The attached patch adds support for SOAP encoded structs and references to Aegis.  The patch includes javadoc and unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-1281) Encoded: Struct and Ref

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

Dain Sundstrom updated CXF-1281:
--------------------------------

    Summary: Encoded: Struct and Ref  (was: SOAP Encoded Support)

> Encoded: Struct and Ref
> -----------------------
>
>                 Key: CXF-1281
>                 URL: https://issues.apache.org/jira/browse/CXF-1281
>             Project: CXF
>          Issue Type: Sub-task
>          Components: Aegis Databinding
>            Reporter: Dain Sundstrom
>            Assignee: Benson Margulies
>             Fix For: 2.1
>
>         Attachments: struct.diff
>
>
> The attached patch adds support for SOAP encoded structs and references to Aegis.  The patch includes javadoc and unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CXF-1281) SOAP Encoded Support

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

Benson Margulies reassigned CXF-1281:
-------------------------------------

    Assignee: Benson Margulies

> SOAP Encoded Support
> --------------------
>
>                 Key: CXF-1281
>                 URL: https://issues.apache.org/jira/browse/CXF-1281
>             Project: CXF
>          Issue Type: New Feature
>          Components: Aegis Databinding
>            Reporter: Dain Sundstrom
>            Assignee: Benson Margulies
>         Attachments: struct.diff
>
>
> The attached patch adds support for SOAP encoded structs and references to Aegis.  The patch includes javadoc and unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-1281) SOAP Encoded Support

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

Benson Margulies resolved CXF-1281.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

Patch applied.

> SOAP Encoded Support
> --------------------
>
>                 Key: CXF-1281
>                 URL: https://issues.apache.org/jira/browse/CXF-1281
>             Project: CXF
>          Issue Type: New Feature
>          Components: Aegis Databinding
>            Reporter: Dain Sundstrom
>            Assignee: Benson Margulies
>             Fix For: 2.1
>
>         Attachments: struct.diff
>
>
> The attached patch adds support for SOAP encoded structs and references to Aegis.  The patch includes javadoc and unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.