JAMES is definitely the right thing, if you want to /receive/ messages via SMTP. However, it sounds to me as if you want to /receive/ you messages as a generically formatted XML message. I would use SOAP for this. Check out the Axis project, at http://xml.apache.org/axis.
I have actually written several applications similar to what you are asking for. (Unfortunately I can't let you have the code.) I very much doubt whether or not any kind of a standard API is in the works. Messaging is just too diverse.
To address a few issues on which you were unclear in your email:
* How do WAP and HTML notifications work? The only way I can see that this might work would be to put something on a web/wap site. This is hardly a notification, as it requires a pull from the notifyee.
* How do you expect to send an SMS message? I work for a telco, so we just send them direct to the SMS network, using the SMPP protocol. Unless you work for a telco yourself, you will require a telco-provided gateway. As far as I am aware, there is no industry standard interface in to these gateways. (We have just written a SOAP one, for which we invented the SOAP format.)
* An XSLT transformation will not output SMTP or SMS. These are protocols, and are conversational in nature. The content of the message could be generated using XSLT, however.
Hope you find this helpful
Cheers
ADK
[EMAIL PROTECTED] wrote:
All,
I'm looking for a generic "notification server" (receives an XML doc and
user list and sends the doc formatted in a variety of ways using XSLT
depending upon the destination - WAP, SMTP, SMS, instant messaging, HTML,
etc).
James seams like it can be used for this, but not explicitly designed for
this (missing several formats that should be included for a generic
notification server). This seams like a Jakarta kind of project, but James
is about the closest thing I have found. Does anyone know of anything like
this going on in the open-source community?
Also, it seams like there should be a standard API for a web app to
communicate with a notification server, so that the actual notification
server implementation being used doesn't matter when coding the web app. I
have looked around on javasoft and the JSR's, and haven't seen anything like
this. Anyone know of anything like this in the works?
Thanks,
Chris
CONFIDENTIALITY NOTICE This electronic mail transmission and any
accompanying documents contain information belonging to the sender
("Information") that may be confidential and legally privileged. If you are
not the intended recipient, any disclosure, copying,distribution or action
taken in reliance on the Information is strictly prohibited. If you have
received the Information in error,please contact the sender by reply email
and destroy all copies of the original email. Thank you. �
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
