How to forward Username and Password in SoapHeader to a Java WebService

I am consuming Java Web Service in VB.Net and I need to forward username, password in the Soap Header from client code.

Am not aware of this procedure. Can anyone let me know an example or sample code to forward the parameters from VB.Net client code.

Answers


Please check --> http://msdn.microsoft.com/en-us/library/77hkfhh8.aspx

http://msdn.microsoft.com/en-us/library/whew6x7f.aspx


Need Your Help

Application based on qxmpp can't connect to server on Android, but working well on windows

android qt5 qxmpp

I'm using qxmpp library in my project. I've tried to write simple app to find out if it connects to server. It connects on Windows well. Then I've tried to test it on Android, but it doesn't connec...

Keep elements in Navigation Controller when segueing on iOS

ios storyboard segue navigationcontroller

I am working on an app that displays a list of places. There is a NavigationController, and in the navigation bar I have some UIBarButtonItem (left and right), and the center section is a custom view