KleineCuypie , we can't use DOM since the XML's could be huge. We are now trying to avoid XML and trying to use OOPS programming to better manage the objects.
Thanks KleineCuypie. I think you can help here.
Our xml is like this
<hotels>
<hotel>
<name>AAA </name>
<description>DES </description>
<destination>ALX </destination>
</hotel>
<HotelAvailabilityInfo>
<AvailabilityCode>AV</AvailabilityCode>...
This is regarding parsing an XML using SAX parser or OE read-xml.
My objective: I might have a big xml with say 1000's of Hotel details in the form of XML. Each Hotel node would have child nodes with information like Hotel code, description, availability from date , to date etc. From this huge...
Marian,
Can you give some more explanation like a piece of code if you have? That would be very useful since the team here does not have much expertise in C/C++.
regards
krishna
Thanks a lot Marian, you made my day.
Problem was that yesterday, i binded the server to the explicit server ip. So today i forgot to change localhost in your code. Sorry for the inconvenience caused. Really appreciate the help provided. I owe you a treat :eek:
regards
krishna
Dear Marian,
retCode is coming as 3 for set for the following code. So that means set is not working properly?
run memcached_set (h-memc, strKey, length(strKey, 'raw'),
strVal, length(strVal, 'raw'), expTime, optFlag,
output retCode)...
Thank you Marian, your code executes without any error and messages are properly displayed. But when i try to retrieve the value stored using the same key "toto" it is giving same memory violation error.
def var retValStr as character no-undo.
run memcached_get (h-memc, "toto", 4...
Dear Tamhas,
I downloaded the jpjvm.zip file and found jpjvm.dll inside. Can this be used in Linux environment? I mean can we generate a jpjvm.so file using a make script? Any pointers would be helpful.
regards
krishna
Yeah Marian, I am also trying to adopt the same approach. What i have done is made a shared library out of libmemcached code and tried calling from Progress. Unfortunately I am getting an error "SYSTEM ERROR: Memory violation. (49)"
The code snipped which i tried is as given below:
v-server =...
Hello,
Does Progress support any in-memory caching framework?
ObjectStore also does not have Progress support. Frameworks like ObjectStore and MemCached have C++ and Java APIs which we can use from Progress by loading some shared library. But to me it does not look like a neat solution. It...
Hello,
Is there a way i can call a Java class from Progress? I don't want to use OSCommand function though. Any other better method to invoke Java functions residing in a class?
What i am trying to do is to call the Memcached Java APIs from Progress, since i do not have a Progress equivalent...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.