Click here to Skip to main content
14,876,655 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: sending xml document Pin
Stuart Dootson25-Sep-09 19:04
professionalStuart Dootson25-Sep-09 19:04 
QuestionXML Validation using XSD Pin
scrapper15-Sep-09 4:00
Memberscrapper15-Sep-09 4:00 
AnswerRe: XML Validation using XSD Pin
Stuart Dootson15-Sep-09 7:12
professionalStuart Dootson15-Sep-09 7:12 
GeneralRe: XML Validation using XSD Pin
scrapper16-Sep-09 3:32
Memberscrapper16-Sep-09 3:32 
GeneralRe: XML Validation using XSD Pin
Stuart Dootson16-Sep-09 3:39
professionalStuart Dootson16-Sep-09 3:39 
GeneralRe: XML Validation using XSD Pin
scrapper16-Sep-09 3:44
Memberscrapper16-Sep-09 3:44 
GeneralRe: XML Validation using XSD Pin
Stuart Dootson16-Sep-09 21:27
professionalStuart Dootson16-Sep-09 21:27 
QuestionMSXML2.serverXMLHTTP.4.0 Pin
hemrk14-Sep-09 6:11
Memberhemrk14-Sep-09 6:11 
Gives error access denied.

if i change MSXML2.serverXMLHTTP.4.0 to MSXML2.serverXMLHTTP then it gives error that soapaction.

here is my code
<%@language=Jscript%>
<%
var objSrvHTTP;
var objXMLSend;
var objXMLReceive;
var line="";
objSrvHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0");
objXMLSend = Server.CreateObject("Microsoft.XMLDOM");
objXMLReceive = Server.CreateObject("Microsoft.XMLDOM");

objXMLSend.async = false;
objFS = Server.CreateObject("Scripting.FileSystemObject");
ReadStream = objFS.OpenTextFile (Server.MapPath("BatchInput.xml"),1,false);
//ReadStream = objFS.OpenTextFile (Server.MapPath("Indulis.xml"),1,false);
var l="";
while (!ReadStream.AtEndOfStream) {
l=ReadStream.Readline();
line = line + l;
}
objSrvHTTP.setTimeouts(-1,-1,-1,-1) //This is important
//If this line is not there it will time out
//Before getting error back
objSrvHTTP.open ("POST","http://gems/GeneralLedgerTest/Update.asmx",false);
//objSrvHTTP.open ("POST","http://aura/GeneralLedger67/Update.asmx",false);
//objSrvHTTP.open ("POST","http://localhost/GeneralLedger/Update.asmx",false);
objSrvHTTP.setRequestHeader("Content-Type", "text/xml");
objSrvHTTP.setRequestHeader("SOAPAction","http://gems/Sample");
objSrvHTTP.send (line);
objXMLReceive = objSrvHTTP.responseXML;
Response.ContentType = "text/xml";
Response.Write (objXMLReceive.xml);
%>


my xml file is

<?xml version='1.0' encoding='utf-8'?>
<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>
<soap:Body>
<LoadGLRequest xmlns='http://www.gemsgov.com/Request'>
<GLTransfer xmlns='http://www.gemsgov.com/Request'>
<GLLoadSchema xmlns='http://tempuri.org/GLLoadSchema.xsd'>
<GLBatch ORGANIZATION='001' EXSource='OHR' Sequence='0'>
<BatchHeader BatchDate='091009' AreaCode='' Operator='OHR' Sequence='1'>
<BatchDetails Account='01-00-00-1010-1010-00000
' Amount='-1214762.58' Description='TEST' GLType='PR' Grant='' Project='' ProjectTask='' WorkorderNumber='' WorkCode='' TransactionDate='082109' AltSource='PR' AltDetail='0001' Sequence='2' />
<BatchDetails Account='01-00-00-1310-0000-00072
' Amount='6769.25
' Description='TEST2' TransactionDate='082109' AltSource='PR' AltDetail='0002' Sequence='3' />
</BatchHeader>
</GLBatch>
</GLLoadSchema>
</GLTransfer>
</LoadGLRequest>
</soap:Body>
</soap:Envelope>

Please let e know asap.

Hemaxi
QuestionMicrosoft VBScript runtime error '800a01a8' Object required Pin
shyamaprasad10-Sep-09 4:38
Membershyamaprasad10-Sep-09 4:38 
AnswerRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
Christian Graus10-Sep-09 12:54
protectorChristian Graus10-Sep-09 12:54 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
shyamaprasad10-Sep-09 23:53
Membershyamaprasad10-Sep-09 23:53 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
Stuart Dootson11-Sep-09 0:57
professionalStuart Dootson11-Sep-09 0:57 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
shyamaprasad11-Sep-09 1:38
Membershyamaprasad11-Sep-09 1:38 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
shyamaprasad11-Sep-09 2:03
Membershyamaprasad11-Sep-09 2:03 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
Christian Graus11-Sep-09 13:25
protectorChristian Graus11-Sep-09 13:25 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
Christian Graus11-Sep-09 11:44
protectorChristian Graus11-Sep-09 11:44 
QuestionXercesDomParser Pin
VVVimal3-Sep-09 0:41
MemberVVVimal3-Sep-09 0:41 
AnswerRe: XercesDomParser Pin
Stuart Dootson5-Sep-09 2:52
professionalStuart Dootson5-Sep-09 2:52 
GeneralRe: XercesDomParser Pin
VVVimal10-Sep-09 23:01
MemberVVVimal10-Sep-09 23:01 
GeneralRe: XercesDomParser Pin
Stuart Dootson10-Sep-09 23:11
professionalStuart Dootson10-Sep-09 23:11 
GeneralRe: XercesDomParser Pin
VVVimal11-Sep-09 23:19
MemberVVVimal11-Sep-09 23:19 
GeneralRe: XercesDomParser Pin
Stuart Dootson12-Sep-09 9:05
professionalStuart Dootson12-Sep-09 9:05 
Questionhelp Pin
ndumy2-Sep-09 22:11
Memberndumy2-Sep-09 22:11 
AnswerRe: help Pin
Tony Richards3-Sep-09 0:30
MemberTony Richards3-Sep-09 0:30 
AnswerRe: help Pin
Richard MacCutchan5-Sep-09 11:06
mveRichard MacCutchan5-Sep-09 11:06 

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.