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#a6560699
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to