When trying to create my service object my code will throw an exception
stating: 

System.InvalidOperationException has been thrown
Member LicenseInfoValueField not found in class
TestProject.localhost.Service

When I go to the reference.cs file this is the top: 

namespace TestProject.localhost {
   
[System.Web.Services.WebServiceBinding(Name="ServiceSoap",Namespace="http://C2S/ImageDirector/";)]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class Service :
System.Web.Services.Protocols.SoapHttpClientProtocol {

         private LicenseInfo LicenseInfoValueField;
         private ErrorInfo ErrorInfoValueField;


LicenseInfo and ErrorInfo are the attributes

Here is a webservice method:

        [WebMethod(EnableSession = true)]
        [SoapHeader("LicenseInfo", Direction = SoapHeaderDirection.In)]
        [SoapHeader("ErrorInfo", Direction = SoapHeaderDirection.Out)]
        public Guid CreateContainer(string name, string description)


Any clue why I wouldn't be able to create the Service object and talk to my
Web Service? 

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/SOAP-WebService-with-SOAP-Header-Attributes-failing-tp4261555p4261555.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to