On Oct 3, 2012, at 10:17 AM, rhalferty <[email protected]> wrote:
> We are using jaxws:endpoint in a spring context file. We have 15 endpoints
> which are similar to:
OK. Should just then be something like:
<jaxws:endpoint xmlns:tns="urn:ihe:iti:xcpd:2009" …….>
<jaxws:dataBinding>
<bean class="org.apache.cxf.jaxb.JAXBDataBinding" >
<constructor-arg index="0" ref="globalJAXBContextBean"/>
</bean>
</jaxws:dataBinding>
………
</jaxws:endpoint>
or similar where you have another bean definition that would create the
JAXBContext.
Dan
>
> <jaxws:endpoint xmlns:tns="urn:ihe:iti:xcpd:2009"
> id="RespondingGateway_Service" address="/NhinService/NhinPatientDiscovery"
> serviceName="tns:RespondingGateway_Service"
> endpointName="tns:RespondingGateway_Port_Soap"
>
> implementor="gov.hhs.fha.nhinc.patientdiscovery._10.gateway.ws.NhinPatientDiscovery"
> wsdlLocation="/WEB-INF/wsdl/NhinPatientDiscovery.wsdl">
> <jaxws:properties>
> <entry key="ws-security.callback-handler"
> value="gov.hhs.fha.nhinc.callback.cxf.CXFSAMLCallbackHandler" />
> <entry key="ws-security.signature.properties"
> value="keystore.properties" />
> <entry key="ws-security.encryption.properties"
> value="truststore.properties" />
> <entry key="ws-security.saml2.validator">
> <bean
> class="gov.hhs.fha.nhinc.callback.cxf.CONNECTSamlAssertionValidator" />
> </entry>
> </jaxws:properties>
> <jaxws:inInterceptors>
> <ref bean="securityInInterceptor" />
> </jaxws:inInterceptors>
> <jaxws:handlers>
> <ref bean="SOAPHeaderHandler" />
> </jaxws:handlers>
> </jaxws:endpoint>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Reuse-JAXB-context-in-jaxws-tp5715356p5715526.html
> Sent from the cxf-user mailing list archive at Nabble.com.
--
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com