Wddx Bad Request

View: New views
1 Messages — Rating Filter:   Alert me  

Wddx Bad Request

by Jens Maschke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Would like to know what's going on here.

i've got this query:

<cfquery name ="selection" datasource="#application.dsn#">
                                                       
        select item1,item2,item3, .... item80
                                                                                       
        from tableXY
       
        where item1 like 'something'
                                                       
</cfquery>

There are different datatypes. For example item1 = (varchar), item2 = (bit), item3 = (datetime) etc.


Then i serialize this query to a Wddx Packet.

<cfwddx action="cfml2wddx" input="#selection#" output="wselection" usetimezoneinfo="yes">

Testing for Wddx gives me "Is Wddx". O.K

        <cfif iswddx(wselection)>
                is wddx
        <cfelse>
                is not wddx
                                               
        </cfif>


when i try to pass the whole recordset to another site via

<cfoutput>
<a href="wddxtransport.cfm?suche=#urlencodedformat(wselection)#">Selection</a> </cfoutput>
       
the browser doesn't connect me to the site. i just get this message:

Error: Connection interrupted

The connection to the server was put back, while the side was loaded.


* The Website could be temporarily not attainable, try again later.

* Even if you can call no other Website, examine please the network/Internet connection.

* If your computer or network is protected by a Firewall or a Proxy, guarantee please,that Firefox may access Internet.


sometimes it gives me HTTP/1.1 Error 400 - Bad Request

has anyone an idea?

thanks






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/XML/message.cfm/messageid:206
Subscription: http://www.houseoffusion.com/groups/XML/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.3