Custom Function

Oct 7, 2009 at 3:48 PM


I have now got the stage where I want to be able to add my own functions to the webservice.

I have used the LINQ system to add dbml file to the app directory. I have added a database table and created a function to insert data into the table.#

I am then calling that function from my mobile app but its timing out when calling the function.

What I have noticed is in the reference to

Is this correct? - it doesnt seem right to me?

        <System.Web.Services.Protocols.SoapHeaderAttribute("IWebAuthendicationHeaderValue"),  _
         System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace:="", ResponseNamespace:="", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function TaxiRoute_Update_Taxi_Location(ByVal UserID As Integer, ByVal Latitude As Long, ByVal Longitude As Long) As String
            Dim results() As Object = Me.Invoke("TaxiRoute_Update_Taxi_Location", New Object() {UserID, Latitude, Longitude})
            Return CType(results(0),String)
        End Function

Oct 7, 2009 at 4:35 PM

Where were you instructed to do that?

Oct 7, 2009 at 6:39 PM


I was following this tutorial....


Oct 7, 2009 at 8:04 PM

I don't understand. That tutorial does not cover web services.