Click here to Skip to main content
16,005,290 members
Home / Discussions / Web Development
   

Web Development

 
GeneralNo fields available while using store procedure at crystel report Pin
Trivikram Dwivedi21-Jul-05 23:56
Trivikram Dwivedi21-Jul-05 23:56 
GeneralShow data on web from multiple table Pin
mushtaqkhan21-Jul-05 2:21
mushtaqkhan21-Jul-05 2:21 
GeneralRe: Show data on web from multiple table Pin
fakefur21-Jul-05 14:54
fakefur21-Jul-05 14:54 
GeneralRe: Show data on web from multiple table Pin
mushtaqkhan22-Jul-05 6:46
mushtaqkhan22-Jul-05 6:46 
GeneralRe: Show data on web from multiple table Pin
fakefur22-Jul-05 19:47
fakefur22-Jul-05 19:47 
Generalserach the folder Pin
mushtaqkhan21-Jul-05 2:18
mushtaqkhan21-Jul-05 2:18 
GeneralRe: serach the folder Pin
pigangel_yang28-Jul-05 16:09
pigangel_yang28-Jul-05 16:09 
Questionhow to manipulate the returned xml result using javascript Pin
robinabrintha20-Jul-05 23:29
sussrobinabrintha20-Jul-05 23:29 
hello
hello,
I am trying to call a webservice (which is deployed in apache axis) using javascript. The result which I am supposed to get is a string fromthe xml fle. I tried using the following code to parse the xml . I am just getting the result as undefined .Hereby i am posting my code .I am donno how to get rid of this problem .Could anyone of you please have a look at it give me a suggestion.Thanking you in advance.

javascript code



<title>WEBSERVICES TESTING

var iCallID;
function init()
{
service.useService
("http://localhost:8080/axis/services/ImergoService?wsdl",
"imergov");
var result=iCallID;
}

function onmyresult()
{
if ((event.result.error)&&(iCallID==event.result.id))
{
var xfaultcode = event.result.errorDetail.code;
var xfaultstring = event.result.errorDetail.string;
var xfaultsoap = event.result.errorDetail.raw;

// Add code to output error information here
alert("Error ");

}
else
{

xmlDoc = new ActiveXObject("MSXML2.DomDocument");
xmlDoc.loadXML(event.result.raw.xml);

var items = xmlDoc.getElementsByTagName('ruleRegistry');

service.innerHTML= "The method returned result:"
+xmlDoc.getElementsByTagName('rulesets').text; }
}




<title>WEBSERVICE TESTING










Rules








and the xml file which i should get as result is of this format


<ruleregistry>
<rulesets>
<ruleset id="wcag1.0_A" default="default">
<name xml:lang="en">WCAG 1.0 A
<name xml:lang="de">WCAG 1.0 A

<ruleset id="wcag1.0_AA">
<name xml:lang="en">WCAG 1.0 AA
<name xml:lang="de">WCAG 1.0 AA

<ruleset id="wcag1.0_AAA">
<name xml:lang="en">WCAG 1.0 AAA
<name xml:lang="de">WCAG 1.0 AAA




waiting for reply Confused | :confused:
robina
GeneralEnabling Activex Control Pin
baskar.G20-Jul-05 21:07
baskar.G20-Jul-05 21:07 
GeneralRe: Enabling Activex Control Pin
Vasudevan Deepak Kumar21-Jul-05 1:25
Vasudevan Deepak Kumar21-Jul-05 1:25 
QuestionHow to retrieve IHTMLTextRangeMetrics Pin
wdragon_199920-Jul-05 20:06
wdragon_199920-Jul-05 20:06 
GeneralDouble authentication Proxy/Website Pin
nicolas.alonzo20-Jul-05 8:50
nicolas.alonzo20-Jul-05 8:50 
GeneralAdding items to or replacing items in a Datagrid using Javascript Pin
totig20-Jul-05 4:54
totig20-Jul-05 4:54 
GeneralRe: java debugging error Pin
Alsvha19-Jul-05 20:31
Alsvha19-Jul-05 20:31 
GeneralSpecifying multiple actions and validating from a single Form Pin
daveBrom857698419-Jul-05 10:55
sussdaveBrom857698419-Jul-05 10:55 
GeneralRe: Specifying multiple actions and validating from a single Form Pin
Anonymous19-Jul-05 11:22
Anonymous19-Jul-05 11:22 
GeneralLocal Weather in Web Page... Pin
code-frog19-Jul-05 9:49
professionalcode-frog19-Jul-05 9:49 
GeneralRe: Local Weather in Web Page... Pin
totig20-Jul-05 4:44
totig20-Jul-05 4:44 
Generalproblem receiving xml in asp Pin
cakewalkr719-Jul-05 8:00
cakewalkr719-Jul-05 8:00 
QuestionIs this a stupid question? Pin
AlphonseElric18-Jul-05 16:29
AlphonseElric18-Jul-05 16:29 
AnswerRe: Is this a stupid question? Pin
Christian Graus18-Jul-05 16:42
protectorChristian Graus18-Jul-05 16:42 
GeneralRe: Is this a stupid question? Pin
AlphonseElric18-Jul-05 17:10
AlphonseElric18-Jul-05 17:10 
GeneralRe: Is this a stupid question? Pin
Christian Graus18-Jul-05 17:13
protectorChristian Graus18-Jul-05 17:13 
GeneralRe: Is this a stupid question? Pin
AlphonseElric18-Jul-05 17:24
AlphonseElric18-Jul-05 17:24 
GeneralRe: Is this a stupid question? Pin
Christian Graus18-Jul-05 17:59
protectorChristian Graus18-Jul-05 17:59 

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.