Has anyone tested .net webservices for ws-i basic profile compliance? I get a
failute even when testing a simple service such as:
[WebService(Namespace="http://example.com/stockquote")]
public class Quote {
[WebMethod]
public Single GetQuote(string tickerSymbol, DateTime time) {
return 23.45F;
}
}
I use the 1.1 testing tool kit at:
http://www.ws-i.org/deliverables/wor...g=testingtools
I get a failure on BP1212 (corresponds to R2212 in the profile):
"The content of the soap:Body element is inconsistent with its description. The
envelope does not contain exactly one part accessor element for each of the
wsdl:part elements bound to the envelope's corresponding soapbind:body element."
And on the wire I have this:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetQuote xmlns="http://example.com/stockquote">
<tickerSymbol>vlv</tickerSymbol>
<time>2005-06-25T16:06:53.9044544+02:00</time>
</GetQuote>
</soap:Body>
</soap:Envelope>
Regards
Bjorn