This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
The Rest - Ask For Help / Re: can I create a nettalk client that will save jpg images to my computer?
« on: March 15, 2016, 11:10:48 AM »
Thank you very much I got it going. Your directions were very helpful.
2
The Rest - Ask For Help / can I create a nettalk client that will save jpg images to my computer?
« on: March 14, 2016, 09:21:26 AM »
I have a few thousand images of book covers I need to save to my computer so they can be used later. I have a list of the url's that point to the images. For example . http://images.contentreserve.com/ImageType-200/2254-1/%7BD3BA9D66-93A8-4C04-8581-07F8E0987C0D%7DImg200.jpg
Is there a way I can save them as valid jpg file to my local machine using a nettalk web client and stringtheory perhaps. Maybe someone has some example code or any insite.
Thanks
Is there a way I can save them as valid jpg file to my local machine using a nettalk web client and stringtheory perhaps. Maybe someone has some example code or any insite.
Thanks
3
Web Server - Ask For Help / Trying to keep nettalk soap server up 24/7
« on: June 24, 2014, 06:07:34 AM »
I have been using netalk 7.37 with xfiles for my soap server. I reads data from one of several mysql databases depending on the soap request. This all works very well. However I cannot seem to track down why it suddenly stops working. I have tried logging to a text file, running it with ud.debug embeds, and just yesterday I added GPFreporter to see if it was crashing due to a gpf. I did stop working this morning but there was no gpf report log created. I did test this build to make sure it actually does write to the gpf log file by adding some code to force it to gpf. In any case I am wondering what to try next. BTW I have timer on the WebServer window which connects to the mysql server every few minutes to make sure the connection stays up.
If anyone can tell me something else to try to keep it running or at least start it back up if it goes down I would much appreciate it.
Thanks
If anyone can tell me something else to try to keep it running or at least start it back up if it goes down I would much appreciate it.
Thanks
4
Web Server - Ask For Help / saving xml with attibutes
« on: March 26, 2014, 08:44:44 AM »
I have to send out xml with my nettalks server using xfiles that looks like the following. It has attributes which I am not sure how to do. Notice the following line.
<UnstructuredPersonalUserName datatype="string">PATRON, TEST</UnstructuredPersonalUserName>
The entire message would look like the following.
<!DOCTYPE NCIPMessage PUBLIC "-//NISO//NCIP DTD Version 1.0//EN" "http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd">
<NCIPMessage version="http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd">
<LookupUserResponse>
<ResponseHeader>
<FromAgencyId>
<UniqueAgencyId>
<Scheme>http://136.181.125.166:6601/IRCIRCD?target=get_scheme_values&scheme=UniqueAgencyId</Scheme>
<Value>zv141</Value>
</UniqueAgencyId>
</FromAgencyId>
<ToAgencyId>
<UniqueAgencyId>
<Scheme>http://136.181.125.166:6601/IRCIRCD?target=get_scheme_values&scheme=UniqueAgencyId</Scheme>
<Value>melir</Value>
</UniqueAgencyId>
</ToAgencyId>
</ResponseHeader>
<UniqueUserId>
<UniqueAgencyId>
<Scheme>http://www.sirsidynix.com/ncip/v1_0/imp1/schemes/uniqueagencyid/uniqueagencyid.scm</Scheme>
<Value>UPRL</Value>
</UniqueAgencyId>
<UserIdentifierValue>123456789</UserIdentifierValue>
</UniqueUserId>
<UserOptionalFields>
<VisibleUserId>
<VisibleUserIdentifierType>
<Scheme>http://www.niso.org/ncip/v1_0/imp1/schemes/visibleuseridentifiertype/visibleuseridentifiertype.scm</Scheme>
<Value>Barcode</Value>
</VisibleUserIdentifierType>
<VisibleUserIdentifier>123456789</VisibleUserIdentifier>
</VisibleUserId>
<NameInformation>
<PersonalNameInformation>
<UnstructuredPersonalUserName datatype="string">PATRON, TEST</UnstructuredPersonalUserName>
</PersonalNameInformation>
</NameInformation>
<UserPrivilege>
<UniqueAgencyId>
<Scheme>http://www.sirsidynix.com/ncip/v1_0/imp1/schemes/uniqueagencyid/uniqueagencyid.scm</Scheme>
<Value>UPRL</Value>
</UniqueAgencyId>
<AgencyUserPrivilegeType>
<Scheme>http://www.niso.org/ncip/v1_0/imp1/schemes/agencyuserprivilegetype/public.scm</Scheme>
<Value>Staff</Value>
</AgencyUserPrivilegeType>
</UserPrivilege>
<UserAddressInformation>
<ElectronicAddress>
<ElectronicAddressType>
<Scheme>http://www.iani.org/assignments/uri-schemes.scm</Scheme>
<Value>mailto</Value>
</ElectronicAddressType>
<ElectronicAddressData>schaubmd@mcls.org</ElectronicAddressData>
</ElectronicAddress>
</UserAddressInformation>
</UserOptionalFields>
</LookupUserResponse>
</NCIPMessage>
Thanks
<UnstructuredPersonalUserName datatype="string">PATRON, TEST</UnstructuredPersonalUserName>
The entire message would look like the following.
<!DOCTYPE NCIPMessage PUBLIC "-//NISO//NCIP DTD Version 1.0//EN" "http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd">
<NCIPMessage version="http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd">
<LookupUserResponse>
<ResponseHeader>
<FromAgencyId>
<UniqueAgencyId>
<Scheme>http://136.181.125.166:6601/IRCIRCD?target=get_scheme_values&scheme=UniqueAgencyId</Scheme>
<Value>zv141</Value>
</UniqueAgencyId>
</FromAgencyId>
<ToAgencyId>
<UniqueAgencyId>
<Scheme>http://136.181.125.166:6601/IRCIRCD?target=get_scheme_values&scheme=UniqueAgencyId</Scheme>
<Value>melir</Value>
</UniqueAgencyId>
</ToAgencyId>
</ResponseHeader>
<UniqueUserId>
<UniqueAgencyId>
<Scheme>http://www.sirsidynix.com/ncip/v1_0/imp1/schemes/uniqueagencyid/uniqueagencyid.scm</Scheme>
<Value>UPRL</Value>
</UniqueAgencyId>
<UserIdentifierValue>123456789</UserIdentifierValue>
</UniqueUserId>
<UserOptionalFields>
<VisibleUserId>
<VisibleUserIdentifierType>
<Scheme>http://www.niso.org/ncip/v1_0/imp1/schemes/visibleuseridentifiertype/visibleuseridentifiertype.scm</Scheme>
<Value>Barcode</Value>
</VisibleUserIdentifierType>
<VisibleUserIdentifier>123456789</VisibleUserIdentifier>
</VisibleUserId>
<NameInformation>
<PersonalNameInformation>
<UnstructuredPersonalUserName datatype="string">PATRON, TEST</UnstructuredPersonalUserName>
</PersonalNameInformation>
</NameInformation>
<UserPrivilege>
<UniqueAgencyId>
<Scheme>http://www.sirsidynix.com/ncip/v1_0/imp1/schemes/uniqueagencyid/uniqueagencyid.scm</Scheme>
<Value>UPRL</Value>
</UniqueAgencyId>
<AgencyUserPrivilegeType>
<Scheme>http://www.niso.org/ncip/v1_0/imp1/schemes/agencyuserprivilegetype/public.scm</Scheme>
<Value>Staff</Value>
</AgencyUserPrivilegeType>
</UserPrivilege>
<UserAddressInformation>
<ElectronicAddress>
<ElectronicAddressType>
<Scheme>http://www.iani.org/assignments/uri-schemes.scm</Scheme>
<Value>mailto</Value>
</ElectronicAddressType>
<ElectronicAddressData>schaubmd@mcls.org</ElectronicAddressData>
</ElectronicAddress>
</UserAddressInformation>
</UserOptionalFields>
</LookupUserResponse>
</NCIPMessage>
Thanks
5
Web Server - Ask For Help / Re: Is there a technique for debuging xfiles xml.load()
« on: March 07, 2014, 08:07:13 AM »
Thanks Bruce xml.loggingOn = true seems to help.
6
Web Server - Ask For Help / Is there a technique for debuging xfiles xml.load()
« on: March 05, 2014, 08:05:33 AM »
I am using xfiles and once I get my groups or queues set up right It works great. However I have a couple dozen xml files with attributes I need to be able to read. I know that I have to use queues and groups properly named and nested. However I has always been a case of trial and error for me to get the clarion data structures just right so that they will load into my variables. Does anyone have any tips or techniques for making this process less painful? Like some debug flag I could turn on or bit of code I could put somewhere so that when I try the xml.load() command I can see what is happening? Below is a real simple example of one of them.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE NCIPMessage PUBLIC "-//NISO//NCIP DTD Version 1.0//EN" "http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd"> <NCIPMessage version="http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd">
<ItemRequestCancelled> <InitiationHeader> <FromAgencyId>
<UniqueAgencyId> <Scheme
datatype="string">http://136.181.125.166:6601/IRCIRCD?target=get_scheme _values&scheme=UniqueAgencyId</Scheme>
<Value datatype="string">zv244</Value> </UniqueAgencyId>
</FromAgencyId> <ToAgencyId>
<UniqueAgencyId> <Scheme
datatype="string">http://136.181.125.166:6601/IRCIRCD?target=get_scheme _values&scheme=UniqueAgencyId</Scheme>
<Value datatype="string">zv223</Value> </UniqueAgencyId>
</ToAgencyId> </InitiationHeader> <UniqueUserId>
<UniqueAgencyId> <Scheme
datatype="string">http://136.181.125.166:6601/IRCIRCD?target=get_scheme _values&scheme=UniqueAgencyId</Scheme>
<Value datatype="string">zv244</Value> </UniqueAgencyId>
<UserIdentifierValue
datatype="string">p12704374</UserIdentifierValue> </UniqueUserId>
<UniqueItemId> <UniqueAgencyId>
<Scheme datatype="string">http://136.181.125.166:6601/IRCIRCD?target=get_scheme _values&scheme=UniqueAgencyId</Scheme>
<Value datatype="string">zv223</Value> </UniqueAgencyId>
<ItemIdentifierValue
datatype="string">30295001258854</ItemIdentifierValue> </UniqueItemId>
<RequestType> <Scheme
datatype="string">http://136.181.125.166:6601/IRCIRCD?target=get_scheme _values&scheme=RequestType</Scheme>
<Value datatype="string">hold</Value> </RequestType>
</ItemRequestCancelled> </NCIPMessage>
Thanks
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE NCIPMessage PUBLIC "-//NISO//NCIP DTD Version 1.0//EN" "http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd"> <NCIPMessage version="http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd">
<ItemRequestCancelled> <InitiationHeader> <FromAgencyId>
<UniqueAgencyId> <Scheme
datatype="string">http://136.181.125.166:6601/IRCIRCD?target=get_scheme _values&scheme=UniqueAgencyId</Scheme>
<Value datatype="string">zv244</Value> </UniqueAgencyId>
</FromAgencyId> <ToAgencyId>
<UniqueAgencyId> <Scheme
datatype="string">http://136.181.125.166:6601/IRCIRCD?target=get_scheme _values&scheme=UniqueAgencyId</Scheme>
<Value datatype="string">zv223</Value> </UniqueAgencyId>
</ToAgencyId> </InitiationHeader> <UniqueUserId>
<UniqueAgencyId> <Scheme
datatype="string">http://136.181.125.166:6601/IRCIRCD?target=get_scheme _values&scheme=UniqueAgencyId</Scheme>
<Value datatype="string">zv244</Value> </UniqueAgencyId>
<UserIdentifierValue
datatype="string">p12704374</UserIdentifierValue> </UniqueUserId>
<UniqueItemId> <UniqueAgencyId>
<Scheme datatype="string">http://136.181.125.166:6601/IRCIRCD?target=get_scheme _values&scheme=UniqueAgencyId</Scheme>
<Value datatype="string">zv223</Value> </UniqueAgencyId>
<ItemIdentifierValue
datatype="string">30295001258854</ItemIdentifierValue> </UniqueItemId>
<RequestType> <Scheme
datatype="string">http://136.181.125.166:6601/IRCIRCD?target=get_scheme _values&scheme=RequestType</Scheme>
<Value datatype="string">hold</Value> </RequestType>
</ItemRequestCancelled> </NCIPMessage>
Thanks
7
E-Mail - Ask For Help / Send mail and ThinNet
« on: December 16, 2012, 09:06:29 AM »
I am trying to send an email from within a ThinNet application. It does work. However because of how ThinNet handles the timer it takes between 30 to 50 seconds to send the single email. Is there some way that I can override or force the mail to be sent faster. Like have some other type of loop that could it could be sent from? BTW If I don't run it in thin mode the email gets sent in about a second or two. The code I am using is basically taken from the original netdemo testsendmail procedure.
Thanks
Thanks
Pages: [1]