Skip to search.
pocketsoap

Group Information

  • Members: 632
  • Category: General
  • Founded: May 27, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
Error in parsing .NET RemotingException   Message List  
Reply Message #4645 of 5544 |
If a .NET Remoting method returns an error, pocketsoap throws the
exeption "Error during parsing, reference to invalid character
number, at line 21"

The soap-response looks like that:
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-
ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault id="ref-1">
<faultcode id="ref-2">SOAP-ENV:Server</faultcode>
<faultstring id="ref-3"> ****
System.Runtime.Remoting.RemotingException - Requested Service not
found</faultstring>
<detail xsi:type="a1:ServerFault"
xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Runtime.Serializa
tion.Formatters">
<exceptionType xsi:null="1"/>
<message xsi:null="1"/>
<stackTrace xsi:null="1"/>
<exception href="#ref-4"/>
</detail>
</SOAP-ENV:Fault>
<a3:RemotingException id="ref-4"
xmlns:a3="http://schemas.microsoft.com/clr/ns/System.Runtime.Remoting"
>
<ClassName id="ref-
5">System.Runtime.Remoting.RemotingException</ClassName>
<Message id="ref-6">Requested Service not found</Message>
<InnerException xsi:null="1"/>
<HelpURL xsi:null="1"/>
<StackTraceString id="ref-7"> at
System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessag
e(IServerChannelSinkStack sinkStack, IMessage requestMsg,
ITransportHeaders requestHeaders, Stream requestStream, IMessage&#38;
responseMsg, ITransportHeaders&#38; responseHeaders, Stream&#38;
responseStream)</StackTraceString>
<RemoteStackTraceString xsi:null="1"/>
<RemoteStackIndex>0</RemoteStackIndex>
<ExceptionMethod id="ref-
8">8&#0;ProcessMessage&#0;System.Runtime.Remoting,
Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089&#0;System.Runtime.Remoting.Channels.So
apServerFormatterSink&#0;System.Runtime.Remoting.Channels.ServerProces
sing ProcessMessage
(System.Runtime.Remoting.Channels.IServerChannelSinkStack,
System.Runtime.Remoting.Messaging.IMessage,
System.Runtime.Remoting.Channels.ITransportHeaders, System.IO.Stream,
System.Runtime.Remoting.Messaging.IMessage ByRef,
System.Runtime.Remoting.Channels.ITransportHeaders ByRef,
System.IO.Stream ByRef)</ExceptionMethod>
<HResult>-2146233077</HResult>
<Source id="ref-9">System.Runtime.Remoting</Source>
</a3:RemotingException>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


The beginning of line 21 is:
<ExceptionMethod id="ref-
8">8&#0;ProcessMessage&#0;System.Runtime.Remoting, ....

Is &#0 an invalid character
(http://tech.groups.yahoo.com/group/soapbuilders/message/7312)?

What can I do that pocketsoap is able to parse the answer?

Thanks for help.

Regards
Andreas Rossi





Thu Oct 26, 2006 11:38 am

anro_c4b
Offline Offline
Send Email Send Email

Message #4645 of 5544 |
Expand Messages Author Sort by Date

If a .NET Remoting method returns an error, pocketsoap throws the exeption "Error during parsing, reference to invalid character number, at line 21" The...
anro_c4b Offline Send Email Oct 26, 2006
11:39 am

... character 0 is invalid in xml regardless of how its encoded. You can't tell PocketSOAP to parse this because its not even XML. I suggest you contact...
Simon Fell
simonfell99 Offline Send Email
Oct 26, 2006
3:58 pm

... If you really really have to get this working, then you'd have to write a transport wrapper that buffered and kept a copy of the response, then when you...
Simon Fell
simonfell99 Offline Send Email
Oct 26, 2006
4:03 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help