|
From: Rao Y. <ra...@ya...> - 2003-08-12 15:02:32
|
Thanks to Bob Koon and CY. Now the request is reaching our in-house MSH. I could see the document archived in toBeDispatched directory of JWSDP. But when trying to reconstruct the document for dispatching , it is throwing NullPointer Exceptions. It is unable to find out the To Party. I downloaded the source code of JAXM & SAAJ and i am trying to figure out the problem. -Venkat ebx...@li... wrote: Send ebxmlms-develop mailing list submissions to ebx...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop or, via email, send a message with subject or body 'help' to ebx...@li... You can reach the person managing the list at ebx...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of ebxmlms-develop digest..." Today's Topics: 1. Re: Re: Hermes interoperate with jwsdp 1.0.1 (Bob Koon) 2. Re: Re: Hermes interoperate with jwsdp 1.0.1 (Bob Koon) --__--__-- Message: 1 Date: Mon, 11 Aug 2003 10:28:53 +0800 From: Bob Koon To: ebx...@li... Subject: Re: [ebxmlms-develop] Re: Hermes interoperate with jwsdp 1.0.1 Reply-To: ebx...@li... --------------040404040908090703030703 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 > - > Free, easy-to-use web site design software --------------040404040908090703030703 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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 - Free, easy-to-use web site design software --------------040404040908090703030703-- --__--__-- Message: 2 Date: Mon, 11 Aug 2003 10:33:52 +0800 From: Bob Koon To: ebx...@li... Subject: Re: [ebxmlms-develop] Re: Hermes interoperate with jwsdp 1.0.1 Reply-To: ebx...@li... --------------080109070105000800060004 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sorry that there is typo-error. Please look at the inline message.. Regards, Bob Koon Bob Koon wrote: > > 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. I mean that runMonitor.bat "will not" 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 >> - >> Free, easy-to-use web site design software > > --------------080109070105000800060004 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry that there is typo-error. Please look at the inline message.. Regards, Bob Koon Bob Koon wrote: 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. I mean that runMonitor.bat "will not" 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 - Free, easy-to-use web site design software --------------080109070105000800060004-- --__--__-- _______________________________________________ ebxmlms-develop mailing list ebx...@li... https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop End of ebxmlms-develop Digest --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |