467,146 Members | 1,230 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,146 developers. It's quick & easy.

ASP Guru needed (XML-Flash+ASP)

How can I do it?

I have a bit of idea but searching on the internet is not enough
information (or I didnt find it) Any one knows how to Send an XML to ASP
form FLASH,
the ASP saves it into a XML on the server...

If i just could send the XML and from ASP say something like save XML...
Would be easy.

Thanks!!!!!!!!

Mar 15 '06 #1
  • viewed: 3562
Share:
9 Replies
JimmySlam wrote on 15 mrt 2006 in microsoft.public.inetserver.asp.general:
... to Send an XML to ASP form FLASH, ...


You cannot "send" anything to ASP,
ASP being a platform for serverside languages.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 15 '06 #2
Sorry for the understanding , it is to an ASP page.
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.242...
JimmySlam wrote on 15 mrt 2006 in microsoft.public.inetserver.asp.general:
... to Send an XML to ASP form FLASH, ...


You cannot "send" anything to ASP,
ASP being a platform for serverside languages.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Mar 16 '06 #3
JimmySlam wrote on 16 mrt 2006 in
microsoft.public.inetserver.asp.general:
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.242...
JimmySlam wrote on 15 mrt 2006 in
microsoft.public.inetserver.asp.general:
... to Send an XML to ASP form FLASH, ...
You cannot "send" anything to ASP,
ASP being a platform for serverside languages.


[please do not toppost on usenet]
Sorry for the understanding , it is to an ASP page.


MISunderstanding?

I repeat: You cannot "send" anything to ASP or an ASP page.

However you van send string data to a server, by posting or
"querystringing". Both are cliendside actions, not involving ASP.

However you can retrieve those stringdata with ASP:
request.form() ir request.querystring()

[I bet you knew that]

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 16 '06 #4
Yeah, the only problem is when i receive an XML from flash. Normally says is
a problem with the page... But If I send just variables ,(and I am talking
about the values, the strings) works fine.

This is the ASP code that I am using with no luck...

<%
Response.ContentType="text/xml"

Dim strXML
Dim objXML

Set objXML = Server.CreateObject("Microsoft.XMLDOM")
strXML = Request.Form

%>

Do you know where is the problem? (This is just for a XML, when I send
variables (values) is different code.


"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.242...
JimmySlam wrote on 16 mrt 2006 in
microsoft.public.inetserver.asp.general:
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.242...
JimmySlam wrote on 15 mrt 2006 in
microsoft.public.inetserver.asp.general:
... to Send an XML to ASP form FLASH, ...

You cannot "send" anything to ASP,
ASP being a platform for serverside languages.


[please do not toppost on usenet]
Sorry for the understanding , it is to an ASP page.


MISunderstanding?

I repeat: You cannot "send" anything to ASP or an ASP page.

However you van send string data to a server, by posting or
"querystringing". Both are cliendside actions, not involving ASP.

However you can retrieve those stringdata with ASP:
request.form() ir request.querystring()

[I bet you knew that]

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Mar 16 '06 #5

"JimmySlam" <Ji*******@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Yeah, the only problem is when i receive an XML from flash. Normally says is a problem with the page... But If I send just variables ,(and I am talking
about the values, the strings) works fine.

This is the ASP code that I am using with no luck...

<%
Response.ContentType="text/xml"

Dim strXML
Dim objXML

Set objXML = Server.CreateObject("Microsoft.XMLDOM")
strXML = Request.Form

%>

Do you know where is the problem? (This is just for a XML, when I send
variables (values) is different code.

Try this:-

Dim strXML
Dim objXML

Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.Load Request
The Flash thingy it probably just posting up XML in the body of the Request.
I doubt it is using any Mime multipart encoding that is used by Form Posts
in a Web Browser.
Anthony.
Mar 16 '06 #6
I did try ur code and says the same... (firefox)
-----------------------------------
The connection was reset

The connection to the server was reset while the page was loading.

* The site could be temporarily unavailable or too busy. Try again
in a few
moments.

* If you are unable to load any pages, check your computer's network
connection.

* If your computer or network is protected by a firewall or proxy,
make sure
that Firefox is permitted to access the Web.
--------------------------

If i use IE says ERROR 500 (internal)
Well on the flash im using POST but anyway

I check what is sending and it is this:

http://www.centralnightclub.com/temp...%3E%3C%2Fdb%3E

That is the XML on the URL. Some times if i make it smaller, that doesnt
give me that error. but i dont thing is a good idea making it smaller, what
would be the point ?

Any suggestion??? Thanks for triying..

"Anthony Jones" <An*@yadayadayada.com> wrote in message
news:u2*************@TK2MSFTNGP10.phx.gbl...

"JimmySlam" <Ji*******@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Yeah, the only problem is when i receive an XML from flash. Normally says

is
a problem with the page... But If I send just variables ,(and I am
talking
about the values, the strings) works fine.

This is the ASP code that I am using with no luck...

<%
Response.ContentType="text/xml"

Dim strXML
Dim objXML

Set objXML = Server.CreateObject("Microsoft.XMLDOM")
strXML = Request.Form

%>

Do you know where is the problem? (This is just for a XML, when I send
variables (values) is different code.

Try this:-

Dim strXML
Dim objXML

Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.Load Request
The Flash thingy it probably just posting up XML in the body of the
Request.
I doubt it is using any Mime multipart encoding that is used by Form Posts
in a Web Browser.
Anthony.

Mar 16 '06 #7
That is the XML on the URL. Some times if i make it smaller, that doesnt
give me that error. but i dont thing is a good idea making it smaller, what
would be the point ? Any suggestion??? Thanks for triying..

Well I guess this should work:-

Dim strXML
Dim objXML

Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.LoadXML Request.QueryString("database1")
But the query string isn't where you really want to be putting the data,
it's not really a POST more a GET with a very large query string.

Is there no mechanism in Flash to perform a proper post where the XML is
sent up as the entity body?

Anthony.

Mar 16 '06 #8
Ok i just realised that if I send the XML (the big and standard one) it says
that error I said before anyway. So Im gonna try to start with a v small
XML.

So I write ur code on ASP and this error appears...

Response object error 'ASP 0185 : 80020003'

Missing Default Property

/temp/uploadXML.asp, line 0

A default property was not found for the object

So i changed a few things after looking on google:
Dim strXML
Dim objXML

Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.LoadXML Request.QueryString("database1")

response.write(objXML.xml) 'I put ".xml" here because it said error without.

objXML.save("haha.xml")

Now i have to give writing permissions and test. After that I have to test
it with the proper DB.

Cheers, i will let you know how things are going, you can learn from this
bloody thing

:)

Jimmy



"Anthony Jones" <An*@yadayadayada.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
That is the XML on the URL. Some times if i make it smaller, that doesnt
give me that error. but i dont thing is a good idea making it smaller,
what
would be the point ?

Any suggestion??? Thanks for triying..

Well I guess this should work:-

Dim strXML
Dim objXML

Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.LoadXML Request.QueryString("database1")
But the query string isn't where you really want to be putting the data,
it's not really a POST more a GET with a very large query string.

Is there no mechanism in Flash to perform a proper post where the XML is
sent up as the entity body?

Anthony.

Mar 17 '06 #9
Nothing I am still blocked, i cant do it.

:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:'(:' (

"JimmySlam" <Ji*******@hotmail.com> wrote in message
news:uH*************@TK2MSFTNGP09.phx.gbl...
Ok i just realised that if I send the XML (the big and standard one) it
says that error I said before anyway. So Im gonna try to start with a v
small XML.

So I write ur code on ASP and this error appears...

Response object error 'ASP 0185 : 80020003'

Missing Default Property

/temp/uploadXML.asp, line 0

A default property was not found for the object

So i changed a few things after looking on google:
Dim strXML
Dim objXML

Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.LoadXML Request.QueryString("database1")

response.write(objXML.xml) 'I put ".xml" here because it said error
without.

objXML.save("haha.xml")

Now i have to give writing permissions and test. After that I have to test
it with the proper DB.

Cheers, i will let you know how things are going, you can learn from this
bloody thing

:)

Jimmy



"Anthony Jones" <An*@yadayadayada.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
That is the XML on the URL. Some times if i make it smaller, that doesnt
give me that error. but i dont thing is a good idea making it smaller,
what
would be the point ?

Any suggestion??? Thanks for triying..

Well I guess this should work:-

Dim strXML
Dim objXML

Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.LoadXML Request.QueryString("database1")
But the query string isn't where you really want to be putting the data,
it's not really a POST more a GET with a very large query string.

Is there no mechanism in Flash to perform a proper post where the XML is
sent up as the entity body?

Anthony.


Mar 21 '06 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by reh | last post: by
1 post views Thread by Steve Covert | last post: by
reply views Thread by Joe | last post: by
1 post views Thread by John Thompson | last post: by
reply views Thread by Andreas Klemt | last post: by
1 post views Thread by Tim::.. | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.