以XML格式化数据

问题描述:

我需要XML格式的数据,然后发送到Web服务。以XML格式化数据

+0

重复的http://stackoverflow.com/questions/1720253/blackberry-send-receive-xml-data-with-webservice – 2010-10-28 12:45:40

你的问题非常含糊,如果我需要生成XML并通过WS发送,我会这样做。

  1. Create an XML使用SAX,JAXP等为Java
  2. Convert the XML file to base64binary
  3. 现在,通过Web服务发送字符串。
+0

但你如何导入transformFactory?它显示一个错误。 – user453966 2010-10-28 10:39:45