Ashish Ojha
Thanks for your quick responses.
However , am still facing some issues. The web service (is in j2ee) does not have any soapheader definition.It is using wsdd instead of wsdl.
When I make a web service in .net as suggested above i can set the header while incase of the j2ee web service am callin , there is no soapheader class.
Am i missing something Suggestions urgently needed.
Client code :
============================
Public
Function loginME() As String
Dim w As New creek.UserServiceProviderService ' this is the j2EE web service - added through web reference
Dim w_str As String
Try
w_str = w.login("test", "111111") ' a method @ webservice which returns the token value.
w.lockUser("sujit.emp1006") ' now i need to put w_str as a token header like 'token=w_str' in header and call this method
Catch ex As Exception
Return ex.Message
Exit Function
End Try
Return w_str
End Function
==================================