Solved

How add sub header in soap manually using vb.net

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

789 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