ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ODE-653) OdeSUManager produces component-task-result strings that are not fully compliant.
Date Mon, 21 Sep 2009 18:14:16 GMT

     [ https://issues.apache.org/jira/browse/ODE-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Boisvert resolved ODE-653.
-------------------------------

    Resolution: Fixed

Applied 2nd patch.

boisvert@sixtine:~/svn/ode/1.1$ svn commit -m "ODE-653: OdeSUManager produces component-task-result
strings that are not fully compliant (2nd patch)"
Sending        jbi/src/main/java/org/apache/ode/jbi/OdeSUManager.java
Transmitting file data .
Committed revision 817355.


> OdeSUManager produces component-task-result strings that are not fully compliant. 
> ----------------------------------------------------------------------------------
>
>                 Key: ODE-653
>                 URL: https://issues.apache.org/jira/browse/ODE-653
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3.3
>            Reporter: Greg Lucas
>            Priority: Minor
>             Fix For: 1.3.4
>
>         Attachments: ODE-653-1.x-patch.txt, ODE-653-1.x-patch2.txt
>
>
> The JBI spec specifies that a ServiceUnitMnager must return an XML string of the component-task-result
for the deploy/undeploy methods. The component-task-result must conform to the http://java.sun.com/xml/ns/jbi/management-message
schema.
> The OdeSUManager currently returns component-task-result strings that do not declare
the namespace, so parsing these strings produces an XML document that does actually conform
to the schema in the spec. 
> ServiceMix will treat these result strings as invalid and ignore them. I've submitted
an SMX4 patch to handle the case where no namespace is declared, but think that ODE should
fully conform to the spec regardless of whether that patch gets applied. 
> (Note that the ServiceUnitManager javadoc is a bit misleading as the example it shows
has the xmlns declaration on the wrong node. I think the text of the JBI spec is more authoritative
and would consider the example in the javadoc incorrect as well. The ODE result string doesn't
match the example either.)

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


Mime
View raw message