Click here to Skip to main content
15,891,136 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XML Schema to XML File Pin
That's Aragon17-Feb-08 17:52
That's Aragon17-Feb-08 17:52 
QuestionDataSet to XML & from XML to Databse Pin
LAYEEQ AHMED KHAN13-Feb-08 19:04
LAYEEQ AHMED KHAN13-Feb-08 19:04 
GeneralRe: DataSet to XML & from XML to Databse Pin
led mike14-Feb-08 5:28
led mike14-Feb-08 5:28 
GeneralRe: DataSet to XML & from XML to Databse Pin
#realJSOP15-Feb-08 5:17
mve#realJSOP15-Feb-08 5:17 
GeneralAssistance Required Pin
rajanponnalagu13-Feb-08 6:20
rajanponnalagu13-Feb-08 6:20 
GeneralHas Anyone ever worked on Veda Advantage? Need Some help. Pin
Gandalf_TheWhite11-Feb-08 19:45
professionalGandalf_TheWhite11-Feb-08 19:45 
GeneralRe: Has Anyone ever worked on Veda Advantage? Need Some help. Pin
led mike12-Feb-08 5:07
led mike12-Feb-08 5:07 
GeneralRe: Has Anyone ever worked on Veda Advantage? Need Some help. Pin
Gandalf_TheWhite12-Feb-08 18:34
professionalGandalf_TheWhite12-Feb-08 18:34 
Hi Mike
Thanks for reply

<blockquote class="FQ"><div class="FQA">led mike wrote:</div>We provide you with all the technical information you need to integrate our services into your business systems</blockquote>
Are u working for VEDA????? OMG | :OMG: Cool | :cool:

Actually me and my team is working on this task(Mentioned in previous post),
we are trying to ping, but we are not getting where and what we are doing wrong.
I have a Verification code and access pwd.
Can you please check where we are going wrong?
Here is my code written in C# for PING and the later one is for receive the response.

This is button click on which it goes for PING

<code>
#region XML Click
protected void Button1_Click(object sender, EventArgs e)
{
string username = txt_username.Text;
string pwd = txt_pwd.Text;
string request = "<code>"
+ " <message type="REQUEST"> "
+ "<access> "
+ "<access-code>" + username + "</access-code> "
+ "<access-pwd>" + pwd + "</access-pwd> "
+ "</access> "
+ "<service> "
+ "<service-client-ref>ASUT99991</service-client-ref> "
+ "<service-code>PING</service-code> "
+ "<service-code-version>V00</service-code-version> "
+ "<service-data></service-data> "
+ "</service> "
+ "</message> ";

string response = getReply(request);
Response.Write(response);
}
#endregion
</code>

---------- And this one is for reply ----------

<code>
#region getReply
public string getReply(string strReq)
{

HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(txt_url.Text);
StreamWriter writer = null;
request.Timeout = 1000000000;
request.Method = "POST";
request.CachePolicy = new RequestCachePolicy(RequestCacheLevel.NoCacheNoStore);
string postData = "openagent&xml=" + strReq;
//string postData = strReq;

request.ContentLength = postData.Length;
request.ContentType = "text/xml";

try
{
//Create a write to send the data stream to the server
writer = new StreamWriter(request.GetRequestStream());
//Write to server
writer.Write(postData);
}
catch (Exception exc)
{
string str = exc.Message;
}
finally
{
writer.Close();
}

string str1 = "";
try
{
HttpWebResponse response = (HttpWebResponse)request.GetResponse();

XmlDocument xmldoc = new XmlDocument();

using (StreamReader reader = new StreamReader(response.GetResponseStream()))
{
str1 = reader.ReadToEnd();
reader.Close();
}
}
catch (Exception ex)
{
string st = ex.Message;
}
return str1;
}
#endregion
</code>

<div class="ForumMod">modified on Wednesday, February 13, 2008 12:59 AM</div>
GeneralRe: Has Anyone ever worked on Veda Advantage? Need Some help. Pin
led mike13-Feb-08 6:55
led mike13-Feb-08 6:55 
GeneralRe: Has Anyone ever worked on Veda Advantage? Need Some help. Pin
Gandalf_TheWhite13-Feb-08 18:48
professionalGandalf_TheWhite13-Feb-08 18:48 
GeneralRe: Has Anyone ever worked on Veda Advantage? Need Some help. Pin
led mike14-Feb-08 9:16
led mike14-Feb-08 9:16 
GeneralRe: Has Anyone ever worked on Veda Advantage? Need Some help. Pin
Gandalf_TheWhite14-Feb-08 18:09
professionalGandalf_TheWhite14-Feb-08 18:09 
QuestionHexaDecimal Error in XML Files Pin
danasegaranea10-Feb-08 18:20
danasegaranea10-Feb-08 18:20 
QuestionConverting XML Elements to Strings Pin
BugMeNot ACCOUNT8-Feb-08 14:09
BugMeNot ACCOUNT8-Feb-08 14:09 
QuestionConverting XML Elements to Strings Pin
BugMeNot ACCOUNT8-Feb-08 14:07
BugMeNot ACCOUNT8-Feb-08 14:07 
GeneralRe: Converting XML Elements to Strings Pin
pmarfleet10-Feb-08 7:17
pmarfleet10-Feb-08 7:17 
GeneralRe: Converting XML Elements to Strings Pin
Joachim Kerschbaumer11-Feb-08 21:44
Joachim Kerschbaumer11-Feb-08 21:44 
QuestionHow many nodes start slowing performance? Pin
Richard Blythe8-Feb-08 5:27
Richard Blythe8-Feb-08 5:27 
AnswerRe: How many nodes start slowing performance? Pin
led mike8-Feb-08 6:55
led mike8-Feb-08 6:55 
Generalworldofwarcraft Pin
love_man0016-Feb-08 3:03
love_man0016-Feb-08 3:03 
GeneralRe: worldofwarcraft Pin
Paul Conrad22-Mar-08 16:37
professionalPaul Conrad22-Mar-08 16:37 
Generalfiltering lookup in sharepoint Pin
ptvce3-Feb-08 20:51
ptvce3-Feb-08 20:51 
GeneralQuestion re - XML Intellisense in C# Pin
Tristan Rhodes1-Feb-08 5:35
Tristan Rhodes1-Feb-08 5:35 
Generalembedding file into an XML file Pin
Ayman Mashal31-Jan-08 1:23
Ayman Mashal31-Jan-08 1:23 
GeneralRe: embedding file into an XML file Pin
led mike31-Jan-08 5:34
led mike31-Jan-08 5:34 

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.