Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
On AGS call servlet error
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Wayne Willis
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5190
People Online:
Visitors:
277
Members:
1
Total:
278
Online Now:
Jon S
New Topics
Lawson Landmark
Executing IPA from PR160
5/3/2024 2:46 PM
We're facing a situation where we need to upda
IPA/ProcessFlow
Executing IPA from PR160
5/3/2024 2:46 PM
We're facing a situation where we need to upda
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1351
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Customization/Development
On AGS call servlet error
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Asim
New Member
Posts: 2
3/21/2007 7:10 PM
I am not Lawson expert. But I am integrating Lawson process via AGS call.
I am having following problem when I am posting following AGS call on servlet:
Requested XML structure:
<?xml version="1.0" encoding="UTF-8"?>
<XXQII.1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<XQII.1>
<_PDL>BETA</_PDL>
<_TKN>XQII.1</_TKN>
<_OUT>XML</_OUT>
<_TDS>IGNORE</_TDS>
<_DATEFMT></_DATEFMT>
<_EVT>ADD</_EVT>
<_LFN>ALL</_LFN>
<TC></TC>
<FC>P</FC>
<XVA-UNIQUE-ID>1-TEST1</XVA-UNIQUE-ID>
<XVA-COMPANY>28</XVA-COMPANY>
<XVA-LOCATION>NOTB</XVA-LOCATION>
<XVA-SYSTEM-CD>7</XVA-SYSTEM-CD>
<XVA-SEQ-NBR>0</XVA-SEQ-NBR>
<XVA-TRAN-TYPE>IS</XVA-TRAN-TYPE>
<XVA-DOCUMENT>EGAT1</XVA-DOCUMENT>
</XQII.1>
</XXQII.1>
Then I got following error response back:
<html><head><title>Apache Tomcat/5.5.9 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring(String.java:1685)
ags.doProcess(ags.java:231)
ags.doPost(ags.java:156)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.servlets.InvokerServlet.serveRequest(Unknown Source)
org.apache.catalina.servlets.InvokerServlet.doPost(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.9</h3></body></html>
But if I change
<XXQII.1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> to <XXQII.1>
then I am getting proper response back.
Looks like AGS servlet is not able to handle "xmlns:xsi" attribute.
Is it correct?
Thanks,
Asim
John Henley
Senior Member
Posts: 3349
3/22/2007 7:45 PM
Just a guess...
Don't you need xmlns= prior to the xmlns:xsi=
You are not authorized to post a reply.