Now one of the top elements in the result xml is optional which gives me some problems. In the generated code I have this:
Expand|Select|Wrap|Line Numbers
- [System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace="http://abc/xyz", ResponseNamespace="http://abc/xyz")]
- [return: System.Xml.Serialization.SoapElementAttribute("wmInternalErrorMsg")]
- public string wsInnehavFond(__innehavFondInput[] innehavFondInput, out string Status, out string KundID, out __innehavFondOutput[] innehavFondOutput) {
- object[] results = this.Invoke("wsInnehavFond", new object[] {
- innehavFondInput});
- Status = ((string)(results[1]));
- KundID = ((string)(results[2]));
- innehavFondOutput = ((__innehavFondOutput[])(results[3]));
- return ((string)(results[0]));
- }
If the element is there, however, this works like a charm.
Any idea what I should do??