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
LVL 8
guveraAsked:
Who is Participating?
 
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
All Courses

From novice to tech pro — start learning today.