Solved

How add sub header in soap manually using vb.net

Posted on 2011-02-16
5
822 Views
Last Modified: 2012-05-11
I am using web services in my applcation. I know when calling webservices the soap is created.

My requirement is to create soap sub header below like using vb.net code. Is it possible?
 <SubHeader>
       <username>sasi</username>
                     <password>infot</password>
  </SubHeader>

Hope your reply.

Regards
Guvera
0
Comment
Question by:guvera
  • 3
  • 2
5 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34905912
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34905920
0
 
LVL 8

Author Comment

by:guvera
ID: 34913510
Hi,

 I am not asking for authentication. I think you are misunderstand my question. That is just sample element. I need ,

    <SubHeader>
       <appid>1</appid>
       <name>chil</name>
       <location>Franklin</location>
  </SubHeader>
look like the above. I need to create sub header for soap header before calling web services in .net. Actually the soap created automatically when calling web services.

Regards
Guvera

0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 34914394
0
 
LVL 8

Author Closing Comment

by:guvera
ID: 34940988
Provide the link is easy to follow.

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now