As Arjen is aware, and several others have experienced, the JBoss javax.xml.soap implementation has some... issues.
Specifically the message it produces from its MessageFactory implementation causes problems with the Transformer when the responseElement from an endpoint is transformed into the request portion of the message.
You can force the use of the sun MessageFactory implementation in your servlet.xml file as follows:
I hope this helps some people attempting to get spring-ws working on Jboss.Code:<bean id="messageFactory" class="com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl" /> <bean id="messageContextFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageContextFactory"> <property name="messageFactory" ref="messageFactory" /> </bean> <bean id="messageEndpointHandlerAdapter" class="org.springframework.ws.transport.http.MessageEndpointHandlerAdapter"> <property name="messageContextFactory" ref="messageContextFactory"/> </bean>


Reply With Quote
