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&
responseMsg, ITransportHeaders& responseHeaders, Stream&
responseStream)</StackTraceString>
<RemoteStackTraceString xsi:null="1"/>
<RemoteStackIndex>0</RemoteStackIndex>
<ExceptionMethod id="ref-
8">8�ProcessMessage�System.Runtime.Remoting,
Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089�System.Runtime.Remoting.Channels.So
apServerFormatterSink�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�ProcessMessage�System.Runtime.Remoting, ....
Is � 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