asp.net web service OneWay definition not working

Posted by jbrook10 on Stack Overflow See other posts from Stack Overflow or by jbrook10
Published on 2010-04-22T22:48:07Z Indexed on 2010/04/22 22:53 UTC
Read the original article Hit count: 225

Filed under:
|
|

When I specify <SoapDocumentMethod(OneWay:=True)> on my webservice it doesn't seem to get called. If I remove that the webservice works properly. Also, everything works fine on the development machine just not on the server.

Here is my web method:

<SoapDocumentMethod(OneWay:=True)> _
<WebMethod()> _
Public Sub Write(ByVal processGroupId As Integer) 
    xslClass.xslHelper.writeDatabase(processGroupId) ', processGroupName)
End Sub

Here is my calling code:

    Dim svc As New svcWriteFiles.WriteDatabaseService
    svc.WriteAsync(e.CommandArgument)

Any ideas?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about web-services