|
From: Bob K. <py...@ce...> - 2003-08-11 02:26:24
|
To send a ebxml message to another MSH using Hermes, the model should be something like this: Client (runMonitor.bat) -- > Hermes MSH --> your MSH. Therefore the msh_client.properties.xml should be pointed to a Hermes MSH, and Hermes MSH will help you to send the message to your in-house MSH. The problem you encounter may be due to the case like: Client (runMonitor.bat) --> your MSH Please note that runMonitor.bat will only run a client to connect to Hermes MSH,, and it will be startup the Hermes MSH itself. Regards, Bob Koon Rao Yerubandi wrote: > CY > > > > Thanks for your reply > > i am trying to use runmonitor.bat to send a PO to our in-house > implementation . it is using the msh_client.properties.xml and it is > pointing to my local MSH. > > but from the hermes code i found out that prior to sending a ebxml > message across , it is forming a command object with > messageservicehandlerconfig information and trying to post it to our > in-house implementation. but on ( our end ) jwsdp end it is failing > with a Invalid content-type error. > > > > From the code of Request.java i find that it is calling register() -> > . I want to know if this > > sending of MSH ConfigInfo to other MSH is a mandatory step. > > > > Just to be sure i will runMonitor.bat again and post a reply back to > the list. > > -Venkat > > > > ebx...@li... wrote: > > , > > > javax.xml.soap.SOAPException: Invalid > Content-Type:application/octet-stream at > > Cannot create request objects. > > hk.hku.cecid.phoenix.message.handler.RequestException: > > Failed to send query to MSH. > > HTTP response code = 500 > > HTTP response message = Internal Server Error > > at > hk.hku.cecid.phoenix.message.handler.Request.expectMapResponse(Unknow > > n Source) > > javax.xml.soap.SOAPException: Invalid > Content-Type:application/octet-stream > > > > so i was wondering if i need to change anything MIME related to > make Hermes interoperate with jwsdp 1.0.1. i am not using SMTP . > > application/octet-stream is the private Command object we define. > Do you set up Hermes in this way: you create Request and > msh_client.properties.xml properly points to your *local Hermes MSH*. > Request serializes a Command obj! ect to local Hermes and it does > the job > on behalf of Request. > > Regards, > CY > > ---------------------------------------------------------------------------- > Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/ > Technology Officer, > Centre for E-Commerce Infrastructure Development, > The University of Hong Kong > ---------------------------------------------------------------------------- > > > > > --__--__-- > > _______________________________________________ > ebxmlms-develop mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop > > > End of ebxmlms-develop Digest > > ------------------------------------------------------------------------ > Do you Yahoo!? > Yahoo! SiteBuilder > <http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com> - > Free, easy-to-use web site design software |