× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi All,
I am into a major test project and based on which we are planning to do
a lot of things with MAPICS 7. 
I am able to post a request to System-Link from an ASP page and I am
able to get the response as XML. I am able to do that using Java Script
Post. But when I try to do the same using the XML Http Request I am
getting this error as response. Does somebody has any idea?

The Code

var strRequest;
function GetXML()
{
var ctr = 0;
var xmlRequest = new ActiveXObject("Microsoft.XMLDOM");
var xslTemplate = new ActiveXObject("Microsoft.XMLDOM");
var xmlResponse = new ActiveXObject("Microsoft.XMLDOM");
var objXmlHttp = new ActiveXObject("Microsoft.XMLHTTP");

strRequest = "<?xml version='1.0'?> \n <!DOCTYPE System-Link SYSTEM
'SystemLinkRequest.dtd'> <System-Link> <Login userId='userid'
password='password' maxIdle='900000'
properties='com.mapics.cas.domain.EnvironmentId=TT,
com.mapics.cas.domain.SystemName=DEV.DOMAIN.COM,
com.mapics.cas.user.LanguageId=en'/> <Request sessionHandle='*current'
workHandle='*new' broker='EJB' maxIdle='1000'> <QueryList
name='queryListCustomer_General' domainClass='com.mapics.csm.Customer'
includeMetaData='true' maxReturned='50'> <Pql> <![CDATA[SELECT
company,customer,addresseeName,city,contact,telephone,fax,currency,custo
merStatus,customerClass,territory,salesrep where addresseeName like
'ABCD%' ORDER BY company,customer]]> </Pql> </QueryList> </Request>
</System-Link>";
        
objXmlHttp.open("POST","http://poldev:36001/SystemLink/servlet/SystemLin
kServlet/",false);
objXmlHttp.send('SystemLinkRequest="' + strRequest + '"');
xslTemplate.async = false;
xslTemplate.load("Basic.xsl");
document.getElementById("xmlhint").value =
xmlResponse.transformNode(xslTemplate);
document.getElementById("responseFrame").document.innerHTML =
objXmlHttp.responseText;

}

The Error

HTTP ERROR: 500
URLDecoder%3A+Illegal+hex+characters+in+escape+%28%25%29+pattern+%2D+For
+input+string%3A+%22%27+%22
RequestURI=/SystemLink/servlet/SystemLinkServlet/
Powered by Jetty:// <http://jetty.mortbay.org> 
I would appreciae anybody in helping me.
Thanks
Saravanan


CONFIDENTIAL:  
The information contained in this email communication is confidential 
information intended only for the use of the addressee.  Unauthorized use, 
disclosure or copying of this communication is strictly prohibited and may be 
unlawful.  If you have received this communication in error, please notify us 
immediately by return email and destroy all copies of this communication, 
including all attachments.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.