axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Arbo" <>
Subject soapsession client question
Date Thu, 19 Apr 2007 23:22:11 GMT
I'm trying to access the serviceGroupId from a web-service call. 


My client snippet looks like this:


ServiceClient sender = new ServiceClient();

sender.engageModule(new QName("addressing")); 

OperationClient opClient =


.//set more options

.//make the call

.//capture result

MessageContext inMsgCtx = opClient.getMessageContext("In");   

String serviceGroupId = inMsgCtx.getServiceGroupContextId();


inMsgCtx.getServiceGroupContextId() is always returning null.

I know it's in the reponse because I'm monitoring the http traffic and I
can see the xml being transmitted.


Do I need to do anything specific with the client - in a configuration
sense, to get this working?





View raw message