|
From: Frankie L. <fr...@mi...> - 2002-10-22 06:31:01
|
If you want the message to be written to the path specified in the URL, the path must also be specified exactly in the /Property/MSH/MessageListener/TrustedRepository, which is actually a list of paths delimited by semicolon. For example, if the URL returned by getClientUrl() is "file://C:/tmp", then "C:/tmp" should be specified in /Property/MSH/MessageListener/TrustedRepository. The reason for this design is to prevent any malicious programs from requesting the MSH to write messages to arbitrary locations, which can be a security threat if the MSH runs in a privileged user account. Best regards, Frankie ----- Original Message ----- From: <ant...@re...> To: <ebx...@li...> Sent: Tuesday, October 22, 2002 2:16 PM Subject: [ebxmlms-develop] URL and File base document receipt > I'm having a bit of trouble understanding how the URL and file based doc > receipt works. > > The documentation states that for MSH to post the received document to a URL > or file system, instead of using the onMessage function > to provide a URL in the getClientUrl function. > > Using the LoopBack Class as an example, if I return a Url such as > "file://C:/tmp" in the getClientUrl function, should the message that the > loopback class has sent to itself be written to the directory that I > specified. I have tried this and it seems that this is not the case. It > still calls the onMessage function and there are no files written to the > directory I specified. > > Any info is appreciated, > > Thanks > > Anthony Ellis > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > http://www.sun.com/javavote > _______________________________________________ > ebxmlms-develop mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop > |