Consuming webservice which returns Complex Data

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

    Consuming webservice which returns Complex Data

    Hi,

    I am Trying to get the Array of claases from Webservice which returns an
    array of classes.

    that webservice is returned in Java and i am consumin g that webservice in
    ASP.Net.

    my problem is i am able to get the data from that webservice but it is
    limited to 1024 Classes..

    actually one class represents one record in database so i need to get more
    than 1024 classes from that webservice.

    Please provide me the solution ASAP.

    here i am giving my code for your reference.

    MSOC_WS = New MSOC_Data.Expor tMsocData
    StartDate = Start_Date
    EndDate = End_Date
    Dim MyclsAvailableT ime As MSOC_Data.avail ableTimeAvailab le() =
    MSOC_WS.getAvai lableTime(Start Date, EndDate)

    For intCount = 0 To MyclsAvailableT ime.Length - 1

    s_Lt_cuid = IIf(MyclsAvaila bleTime(intCoun t).cuid Is
    DBNull.Value, "", MyclsAvailableT ime(intCount).c uid.ToString())
    s_Lt_period_tim e = IIf(MyclsAvaila bleTime(intCoun t).period_time
    Is DBNull.Value, "", MyclsAvailableT ime(intCount).p eriod_time.ToSt ring())
    s_Lt_period_dat e = IIf(MyclsAvaila bleTime(intCoun t).period_date
    Is DBNull.Value, "", MyclsAvailableT ime(intCount).p eriod_date.ToSt ring())
    s_Lt_Type = IIf(MyclsAvaila bleTime(intCoun t).Lt_Type Is
    DBNull.Value, "", MyclsAvailableT ime(intCount).L t_Type.ToString ())
    s_Lt_SubType = IIf(MyclsAvaila bleTime(intCoun t).Lt_SubType Is
    DBNull.Value, "", MyclsAvailableT ime(intCount).L t_SubType.ToStr ing())
    f_Lt_minutes = IIf(MyclsAvaila bleTime(intCoun t).minutes = 0, 0,
    CDbl(MyclsAvail ableTime(intCou nt).minutes))
    's_Lt_Descripti on =
    IIf(MyclsAvaila bleTime(intCoun t).Lt_Descripti on Is DBNull.Value, " ",
    MyclsAvailableT ime(intCount).L t_Description.T oString())
    InsertAvailable Sql(s_Lt_cuid, s_Lt_period_tim e,
    s_Lt_period_dat e, s_Lt_Type, s_Lt_SubType, f_Lt_minutes, s_Lt_Descriptio n,
    today)

    Next


    Thanks,

    Srinivas



Working...