Hi,
I have successfully implemented Web Service proxy using Service mix 4.4.1,
camel 2.8.4 and cxf 2.4.6.
Problem is i am not able to access WSDL in the browser if i specify address
as /XYZWSV1Port instead of specifying
http://localhost:8185/camel-example-cxf-proxy/webservices/XYZWSV1Port.
I am trying to install Web Service as a stand alone bundle in service mix
and able to create proxy for actual service.
My camel-config.xml looks like
<import resource="classpath:META-INF/cxf/cxf.xml"/>
<bean id="proxyInProcessor" class="com.abc.cxf.proxy.ProxyInProcessor"/>
<bean id="proxyOutProcessor"
class="com.abc.cxf.proxy.ProxyOutProcessor"/>
<cxf:cxfEndpoint id="XYZWSV1"
<b>address="/XYZWSV1Port"*
endpointName="s:XYZWSV1Port"
serviceName="s:XYZWSV1Service"
wsdlURL="etc/xyzwsV1.wsdl"
xmlns:s="http://www.abc.com/XYZWS"/>
When i try to deploy bundle, i could see following in the logs.
17:26:23,786 | INFO | ExtenderThread-6 | ReflectionServiceFactoryBean
| 141 - org.apache.cxf.bundle - 2.4.6 | Creating Service
{http://www.abc.com/XYZWS}XYZWSV1Service from WSDL: etc/xyzwsV1.wsdl
17:26:23,817 | INFO | ExtenderThread-6 | ServerImpl |
141 - org.apache.cxf.bundle - 2.4.6 | Setting the server's publish address
to be /XYZWSV1Port
My bundle is built with groupid- cws and artifactid-abcAPI.
What url can i use to access WSDL from browser???
I am getting following error with this wsdl url -
http://localhost:8181/abcAPI/XYZWSV1Port?WSDL
HTTP ERROR: 404
Problem accessing /abcAPI/CustomerWSV1Port. Reason:
Not Found
Powered by Jetty://
Thanks,
Potti
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Install-WS-as-bundles-and-opening-accessing-WSDL-in-browser-tp5714152.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.