You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "willem Jiang (JIRA)" <ji...@apache.org> on 2007/03/11 08:58:09 UTC

[jira] Created: (CXF-455) Can't build Service from class with the right MessageInputName and MessageOutputName

Can't build Service from class with the right MessageInputName and MessageOutputName
------------------------------------------------------------------------------------

                 Key: CXF-455
                 URL: https://issues.apache.org/jira/browse/CXF-455
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0-RC
            Reporter: willem Jiang
         Assigned To: willem Jiang
             Fix For: 2.0-RC


Current CXF's code first approach is implemented by simple front end's ReflectionServiceFactoryBean's buildServiceFromClass. It work for turning the Java class into a service model by looking some service information from ServiceConfiguration list, and will try to get the wrapped MessageInputName and MessageOutputName from JaxWsServiceConfiguration.

 But the JaxWsServiceConfiguration does not implement these methods, so ReflectionServiceFactoryBean will take the MessageInputName and MessageOutputName from the DefaultServiceConfiguration which set the message's target namespace as the operation namespace { http://cxf.apache.org/greeter_control}, but the message's target namespace actually should be {http://cxf.apache.org/greeter_control/types }.


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


[jira] Resolved: (CXF-455) Can't build Service from class with the right MessageInputName and MessageOutputName

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

willem Jiang resolved CXF-455.
------------------------------

    Resolution: Fixed

This issue has been resolved in the revision  516867

> Can't build Service from class with the right MessageInputName and MessageOutputName
> ------------------------------------------------------------------------------------
>
>                 Key: CXF-455
>                 URL: https://issues.apache.org/jira/browse/CXF-455
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0-RC
>            Reporter: willem Jiang
>         Assigned To: willem Jiang
>             Fix For: 2.0-RC
>
>
> Current CXF's code first approach is implemented by simple front end's ReflectionServiceFactoryBean's buildServiceFromClass. It work for turning the Java class into a service model by looking some service information from ServiceConfiguration list, and will try to get the wrapped MessageInputName and MessageOutputName from JaxWsServiceConfiguration.
>  But the JaxWsServiceConfiguration does not implement these methods, so ReflectionServiceFactoryBean will take the MessageInputName and MessageOutputName from the DefaultServiceConfiguration which set the message's target namespace as the operation namespace { http://cxf.apache.org/greeter_control}, but the message's target namespace actually should be {http://cxf.apache.org/greeter_control/types }.

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