Everyone knows that using the WebService passed by Dataset, Microsoft will add Schema at each node, so it cannot be compatible with J2EE, Flash, so I found a way to convert them into ordinary XML.
Code is as follows: Method a: Public Class DataSetToXML: Inherits System.Web.UI.Page Private Sub Page_Load (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim objConn As SqlConnection Dim strSql As String strSql = "SELECT TOP 10 * FROM Customers" objConn = New SqlConnection (ConfigurationSettings.AppSettings ( "ConnectionString")) Dim sdaCust As New SqlDataAdapter (strSql, objConn) Dim dstCust As New DataSet () sdaCust.Fill (dstCust, "Customers") ' Save data to xml file and schema file dstCust.WriteXML (Server.MapPath ( "Customers.xml"), XmlWriteMode.IgnoreSchema) dstCust.WriteXMLSchema (Server.MapPath ( "Customers.xsd")) End Sub this method is written an xml file method two: