Solved

How add sub header in soap manually using vb.net

Posted on 2011-02-16
5
823 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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

17 Experts available now in Live!

Get 1:1 Help Now