Oh, I see your what the problem is. Your WSDL is not working. Well, getting a
WSDL to work is not as simple as dropping it into your SU. You need to make
some changes. Please read help. But to see if your actual service is
deployed. Send a message to that URL with SOAPUI.




vids wrote:
> 
> I tried exactly as you mentioned and still I get the same error.
> 
> 
> 
> netflexity wrote:
>> 
>> 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#a12678054
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to