|
From: Patrick Y. <kc...@ce...> - 2003-06-23 09:19:52
|
Hi Michal, Is you HempClientMessageListener implementing MessageListener interface? Or it extends from MessageListenerImpl? If possible, please attach the source code to us so that we can have a better understanding on your situation. Thanks. Regards, -Patrick P.S. I am forwarding this to the mailing list dedicated to Hermes discussions. You may want to subscribe to it at http://sourceforge.net/projects/ebxmlms. Michal Sankot wrote: >Hi, >I dowloaded Hermes installation from freebXML.org and tried to develop some >simple client using ebMS. >I get en error message though when I try to run it. As your email address is >the only one I found related to Hermes, I address my enquiry to you. > >My program consist of 2 files so far - HempClient and >HempClientMessageListener. >Problem arises when HempClient passes HempClientMessageListener to Request >constructor. I get an error message: > >-------------------------------------------------------------------------- >Cannot create request object. RequestException. >hk.hku.cecid.phoenix.message.handler.RequestException: > Failed to send query to MSH. > HTTP response code = 409 > HTTP response message = HTTP POST submitted to MessageServiceHandler >failed: java.lang.ClassNotFoundException: HempClientMessageListener > at >hk.hku.cecid.phoenix.message.handler.Request.expectMapResponse(Request.java: >1777) > at >hk.hku.cecid.phoenix.message.handler.Request.sendMessageServiceHandlerConfig >(Request.java:1270) > at hk.hku.cecid.phoenix.message.handler.Request.register(Request.java:1179) > at hk.hku.cecid.phoenix.message.handler.Request.<init>(Request.java:839) > at HempClient.initializeClient(HempClient.java:92) > at HempClient.main(HempClient.java:60) >Process terminated with exit code 0 >-------------------------------------------------------------------------- > >Why is it so ? I thought that I register MessageListener to react on >messages on CLIENT side, not server side, so there shouldn't be any problem >with classpath. >Please tell me where the problem is, or forward my enquery to a person who >would be able to solve it. > >Thank you >Michal Sankot >Ireland > > > > |