Exception invoking a .NET Doc Webservice which returns XML

R2D2 <ws_dev2001-/[email protected]>
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
Hello Alek,
I am using WSIF 2.0 and the Axis jars which are
packaged with it only. It is Axis 1.0.
Is there someway in which I can use the
BeanDeserializer instead of the SimpleSerializer ?
BTW, the logs actually show the xml message coming
back successfully :
DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
NSPush (32)
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
Exit: DeserializationContextImpl::startElement()
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
Enter:
DeserializationContextImpl::startPrefixMapping(, )
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
NSPush (32)
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
Exit: DeserializationContextImpl::startPrefixMapping()
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
Enter: DeserializationContextImpl::startElement(,
CQDS_Request_Status)
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
org.apache.axis.i18n.resource::handleGetObject(cantHandle00)
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
org.apache.axis.i18n.resource::handleGetObject(exception00)
 ERROR [2005-05-25 11:24:40,580] [main]  [31374] -
Exception:
 org.xml.sax.SAXException: SimpleDeserializer
encountered a child element, which is NOT expected, in
something it was trying to deserialize.

But fails in the end.
What I am trying to say is that there is one block in
the debug trace which shows the entire xml response
appropriately deserialized:
*************** START1 **********************
DEBUG [2005-05-25 11:24:40,548] [main]  [31342] -
SAXOutputter.endElement
['http://schemas.xmlsoap.org/soap/envelope/' Envelope]
 DEBUG [2005-05-25 11:24:40,548] [main]  [31342] -
org.apache.axis.i18n.resource::handleGetObject(endElem00)
 DEBUG [2005-05-25 11:24:40,548] [main]  [31342] - End
element soap:Envelope
 DEBUG [2005-05-25 11:24:40,548] [main]  [31342] -
NSPop (32)
 DEBUG [2005-05-25 11:24:40,548] [main]  [31342] -
SAXOutputter.endDocument
*************** END1 *******************
*************** START2 **********************

DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
Setting current message form to: FORM_SOAPENVELOPE
(currentMessage is now
org.apache.axis.message.SOAPEnvelope)
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
Exit: SOAPPart::getAsSOAPEnvelope
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
Exit: Call::invoke()
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
Enter: SOAPPart::getAsSOAPEnvelope()
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
org.apache.axis.i18n.resource::handleGetObject(currForm)
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
current form is FORM_SOAPENVELOPE
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
org.apache.axis.i18n.resource::handleGetObject(pushHandler00)
 DEBUG [2005-05-25 11:24:40,580] [main]  [31374] -
Pushing handler
org.apache.axis.message.EnvelopeHandler@23f1bb
*************** END2 *******************

The entire response XMLis available between these 2
blocks ie, between END1 and START2
Thanks,



		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.