Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
GWS
>
getHTTPServiceRequest crashes reading xml data with non traditional characters.
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: getHTTPServiceRequest crashes reading xml data with non traditional characters. (Read 3978 times)
Paul M.
Posts: 16
getHTTPServiceRequest crashes reading xml data with non traditional characters.
«
on:
January 22, 2024, 03:55:47 pm »
I have a web api that receives an XML document for processing. Every once in a blue moon, there is a control character(?) that causes the program to abort on a 15550 error.
I am wondering if perhaps I am not using the right tool or is there a way to clean the service request before the readXMLRequest() crashes
I am on RHEL 7.9
on BDL 3.20.11
code was modeled after (plagiarized) the demo web service in the manual.
CALL com.WebServiceEngine.Start()
WHILE (true)
LET req = com.WebServiceEngine.getHTTPServiceRequest(-1)
LET url = req.getURL()
IF url IS NULL THEN
DISPLAY "Failed: url should not be null"
continue while
end if
TRY
LET doc = req.readXMLRequest()
DISPLAY "Request is :", doc.saveToString()
... My code ...
CATCH
DISPLAY "Failed: unexpected error :", STATUS
EXIT PROGRAM (-1)
END TRY
END WHILE
Olivier E.
Posts: 204
Re: getHTTPServiceRequest crashes reading xml data with non traditional characters.
«
Reply #1 on:
February 05, 2024, 07:30:26 pm »
Hello Paul,
May I ask you if you get the same problem in Genero BDL 4.01.06 or the latest Genero EAP V5?
Thank you,
--
Olivier Eckert – Four Js Customer Care
restore b.
Posts: 1
Re: getHTTPServiceRequest crashes reading xml data with non traditional characters.
«
Reply #2 on:
February 21, 2024, 11:22:17 am »
I had the same problem in Genero BDL 4.01.06.
happy wheels
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...