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
Web Server - Ask For Help / Re: NTWS '#' character trucates json param string
« on: September 01, 2023, 02:28:42 PM »
It was all my fault, bad formatting coming in from the test client apps. After dumping the trash, it is now working as expected.
Thanks Bruce for all your help on this.
<I'll go stand in the corner for an hour
>
Thanks Bruce for all your help on this.
<I'll go stand in the corner for an hour

2
Web Server - Ask For Help / NTWS '#' character trucates json param string
« on: August 31, 2023, 09:57:29 AM »
[NT 14 Webservice] I'm trying to create a Cognito Reports CallBack Server that receives a json string. It has no parameter tag so I can't use the template variable, I use p_web.wholeurl to grab the passed json and I store it in a StringTheory object. So far so good.
Here is my problem... there is a '#' in all of the link data strings. If they are in the string the incoming parameter string truncates at its location. I can't remove it prior to it being sent by the other vendor. Those links are needed to get access to the report.
[example of a link with a '#' in it]
<lots of json in front>,"EditLink":"https://www.cognitoforms.com/SamplePayrollInc/AuxiliaryProductsRequest#RsoPs0JdqAxUKC3gCS_JD_l5zxTsRtOP8Zo7mA78yz64$*", <more json links>
so the incoming json string that makes it to my proc looks like
<lots of json in front>,"EditLink":"https://www.cognitoforms.com/SamplePayrollInc/AuxiliaryProductsRequest
The second half of the link as well as all the rest of the json structure that follows is gone.
I have 8 document "link" string structures and they all have a '#' in them.
How do I get the '#' to be ignored and stop truncating the incoming string? I'm not seeing anything in the docs that relates to this issue. It has been many years since I fiddled with NT server side. So I don't really know where to hit it with a hammer.
TIA,
Dave
Here is my problem... there is a '#' in all of the link data strings. If they are in the string the incoming parameter string truncates at its location. I can't remove it prior to it being sent by the other vendor. Those links are needed to get access to the report.
[example of a link with a '#' in it]
<lots of json in front>,"EditLink":"https://www.cognitoforms.com/SamplePayrollInc/AuxiliaryProductsRequest#RsoPs0JdqAxUKC3gCS_JD_l5zxTsRtOP8Zo7mA78yz64$*", <more json links>
so the incoming json string that makes it to my proc looks like
<lots of json in front>,"EditLink":"https://www.cognitoforms.com/SamplePayrollInc/AuxiliaryProductsRequest
The second half of the link as well as all the rest of the json structure that follows is gone.
I have 8 document "link" string structures and they all have a '#' in them.
How do I get the '#' to be ignored and stop truncating the incoming string? I'm not seeing anything in the docs that relates to this issue. It has been many years since I fiddled with NT server side. So I don't really know where to hit it with a hammer.
TIA,
Dave
3
Web Server - Ask For Help / Calendar Event Feeds (NT & jQ FullCalendar)
« on: October 28, 2013, 12:49:41 PM »
Good afternoon gents,
I'm using NT and jQ FullCalendar and I have multiple event feeds coming in (2 Hand coded arrays, 3 Google Calendar feeds, 1 Text file [JSON] and a NT web page that sends back JSON).
My questions are...
1) Are there any other Event feeders out there that return "Google calendar" event feeds?
2) What are the tips and tricks for getting Webserver #1 (using a web client) to get some JSON from Webserver #2
I must be missing something...
Thanks
Dave
I'm using NT and jQ FullCalendar and I have multiple event feeds coming in (2 Hand coded arrays, 3 Google Calendar feeds, 1 Text file [JSON] and a NT web page that sends back JSON).
My questions are...
1) Are there any other Event feeders out there that return "Google calendar" event feeds?
2) What are the tips and tricks for getting Webserver #1 (using a web client) to get some JSON from Webserver #2
I must be missing something...
Thanks
Dave
4
Web Server - Ask For Help / SOAP Security Header "how/where?" questions
« on: June 13, 2012, 08:55:22 AM »
Hello All,
I'm treading into new territory here and I need to know how the following values used in the wsa/wsu/wsee tags are created.
Most of these are inside the wsse:Security (Security Header) of the SOAP header.
My five issues are...
1) wsu:Id="Timestamp-0983e8c1-e822-4648-8066-33839f54a6a0" ! where does this value come from?
2a) <wsu:Created>2007-03-02T22:45:41Z</wsu:Created>
2b) <wsu:Expires>2007-03-02T22:50:41Z</wsu:Expires>
!Both look like a simple format of... yyyy-mm-ddThh:mm:ssZ hmmmm... but how long should the expiry time be?
3) wsu:Id="SecurityToken-0d55d82c-d16d-4c0e-826b-21bf7c805a0f" ! where does this value come from?
4) <wsse:Nonce>w6dgDz1DMzKntFsFdEcjhw==</wsse:Nonce> ! I know that this value is random
and...
Inside the SOAP Header
5) <wsa:MessageID>urn:uuid:c07c9aef-28db-4843-8dfcc5b4d3dc363b</wsa:MessageID> ! where does this value come from?
Thanks in advance!!!!
Dave
I'm treading into new territory here and I need to know how the following values used in the wsa/wsu/wsee tags are created.
Most of these are inside the wsse:Security (Security Header) of the SOAP header.
My five issues are...
1) wsu:Id="Timestamp-0983e8c1-e822-4648-8066-33839f54a6a0" ! where does this value come from?
2a) <wsu:Created>2007-03-02T22:45:41Z</wsu:Created>
2b) <wsu:Expires>2007-03-02T22:50:41Z</wsu:Expires>
!Both look like a simple format of... yyyy-mm-ddThh:mm:ssZ hmmmm... but how long should the expiry time be?
3) wsu:Id="SecurityToken-0d55d82c-d16d-4c0e-826b-21bf7c805a0f" ! where does this value come from?
4) <wsse:Nonce>w6dgDz1DMzKntFsFdEcjhw==</wsse:Nonce> ! I know that this value is random
and...
Inside the SOAP Header
5) <wsa:MessageID>urn:uuid:c07c9aef-28db-4843-8dfcc5b4d3dc363b</wsa:MessageID> ! where does this value come from?
Thanks in advance!!!!
Dave
5
Web Server - Ask For Help / Re: Web Server SOAP example #42... Stops working after a while
« on: April 18, 2012, 10:18:35 AM »
Thanks Bruce,
I didn't think so, IT is looking into it now.
I can only get it to run when I use the IP address of the test computer (both the Server and Client reside in the same folder), it fails when using "local host". When I display the results to the window and I see a reference to it going through Iron Port.
Iron Port = Not my department, and they need this project so maybe I'll get some attention from IT.
Why it works for a short period then is blocked... has me stumped!
I have no other services using any of the ports I've tried.
db
I didn't think so, IT is looking into it now.
I can only get it to run when I use the IP address of the test computer (both the Server and Client reside in the same folder), it fails when using "local host". When I display the results to the window and I see a reference to it going through Iron Port.
Iron Port = Not my department, and they need this project so maybe I'll get some attention from IT.
Why it works for a short period then is blocked... has me stumped!
I have no other services using any of the ports I've tried.
db
6
Web Server - Ask For Help / Web Server SOAP example #42... Stops working after a while
« on: April 13, 2012, 08:11:35 AM »
Hello All,
When running the SOAP (42) server demo app I get a strange results.
At first the apps work as expected but after letting the both the Server and Client app sit idle for a while the "communication" between them is broken.
The Server never sees the incoming request from the client app.
Restarting both apps fails to work and only after I reboot will both apps start working again.
I see (using netstat -ano) that the port is still being "listened" to by the server and the firewall is not blocking the port.
Is there a "timeout" of sorts that I'm missing?
Thanks,
Dave B.
When running the SOAP (42) server demo app I get a strange results.
At first the apps work as expected but after letting the both the Server and Client app sit idle for a while the "communication" between them is broken.
The Server never sees the incoming request from the client app.
Restarting both apps fails to work and only after I reboot will both apps start working again.
I see (using netstat -ano) that the port is still being "listened" to by the server and the firewall is not blocking the port.
Is there a "timeout" of sorts that I'm missing?
Thanks,
Dave B.
Pages: [1]