locked
Webservice intergration RRS feed

  • Question

  • I have been supplied by a wsdl webservice in java which returns the following objects:


    <?xml version="1.0" encoding="UTF-8"?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
        <S:Body>
            <ns0:GetQueryLogsResponse xmlns:ns0="http://webservice.com/">
                <return>com.dbentities.Querylogs[ logId=NWRQ ]</return>
                <return>com.dbentities.Querylogs[ logId=5HOG ]</return>
      </ns0:GetQueryLogsResponse>
        </S:Body>
    </S:Envelope>


    To my understanding 

    [ logId=NWRQ ]

    is a JPA, that returns an object array with more that one array inside it.

    How do i iterate the object in C#?


    • Moved by Eyal Solnik Wednesday, November 12, 2014 8:30 AM Irrelevant to C#
    Tuesday, November 11, 2014 2:52 PM

Answers

  • Hi friend,

    From the title "Webservice intergration", WebService is belong to Asp.Net.  I am afraid you'll need to post it in the dedicated ASP.Net Forum http://forums.asp.net
    for more efficient responses, where you can contact ASP.NET experts. Thanks for your understanding.

    Have a nice day!



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    • Edited by Kristin Xie Wednesday, November 12, 2014 8:20 AM
    • Proposed as answer by Eyal Solnik Wednesday, November 12, 2014 8:30 AM
    • Marked as answer by Just Karl Wednesday, November 26, 2014 9:20 PM
    Wednesday, November 12, 2014 8:19 AM

All replies

  • Run the wsdl through wsdl.exe to generate a proxy wrapper. It'll take care of converting the structure to what you need to call it from .NET. It'll likely come across as an array of arrays of objects.

    Michael Taylor
    https://blogs.msmvps.com/p3net

    Tuesday, November 11, 2014 5:51 PM
  • Hi friend,

    From the title "Webservice intergration", WebService is belong to Asp.Net.  I am afraid you'll need to post it in the dedicated ASP.Net Forum http://forums.asp.net
    for more efficient responses, where you can contact ASP.NET experts. Thanks for your understanding.

    Have a nice day!



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    • Edited by Kristin Xie Wednesday, November 12, 2014 8:20 AM
    • Proposed as answer by Eyal Solnik Wednesday, November 12, 2014 8:30 AM
    • Marked as answer by Just Karl Wednesday, November 26, 2014 9:20 PM
    Wednesday, November 12, 2014 8:19 AM
  • Hi,

    The issue has nothing to do with ASP. Its a C# windows forms application and the webservice is on a Linux server acting as a back end. I know the same can apply on ASP, so i feel its more of a global problem on both sides.

    Thank you.

    Wednesday, November 12, 2014 8:56 AM