No, an XmlException is not something you should expect as a result of your webservice invocation, regardless of whether your client is sending a soap fault or not. Have you actually taken a look at the xml being returned by the webeservice? It sounds like it's invalid or there's something going on causing your client to muck up the XML.
Adam.. > -----Original Message----- > From: Unmoderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of > ravi teja veerla > Sent: Thursday, July 14, 2005 10:32 PM > To: [email protected] > Subject: Re: [ADVANCED-DOTNET] problem with soap faults from > a java/axis webservice > > thank you for your response. I will try to research abit and > see what i can learn from this. I am not sure if you all have > seen my first post regarding this. I always get an exception > when the java webservice returns a soap fault. the stack > trace of the exception is below. is this a common or rather > expected behavior. please let me know. thanks. > > System.Xml.XmlException: 'Element' is an invalid node type. > Line 12, position 4. > > at System.Xml.XmlReader.ReadEndElement() > at > System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse > (SoapClie > ntMessage message, WebResponse response, Stream > responseStream, Boolean asyncCal > l) > at > System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String > methodN > ame, Object[] parameters) > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection > around http://mail.yahoo.com > > =================================== > This list is hosted by DevelopMentorR http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
