Within servicemix all URIs need to be referenced as 0.0.0.0 instead of locahost or 127.0.0.1 Your consumer needs to define locationURI as "http://0.0.0.0:8192/services/ContactBeanService"
To call it, you need to have / at the end and localhost: http://localhost:8192/services/ContactBeanService/ vids wrote: > > I am trying to access a webservice deployed on jbossWS through service mix > http bc. Here is my xbean.xml > <?xml version="1.0" encoding="UTF-8"?> > <beans xmlns:http="http://servicemix.apache.org/http/1.0" > xmlns:ns1="urn:xxx.xxx.xxxx.xxx.xxxx.contact"> > > <http:endpoint service="ns1:ContactBeanService" > endpoint="ContactBean" > role="provider" > soap="true" > soapAction="" > soapVersion="1.1" > > wsdlResource="http://localhost:8080/ContactBeanService/ContactBean?wsdl" > locationURI="http://localhost:8080/jbossws/services" /> > > <http:endpoint service="ns1:ContactBeanService" > endpoint="ContactBeanPort" > targetService="ns1:ContactBeanService" > targetEndpoint="ContactBean" > role="consumer" > soap="true" > > locationURI="http://localhost:8192/services/ContactBeanService" > defaultMep="http://www.w3.org/2004/08/wsdl/in-out" /> > > > </beans> > > When I deploy the sa.zip file, it deploys fine. But when I go to > localhost:8192 and click on > http://localhost:8192/services/ContactBeanService, I get this error > > HTTP ERROR: 404 > Unable to find requested resource > RequestURI=/services/ContactBeanService/main.wsdl > > Any inputs is highly appreciated > > > -- View this message in context: http://www.nabble.com/HTTP-BC---seems-to-be-not-working-tf4437704s12049.html#a12677409 Sent from the ServiceMix - User mailing list archive at Nabble.com.
