By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,887 Members | 1,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,887 IT Pros & Developers. It's quick & easy.

serialize wddx data in asp.net

P: n/a
SV
I am consuming Cold fusion web service in asp.net (VB) application.

My problem is: I am not able parse the data. The web service
returns:

<wddxPacket version=’1.0’><header></header><data><recordset
rowCount=’1’
fieldnames=’JOBID,JOBNO,COST,COSTDESC,SUCCESS,ERRO R_MSG’><field
name=’JOBID’><string>2665</string></field><field
name=’JOBNO’><string></string></field><field name=’COST’><string></
string></field><field name=’COSTDESC’><string></string></field><field
name=’SUCCESS’><string>0</string></field><field
name=’ERROR_MSG’><string>Jobs booked for a future date must have a
Pickup Time specified</string></field></recordset></data></
wddxPacket>

What I have to do?

I go through this link http://www.topxml.com/code/cod-484_9...ated-bug).aspx
and downloaded the library but it includes error as NUnitCore is
unavailable. I am using ASP.Net 2.0

Thanks in advance.

SV

Jun 27 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a

ColdFusion wddx?? What year is it?

Try this:

http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!148.entry
You could try the above and then put it into a dataset.

Or check my blog:

http://sholliday.spaces.live.com/feed.rss

Find the XmlSerializer entry, and maybe work backwards.
My approach would be to put the xml into a different format. I'm sure there
are other approaches.

...


"SV" <sw*******@gmail.comwrote in message
news:e6**********************************@w34g2000 prm.googlegroups.com...
I am consuming Cold fusion web service in asp.net (VB) application.

My problem is: I am not able parse the data. The web service
returns:

<wddxPacket version=’1.0’><header></header><data><recordset
rowCount=’1’
fieldnames=’JOBID,JOBNO,COST,COSTDESC,SUCCESS,ERRO R_MSG’><field
name=’JOBID’><string>2665</string></field><field
name=’JOBNO’><string></string></field><field name=’COST’><string></
string></field><field name=’COSTDESC’><string></string></field><field
name=’SUCCESS’><string>0</string></field><field
name=’ERROR_MSG’><string>Jobs booked for a future date must have a
Pickup Time specified</string></field></recordset></data></
wddxPacket>

What I have to do?

I go through this link
http://www.topxml.com/code/cod-484_9...ated-bug).aspx
and downloaded the library but it includes error as NUnitCore is
unavailable. I am using ASP.Net 2.0

Thanks in advance.

SV
Jun 27 '08 #2

P: n/a
I thought I remembered something funny and CF related:
#5
http://www.computerworld.com/action/...2&pageNumber=2


"sloan" <sl***@ipass.netwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
>
ColdFusion wddx?? What year is it?

Try this:

http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!148.entry
You could try the above and then put it into a dataset.

Or check my blog:

http://sholliday.spaces.live.com/feed.rss

Find the XmlSerializer entry, and maybe work backwards.
My approach would be to put the xml into a different format. I'm sure
there are other approaches.

..


"SV" <sw*******@gmail.comwrote in message
news:e6**********************************@w34g2000 prm.googlegroups.com...
I am consuming Cold fusion web service in asp.net (VB) application.

My problem is: I am not able parse the data. The web service
returns:

<wddxPacket version='1.0'><header></header><data><recordset
rowCount='1'
fieldnames='JOBID,JOBNO,COST,COSTDESC,SUCCESS,ERRO R_MSG'><field
name='JOBID'><string>2665</string></field><field
name='JOBNO'><string></string></field><field name='COST'><string></
string></field><field name='COSTDESC'><string></string></field><field
name='SUCCESS'><string>0</string></field><field
name='ERROR_MSG'><string>Jobs booked for a future date must have a
Pickup Time specified</string></field></recordset></data></
wddxPacket>

What I have to do?

I go through this link
http://www.topxml.com/code/cod-484_9...ated-bug).aspx
and downloaded the library but it includes error as NUnitCore is
unavailable. I am using ASP.Net 2.0

Thanks in advance.

SV


Jun 27 '08 #3

P: n/a
its not a soap response, just plain xml, so you use the xmlReader or
xmldocument to to parse it (and its really simple xml). there are some
examples on the web for parsing just google it or read the .net docs on
reading xml.

-- bruce (sqlwork.com)
"SV" wrote:
I am consuming Cold fusion web service in asp.net (VB) application.

My problem is: I am not able parse the data. The web service
returns:

<wddxPacket version=’1.0’><header></header><data><recordset
rowCount=’1’
fieldnames=’JOBID,JOBNO,COST,COSTDESC,SUCCESS,ER ROR_MSG’><field
name=’JOBID’><string>2665</string></field><field
name=’JOBNO’><string></string></field><field name=’COST’><string></
string></field><field name=’COSTDESC’><string></string></field><field
name=’SUCCESS’><string>0</string></field><field
name=’ERROR_MSG’><string>Jobs booked for a future date must have a
Pickup Time specified</string></field></recordset></data></
wddxPacket>

What I have to do?

I go through this link http://www.topxml.com/code/cod-484_9...ated-bug).aspx
and downloaded the library but it includes error as NUnitCore is
unavailable. I am using ASP.Net 2.0

Thanks in advance.

SV

Jun 27 '08 #4

P: n/a
SV
Thanks all for your reply.

I have solved the problem.
I have downloaded library from http://www.topxml.com/code/cod-484_9...ated-bug).aspx
but I was getting some error but now I solved it and I am using that
library to parse WDDX data which is send by Coldfusion webservice.

Cheers,
SV
On Jun 24, 2:21*am, bruce barker
<brucebar...@discussions.microsoft.comwrote:
its not a soap response, just plain xml, so you use the xmlReader or
xmldocument to to parse it (and its really simple xml). there are some
examples on the web for parsing just google it or read the .net docs on
reading xml.

-- bruce (sqlwork.com)

"SV" wrote:
I am consuming Cold fusion web service in asp.net (VB) application.
My problem is: *I am not able parse the data. The web service
returns:
<wddxPacket version=’1.0’><header></header><data><recordset
rowCount=’1’
fieldnames=’JOBID,JOBNO,COST,COSTDESC,SUCCESS,ERRO R_MSG’><field
name=’JOBID’><string>2665</string></field><field
name=’JOBNO’><string></string></field><field name=’COST’><string></
string></field><field name=’COSTDESC’><string></string></field><field
name=’SUCCESS’><string>0</string></field><field
name=’ERROR_MSG’><string>Jobs booked for a future date must have a
Pickup Time specified</string></field></recordset></data></
wddxPacket>
What I have to do?
I go through this linkhttp://www.topxml.com/code/cod-484_9846_wddx-parser-(updated-bug).aspx
and downloaded the library but it includes error as NUnitCore is
unavailable. I am using ASP.Net 2.0
Thanks in advance.
SV- Hide quoted text -

- Show quoted text -
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.