When will version 1.0 be released? How many milestones are planned prior to the 1.0 version? Which JDK version is minimal required for Spring-WS?
Regards,
Martijn de Bruijn
When will version 1.0 be released? How many milestones are planned prior to the 1.0 version? Which JDK version is minimal required for Spring-WS?
Regards,
Martijn de Bruijn
If no major new issues are found, m3 will be the last milestone. We will go into release candidates after it and 1.0 will be released in Q2 2007.
Arjen,
What will be the minimum JDK version needed for Spring WS?
Regards,
Martijn de Bruijn
Currently, it's JDK 1.3 and above. But there is a poll to require 1.4 here: http://forum.springsource.org/showthread.php?t=34900.
Dear Arjen,
I have downloaded 1.0M3 and read the migration guide, but there is no mention of SoapMessageContext that seems to have disappeared. I have code in 1.0M2 that uses it.
What is the appropriate replacement in M3?
Best wishes, Ivan
Yes, you are right: the SoapMessageContext has been removed. I don't know what you used it for, but the plain MessageContext should give you the same behavior, though you might have to cast request or response to SoapMessage.
Let me know if you're missing something.
Dear Arjen,
I have a class that implements MessageEndpoint and checks to see if the MessageContext is an instance of SoapMessageContext and then processes that message.
I did the casting as you suggested. Thanks. However, now I am having a problem with MessageEndpointAdapterHandler that also does not appear to exist any more. I didn't even realize I was using it but it is in my springws-servllet.xml file that I got from one of the samples a couple of months ago and haven't looked at since.
The snippet is:
<beans>
<bean id="messageEndpointHandlerAdapter"
class=""org.spring.framework.ws.transport.http.Mes sageEndpointHandlerAdapter">
<property name="messageContextFactory">
<bean class="org.springframework.ws.soap.saaj.SaajSoapMe ssageContextFactory"/>
</property>
</bean>
Is there a replacement for this in 1.0M3 or should it be done completely differently?
Thanks for your help.
Best wishes, Ivan
Last edited by ibiddles; Mar 16th, 2007 at 12:56 PM. Reason: More information obtained.
The replacement for m4 would be:
Code:<beans> <bean id="handlerAdapter" class=""org.spring.framework.ws.transport.http. WebServiceMessageReceiverHandlerAdapter"> <property name="messageFactory"> <bean class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"/> </property> </bean> </beans>
Dear Arjen,
Thank you, you have been amazingly helpful. My application now works fine with 1.0M3 in Tomcat 5.5.20.
I have (hopefully) one last issue. I am trying to port the application to Apache Geronimo to integrate it with another project that is shipped in Geronimo.
I am getting the exact problem that you documented elsewhere of the SaajSoapMessageFactory not being found because the container does not support SAAJ 1.3. You suggest there to remove the SAAJ 1.3 jar files and replace them with what the container supports.
This leads to two questions:
a. Do I lose anything significant by downgrading to the SAAJ 1.1 that Geronimo supports?
b. Where does one find SAAJ 1.1 JAR files anyway? I have searched the web, including the Sun site and I couldn't find anywhere to download saaj-api or saal-impl 1.1 version JAR files?
Thanks again for all your help.
Best wishes, Ivan
I think Geronimo implements J2EE 1.4, so that means that it supports SAAJ 1.2 (using Axis 1.4 as the impementation). So the idea is to compile with SAAJ 1.2, and to not include that in the war, just like you would with any other J2EE library.
SAAJ 1.3 added SOAP 1.2 support as one of the biggest features. However, most people use SOAP 1.1 anyway, so you don't miss much.