I try to get the response from a request to a web service in Sonic,
I can send the request and the webservice receive that request,
but I cant receive the response, I receive Response = nothing

I'm using vb.net 9, visual studio 2008. Please help me.

I think something missed....

Imports System.Web
Imports System.Web.Services

Imports GetSITMobileWS = MyApp.WebReference1

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


            Dim Login As GetSITMobileWS.SOAIFPSITMobileService = New GetSITMobileWS.SOAIFPSITMobileService

            Dim LoginRecID As New GetSITMobileWS.RECORD_IDType
            Dim LoginFile As New GetSITMobileWS.FILEType
            Dim LoginData As New GetSITMobileWS.DataType
            Dim LoginSit As New GetSITMobileWS.SITMobileType
            Dim LoginReqType As New GetSITMobileWS.LoginRequestType

            Dim LoginReq As New GetSITMobileWS.LoginRequest
            Dim LoginResp As New GetSITMobileWS.LoginResponse

            'Initialization Structure
            LoginReq.RECORD_ID = LoginRecID
            LoginReq.RECORD_ID.FILE = LoginFile
            LoginReq.RECORD_ID.Data = LoginData
            LoginReq.RECORD_ID.Data.SITMobile = LoginSit
            LoginReq.RECORD_ID.Data.SITMobile.LoginRequest = LoginReqType

            LoginReq.RECORD_ID.Data.SITMobile.LoginRequest.User = "12345"
            LoginReq.RECORD_ID.Data.SITMobile.LoginRequest.Password = "abcdf"
            LoginReq.RECORD_ID.Data.SITMobile.LoginRequest.Tries = "1"

            LoginResp = Login.SOAIFPSITMobileLogin(LoginReq)

            strAssociate = LoginResp.RECORD_ID.Data.SITMobile.LoginResponse.Associate
            strEmployeeNo = LoginResp.RECORD_ID.Data.SITMobile.LoginResponse.EmployeeNo

        Catch ex As Exception
            MsgBox("Error = " & ex.Message)

        End Try

    End Sub

End Class
Re: I don't have response from WebService with vb.net client 80 80

Without specifying what sonic is we can not give a very good answer.

When you say Sonic, I am assuming Sonic ESB.

The development documentation can be found here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.