J
Jo
Hello,
We have a web service "GetByPartsID" and it runs quite smoothly most of the
time but the web service sometimes throws an argumentException (see below).
What does this mean? When this happens, we have to restart our application
pool in IIS to fix the problem. So it is quite annoying. Any ideas? Thanks
a lot.
More than one message named 'GetByPartsIDHttpPostIn' was specified. Each
message must have a unique name.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.ArgumentException: More than one message named
'GetByPartsIDHttpPostIn' was specified. Each message must have a unique name.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: More than one message named 'GetByPartsIDHttpPostIn' was
specified. Each message must have a unique name.]
System.Web.Services.Description.ServiceDescriptionBaseCollection.AddValue(Object value) +169
System.Web.Services.Description.ServiceDescriptionBaseCollection.OnInsertComplete(Int32 index, Object value) +9
System.Collections.CollectionBase.System.Collections.IList.Add(Object
value) +226
System.Web.Services.Description.ProtocolReflector.ReflectBinding(ReflectedBinding reflectedBinding) +2055
System.Web.Services.Description.ProtocolReflector.Reflect() +509
System.Web.Services.Description.ServiceDescriptionReflector.ReflectInternal(ProtocolReflector[] reflectors) +495
System.Web.Services.Description.ServiceDescriptionReflector.Reflect(Type
type, String url) +112
System.Web.Services.Protocols.DocumentationServerType..ctor(Type type,
String uri) +155
System.Web.Services.Protocols.DocumentationServerProtocol.Initialize() +262
System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing) +106
[InvalidOperationException: Unable to handle request.]
System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing) +205
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +82
[InvalidOperationException: Failed to handle request.]
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +154
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext
context, String verb, String url, String filePath) +94
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig) +699
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +95
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +173
We have a web service "GetByPartsID" and it runs quite smoothly most of the
time but the web service sometimes throws an argumentException (see below).
What does this mean? When this happens, we have to restart our application
pool in IIS to fix the problem. So it is quite annoying. Any ideas? Thanks
a lot.
More than one message named 'GetByPartsIDHttpPostIn' was specified. Each
message must have a unique name.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.ArgumentException: More than one message named
'GetByPartsIDHttpPostIn' was specified. Each message must have a unique name.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: More than one message named 'GetByPartsIDHttpPostIn' was
specified. Each message must have a unique name.]
System.Web.Services.Description.ServiceDescriptionBaseCollection.AddValue(Object value) +169
System.Web.Services.Description.ServiceDescriptionBaseCollection.OnInsertComplete(Int32 index, Object value) +9
System.Collections.CollectionBase.System.Collections.IList.Add(Object
value) +226
System.Web.Services.Description.ProtocolReflector.ReflectBinding(ReflectedBinding reflectedBinding) +2055
System.Web.Services.Description.ProtocolReflector.Reflect() +509
System.Web.Services.Description.ServiceDescriptionReflector.ReflectInternal(ProtocolReflector[] reflectors) +495
System.Web.Services.Description.ServiceDescriptionReflector.Reflect(Type
type, String url) +112
System.Web.Services.Protocols.DocumentationServerType..ctor(Type type,
String uri) +155
System.Web.Services.Protocols.DocumentationServerProtocol.Initialize() +262
System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing) +106
[InvalidOperationException: Unable to handle request.]
System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing) +205
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +82
[InvalidOperationException: Failed to handle request.]
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +154
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext
context, String verb, String url, String filePath) +94
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig) +699
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +95
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +173