RequestSoapContext MessageId

RequestSoapContext MessageId

Post by VG9uaW » Wed, 11 Aug 2004 15:51:02

Is there a way of obtaining the addressing messageId of the
RequestSoapContext in a web service client ? I am using the following code:

string packet = "a";
PingServiceWebClient.PingServiceWse pingService = new
Console.WriteLine("RequestSoapContext Addressing MessageId = " +
pingService.Ping(ref packet);
Console.WriteLine("RequestSoapContext Addressing MessageId = " +
Console.WriteLine("ResponseSoapContext Addressing RelatesTo = " +
Console.WriteLine("ResponseSoapContext Addressing MessageId = " +

and gets the following results:

RequestSoapContext Addressing MessageId = 25d933ff-8fb1-4735-bf5d-24fb262e4acd
RequestSoapContext Addressing MessageId = 265335cc-94f8-4c58-a1f7-4ec384b47ee1
ResponseSoapContext Addressing RelatesTo =
ResponseSoapContext Addressing MessageId =

Notice that I always get a different messageId in the RequestSoapContext and
it never is the same as the RelatesTo id in the ResponseSoapContext.


1. messageID and in-reply-to-messageID mail header info

2. How do I get access to RequestSoapContext with C++ coding ?

I have a C++ web service interface, generated from sproxy.exe, which creates
the interface class derived from CSoapRootHandler i.e.

class CLocationServiceT :
public TClient,
public CSoapRootHandler

However, as the interface is done using https and security, I need to add a
security toked (already generated) by calling
RequestSoapContext.Security.Tokens.Add - however I can not seem to get to the
RequestSoapContext in the web service class. I assume that CSoapRootHandler
should provide an interface to this or CSoapRootHandler should be replaced
with a class from WSE2 ?

Any help on this matter would be most appreciated.


3. HELP!!! RequestSoapContext.Current always Nothing...

4. SoapExtensions & RequestSoapContext

5. soap:Fault and the RequestSoapContext

6. proxy has no RequestSoapContext?

7. BTS.MessageID

8. Assigning Promoted Field value to BTS.MessageID

9. Accessing MessageID from a Map, without using an orchestration

10. pipeline component MessageID = InterchangeID?

11. Where is the %MessageID% in the HAT?

12. Getting context of a passed message (BTS.MessageID)

13. Accessing %MessageID% in the mapper

14. CDO MessageId vs IMessage EntryID

15. messageID for journaled emails