Announcement Announcement Module
Collapse
No announcement yet.
Pox & Jms Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pox & Jms

    Is there any documentation or examples for setting up Spring-WS w/ POX over JMS?

    If not could you talk me through how things would be wired?

    Thanks!

    Andrew

  • #2
    Well, the JMS code is still in the sandbox. And there is a sample application context for configuring JMS in the airline sample here.

    The only thing you would need to change is use the DomPoxMessageFactory instead of using a SOAP one.

    Hope this helps,

    Comment


    • #3
      DomPoxMessageFactory creates an empty xml for me.

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>

      My code looks like this

      <int:channel id="requestChannel" datatype="com.xx.yy.schema.REQ" />

      <int-ws:outbound-gateway
      uri="http://localhost:8080/service/myservice" id="Gateway"
      request-channel="requestChannel" reply-channel="responseChannel"
      auto-startup="true" marshaller="mesgMarshaller" unmarshaller="mesgMarshaller"
      message-factory="msgFactory" />

      <bean id="msgFactory" class="org.springframework.ws.pox.dom.DomPoxMessag eFactory">
      </bean>


      <oxm:jaxb2-marshaller id="mesgMarshaller">
      <oxm:class-to-be-bound name="com.xx.yy.schema.REQ"/>
      <oxm:class-to-be-bound name="com.xx.yy.schema.RES"/>
      </oxm:jaxb2-marshaller>

      Please let me know if I have missed out on something?

      Comment

      Working...
      X