Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Spring Web Services 1.0 M3 Released

  1. #11
    Join Date
    Nov 2006
    Location
    The Netherlands
    Posts
    11

    Default When will version 1.0 be released?

    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

  2. #12
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    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 Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  3. #13
    Join Date
    Nov 2006
    Location
    The Netherlands
    Posts
    11

    Default Minimum JDK version

    Arjen,
    What will be the minimum JDK version needed for Spring WS?
    Regards,
    Martijn de Bruijn

  4. #14
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    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.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  5. #15
    Join Date
    Dec 2006
    Posts
    6

    Default SoapMessageContext missing from 1.0M3

    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

  6. #16
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    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.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  7. #17
    Join Date
    Dec 2006
    Posts
    6

    Default

    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.

  8. #18
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    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>
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  9. #19
    Join Date
    Dec 2006
    Posts
    6

    Default

    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

  10. #20
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    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.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •