Hi there,

 

Please help..

 

My service method throws a custom exception. I have a java bean embedded in this custom exception.  I can see this exception and java bean in my SOAP Response.

 

<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:MyBeanException" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="http://webservice5">

   <bean href="">

  </multiRef>

  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:MyBean" xmlns:ns4="http://webservice5" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">

   <name xsi:type="xsd:string">Ranjith</name>

   <city xsi:type="xsd:string">Kottayam</city>

  </multiRef>

 

How do my Axis client get this bean from Axis fault?. Your reply will be deeply appreciated.

 

Note: Now I use Message->SOAPEnvelope->SOAPBodyElement-> getObjectValue() to get my bean data as one string like "RanjithKottayam". Here my concern is how to get data individually or what is the right procedure to read bean data from Axis fault.

 

Thanks in advance,

Ran

Reply via email to