Question Carl Campbell · Jun 18, 2021

Hi Community...I am trying figure this out any help appreciated. Thanks in advance

The service is a file passthrough that picks up a  PDF and then uses the BPL  code below to create the rest wrapper and sends the stream data. I am not grabbing the stream from the inbound correctly,  "request.Stream" or "request.StreamFC" always produces the following  error.

Here is what is sent and returned in the message..

request:

<Stream>

15@%Library.FileCharacterStream

</Stream>

response:

<Stream>

Unable to load xml from message: Data at the root level is invalid. Line 1, position 1.

</Stream>

6
0 605
Question Carl Campbell · Dec 16, 2019

 the file being created on the FTP server will have a format that includes the current date I would like to pull this file off the FTP while ignoring other files on the same location.

Inbound Service Class

I would like to find the file on the FTP that is being created using Todays date. But it appears that the wildcard are not recognizing the file format:

Example below. This will not pull the file "ErrorFile_20191216.txt"  off the FTP but it should. Should I be using custom code or can utilize  something built in to do this. Am I missing something? Thanks in advance.

5
1 400
Question Carl Campbell · Nov 23, 2019

Hi I am experienced with Ensemble but working in my first DeepSee project, so forgive me if this seems elementary. 

My question is, how do I clear  the data out? Every time I build I am adding more and more data. But I would like to revert my cube to being 0 so I can reload it and start over? Set my row count back to 0?

I am unable to remove/purge through the management portal

-I've tried to kill my cube Do ##class(%DeepSee.Utils).%KillCube("MyCube.Cube")  and then Rebuild it. 

Thanks In advance

5
0 273