很急!C++ Builder web service 如何处理定制的XML文件
对方提供web service “deviceChanged”接口,让我去调用。
XML格式:
请求:
<?xml version="1.0" encoding="UTF-8"?>
<request>
<Device>
<deviceId>
<resId></resId>
<physId></physId>
</deviceId >
<type></type>
<vendorId></vendorId>
<vendorDeviceType></vendorDeviceType>
<hardware></hardware>
<software></software>
<description></description>
<splitterRatio></splitterRatio>
<parentDeviceId></parentDeviceId>
<splitterPosition>
<shelfNo></shelfNo>
<moduleNo></moduleNo>
<seq></seq>
</splitterPosition>
<shelfRule></shelfRule>
<shelfDirection></shelfDirection>
</Device>
<changeType></changeType>
<changeLevel></changeLevel>
</request>
对方返回的
响应:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<result>
<isSuccess></isSuccess>
<failReason></failReason>
<remark></remark>
</result>
</response>
soap的包格式好像不是这样的啊,怎么构建这样的xml的数据包?
是不是把这个XML文档做为一个string 参数传过去吗?
很急,因为以前没有做过web service,请各位看看,该怎么做.谢谢啊