Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 833
  • Last Modified:

How add sub header in soap manually using vb.net

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
guvera
Asked:
guvera
  • 3
  • 2
1 Solution
 
CodeCruiserCommented:
0
 
CodeCruiserCommented:
0
 
guveraAuthor Commented:
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
 
guveraAuthor Commented:
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.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now