473,320 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Inserting a single node custom SOAP Header in auto generated Proxyservices.

There are millions of samples in the internet that explains how to
insert a multi node SOAP Header.
What I mean is that there are plenty of examples in the internet show
how to do the following:
<SOAP-ENV:Header>
< Security >
<Username>AUSER</Username>
< Password >APassword</Password>
</Security>
</SOAP-ENV:Header>

But what I want to do is ,

<SOAP-ENV:Header>
<CustomTag1>adf</ CustomTag1>
< CustomTag2>sghg</ CustomTag2>
</SOAP-ENV:Header>
As you can see the CustomTag1 and CustomTag2 are the child node of the
<SOAP-ENV:Headerand not enveloped by any intermediate parent node
as shown in the first example.

What I want to know is how can we insert our custom SOAP Header
directly into <SOAP-ENV:Headerby editing the auto generated proxy
(CS - C# file)from web services?

Note: the web services does not expose the SOAP Header information in
the WSDL.
Sep 10 '08 #1
0 1319

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: j van c | last post by:
I have a menubar on my main page. when clicking on a menu item I want to open an existing htm page at a certain position in my main page I use no frames. It should be replacing a div-section....
0
by: richwangler | last post by:
This problem should be easily reproducable if anybody has the time. I need to build the following XML programatically and decided to use the XMLSerializer. I simplified the XML (myExample.xml)...
6
by: john deviney | last post by:
I have a C#/.Net 1.1 client talking to a Java based web service. I need to insert a soap header on the client side which is expected on the server side. Currently, the Java ws provider, Axis, does...
0
by: Daniel Thune, MCSE | last post by:
I am having a problem with formatting a SOAP Header in a .Net client. The client calls a Java Axis 1.1 based web service. In order to authenticate the caller, the web service call is intercepted by...
0
by: kapil singhal via DotNetMonster.com | last post by:
I have a C#/.Net 1.1 client talking to a Java based web service. I want to make it a stateful service and i found this solution only: 1. the instance IDs are transferred in the SOAP headers. 2....
1
by: Eric | last post by:
Hallo all, I have to find a bug in an existing software I have taken over from someone that left our company. It's written in VC++ 7.1 using ATL and connects to a webservice calling a method there....
1
by: Stu | last post by:
Hi, Im using vis studio 2003 and I think wse is out of the question as clients could be using java which doesnt support it. So I managed to find some code which allows you to develop a custom...
7
by: beachdog | last post by:
I'm using Visual Studio 2005/C# to build a web client. The web server is something I've written in a different framework, which does not support generating wsdl, so I have hand-built a wsdl file,...
0
by: sskvp | last post by:
There are millions of samples in the internet explain how to insert a multi node SOAP Header. What I mean is that there are plenty of examples in the internet show how to do the following:...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.