Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.1
-
None
-
None
Description
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>