-
1. Re: adding ReferenceProperties to TxContext
marklittle Dec 14, 2007 8:58 AM (in response to odin69)The ReferenceProperties are set by the EPR minter. Are you (or the code you are describing) acting in that role?
-
2. Re: adding ReferenceProperties to TxContext
odin69 Dec 14, 2007 10:38 AM (in response to odin69)Mmh well I don't really know what you mean by EPR minter, the altered JaxRPCHeaderContextProcessor is the ClientHandler where the Context will be created, if this helps.
So maybe you have a minute to give me a short description what you mean by EPR minter, that would be awesome.
thx -
3. Re: adding ReferenceProperties to TxContext
marklittle Dec 14, 2007 12:03 PM (in response to odin69)The "minter" of the EPR is the thing that created it. The ReferenceProperties/ReferenceParameters come in the EPR when it is created and are then propagated into the "top level" of the SOAP header when it is used. They are supposed to be opaque to anything other than the ultimate destination. You should not be looking to modify them once the EPR from which they come has been created. Is that what you are trying to do?
-
4. Re: adding ReferenceProperties to TxContext
odin69 Dec 14, 2007 7:33 PM (in response to odin69)Well yes this is what I had in mind... so I have looked through the code but so far I wasn't really successful in finding the minter to add the referenceProperties directly at the source.
If I understood you right then I shouldn't try to alter the context in a handler, right? So except finding the minter and add the referenceProperties directly at the source is there another way to do it, and if not can you point me to the location of the minter?
thx so much -
5. Re: adding ReferenceProperties to TxContext
marklittle Dec 15, 2007 3:48 AM (in response to odin69)Yes, you should really be modifying the context at the source. Now the next question is: why do you want to modify the TxContext?
-
6. Re: adding ReferenceProperties to TxContext
odin69 Dec 15, 2007 4:42 AM (in response to odin69)I want to make a JBoss client to start a transaction with a web service which is implemented with apache Kandula. So as far as I can see right now the only difference between the two context are that in Jboss the instanceIdentifier is contained in a referenceParameters element whereas kandula uses a referenceProperties element.
So I have tried to modify the context send out from JBoss to see if the client and service can have a transaction together. Does anyone have some experience with this topic allready? Well maybe I am totally wrong with the context-solution but I guess its worth a try. -
7. Re: adding ReferenceProperties to TxContext
marklittle Dec 16, 2007 7:00 AM (in response to odin69)"odin69" wrote:
I want to make a JBoss client to start a transaction with a web service which is implemented with apache Kandula.
So the JBossTS Web Services Transactions implementation isn't in this picture? If that's the case, then are you using JBossWS?So as far as I can see right now the only difference between the two context are that in Jboss the instanceIdentifier is contained in a referenceParameters element whereas kandula uses a referenceProperties element.
So I have tried to modify the context send out from JBoss to see if the client and service can have a transaction together. Does anyone have some experience with this topic allready? Well maybe I am totally wrong with the context-solution but I guess its worth a try.
I don't have experience with Kandula, except to say that it wasn't one of the implementations that took part in any of the interoperability workshops that we held with IBM, Microsoft etc. So there may be other issues waiting for you to discover as well.