Mar 21st, 2008, 09:15 PM
Spring-WS interoperable with WCF?
I have a Spring-WS 1.0.3 service deployed, and it works fine from my java clients (using jaxws). However, I now need to make the service available for .Net WCF clients (.Net 3.5). There seems to be some issue somewhere here, but I'm not sure where the problem is (WCF client or serverside). The serverside error is:
Mar 21, 2008 10:06:02 PM com.sun.xml.messaging.saaj.soap.EnvelopeFactory createEnvelope
SEVERE: SAAJ0511: Unable to create envelope from given source
HTTP request looks like this from my WCF client:
User-Agent: Jakarta Commons-HttpClient/3.0.1
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
How can we get the .Net WCF client (basicHttpBinding using Soap 1.1) to talk to the server?
Mar 25th, 2008, 07:58 AM
Judging by the user agent, that request seems to be coming from Jakarta Commons-HttpClient/3.0.1, not Windows Communication Foundation. And I don't see anything wrong with the request.
In general, Spring-WS is compatible with WCF, there are quite a lot of sample clients in the distribution which indicate this.
Mar 28th, 2008, 04:58 PM
Actually my problem was resolved after following descriptions here: http://forum.springframework.org/arc...p/t-38582.html
I.e. adding newer xalan and xerces dependencies made WCF clients talk to my Spring-WS service: