473,320 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

serialize wddx data in asp.net

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
4 2645

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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: cheesus | last post by:
Hello everyone, Does anyone know how to write a serialize handler function (session.serialize_handler)? There's not a word about it in the manual. cheesus
1
by: Michael | last post by:
Hi I anyone have a clue or can solve my problem I would be glad :-) Regards Michael I have a problem with creating an XML-document where the returning data from the webservice, have been...
0
by: Fraser Dickson | last post by:
I am building a web based system using ASP.NET and VB.NET which has to interact with a web service which uses XML WDDX packets. I have been given the XML Packet Specification by the Web Service...
0
by: Alexander Widera | last post by:
Hi, i want to call a wddx-service with asp.net ( c# ).... or i want to call a url .... how can i do this? description: - call a url .. - wait until there is a result - or there is a...
7
by: Ben Amada | last post by:
I've created a class that I need to store in ViewState. However when I try to store it in ViewState, I get the following error: "The type 'solution.pe2' must be marked as Serializable or have a...
4
by: isthar | last post by:
Hi ! i am trying to serialise object which contains some unicode objects but looks like there is no way to do it. File...
1
by: js | last post by:
Does anybody knows how to solve the problem? I added attribute to the following classes in Microsoft.Practices.EnterpriseLibrary.Data namespace, but I still get the error. Thanks. ...
1
by: Tim Arnold | last post by:
I'm confused about why I get this error: UnicodeError: ASCII encoding error: ordinal not in range(128) when I try to load a wddx file containing this string: <string>The image file,...
4
by: =?Utf-8?B?Qnlyb24=?= | last post by:
When I try to serialize an instance of the LocationCell below (note Building field) I get an error in the reflection attempt. If I remove the _Building field it serializes fine. I tried renaming...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.