RE: Parsing XML response from web services with ColdFusion DeserializeJSON

2013-05-09 Thread Matthew S Blatchley

I had very similar problems with the BING AdCenter API which I and several
others never could get working.  Almost identical errors.  I even sent over
the raw responses from Fiddler and Microsoft technical support response to
me was the same thing.  "It's one of CF's downfalls".   Now I'm going to
have to go back try again :)  Round two.

Matt


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, May 09, 2013 12:58 PM
To: cf-talk
Subject: Re: Parsing XML response from web services with ColdFusion
DeserializeJSON


> Next, I do realize that I need to remove the two lines at the very top 
> and bottom that  contain "--uuid ...") and the first three lines after 
> the first boundary marker which are part of the response header. The
problem here is that simply using Replace() function to replace those lines
with nothing isn't working.

The Replace function requires that you specify a pattern. There are a couple
of other ways you could do this:
- replace everything before and after  using simple string
functions
- treat the response as a list of lines and use list functions to remove the
lines you don't want.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule,
and provides the highest caliber vendor-authorized instruction at our
training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355695
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Form submission error

2013-05-02 Thread Matthew S Blatchley

Thanks Ray, I got it working now!  It's in the neo_runtime.xml file. 

Appreciate the help as always :)

Matt



ColdFusion will block a form post with too many form fields. In CF10, you
can go into the Admin and tweak the # (default is 100), in CF9 I believe it
is some XML file. Will try to grab that doc for you.




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355645
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Form submission error

2013-05-02 Thread Matthew S Blatchley

I'm trying to fix a page that was working at one time and now I'm getting
some odd behavior. 

The form is pretty large and has well over 100 fields.  When I submit the
form I get an 500 error in IE.  

In Firefox, the form posts to a blank page and Firebug throws this error in
the console:

The character encoding of the HTML document was not declared. The document
will render with garbled text in some browser configurations if the document
contains characters from outside the US-ASCII range. The character encoding
of the page must be declared in the document or in the transfer protocol.

I have this just after the  tag on the page that the form is on:


The form fields are all unique and dynamically created in this manner:

Fieldname1_2_2013
Fieldname1_3_2013
Fieldname1_4_2013
Fieldname1_5_2013

Fieldname2_1_2013
Fieldname2_2_2013
Fieldname2_3_2013
Fieldname2_4_2013
Fieldname2_5_2013

Etc.

When I strip down the form to only allow around 30 fields, it passes the
data fine.  I even managed to find the point at which is fails and it
appears to be some sort of size issue.  However, I checked the cfadmin to
make sure the Max size of post data was jacked up, but that doesn't seem to
the be the issue either.

Any ideas?


Matt







 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355641
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: (ot) Online Learning Platforms

2013-04-26 Thread Matthew S Blatchley

Did I a lot of Student Management work in CF to integrate into Blackboard
and curriculum integration.  It's was overly expensive.  Prometheus was
pretty cool when we had the opportunity to use it.  Had no idea it was CF
though.  I didn't touch back when 4.5 was around.  We had it pitched to us
later.

Local University and Education Services Centers all switched from Blackboard
to Moodle and never looked back.  Blackboard charged something upwards of
$40k/year just for the servers.  It was redonkulous.

Matt



-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Friday, April 26, 2013 10:10 AM
To: cf-talk
Subject: Re: (ot) Online Learning Platforms


> Funny. When I worked at the University of Massachusetts I was on a team
that launched UMassOnline back in 2003.
> The university paid a million bucks for the source code of Prometheus 
> (ColdFusion 4.5 I believe), and my team was charged with making some 
> adjustments and changing every single graphic file. We're talking about a
thousand little icons and edges. It was brutal, but we got it done. One year
later Blackboard bought the company and shut them down.
> UMassOnline had to move to Blackboard. What a waste.

I remember Prometheus. I worked with some of the people who built that.

Blackboard bought everyone in that space, though. We used to have quite a
few customers on WebCT and other LMSs and they were purchased and dismantled
one-by-one.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule,
and provides the highest caliber vendor-authorized instruction at our
training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355610
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm