Parsing a .NET DataSet returned from a .NET Web Service in Java

前端 未结 3 1047
心在旅途
心在旅途 2020-12-28 17:54

I have to consume a .NET hosted web service from a Java application. Interoperability between the two is usually very good. The problem I\'m running into is that the .NET ap

3条回答
  •  抹茶落季
    2020-12-28 18:05

    Have you considered using XSLT on the raw XML returned to massage it into something you can handle more easily?

    I've used that approach to convert a complex return value into something similar to

    
      
      
      ....
     
    

    This moves the logic into a language well suited to process XML instead of handcoding it in Java.

提交回复
热议问题