Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Echo response missing

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

    Default

    I tried to reproduce this, but ended up with a different error. The way I made it work was to add the following to echo/src/main/webapp/WEB-INF/spring-ws-servlet.xml:

    Code:
    <bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory">
        <property name="messageFactory">
            <bean class="com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl" />
        </property>
    </bean>
    I did a mvn package after that, and copied the target/echo.war to jboss-4.2.0.GA/server/default/deploy/. Let me know if this solution works for you. Both clients (saaj and spring-ws) work with this setup.

    I'll add an entry to the FAQ about this.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  2. #12
    Join Date
    Jun 2007
    Posts
    18

    Default

    Thanks, Arjen
    I added this to my file and had to put two more jar files in my path - appserv-rt.jar and saaj-impl.jar.
    Now it works fine. Please do add this information in the faq for the benefit of others.

    Seema

  3. #13

    Default

    Quote Originally Posted by Arjen Poutsma View Post
    I tried to reproduce this, but ended up with a different error. The way I made it work was to add the following to echo/src/main/webapp/WEB-INF/spring-ws-servlet.xml:

    Code:
    <bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory">
        <property name="messageFactory">
            <bean class="com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl" />
        </property>
    </bean>
    I did a mvn package after that, and copied the target/echo.war to jboss-4.2.0.GA/server/default/deploy/. Let me know if this solution works for you. Both clients (saaj and spring-ws) work with this setup.

    I'll add an entry to the FAQ about this.
    Worked like a charm. Thanks so much!

Posting Permissions

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