Link to home
Start Free TrialLog in
Avatar of cobolinx1
cobolinx1

asked on

"No Security header in message but required by policy" error message when calling a webservice

How do I stop getting this error? There is no certificate for the web service. Am I missing something?
 Dim MyService As TESTWEBSERVICE.test.PersonInfoWebServiceClient = New TESTWEBSERVICE.test.PersonInfoWebServiceClient

        Dim MyResult As test.getPersonResponse = New test.getPersonResponse

        MyService.ClientCredentials.UserName.UserName = "uid"
        MyService.ClientCredentials.UserName.Password = "pwd20"
        Try
            MyResult.response = MyService.getPerson("TED")
        Catch ex As Exception
            MsgBox(ex.Message)
        End Try

Open in new window

Avatar of cobolinx1
cobolinx1

ASKER

Anyone?
ASKER CERTIFIED SOLUTION
Avatar of aibusinesssolutions
aibusinesssolutions
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial