[Mono-bugs] [Bug 75446][Wis] New - Web Service Error: Thread was
being aborted
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Jul 2 20:40:49 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by rbradley at fusiion.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75446
--- shadow/75446 2005-07-02 20:40:48.000000000 -0400
+++ shadow/75446.tmp.5511 2005-07-02 20:40:49.000000000 -0400
@@ -0,0 +1,474 @@
+Bug#: 75446
+Product: Mono: Tools
+Version: 1.1
+OS:
+OS Details: Fedora Core 3
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Wishlist
+Component: mod_mono
+AssignedTo: gonzalo at ximian.com
+ReportedBy: rbradley at fusiion.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Web Service Error: Thread was being aborted
+
+Problem with: mod_mono 1.0.9
+
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Installed 1.1.8.1 Mono of Red Hat Fedora Core 3, with mod_mono 1.0.9. When
+I run a simple web serice I get "Thread was being aborted" after a long delay.
+
+Steps to reproduce the problem:
+1. See attached Web Service
+2.
+3.
+
+Actual Results:
+After failure the information in the httpd error_log is:
+Unhandled Exception: System.Net.WebException: Read error
+in <0x00350> System.Net.WebConnection:EndRead (IAsyncResult result)
+in <0x000ac> System.Net.WebConnectionStream:EndRead (IAsyncResult r)
+
+
+Expected Results:
+
+
+How often does this happen?
+every time
+
+Additional Information:
+Web Service Program:
+
+<%@ WebService Language="c#" Codebehind="Service2.asmx.cs"
+Class="Fusiion.XFMS.WebServices.Greetings" %>
+
+using System;
+
+using System.Web.Services;
+
+using System.Xml.Serialization;
+
+
+
+namespace Fusiion.XFMS.WebServices {
+
+ /// <summary>
+
+ /// Summary description for Service2.
+
+ /// </summary>
+
+ public class Greetings : System.Web.Services.WebService {
+
+ [WebMethod(Description="Hello World")]
+
+ public string HelloWorld(string strName) {
+
+ return "Hello, " + strName + ". Have a great day!";
+
+ }
+
+ }
+
+}
+
+
+
+Service Description:
+
+<?xml version="1.0" encoding="utf-16"?>
+<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:s="http://www.w3.org/2001/XMLSchema"
+ xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+ xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+ xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
+xmlns:s0="http://tempuri.org/"
+ name="Greetings" targetNamespace="http://tempuri.org/"
+ xmlns="http://schemas.xmlsoap.org/wsdl/">
+ <types>
+ <xs:schema elementFormDefault="qualified"
+targetNamespace="http://tempuri.org/"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="HelloWorld">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="1" name="strName"
+type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="HelloWorldResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="1" name="HelloWorldResult"
+type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="string" type="xs:string"/>
+ </xs:schema>
+ </types>
+ <message name="HelloWorldSoapIn">
+ <part name="parameters" element="s0:HelloWorld"/>
+ </message>
+ <message name="HelloWorldSoapOut">
+ <part name="parameters" element="s0:HelloWorldResponse"/>
+ </message>
+ <message name="HelloWorldHttpGetIn">
+ <part name="strName" type="s:string"/>
+ </message>
+ <message name="HelloWorldHttpGetOut">
+ <part name="Body" element="s0:string"/>
+ </message>
+ <message name="HelloWorldHttpPostIn">
+ <part name="strName" type="s:string"/>
+ </message>
+ <message name="HelloWorldHttpPostOut">
+ <part name="Body" element="s0:string"/>
+ </message>
+ <portType name="GreetingsSoap">
+ <operation name="HelloWorld">
+ <input message="s0:HelloWorldSoapIn"/>
+ <output message="s0:HelloWorldSoapOut"/>
+ <documentation>Hello World</documentation>
+ </operation>
+ </portType>
+ <portType name="GreetingsHttpGet">
+ <operation name="HelloWorld">
+ <input message="s0:HelloWorldHttpGetIn"/>
+ <output message="s0:HelloWorldHttpGetOut"/>
+ <documentation>Hello World</documentation>
+ </operation>
+ </portType>
+ <portType name="GreetingsHttpPost">
+ <operation name="HelloWorld">
+ <input message="s0:HelloWorldHttpPostIn"/>
+ <output message="s0:HelloWorldHttpPostOut"/>
+ <documentation>Hello World</documentation>
+ </operation>
+ </portType>
+ <binding name="GreetingsSoap" type="s0:GreetingsSoap">
+ <soap:binding style="document"
+transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="HelloWorld">
+ <soap:operation soapAction="http://tempuri.org/HelloWorld"
+style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <binding name="GreetingsHttpGet" type="s0:GreetingsHttpGet">
+ <http:binding verb="GET"/>
+ <operation name="HelloWorld">
+ <http:operation location="/HelloWorld"/>
+ <input>
+ <http:urlEncoded/>
+ </input>
+ <output>
+ <mime:mimeXml part="Body"/>
+ </output>
+ </operation>
+ </binding>
+ <binding name="GreetingsHttpPost" type="s0:GreetingsHttpPost">
+ <http:binding verb="POST"/>
+ <operation name="HelloWorld">
+ <http:operation location="/HelloWorld"/>
+ <input>
+ <mime:content type="application/x-www-form-urlencoded"/>
+ </input>
+ <output>using System;
+
+using System.Web.Services;
+
+using System.Xml.Serialization;
+
+
+
+public class Greeting {
+
+
+
+ [WebMethod]
+
+ public string Hello() {
+
+ return "Hello, Have a great day!";
+
+ }
+
+}
+ <mime:mimeXml part="Body"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="Greetings">
+ <port name="GreetingsSoap" binding="s0:GreetingsSoap">
+ <soap:address
+location="http://localhost/test/1.1/Fusiion.XFMS.Services/Service2.asmx"/>
+ </port>
+ <port name="GreetingsHttpGet" binding="s0:GreetingsHttpGet">
+ <http:address
+location="http://localhost/test/1.1/Fusiion.XFMS.Services/Service2.asmx"/>
+ </port>
+ <port name="GreetingsHttpPost" binding="s0:GreetingsHttpPost">
+ <http:address
+location="http://localhost/test/1.1/Fusiion.XFMS.Services/Service2.asmx"/>
+ </port>
+ </service>
+</definitions>
+
+Client Proxy:
+
+
+//
+------------------------------------------------------------------------------
+// <autogenerated>
+// This code was generated by a tool.
+// Mono Runtime Version: 1.1.4322.573
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </autogenerated>
+//
+------------------------------------------------------------------------------
+
+
+/// <remarks/>
+[System.Web.Services.WebServiceBinding(Name="GreetingsSoap",Namespace="http://tempuri.org/"),
+System.Diagnostics.DebuggerStepThroughAttribute(),
+System.ComponentModel.DesignerCategoryAttribute("code")]
+public class Greetings: System.Web.Services.Protocols.SoapHttpClientProtocol {
+
+ public Greetings () {
+ this.Url =
+"http://localhost/test/1.1/Fusiion.XFMS.Services/Service2.asmx";
+ }
+
+ /// <remarks>
+ ///Hello World
+ ///</remarks>
+
+[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/HelloWorld",
+
+RequestNamespace="http://tempuri.org/",ResponseNamespace="http://tempuri.org/",
+
+ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped,
+ Use=System.Web.Services.Description.SoapBindingUse.Literal)]
+ public string HelloWorld(string strName) {
+ object[] results = this.Invoke("HelloWorld", new object[] {
+ strName});
+ return ((string)(results[0]));
+ }
+
+ public System.IAsyncResult BeginHelloWorld(string strName,
+System.AsyncCallback callback,
+ object asyncState) {
+ return this.BeginInvoke("HelloWorld", new object[] {
+ strName}, callback, asyncState);
+ }
+
+ public string EndHelloWorld(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((string)(results[0]));
+ }
+}
+
+Message Layout:
+
+Soap
+
+POST /test/1.1/Fusiion.XFMS.Services/Service2.asmx
+SOAPAction: http://tempuri.org/HelloWorld
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+Host: string
+
+<?xml version="1.0" encoding="utf-16"?>
+<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>
+ <HelloWorld xmlns="http://tempuri.org/">
+ <strName>string</strName>
+ </HelloWorld>
+ </soap:Body>
+</soap:Envelope>
+
+HTTP/1.0 200 OK
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+
+<?xml version="1.0" encoding="utf-16"?>
+<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>
+ <HelloWorldResponse xmlns="http://tempuri.org/">
+ <HelloWorldResult>string</HelloWorldResult>
+ </HelloWorldResponse>
+ </soap:Body>
+</soap:Envelope>
+
+HTTP Get
+
+GET /test/1.1/Fusiion.XFMS.Services/Service2.asmx/HelloWorld?strName=string
+Host: string
+
+HTTP/1.0 200 OK
+Content-Type: text/xml; charset=utf-8
+Content-Length: stringSoap
+
+POST /test/1.1/Fusiion.XFMS.Services/Service2.asmx
+SOAPAction: http://tempuri.org/HelloWorld
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+Host: string
+
+<?xml version="1.0" encoding="utf-16"?>
+<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>
+ <HelloWorld xmlns="http://tempuri.org/">
+ <strName>string</strName>
+ </HelloWorld>
+ </soap:Body>
+</soap:Envelope>
+
+HTTP/1.0 200 OK
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+
+<?xml version="1.0" encoding="utf-16"?>
+<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>
+ <HelloWorldResponse xmlns="http://tempuri.org/">
+ <HelloWorldResult>string</HelloWorldResult>
+ </HelloWorldResponse>
+ </soap:Body>
+</soap:Envelope>
+
+HTTP Get
+
+GET /test/1.1/Fusiion.XFMS.Services/Service2.asmx/HelloWorld?strName=string
+Host: string
+
+HTTP/1.0 200 OK
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+
+<string xmlns="http://tempuri.org/">string</string>
+
+HTTP Post
+
+POST /test/1.1/Fusiion.XFMS.Services/Service2.asmx/HelloWorld
+Content-Type: application/x-www-form-urlencoded
+Content-Length: string
+Host: string
+Soap
+
+POST /test/1.1/Fusiion.XFMS.Services/Service2.asmx
+SOAPAction: http://tempuri.org/HelloWorld
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+Host: string
+
+<?xml version="1.0" encoding="utf-16"?>
+<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>
+ <HelloWorld xmlns="http://tempuri.org/">
+ <strName>string</strName>
+ </HelloWorld>
+ </soap:Body>
+</soap:Envelope>
+
+HTTP/1.0 200 OK
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+
+<?xml version="1.0" encoding="utf-16"?>
+<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>
+ <HelloWorldResponse xmlns="http://tempuri.org/">
+ <HelloWorldResult>string</HelloWorldResult>
+ </HelloWorldResponse>
+ </soap:Body>
+</soap:Envelope>
+
+HTTP Get
+
+GET /test/1.1/Fusiion.XFMS.Services/Service2.asmx/HelloWorld?strName=string
+Host: string
+
+HTTP/1.0 200 OK
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+
+<string xmlns="http://tempuri.org/">string</string>
+
+HTTP Post
+
+POST /test/1.1/Fusiion.XFMS.Services/Service2.asmx/HelloWorld
+Content-Type: application/x-www-form-urlencoded
+Content-Length: string
+Host: string
+
+strName=string
+
+HTTP/1.0 200 OK
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+
+<string xmlns="http://tempuri.org/">string</string>
+
+
+
+
+
+strName=string
+
+HTTP/1.0 200 OK
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+
+<string xmlns="http://tempuri.org/">string</string>
+
+
+
+
+
+
+<string xmlns="http://tempuri.org/">string</string>
+
+HTTP Post
+
+POST /test/1.1/Fusiion.XFMS.Services/Service2.asmx/HelloWorld
+Content-Type: application/x-www-form-urlencoded
+Content-Length: string
+Host: string
+
+strName=string
+
+HTTP/1.0 200 OK
+Content-Type: text/xml; charset=utf-8
+Content-Length: string
+
+<string xmlns="http://tempuri.org/">string</string>
More information about the mono-bugs
mailing list