NetTalk Central

Show Posts

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.


Topics - debzidoodle

Pages: [1] 2 3
1
Web Server - Ask For Help / Signature - value is not the normal format
« on: September 29, 2014, 07:06:15 PM »
I am not sure when this started, but my signature values are not the same format as what the sigToImage procedure is expecting.
The value that is being written looks like this
Code: [Select]
[{"lx":11,"ly":58,"mx":11,"my":57},{"lx":11,"ly":55,"mx":11,"my":58},{"lx":12,"ly":52,"mx":11,"my":55},{"lx":15,"ly":46,"mx":12,"my":52},{"lx":20,"ly":40,"mx":15,"my":46},{"lx":24,"ly":35,"mx":20,"my":40},{"lx":32,"ly":30,"mx":24,"my":35},{"lx":38,"ly":27,"mx":32,"my":30},{"lx":47,"ly":22,"mx":38,"my":27},{"lx":55,"ly":21,"mx":47,"my":22},{"lx":63,"ly":19,"mx":55,"my":21},{"lx":70,"ly":19,"mx":63,"my":19},{"lx":72,"ly":19,"mx":70,"my":19},{"lx":77,"ly":22,"mx":72,"my":19},{"lx":83,"ly":28,"mx":77,"my":22},{"lx":89,"ly":36,"mx":83,"my":28},{"lx":93,"ly":46,"mx":89,"my":36},{"lx":97,"ly":56,"mx":93,"my":46},{"lx":103,"ly":66,"mx":97,"my":56},{"lx":107,"ly":76,"mx":103,"my":66},{"lx":110,"ly":85,"mx":107,"my":76},{"lx":114,"ly":94,"mx":110,"my":85},{"lx":115,"ly":99,"mx":114,"my":94},{"lx":116,"ly":99,"mx":115,"my":99},{"lx":117,"ly":99,"mx":116,"my":99},{"lx":120,"ly":101,"mx":117,"my":99},{"lx":126,"ly":101,"mx":120,"my":101},{"lx":133,"ly":101,"mx":126,"my":101},{"lx":149,"ly":99,"mx":133,"my":101},{"lx":162,"ly":98,"mx":149,"my":99},{"lx":178,"ly":93,"mx":162,"my":98},{"lx":192,"ly":88,"mx":178,"my":93},{"lx":206,"ly":80,"mx":192,"my":88},{"lx":214,"ly":72,"mx":206,"my":80},{"lx":220,"ly":63,"mx":214,"my":72},{"lx":224,"ly":53,"mx":220,"my":63},{"lx":224,"ly":45,"mx":224,"my":53},{"lx":223,"ly":36,"mx":224,"my":45},{"lx":222,"ly":31,"mx":223,"my":36},{"lx":222,"ly":28,"mx":222,"my":31},{"lx":220,"ly":25,"mx":222,"my":28},{"lx":217,"ly":17,"mx":220,"my":25},{"lx":216,"ly":10,"mx":217,"my":17},{"lx":214,"ly":8,"mx":216,"my":10},{"lx":213,"ly":5,"mx":214,"my":8},{"lx":215,"ly":5,"mx":213,"my":5},{"lx":219,"ly":6,"mx":215,"my":5},{"lx":225,"ly":9,"mx":219,"my":6},{"lx":231,"ly":12,"mx":225,"my":9},{"lx":241,"ly":15,"mx":231,"my":12},{"lx":245,"ly":18,"mx":241,"my":15},{"lx":248,"ly":19,"mx":245,"my":18},{"lx":249,"ly":20,"mx":248,"my":19},{"lx":251,"ly":22,"mx":249,"my":20},{"lx":254,"ly":26,"mx":251,"my":22},{"lx":258,"ly":33,"mx":254,"my":26},{"lx":261,"ly":39,"mx":258,"my":33},{"lx":268,"ly":51,"mx":261,"my":39},{"lx":272,"ly":62,"mx":268,"my":51},{"lx":274,"ly":65,"mx":272,"my":62},{"lx":274,"ly":68,"mx":274,"my":65},{"lx":276,"ly":68,"mx":274,"my":68},{"lx":276,"ly":70,"mx":276,"my":68},{"lx":276,"ly":72,"mx":276,"my":70},{"lx":276,"ly":73,"mx":276,"my":72},{"lx":275,"ly":75,"mx":276,"my":73},{"lx":272,"ly":76,"mx":275,"my":75},{"lx":263,"ly":77,"mx":272,"my":76},{"lx":256,"ly":78,"mx":263,"my":77},{"lx":247,"ly":79,"mx":256,"my":78},{"lx":235,"ly":80,"mx":247,"my":79},{"lx":217,"ly":80,"mx":235,"my":80},{"lx":198,"ly":80,"mx":217,"my":80},{"lx":177,"ly":80,"mx":198,"my":80},{"lx":156,"ly":78,"mx":177,"my":80},{"lx":134,"ly":73,"mx":156,"my":78},{"lx":116,"ly":69,"mx":134,"my":73},{"lx":93,"ly":62,"mx":116,"my":69},{"lx":76,"ly":55,"mx":93,"my":62},{"lx":63,"ly":48,"mx":76,"my":55},{"lx":53,"ly":42,"mx":63,"my":48},{"lx":44,"ly":35,"mx":53,"my":42},{"lx":40,"ly":30,"mx":44,"my":35},{"lx":36,"ly":25,"mx":40,"my":30},{"lx":33,"ly":19,"mx":36,"my":25},{"lx":30,"ly":16,"mx":33,"my":19},{"lx":28,"ly":14,"mx":30,"my":16},{"lx":28,"ly":13,"mx":28,"my":14},{"lx":27,"ly":13,"mx":28,"my":13}]
So the normal format of Z and Y is not there

I have attached an example.  The example app that ships with netTalk seems to work fine, so I am not sure what the issue is with my apps.
My env.
C8 9759
NT 8.27
Draw 3.50
StringTheory 2.09

Thanks,
Debra

[attachment deleted by admin]

2
Web Server - Ask For Help / Odd issue in NT8.26
« on: September 24, 2014, 12:20:10 PM »
Hi Bruce,

An odd thing is happening in 8.26.  I went from 8.24 to 8.26, and 8.26 is having a threading issue. 
I started the server at 10:05am, at about 11:30am I noticed the memory was running about twice what it normally does, but it was still serving the pages out fine.  Looked at the threads, and the thread count was not going below 7 on the Performance tab.  Normally in a case like this it stops serving out the pages, but it was running fine.
But by 12:55pm the server memory tapped out at 2059 mb and the server closed down but did not write a gpf report.
I have attached some screen shots, 2 are of the server itself, and the other is from my monitoring app.


[attachment deleted by admin]

3
Web Server - Ask For Help / WebService - SoapAction issue
« on: August 20, 2014, 05:04:37 PM »
Hi Bruce
I have a client that is passing the soap request like the following, this pulls back the actual page for mySystem, so it is not executing the SOAPAction.  I did some testing using this command and the netDemo example, if I remove the " from around the URL in the soap action everything works fine.  How can I make my server accept this request as the client sends it?

Code: [Select]
POST /mySystem HTTP/1.1
Content-Length: 376
Content-Type: text/xml; charset=utf-8
Accept:  */*
Host: 10.211.55.4:88
User-Agent: PC SOFT Framework
Connection: close
SOAPAction: "http://10.211.55.4:88/mySystem/Date"

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header/><SOAP-ENV:Body><ns1:Date xmlns:ns1="mySystem"/></SOAP-ENV:Body></SOAP-ENV:Envelope>

4
Hi Bruce

In had an issue a while back connecting a NTWS webservice method to a WinDev Mobile client http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=5749.0

 When I turned off the compression the issue went away, but when I upgraded to 8.23 I have an issue again

I have the following requests coming into the server
Code: [Select]
POST /GetDriverAuthCode HTTP/1.1
User-Agent: PC SOFT Framework
Content-Type: application/x-www-form-urlencoded
Host: 192.168.1.105:86
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 25
Code: [Select]
POST /GetDriverAuthCode HTTP/1.1
User-Agent: PC SOFT Framework
Content-Type: application/x-www-form-urlencoded
Host: 192.168.1.105:86
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 25

Login=driver&Password=ggg

From this I should get an error response saying that the credentials are bad.

But instead I am getting nothing, not even a header.

attached is a screenshot from the device with the attempt to show the results.  First line is just the true\false for if the request was successfully made.  The 2nd and 3rd are the header and response... but they are blank
My requests coming into the server from 8.21 and 8.23 look the same, but the outcome is different.

Any ideas on what I  need to do differently either in my server or in my request headers?

Thanks
Debra


[attachment deleted by admin]

5
I need to switch from insert from insert mode to change mode in a form when the user performs a specific action... writing the record to disk, like a pre-save.
What is the best method to accomplish this?

Thanks
Debra

6
Web Server - Ask For Help / Task Panel display issue NT 8.17
« on: July 05, 2014, 09:15:45 AM »
Hi Bruce,
In NT 8.17 the task panel menu has the text overlapping the arrow icons.  See screen shot for the example.

Thanks,
Debra

[attachment deleted by admin]

7
Hi Bruce
I have a web service that returns a view.  In my view is a date, I would like to format this date before it is sent.  I do not seem to have access to the xml.AssignField procedure to do this though.  Any way I can do this?

Thanks
Debra

8
Hi All,

How can I upload a picture or file to a WebServiceMethod?  Ideally I would like to be able to upload more than one file at a time, but not required. 

It does not have to be done via a WebServiceMethod, but I am a little confused by this post http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=5150.0
The part that confuses me is using the web page, so do I create by own form in a routine? And if so how do I access the values and file upload from the form?

Thanks

Debra

9
Web Server - Ask For Help / WebService Content Length Error
« on: July 01, 2014, 11:30:21 AM »
Hi Bruce

In NT 8.17, I have a webservice that returns a view.  If I have more than 2 records that return my Content Length is wrong in my header.  Here is an example of what I mean, the below XML is 1769 characters long, the content length in the header says its 491.  

This does not seem to be data specific, it appears I can use any combination of records, so long as it is less than 3.  If I have 1 or 2 records the content length is correct.

I attached the CLW, let me know if you still need an example app.

Code: [Select]
Status
200 OK Show explanation Loading time: 1370
Request headers
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo
Content-Type: application/x-www-form-urlencoded
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: SESSIONID=Hx813QeEf4MuXbnHcKtNA4Yhz6yltR
Response headers
Date: Tue, 01 Jul 2014 19:19:59 GMT
Server: NetTalk-WebServer/8.17
Content-Length: 491
Content-Encoding: gzip
Content-Type: text/xml
Connection: keep-alive
X-Frame-Options: sameorigin

Code: [Select]
<?xml version="1.0"?>
<DriversTickets_response>
  <Tickets>
    <IMP_CALLNO>141</IMP_CALLNO>
    <IMP_CUSTID>CASH</IMP_CUSTID>
    <IMP_INVNO>A000-141</IMP_INVNO>
    <IMP_OWNERNAME>John Samuels</IMP_OWNERNAME>
    <IMP_CALLBACK>6057161298</IMP_CALLBACK>
    <IMP_LOCATION>605 E St Anne St.</IMP_LOCATION>
    <IMP_TOWED_TO>1107 Silver St.</IMP_TOWED_TO>
    <IMP_LOCATIONCITY>Rapid City</IMP_LOCATIONCITY>
    <IMP_TOWED_TOCITY>Rapid City</IMP_TOWED_TOCITY>
    <IMP_COMMENT/>
    <IMP_GUID>$$280KFlKgeMisnT</IMP_GUID>
    <VTAT_TOW_STATUS>On-Scene</VTAT_TOW_STATUS>
    <VTAT_RELATE_EMPLOYEE_GUID>A0000K9FDtj7Q5EH</VTAT_RELATE_EMPLOYEE_GUID>
  </Tickets>
  <Tickets>
    <IMP_CALLNO>148</IMP_CALLNO>
    <IMP_CUSTID/>
    <IMP_INVNO>A000-148</IMP_INVNO>
    <IMP_OWNERNAME/>
    <IMP_CALLBACK>4168799999</IMP_CALLBACK>
    <IMP_LOCATION>23 Creditstone rd</IMP_LOCATION>
    <IMP_TOWED_TO>140 doughton rd</IMP_TOWED_TO>
    <IMP_LOCATIONCITY>concord</IMP_LOCATIONCITY>
    <IMP_TOWED_TOCITY>concord</IMP_TOWED_TOCITY>
    <IMP_COMMENT/>
    <IMP_GUID>$$530KGDNCzoLX4A</IMP_GUID>
    <VTAT_TOW_STATUS>En-Route</VTAT_TOW_STATUS>
    <VTAT_RELATE_EMPLOYEE_GUID>A0000K9FDtj7Q5EH</VTAT_RELATE_EMPLOYEE_GUID>
  </Tickets>
  <Tickets>
    <IMP_CALLNO>150</IMP_CALLNO>
    <IMP_CUSTID/>
    <IMP_INVNO>A000-150</IMP_INVNO>
    <IMP_OWNERNAME/>
    <IMP_CALLBACK/>
    <IMP_LOCATION>33 peeler rd</IMP_LOCATION>
    <IMP_TOWED_TO/>
    <IMP_LOCATIONCITY>Concord</IMP_LOCATIONCITY>
    <IMP_TOWED_TOCITY/>
    <IMP_COMMENT/>
    <IMP_GUID>$$930KGEDs2085Nz</IMP_GUID>
    <VTAT_TOW_STATUS>En-Route</VTAT_TOW_STATUS>
    <VTAT_RELATE_EMPLOYEE_GUID>A0000K9FDtj7Q5EH</VTAT_RELATE_EMPLOYEE_GUID>
  </Tickets>
  </DriversTickets_response>

[attachment deleted by admin]

10
Web Server - Ask For Help / WebServices Errors
« on: June 15, 2014, 07:07:55 AM »
Hello!
When I create a webservice over a table that has a date group I get the below errors.  Attached is an example.
NT 8.16
StringTheory 2.07
xFiles 2.53

Thanks,
Debra


Expected: <ID> & CLASS GROUP INTERFACE QUEUE  - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1494,28
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1554,10
Must specify identifier - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1555,64
Must specify identifier - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1555,61
Must specify identifier - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1555,45
Must specify identifier - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1555,24
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1555,14
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1605,10
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1606,7
Field not found: PAY_PAYID - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1606,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1607,7
Field not found: PAY_TYPE - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1607,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1608,7
Field not found: PAY_ACCTNO - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1608,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1609,7
Field not found: PAY_DATE - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1609,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1610,7
Field not found: PAY_TENDOR - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1610,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1611,7
Field not found: PAY_EXPDATE - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1611,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1612,7
Field not found: PAY_CHECKNO - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1612,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1613,7
Field not found: PAY_AMOUNT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1613,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1614,7
Field not found: PAY_NOTE - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1614,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1615,7
Field not found: PAY_LASTUPDATEDBY - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1615,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1616,7
Field not found: PAY_SETRELEASEDDATETOSTRING - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1616,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1617,7
Field not found: PAY_SETRELEASEDDATETOGROUP - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1617,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1618,7
Field not found: PAY_SETRELEASEDDATETO - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1618,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1619,7
Field not found: PAY_SETRELEASEDDATETO_TIME - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1619,17
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1620,7
Field not found: PAY_ - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1620,17
No matching prototype available - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1621,8
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1633,27
Invalid structure as first parameter - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1634,10
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1638,27
Invalid structure as first parameter - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1639,10
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1644,27
Invalid structure as first parameter - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1645,10
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1657,15
Field not found: PAY_PAYID - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1657,25
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1658,14
Field not found: PAY_TYPE - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1658,24
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1659,16
Field not found: PAY_ACCTNO - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1659,26
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1660,14
Field not found: PAY_DATE - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1660,24
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1661,16
Field not found: PAY_TENDOR - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1661,26
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1662,17
Field not found: PAY_EXPDATE - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1662,27
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1663,17
Field not found: PAY_CHECKNO - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1663,27
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1664,16
Field not found: PAY_AMOUNT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1664,26
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1665,14
Field not found: PAY_NOTE - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1665,24
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1666,23
Field not found: PAY_LASTUPDATEDBY - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1666,33
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1667,33
Field not found: PAY_SETRELEASEDDATETOSTRING - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1667,43
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1668,32
Field not found: PAY_SETRELEASEDDATETOGROUP - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1668,42
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1669,27
Field not found: PAY_SETRELEASEDDATETO - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1669,37
Unknown identifier: Q:PAYMENT - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1670,32
Field not found: PAY_SETRELEASEDDATETO_TIME - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1670,42
Unknown identifier: PAY: - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1671,3
Field not found: PAY_ - c:\Clarion-8-Versions\ExamplesForHelp\WebServices\WebService003.clw:1671,20

[attachment deleted by admin]

11
Web Server - Ask For Help / json Support?
« on: May 22, 2014, 04:02:04 PM »
Hi Bruce

What support for json parsing does NetTalk (or any other utility) have?   I need reading of json more than writing...  here is an example of some data that I need to parse

Code: [Select]
Content-Type: application/json
{
"totalCount":25,
"offSet":0,
"limit":10,
"results":[
    {
        "comments":null,
        "statusHistory":null,
        "serviceType":"Tow",
        "coverage":null,
        "dispatchRequestNumber":"463798552",
        "urgency":null,
        "referenceNumber":null,
        "poNumber":"245711363",
        "problem":null,
        "equipment":
            {
                "type":"Light Duty Flatbed",
                "equipmentId":null
            },
        "receivedTime":"2013-11-11T16:14:59Z",
        "acceptedTime":"2013-11-11T16:14:57Z",
        "currentStatus":
           {
               "code":"0",
               "description":"UNASSIGNED",
               "eta":0,
               "reason":null,
               "reasonCode":0,
               "source":null,
               "extJobId":null,
               "latitude":0.0,
               "longitude":0.0,
               "statusTime":"0001-01-01T00:00:00",
               "driverId":0,
               "reportedBy":"USER"
             },
        "vehicle":
           {
               "vin":null,
               "year":"2011",
               "state":null,
               "make":"All Wheel Drive Equip.",
               "mileage":0,
               "model":"NULL",
               "color":"Unknown",
               "plate":null,
               "VehicleType":null,
               "driveTrainType":null,
               "fuelType":null
            },
        "disablementLocation":
            {
               "contactInfo":
                    {
                       "callbackNumber":null,
                       "name":"HOME 1",
                       "phone":null
                    },
                "dropInstructions":null,
                "garageClearanceHeight":null,
                "garageLevel":null,
                "isDriverWithVehicle":true,
                "nightDropOff":false,
                "parked":false,
                "address1":"422 North St",
                "address2":null,
                "crossStreet":null,
                "landmark":null,
                "locationType":null,
                "city":"Randolph",
                "poi1":null,
                "poi2":null,
                "state":"MA",
                "postalCode":"02368",
                "lat":42.1758751377985,
                "lng":-71.0348727425857
            },
        "towDestination":
            {
                "contactInfo":
                   {
                       "callbackNumber":null,
                       "name":"TOW TO",
                       "phone":""
                    },
                "nightDropOff":false,
                "address1":null,
                "address2":null,
                "crossStreet":null,
                "landmark":"",
                "locationType":"Dealership",
                "city":"DEDHAM",
                "poi1":null,
                "poi2":null,
                "state":"MA",
                "postalCode":null,
                "lat":42.24903717041,
                "lng":-71.176467895508
            },
        "assignedDriver":null,
        "eta":"2013-11-11T17:14:57",
        "etaInMinutes":60,
        "revisedEta":"2013-11-11T17:29:57",
        "revisedEtaInMinutes":15,
        "etaRevisionCount":1,
        "responseTimeExtCount":0,
        "dispatcherContactNumber":null,
        "signatures":null
    }, .
       .
       .
       .
]
}

Thanks
Debra

12
Hi All
When I create a new control in a page using NT 8.11 I am getting compile errors.  Here is an example of the code that it is failing on.  How do I resolve " = p_web.MakeWebRelative()"?  Attached is the clw

Code: [Select]
 ! tab = 4
      If not (p_web.gsv('qbResult')='')
        loc:InvalidTab += 1
        do ValidateValue::btnAddAll
        If loc:Invalid then exit.
         = p_web.MakeWebRelative()
        do ValidateValue::BrowseQB_Items
        If loc:Invalid then exit.
         = p_web.MakeWebRelative()
      End
  ! tab = 2

Errors:

No matching prototype available - c:\Project\PTOM_Online332.clw:1963,33
Expected: <statement> <INT> <REAL> <DECIMAL> <STRING> <LINEBREAK> ( ; ACCEPT ASSERT CHOOSE ELSE ELSIF END INCLUDE OMIT RAISE TRY SECTION COMPILE BEGIN PRAGMA  - c:\Project\PTOM_Online332.clw:1963,10
No matching prototype available - c:\Project\PTOM_Online332.clw:1966,33
Expected: <statement> <INT> <REAL> <DECIMAL> <STRING> <LINEBREAK> ( ; ACCEPT ASSERT CHOOSE ELSE ELSIF END INCLUDE OMIT RAISE TRY SECTION COMPILE BEGIN PRAGMA  - c:\Project\PTOM_Online332.clw:1966,10
No matching prototype available - c:\Project\PTOM_Online332.clw:1973,33
Expected: <statement> <INT> <REAL> <DECIMAL> <STRING> <LINEBREAK> ( ; ACCEPT ASSERT CHOOSE ELSE ELSIF END INCLUDE OMIT RAISE TRY SECTION COMPILE BEGIN PRAGMA  - c:\Project\PTOM_Online332.clw:1973,10

And yes, I am on StringTheroy 2.05

[attachment deleted by admin]

13
Hi All,
For my application to connect to QuickBooks Online I needed oAuth v1 capabilities in my app.  Figuring this out has had me pulling my hair out.  The documentation for oAuth is pretty complicated and not real clear on several points.  

So to save someone else that frustration, attached is an example app for connecting to QuickBooks Online using oAuth v1.  I have another project coming that will use oAuth v2 so when I get that done I will share an example as well.  

FYI, the following is required for this example
  • NT 8.11 (used for a new flag of net:php in the encryptWebString)
  • xFiles
  • Cryptonite


NOTE: You have to be signed in to download the file.

Hopefully this helps someone else!

Debra

[attachment deleted by admin]

14
Web Server - Ask For Help / Function for Percent Encoding?
« on: April 29, 2014, 04:57:05 AM »
Hi Bruce,

Is there a function that will perform Percent Encoding?  The p_web.EncodeWebString is a little to agressive, percent encoding is like the PHP function rawurlencode https://php.net/manual/en/function.rawurlencode.php

Thanks
Debra

15
Hello,

I am trying to setup an oAuth Request Token procedure.   It is v1 so it requires the unix\epoch time, which is the same thing as the javascript code like this
Code: [Select]
var epochTime = (new Date).getTime()
Does NT have a way for me to get this value from server side code?


Pages: [1] 2 3