需要构建一个XML文件并对Web服务URL执行HTTP POST - Blackberry

时间:2011-08-30 07:59:18

标签: http blackberry post

我需要像这样构建一个xml

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://docs.xyz/2009/01.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://service.xyz.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<SOAP-ENV:Body><mns1:getVisitList xmlns:mns1="http://service.xyz.com/">
<input_no>321</input_no>
</mns1:getvisitlist>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

并且我想将http发布到webservice url以获得一些json输出响应..我不知道从哪里开始..任何人都可以帮助我吗?任何想法请.. ..

0 个答案:

没有答案