Elements with the same name being ignored in header

0 views
Skip to first unread message

bn

unread,
Jun 9, 2008, 8:56:31 PM6/9/08
to soap4r
I am trying to send a header like so by making the following
(abbreviated here for readability) the return value of my
on_simple_outbound method in my CustomHeader subclass...
{ XSD::QName.new(nil, 'ds:Reference') => {
'xmlattr_URI' => "#Id-SOAPBody"
},
XSD::QName.new(nil, 'ds:Reference') => {
'xmlattr_URI' => "#Id-SecurityTimestamp"
}
}
I am trying to send something like <rootNode>...<ds:Reference URI="#Id-
SOAPBody"></ds:Reference><ds:Reference URI="#Id-SecurityTimestamp"></
ds:Reference>...</rootNode>, but soap4r only displays one of the
Reference nodes, not both of them. Any idea how to over-ride what
appears to be soap4r's default of ignoring nodes with the same name as
another node?
Reply all
Reply to author
Forward
0 new messages