Hi All,

I have a little 'message interceptor' deployed as a service-side handler. I can access various parts of a message passed in a 'civilised' way:

     public void invoke(MessageContext msgContext){
             OperationDesc opDesc = msgContext.getOperation();
              ....
              ....
              // loop over parameters and get an instance of a
                 ParameterDesc:
                parDesc = opDesc.getParameter(i);
                parName = parDesc.getName();
                javaType = parDesc.getJavaType();
So I have all my parameter types and names but not parameter objects.

I can access the message body itself:

       SOAPBody  body    =  msgContext.getCurrentMessage().getSOAPBody();

and try to get relevant fields from there (it might be tricky for complex types), but taking into account that the message is already deserialised, it should be possible to get parameters as java types . Am I missing something here ?
                Thanks for you help,
                             JM
--
***********************************************************************
*  Janusz Martyniak                     TEL  +44  (0)207 594 7810     *
*  HEP Group, Physics Dept.             FAX: +44  (0)207 823 8830     *
*  Blackett Lab, Imperial College, Prince Consort Rd, LONDON SW7 2BW  *
***********************************************************************

Reply via email to