serialize wddx data in asp.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SV

    serialize wddx data in asp.net

    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><r ecordset
    rowCount=’1’
    fieldnames=’JOB ID,JOBNO,COST,C OSTDESC,SUCCESS ,ERROR_MSG’><fi eld
    name=’JOBID’><s tring>2665</string></field><field
    name=’JOBNO’><s tring></string></field><field name=’COST’><st ring></
    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

  • sloan

    #2
    Re: serialize wddx data in asp.net


    ColdFusion wddx?? What year is it?

    Try this:

    http://sholliday.space s.live.com/Blog/cns!A68482B9628 A842A!148.entry


    You could try the above and then put it into a dataset.

    Or check my blog:



    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" <swetavyas@gmai l.comwrote in message
    news:e630554c-19c9-470f-bd19-379196969553@w3 4g2000prm.googl egroups.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><r ecordset
    rowCount=’1’
    fieldnames=’JOB ID,JOBNO,COST,C OSTDESC,SUCCESS ,ERROR_MSG’><fi eld
    name=’JOBID’><s tring>2665</string></field><field
    name=’JOBNO’><s tring></string></field><field name=’COST’><st ring></
    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
    Joacă jocuri online gratuite direct în browserul tău pe mobil, tabletă sau computer pe Jocuri Rix. Fără descărcări, fără înregistrări necesare.

    and downloaded the library but it includes error as NUnitCore is
    unavailable. I am using ASP.Net 2.0

    Thanks in advance.

    SV


    Comment

    • sloan

      #3
      Re: serialize wddx data in asp.net

      I thought I remembered something funny and CF related:


      #5





      "sloan" <sloan@ipass.ne twrote in message
      news:%23feUruN1 IHA.524@TK2MSFT NGP05.phx.gbl.. .
      >
      ColdFusion wddx?? What year is it?
      >
      Try this:
      >
      http://sholliday.space s.live.com/Blog/cns!A68482B9628 A842A!148.entry
      >
      >
      You could try the above and then put it into a dataset.
      >
      Or check my blog:
      >

      >
      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" <swetavyas@gmai l.comwrote in message
      news:e630554c-19c9-470f-bd19-379196969553@w3 4g2000prm.googl egroups.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><r ecordset
      rowCount='1'
      fieldnames='JOB ID,JOBNO,COST,C OSTDESC,SUCCESS ,ERROR_MSG'><fi eld
      name='JOBID'><s tring>2665</string></field><field
      name='JOBNO'><s tring></string></field><field name='COST'><st ring></
      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
      Joacă jocuri online gratuite direct în browserul tău pe mobil, tabletă sau computer pe Jocuri Rix. Fără descărcări, fără înregistrări necesare.

      and downloaded the library but it includes error as NUnitCore is
      unavailable. I am using ASP.Net 2.0
      >
      Thanks in advance.
      >
      SV
      >
      >

      Comment

      • =?Utf-8?B?YnJ1Y2UgYmFya2Vy?=

        #4
        RE: serialize wddx data in asp.net

        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><r ecordset
        rowCount=’1†™
        fieldnames=’J OBID,JOBNO,COST ,COSTDESC,SUCCE SS,ERROR_MSG’ ><field
        name=’JOBID†™><string>2665 </string></field><field
        name=’JOBNO†™><string></string></field><field name=’COST’ ><string></
        string></field><field name=’COSTDES C’><string></string></field><field
        name=’SUCCESS ’><string>0</string></field><field
        name=’ERROR_M SG’><string>J obs 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
        >
        >

        Comment

        • SV

          #5
          Re: serialize wddx data in asp.net

          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...@di scussions.micro soft.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><r ecordset
          rowCount=’1’
          fieldnames=’JOB ID,JOBNO,COST,C OSTDESC,SUCCESS ,ERROR_MSG’><fi eld
          name=’JOBID’><s tring>2665</string></field><field
          name=’JOBNO’><s tring></string></field><field name=’COST’><st ring></
          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 -

          Comment

          Working...