Created
October 17, 2016 18:50
-
-
Save akkida746/08f23aa15c972ad5d5fe3b89cc6bd8ca to your computer and use it in GitHub Desktop.
Adding SOAP Handler in Web Serivce Endpoint in Apache CXF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> | |
<import resource="classpath:META-INF/cxf/cxf.xml" /> | |
<jaxws:endpoint xmlns:tns="http://microsretail.com/Locate" | |
id="locate" implementor="com.godiva.ws.LocatePortImpl" wsdlLocation="wsdl/LocateServices.wsdl" | |
endpointName="tns:LocatePort" serviceName="tns:LocateService" address="/LocatePort"> | |
<jaxws:features> | |
<bean class="org.apache.cxf.feature.LoggingFeature" /> | |
</jaxws:features> | |
<jaxws:handlers> | |
<bean class="com.godiva.soapHandler.SoapHandler" /> | |
</jaxws:handlers> | |
</jaxws:endpoint> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment