Click here to Skip to main content
12,444,493 members (53,991 online)

.NET Framework

 
AnswerRe: c# Pin
ThePhantomUpvoter1-Mar-13 3:00
memberThePhantomUpvoter1-Mar-13 3:00 
AnswerRe: c# Pin
Eddy Vluggen1-Mar-13 3:00
mvpEddy Vluggen1-Mar-13 3:00 
AnswerRe: c# Pin
ProgramFOX3-Mar-13 6:17
member ProgramFOX3-Mar-13 6:17 
QuestionI want to store webservice method's XML output as string in C# Pin
Member 982628125-Feb-13 0:21
memberMember 982628125-Feb-13 0:21 
Hi,

i want to store the webservice method's XML output[the one which we get after invoking the webservice method]. Below is the code which am using and the output that am getting after executing it. Please help to get sort of this....

code:

After adding web reference that consists of webservice URL am using the below code.

WindowsService.webservice ody = new WindowsService.webservice ();
try
{
ody.PreAuthenticate = true;
ody.Credentials = new System.Net.NetworkCredential("login", "Password", "Domain");
Logfile(ody.Reconfigure(1).ToString());
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
}

output as in log file:

OdyTibWinService.OdyTibWebService.OUT_Reconfigure

But the actual XML output is:

Reconfiguration completed successfully.
AnswerRe: I want to store webservice method's XML output as string in C# Pin
Eddy Vluggen25-Feb-13 8:20
mvpEddy Vluggen25-Feb-13 8:20 
AnswerRe: I want to store webservice method's XML output as string in C# Pin
jschell25-Feb-13 9:01
memberjschell25-Feb-13 9:01 
Question[VB.NET 2008] Compact Framework: how to start a single instance of an application Pin
steve_949661324-Feb-13 23:28
membersteve_949661324-Feb-13 23:28 
AnswerRe: [VB.NET 2008] Compact Framework: how to start a single instance of an application Pin
Eddy Vluggen25-Feb-13 8:10
mvpEddy Vluggen25-Feb-13 8:10 
GeneralRe: [VB.NET 2008] Compact Framework: how to start a single instance of an application Pin
steve_949661325-Feb-13 23:44
membersteve_949661325-Feb-13 23:44 
GeneralRe: [VB.NET 2008] Compact Framework: how to start a single instance of an application Pin
Eddy Vluggen26-Feb-13 0:33
mvpEddy Vluggen26-Feb-13 0:33 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 23 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid