Hi !

I'm using RPC style web service, and a HttpServlet for invoking the
webservice. I wrote a WSDL, and I'm using the generated stub. I'm
successfully called the target method, and get back its return value.
Unfortunately I need the XML instead of the class.
How can I get an XML, from the returned type, using it's own serializer ?

Thanx
Balazs

ps.: here's my servlet code:

   terminus.query_webservice.Terminus_Web service = new
terminus.query_webservice.Terminus_WebLocator();
   terminus.query_webservice.Terminus_Web port = service.getTerminus_Web();
   terminus.query_types.ContextListType ret = port.getContextList();
   BeanSerializer bser =
(BeanSerializer)ret.getSerializer("",terminus.query_types.ContextListType.cl
ass,ret.getTypeDesc().getXmlType());

Reply via email to