cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Paibir (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-937) Features does not work with a JAX-WS Dispatch Client when defined via spring config.
Date Thu, 30 Aug 2007 17:32:30 GMT

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

Ajay Paibir resolved CXF-937.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.2

This bug fix enables CXF Features to be applied via config when JAX-WS Dispatch API is being
used. 

> Features does not work with a JAX-WS Dispatch Client when defined via spring config.
> ------------------------------------------------------------------------------------
>
>                 Key: CXF-937
>                 URL: https://issues.apache.org/jira/browse/CXF-937
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Ajay Paibir
>            Assignee: Ajay Paibir
>             Fix For: 2.0.2
>
>
> I have a JAX-WS Dispatch Client which looks as below 
> Service service = Service.create(new QName("MyService", "http://com.iona.cxf.type_test"));
> service.addPort(portName, "soap_binding_id",  endpointUrl);
> Dispatch<Object> dispatcher = service.createDispatch(portName, ctx, Service.Mode.PAYLOAD);
> JAXBContext jaxbCtx = JAXBContext.newInstance("com.iona.cxf.type_test.jaxbtypes");
> QName portName = new QName("http://com.iona.cxf.type_test", "HttpPort");
> String endpointUrl = "http://localhost:60123/";
>         
> SimpleStruct inObj = new SimpleStruct();
> Object outObj = dispatcher.invoke(inObj);
> Now i have defined cxf configuration snipet
> I don't see the logging interceptors being added or any custom features that i have added
to the snipet.
> <beans xmlns="http://www.springframework.org/schema/beans"
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xmlns:jaxws="http://cxf.apache.org/jaxws"
>        xmlns:core="http://cxf.apache.org/core"
>        xsi:schemaLocation="
> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
> http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
> http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
>      <jaxws:client name="{http://com.iona.cxf.type_test}HttpPort" createdFromAPI="true"">
>          <jaxws:features>
>              <core:logging/>
>          </jaxws:features>
>     </jaxws:client>
> </beans>

-- 
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