|
From: Gait B. <gai...@ti...> - 2006-01-04 15:02:35
|
Hi John, ebXML 2.0 does support syncReply for business messages (payload), but Hermes does not AFAIK. You cannot use the Acknowledgment for this, that's just for reliable messaging purposes (Hermes does support syncReply for Acknowledgments and Errors, but those are fixed and Hermes generated). If the sender is not capable of using a HTTP(S) URL for receiving messages, you can also use SMTP/POP3. This way you can get around the NAT issue. Hermes gets around the NAT through the client/server architecture, where the server is accessible from the internet, and from the client behind the NAT. An ebMS endpoint behind a NAT doesn't make a lot of sense... kind regards, Gait Boxman. john saltza wrote: > I would need to return a data structure as return value from a message > reception. The whole thing has to be done in a synchronous way because > the client (the one who posts the message) is behind a NAT (so the IP > is not directly accesible and the receiver cannot instantiate a > connection with the client whenever he wants) . > I have tested the Acknowledge thing but the structure returned is as > far as I know fixed (it is generated automatically without any kind of > interaction with my onMessage function - in fact it looks as if the > response with the acknowledgement is returned well before my onMessage > returns). The ideal thing would be to be able to insert a custom made > data structure in my onMessage that would somehow be sent in the > response back and would be readable on the calling end. > This would be a little like using EBMS to encapsulate a web service: I > pass a request as a XML document (ebXMLMessage) and receive a response > as another XML document (an ebXMLMessage again) that actually can > contain response information, and all of this encapsulated with EBXML > and using XML functionalities like signing and validation and so on. > > Is this possible with Hermes? > Can this be done with EBXML? > > Thanks in advance. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > ebxmlms-develop mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop > |