M
MikeL
Hello.
I've been getting an error message like the following when testing a
webservice that I'm creating:
"File or assembly name 8rsiphqb.dll, or one of its dependencies,
was not found."
Each time I refresh the page the .dll name changes, which tells me that the
CLR is generating this .dll (right?)
I think I narrowed down the problem: It seems only to happen when the return
type of the WebMethod contains a jagged array. Here's what the XSD.exe
utility generated from my schema:
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.myService.com/RatingHub")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.myService.com/RatingHub",
IsNullable=false)]
public class scPlan
{
/// <remarks/>
[System.Xml.Serialization.XmlArrayItemAttribute(typeof(scTermRate),
IsNullable=false)]
public scTermRate[][] scTermRates;
/// <remarks/>
[System.Xml.Serialization.XmlArrayItemAttribute(typeof(scSurcharge),
IsNullable=false)]
public scSurcharge[][] scSurcharges;
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute()]
public string code;
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute()]
public string description;
}
When I set a breakpoint on the first line of the WebMethod in the .asmx file
it is never reached, the error is generated in the browser.
Does anyone know what's going on?
Thanks in advance,
Mike
I've been getting an error message like the following when testing a
webservice that I'm creating:
"File or assembly name 8rsiphqb.dll, or one of its dependencies,
was not found."
Each time I refresh the page the .dll name changes, which tells me that the
CLR is generating this .dll (right?)
I think I narrowed down the problem: It seems only to happen when the return
type of the WebMethod contains a jagged array. Here's what the XSD.exe
utility generated from my schema:
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.myService.com/RatingHub")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.myService.com/RatingHub",
IsNullable=false)]
public class scPlan
{
/// <remarks/>
[System.Xml.Serialization.XmlArrayItemAttribute(typeof(scTermRate),
IsNullable=false)]
public scTermRate[][] scTermRates;
/// <remarks/>
[System.Xml.Serialization.XmlArrayItemAttribute(typeof(scSurcharge),
IsNullable=false)]
public scSurcharge[][] scSurcharges;
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute()]
public string code;
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute()]
public string description;
}
When I set a breakpoint on the first line of the WebMethod in the .asmx file
it is never reached, the error is generated in the browser.
Does anyone know what's going on?
Thanks in advance,
Mike