> Deepal Jayasinghe wrote: >> Hi Jack , >> If this is in the server side , you can get the message context and from >> that you can get the SOAP envelope and from the soap envelope you can >> get the soap headers. >> >> If it is the in the client side , the the process is , >> - First you get the last operation context from the service client >> - and then follow the above steps. >> > That looks like too much work for me to get a simple thing done :( > Why not have some method like: > getLastResponseSoapEnvelope() > to service client API and do all the context access stuff within that > method ? Idea is cool I am +1 on doing that , but ...
One of the design goal of service client was to provide a convenient API for simple usage (cater for average users), and the assumption was that user only trying to send OM element and trying to get OM element . If you need to do advanced work like accessing SOAP headers , then you can use OperationClient. Deepal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
