Click here to Skip to main content
15,889,406 members
Home / Discussions / C#
   

C#

 
GeneralRe: Rational for Generics? Proposal for change Pin
Judah Gabriel Himango1-Jul-05 9:40
sponsorJudah Gabriel Himango1-Jul-05 9:40 
GeneralSOAPFormatter and åäö Pin
Roger Alsing30-Jun-05 22:36
Roger Alsing30-Jun-05 22:36 
Generalexecute external program from a C# program Pin
StrayGrey30-Jun-05 22:23
StrayGrey30-Jun-05 22:23 
GeneralRe: execute external program from a C# program Pin
Weiye Chen30-Jun-05 22:47
Weiye Chen30-Jun-05 22:47 
GeneralRe: execute external program from a C# program Pin
StrayGrey30-Jun-05 22:49
StrayGrey30-Jun-05 22:49 
GeneralRe: execute external program from a C# program Pin
Weiye Chen30-Jun-05 23:02
Weiye Chen30-Jun-05 23:02 
GeneralRe: execute external program from a C# program Pin
StrayGrey4-Jul-05 20:56
StrayGrey4-Jul-05 20:56 
QuestionHow to get WSDL using WSE 2.0 Pin
iffi raja30-Jun-05 22:16
sussiffi raja30-Jun-05 22:16 
I am writing a server application using SOAP over TCP (soap.tcp) in C#. I want to
generate a WSDL file from this uri "soap.tcp://localhost:8080/stockservice".
All I have heard is that its not possible to add a web referene as it
happens to generate proxy class for a http request .'If the SoapService
endpoint is bound to an HTTP endpoint, you can request the WSDL definition
by appending '?wsdl' to the endpoint address.However since the release of
WSE 2.0 and WS-Addressing many leading service providers are using TCP.The
"?wsdl" approach doesn't make sense for protocols such as TCP that don't
support the notion of a query string. MS has provided a generic way to get
WSDL Simply send a SOAP message with an action of
http://schemas.microsoft.com/wse/2003/06/RequestDescription
and an empty body, as illustrated here:'
--------------------------
soap:Envelope xmlns:wsa="..." xmlns:soap="..." ...>
<soap:header>
<wsa:action>http://schemas.microsoft.com/wse/2003/06/
RequestDescription
...

<soap:body>


-----------------------------
Now I have created a method given below that returns the above mentioned
soap envlope, and further i m sending it from client program using
"sender.Subscribe(env)".

private static SoapEnvelope CreateSubscriptionMessage()
{
SoapEnvelope env = new SoapEnvelope();
XmlElement header = env.CreateHeader();
env.Envelope.AppendChild(header);
header.AppendChild(env.CreateElement("wsa:Action"));
header.FirstChild.InnerText=
"http://schemas.microsoft.com/wse/2003/06/RequestDescription";
Console.WriteLine(env.Envelope.InnerXml);

return env;
}

-------------------
I dont know how it will gonna return WSDL in response to this soap packet.
And how to recieve that WSDL ..
Could some body please provide or direct me to some sample by using which I
could receive WSDL and save it in a file.

thanks in advance Smile | :)



iffi
QuestionHow to change default Image of Cursor? Pin
pubududilena30-Jun-05 22:13
pubududilena30-Jun-05 22:13 
Generalsetting allowzerolength in an access DB with C# Pin
Anonymous30-Jun-05 22:00
Anonymous30-Jun-05 22:00 
QuestionHow to call C++ DLL from c#.Net Pin
amrutajoshi30-Jun-05 21:52
amrutajoshi30-Jun-05 21:52 
AnswerRe: How to call C++ DLL from c#.Net Pin
Corinna John1-Jul-05 0:18
Corinna John1-Jul-05 0:18 
GeneralRe: How to call C++ DLL from c#.Net Pin
amrutajoshi1-Jul-05 22:17
amrutajoshi1-Jul-05 22:17 
QuestionHow to use DataGrid Control in C# Pin
A H Khan30-Jun-05 21:34
A H Khan30-Jun-05 21:34 
AnswerRe: How to use DataGrid Control in C# Pin
V.30-Jun-05 22:46
professionalV.30-Jun-05 22:46 
GeneralAccess Database Pin
Rassul Yunussov30-Jun-05 20:23
Rassul Yunussov30-Jun-05 20:23 
QuestionHow to write the DCOM components in C# Pin
stonewall_200030-Jun-05 17:10
stonewall_200030-Jun-05 17:10 
AnswerRe: How to write the DCOM components in C# Pin
Christian Graus30-Jun-05 17:18
protectorChristian Graus30-Jun-05 17:18 
GeneralRe: How to write the DCOM components in C# Pin
Dave Kreskowiak30-Jun-05 17:55
mveDave Kreskowiak30-Jun-05 17:55 
GeneralRe: How to write the DCOM components in C# Pin
Christian Graus30-Jun-05 18:34
protectorChristian Graus30-Jun-05 18:34 
GeneralRe: How to write the DCOM components in C# Pin
Dave Kreskowiak1-Jul-05 3:20
mveDave Kreskowiak1-Jul-05 3:20 
GeneralRe: How to write the DCOM components in C# Pin
sreejith ss nair30-Jun-05 21:25
sreejith ss nair30-Jun-05 21:25 
GeneralRe: How to write the DCOM components in C# Pin
Dave Kreskowiak1-Jul-05 3:19
mveDave Kreskowiak1-Jul-05 3:19 
GeneralInput String was not in a correct format Pin
Member 205417130-Jun-05 15:05
Member 205417130-Jun-05 15:05 
GeneralRe: Input String was not in a correct format Pin
Christian Graus30-Jun-05 15:53
protectorChristian Graus30-Jun-05 15:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.