ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Hangin' with the JAX Pack, Part 2: JAXM
Subject:   Code doesn't work
Date:   2002-08-22 06:09:53
From:   handtwerk
Response to: Code doesn't work

Yep, seems as if the adaptions made to the SUN code haven't been enough - at least two things have to be changed:

1) the class has to implement javax.xml.messaging.OnewayListener instead of AsyncListener
2) the method paramter has to be of type javax.xml.soap.SOAPMessage instead of Message

Best regards,
Arne Handt