Hi Frederik
I think your question should be posted to the Axis2 Java developer
mailing list. Synapse uses Apache Axis2 underneath
asankha
Frederik Juchart wrote:
Hi,
I'm currently working on my diploma thesis "developing a routing mechanism for
soap messages". In addition to "simply" routing the message from one node to
another I have to dynamically (depending on the routing) define the sequence in
which soap headers are processed.
Example: someone sends a soap message and wants that message to be routed to a
logging service, a signature service and an encryption service in exactly that
order. These services are addressed via distinct soap headers. There wouldn't
be a problem if each soap node could only understand one of those headers...
but...
If one soap node was able to process all of those headers I would have to make
sure that the headers are executed in the correct order.
I know that the soap standard does not define a sequence on headers, but it
says "The processing of one or more SOAP header blocks MAY control or determine
the order of processing for other SOAP header blocks and/or the SOAP body. For
example, one could create a SOAP header block to force processing of other SOAP
header blocks in lexical order." - which is what I want to do, though I wont
use lexical order, of course ;)
I am currently trying to implement a mechanism to define the processing
sequence of soap headers.
As I want the routing/sequence of headers to be defined within the message (as
a soap header) I would have to be able to change the sequence of header
processing in synapse while processing the "routing" header _at runtime_ ...
Is it possible to change the sequence of header processing ONLY for the current
message? If so... could you give me a hint on where to look?
Or do I have to do it differently?
Or is this impossible with synapse? *yikes*
Sorry for bothering you with my question but I did not know where else to
look...
Thank you very much in advance,
Frederik Juchart
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]