|
Try this article[^]. The article explains how to add an arbitrary header to a SOAP message, and then use WSDL.EXe to generate the WSDL file.
So, here's how you could do it:
Option A:
Familiarize yourself with WSDL[^]/ and SOAP[^] - because WSDL includes SOAP - and manually edit your WSDL.
Option B:
Use the .NET framework to generate a new WSDL using the approach here http://blogs.tamtam.nl/paulb/2007/10/09/AddingCustomHeadersToASOAPMessagePart1.aspx[^] and then take the parts you want from your new file and copy them to your existing file.
I hope that clarifies it and wish you good luck!
Erik Westermann - wWorkflow.net - BizTalk Consulting Services
SOA * ESB * BPI * SaaS ... forget the alphabet soup - get the main course with our consulting services!
wWorkflow.net or +1 416-809-1453
|
|
|
|
|
Thanks Erik,
1.
I have read the article, and it need to modify the source codes of web services code -- please feel free to correct me if I am wrong.
But my purpose is not to modify the web services code, and only modify the generated WSDL code. So, I think the code in the article does not help too much.
2.
For the WSDL and SOAP spec, they are really good, accurate and complete. But long...
Do you have any tutorials which are easy to learn the major concepts of WSDL and SOAP which is enough for me to complete my work -- add SOAP header?
regards,
George
|
|
|
|
|
George_George wrote: ...they are really good, accurate and complete. But long...
Yes they are - that's so you can learn about SOAP and WSDL.
George_George wrote: Do you have any tutorials which are easy...
No - you either learn it on your own or get someone to do it for you. And...I'm not the guy to do that for you - my rates are too high
Erik Westermann - wWorkflow.net - BizTalk Consulting Services
SOA * ESB * BPI * SaaS ... forget the alphabet soup - get the main course with our consulting services!
wWorkflow.net or +1 416-809-1453
|
|
|
|
|
Hi Erik,
I am looking for some samples which is doing similar work as I did -- e.g. adding SOAP header for some input WSDL file. But failed to find any ones very helpful.
Do you have any recommendations?
regards,
George
|
|
|
|
|
hai
i m a vb.net programmer from 2 yrs,just from 3 days i m doing a project in c#
a small doubt , which i should not ask...
here it is
in vb.net
Public sub Display()
exit sub
end sub
the same code how to write in c#
my problem is with exit sub
how to exit from a button click event or procedure or function in c#
plz dont mind ... give reply
thank u
bye
vijay kumar d
|
|
|
|
|
public void Display()
{
return;
}
Although you don't need the return in this case, here it'll return automatically when it's in a codepath that has no instructions left in this method.
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Hi,
<br />
public void Display<br />
{<br />
<br />
}<br />
would be its equivalent.
Cheers,
Mark Brock
"We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen
Click here to view my blog
|
|
|
|
|
in short, if your method returns void, you shouldn't exit, it will exit after automatically after }.
When you return something (object, integer, ...) you should return that type.
private void MethodNoReturn(){
}
or
private string MethodReturnString(){
return a_string;
}
hope this helps...
|
|
|
|
|
What about a C# tutorial?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi,
In the explore window if I sort some files descending I get the following...
<br />
file 19<br />
file 20<br />
file 21<br />
file 186<br />
file 187<br />
file 189<br />
If I use Directory.GetFiles() it retrieves the files in this order
<br />
file 186<br />
file 187<br />
file 189<br />
file 19<br />
file 20<br />
file 21<br />
Is there an easy way for me to get files in the same order as a descending rearrangement in explorer?
Cheers,
Mark Brock
"We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen
Click here to view my blog
|
|
|
|
|
Sort the array you get from GetFiles() . You can do this via Array.Sort() .
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Hi Greg,
Thanks for the help, I decided just to use drop and drag instead to solve the problem, but I'll keep your advice in mind for the next time I run into this problem.
Thanks,
Mark Brock
"We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen
Click here to view my blog
|
|
|
|
|
theory for nose and mouth detection is there. but does anyone have the coding for nose and mouth detection?
thanks
|
|
|
|
|
siewying wrote: theory for nose and mouth detection is there.
Where?
siewying wrote: but does anyone have the coding for nose and mouth detection?
Using what? An image? A video camera? A robotic arm?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
using images. but if possible make it using web cam
|
|
|
|
|
Hi and good evening guys,
I have a couple of problems of which I want you to help me with
When reading drive info like...
DriveInfo di;
...
...
di.TotalSize; //gives me a strange number that isn't in Byte, KB, MB or even GB!
1. How can I read the size of the drive in say, MB?
2. How can I convert an DEC number into its HEX equivalent?
Many thanks guys!
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
di.TotalSize should give you the drive size, in bytes. What number do you expect and what are you actually getting?
You can display a number in hex by using:
int decValue = 65535;
Console.WriteLine("{0:X}", decValue); If you want to save the hex value as a string, you can use any of the following methods:
hexString = decValue.ToString("X");
hexString = string.Format("{0:X}", decValue);
hexString = Convert.ToString(decValue, 16);
Enjoy,
Robert C. Cartaino
|
|
|
|
|
Thanks mate
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
The startup class of my WinForms application is clStartup. I also have a class called clLibraryApp.
At the top of clStartup I have:
public class clStartup
{
public clLibraryApp oLibraryApp = new clLibraryApp();
public static void Main()
{
}
}
When I open other classes and type 'clStartup.', and the intellisense for clStartup opens, I don't see oLibraryApp listed.
All namespaces are the same throughout the project.
Can someone tell me what I'm doing wrong?
Everything makes sense in someone's mind
|
|
|
|
|
KMAROIS wrote: At the top of clStartup I have:
public class clStartup
...
{
Where's your namespace for this class??
KMAROIS wrote: I don't see oLibraryApp listed.
Of course you wont!
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
Coleman.C_Sharp.Library.
It's set this way in all classes.
Everything makes sense in someone's mind
|
|
|
|
|
Your Main method is static, and your oLibraryApp is an instance member. You don't have an instance of clStartup.
Declare it as static.
Also ditch the silly prefixing, it reduced legibility of your code.
|
|
|
|
|
Hey guys,
I've so far been unable to find a way to output a video to VGA (preferably using DirectShowNet library but if not any way would be better then none ), done lots of googling and just cant seem to find anything.
Can anybody help/give some suggestions?
Thanks,
DarthDie/Wayfarer14
|
|
|
|
|
|
hi,
how can i remove the header row and header column from the datagridview? (or make it not visible whatever)
|*|*|*|*|*|*|*|*|*|
|*|
|*|
|*|
|*|
|*|
thanks
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|