|
Has anyone else found the following in a SOAP Service, in returning an array of objects in a SOAP Response I can see that output is being interrupted by 'Target of Invocation Error' As below ... Date: Fri, 20 Oct 2006 14:38:21 GMT Server: Apache/2.0.54 (Linux/SUSE) Content-Length: 1413 Cache-Control: private Connection: close Content-Type: text/xml; charset=utf-8 <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><q1:MyMethodResponse xmlns:q1="http://tempuri.org/"><GetQueueMessagesResult href="" /></q1:GetQueueMessagesResponse><q2:Array id="id1" xmlns:q3="http://tempuri.org/" q2:arrayType="q3:MessageItem[105]" xmlns:q2="http://schemas.xmlsoap.org/soap/encoding/"><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><Item href="" /><I<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Exception has been thrown by the target of an invocation.</faultstring></soap:Fault></soap:Body></soap:Envelope> Using tracing on XSP, I can see the following ... mono --trace /usr/lib/xsp/1.0/xsp.exe <snip> . . . . . . . . . . . . . . . . . . . . . . . . . . . LEAVE: System.Web.HttpResponseStream:AppendBucket (System.Web.HttpResponseStream/Bucket) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LEAVE: System.Web.HttpResponseStream:AppendBuffer (byte[],int,int) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LEAVE: System.Web.HttpResponseStream:Write (byte[],int,int) EXCEPTION handling: ArgumentNullException EXCEPTION handling: TargetInvocationException EXCEPTION handling: TargetInvocationException EXCEPTION handling: TargetInvocationException Once this happens once it happens on a method it then happens every time that method is called. I have yet to determine why this is happening, and wondered if anyone else has seen this before? Regards, Glen |
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
