Hi
I already have Xcentricity BIS installed and running on my server. I have read the docs and tried the tutorials, but I can't find a tutorial or demo showing what I need. I have figuret out how to create the reply and send it to the client.
But I don't know how to receive the header body into two working-storrage fx:
01 w-request.
03 w-header PIC X(1000).
03 w-body PIC X(1000).
In tutorial3 I can see that the request data is read using the following:
Call "B$ReadRequest" Giving BIS-Status.
If Not BIS-OK Go To Z.
and is saved to a XML file. But the data received is not always XML, so I need to handle the data differently.
Maybe I need to change the .srf file so XML is not used? I can't find it in the docs on how to exchange other data than XML.
{{ // There must be no whitespace before the XML header, hence the newline-eating comment tags. }}
{{ Handler * }}{{//}}
{{ Trace(start,file,dir=%TEMP%,exchfiles) }}{{//}}
{{ SetEnv(A_CONFIG=cblconfig.txt) }}{{//}}
{{ ServiceLibs(xmlif) }}{{//}}
{{ StartService(tutorial3.acu) }}{{//}}
{{ XMLExchange }}
Regards Kim