Thanks for the response;

I'm using jBoss 4.0.4, which claims to support both 1.1 and 1.2.  I've tried
deploying the SU with the xbean.xml set to both 1.1 and 1.2, and I get the
same error in both cases.  I've also tried it with the soapVersion parameter
removed entirely.

Although, I suppose I should double-check the client I wrote to make sure
that the version of soap it's creating is being correctly specified in the
xbean.xml file.

Thanks for the suggestion.

Mike



Seguy wrote:
> 
> Hello,
> 
> you can verify what kind of soap your external webservice handles: soap
> 1.1 or soap 1.2.
> It could be a mismatch inside the provider when it tries to marshal the
> response of the external webservice.
> In our team, we have tested our example against the recent release of
> servicemix (not a milestone) and it works fine.
> 
> Cheers, Carles.
>  
>    System integration department.
>    T-SYSTEMS Iberia.
> 
> 
> Mike_S wrote:
>> 
>> I just started playing around with servicemix 3.0, so if the answer to my
>> question is obvious, please forgive me!
>> 
>> I'm having a bit of trouble getting an external web-service hooked into
>> ServiceMix (version 3.0, released Sept 27, 2006).  I've scoured the
>> forums for a solution to my particular problem, but haven't found it.
>> 
>> I have a web service on a local JBoss App Server (which does work if I
>> post to it directly).  I've created a SU for servicemix that I think
>> should create a provider binding to the existing service, as well as a
>> consumer binding to be a proxy for that existing service.  I have a
>> single xbean.xml file in the SU, shown below:
>> 
>> -- Start xbean.xml ---
>> 
>> <?xml version="1.0" encoding="UTF-8"?>
>> <beans xmlns:http="http://servicemix.apache.org/http/1.0";
>> xmlns:test="urn:test:caps">
>>   <classpath>
>>     <location>.</location>
>>   </classpath>
>> 
>>   <http:endpoint     service="test:CapServiceBack"
>>                      endpoint="CapServiceBack"
>>                      role="provider"
>>                      locationURI="http://localhost:8080/capservice";
>>                      wsdlResource="http://localhost:8080/capservice?wsdl";
>>                      soap="true" soapVersion="1.1"/>
>>   
>> 
>> 
>>   <http:endpoint     service="test:CapServiceFront"
>>                      endpoint="CapServiceFront"
>>                      targetService="test:CapServiceBack"
>>                      targetEndpoint="CapServiceBack"
>>                      role="consumer"
>>                      locationURI="http://localhost:8192/CapIt";
>>                      defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
>>                      soap="true" soapVersion="1.1"/>
>> 
>> </beans>
>> 
>> -- End xbean.xml --
>> 
>> 
>> I based this xbean.xml on an example I found in these forums (and the
>> thread seemed to indicate that it worked fine).
>> 
>> When I deploy the SA containing the SU containing the xml, it deploys
>> without any errors.  When I check http://localhost:8192, it shows the
>> CapIt service as being available, but when I click on it, I get the
>> following in my browser:
>> 
>> -- Start browser dump --
>> 
>> Unable to find requested resource
>> 
>> RequestURI=/CapIt/main.wsdl
>> 
>> -- End browser dump --
>> 
>> 
>> If I use the client that works with the service and try to point it to go
>> through servicemix, I get a similar error being returned.
>> 
>> The only thing that this looks similar too is bug SM-499.  I looked over
>> the comments for that bug, and it seems to be related to WSDL-created
>> endpoints, not xbean ones.
>> 
>> Any help or suggestions would be greatly appreciated!
>> 
>> Mike
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/External-Web-Service-Question-tf2353375.html#a6565481
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to