W3C home > Mailing lists > Public > xml-dist-app@w3.org > April 2002

RE: sender/receiver ids transmitted within xml documents...

From: Mike Dierken <mike@dataconcert.com>
Date: Wed, 3 Apr 2002 16:41:25 -0800
Message-ID: <2AE31649CF989F4FB354F6D95EB0CE6E5CEBEC@xmlfmail.xmlfund.com>
To: "'Don_Crowley@jbhunt.com'" <Don_Crowley@jbhunt.com>, xml-dist-app@w3.org
Depending on how 'strongly' you want to identify the sender you can take
several approaches (few give very strong non-spoofable capabilities)
 - use transfer protocol information (http headers (Authorization:), smtp
headers (From:), etc.)
 - use soap headers (make up your own names, or look for what other people
are using)
 - use soap body (make up your own names, or look for what other people are
 - use document content

Each approch has its own unique api and/or object model (servlet, soap
toolkits, dom, etc.) in order to make it difficult, um, I mean, easy to get
to the pieces of data you want.

In the case of XML content, with sender/receiver or routing information
inside, you can load the XML content with an XML parser that supports XPath
and use an XPath statement to pull out the interesting bits.

For example:
Here are some XPath statements for the following document (assuming you are
starting from the documentElement):



  <name>Billy Blazes</name>
  <street>65535 Binary Ave</street>

  <name>Rocky Canyon</name>
  <street>65535 Binary Ave</street> 


> -----Original Message-----
> From: Don_Crowley@jbhunt.com [mailto:Don_Crowley@jbhunt.com] 
> Sent: Sunday, March 31, 2002 8:48 AM
> To: xml-dist-app@w3.org
> Subject: sender/receiver ids transmitted within xml documents...
> I am relatively new to xml but we are receiving xml documents 
> via the internet onto a server from which our software tries 
> to identify from whom the data is from and to whom it is 
> being sent.  How do I go about setting this up?  I have a DTD 
> but no information about sender or receiver.
> thanks,
> Don
Received on Wednesday, 3 April 2002 19:42:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:19 UTC