Hi ,
  I want to return an Object as a response to a message. How should i
 do it?
 I tried to use SOAPContext.setProperty() at Server and then tried to
 fetch the same at Client. I am getting null. Please let me know.
 At Server:
   SOAPContext resCtx
   resCtx.setProperty("Vector" , "MyVector")
   resCtx.setRootPart("Hello","text/xml");
 
 At Client
   Message msg
  msg.send();
  SOAPTransport st = msg.getSOAPTransport()
  SOAPContext rCtx = st.getResponseSOAPContext()
  Object o = rCtx.getProperty("MyVector");
 
 I am getting o as null;
 
 thanks & regards
 Nagaraja Rao
 
 

Reply via email to