[Mono-dev] Help with xsp

Neale Ferguson NealeFerguson at verizon.net
Tue Sep 17 22:19:26 UTC 2013


I had a webservice that was working fine. I duplicated a routine - same name
but with different parameters which requires the MessageName attribute. So
for the duplicated routine which originally just had:
                [WebMethod (Description="Process VMARCH QUERY TAPES ALL
command")]
I changed it to    
                [WebMethod (Description="Process VMARCH QUERY TAPES ALL
command",
                            MessageName="vmaQryTapesAll")]

Pointed browser to: http://localhost:9000/webservice.asmx and now get:

System.ArgumentOutOfRangeException
Argument is out of range.

Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or
object): System.Web.Services.
Exception stack trace:
  at System.Web.Services.Description.MessageCollection.get_Item (Int32
index) [0x00000] in <filename unknown>:0
  at System.Web.Services.Description.MessageCollection.get_Item
(System.String name) [0x00000] in <filename unknown>:0
  at System.Web.Services.Description.BasicProfileChecker.CheckR2305
(System.Web.Services.Description.ConformanceCheckContext ctx,
System.Web.Services.Description.Operation value) [0x00000] in <filename
unknown>:0 
  at System.Web.Services.Description.BasicProfileChecker.Check
(System.Web.Services.Description.ConformanceCheckContext ctx,
System.Web.Services.Description.Operation value) [0x00000] in <filename
unknown>:0 
  at System.Web.Services.Description.WebServicesInteroperability.Check
(System.Web.Services.Description.ConformanceCheckContext ctx,
System.Web.Services.Description.ConformanceChecker checker,
System.Web.Services.Description.ServiceDescription sd) [0x00000] in
<filename unknown>:0
  at System.Web.Services.Description.WebServicesInteroperability.Check
(WsiProfiles claims, System.Web.Services.Description.ConformanceCheckContext
ctx, IEnumerable documents) [0x00000] in <filename unknown>:0
  at 
System.Web.Services.Description.WebServicesInteroperability.CheckConformance
(WsiProfiles claims,
System.Web.Services.Description.ServiceDescriptionCollection services,
System.Web.Services.Description.BasicProfileViolationCollection violations)
[0x00000] in <filename unknown>:0
  at ASP.DefaultWsdlHelpGenerator_aspx.Page_Load (System.Object sender,
System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] in
<filename unknown>:0
  at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.ProcessLoad () [0x00000] in <filename unknown>:0
  at System.Web.UI.Page.ProcessPostData () [0x00000] in <filename unknown>:0
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] in <filename unknown>:0

Is there some way to get more informative messages from xsp to get it to
tell me exactly what it's choking on? I can invoke the webmethods directly
on the browser but it's just this bit that is giving me grief.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130917/ae0885fa/attachment.html>


More information about the Mono-devel-list mailing list