如何修改发送或返回的SOAP头
本人正用WEB SERVICE写的一个接收程序,用于接收对方发送给我的SOAP消息,经处理后,又返回SOAP消息给对方我注意到,对方发给我的SOAP头是<SOAP-ENV>格式的,而我返回的SOAP头却是<soap>
请看:
以下是对方发给我的SOAP消息
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:xsi="http://www. xmlns:xsd="http://www. xmlns:SOAP-ENV="http://schemas. xmlns:SOAP-ENC="http://schemas.
<TransactionID xmlns="http://www.
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<SyncOrderRelationReq xmlns="http://www.
<Version>1.5.0</Version><MsgType>SyncOrderRelationReq</MsgType>
<Send_Address><DeviceType>0</DeviceType><DeviceID>0001</DeviceID></Send_Address>
<Dest_Address><DeviceType>400</DeviceType><DeviceID>0</DeviceID></Dest_Address>
<FeeUser_ID><UserIDType>1</UserIDType><MSISDN>13800138000</MSISDN><PseudoCode></PseudoCode></FeeUser_ID>
<DestUser_ID><UserIDType>1</UserIDType><MSISDN>13800138000</MSISDN><PseudoCode></PseudoCode></DestUser_ID>
<LinkID>LinkID</LinkID>
<ActionID>1</ActionID>
<ActionReasonID>1</ActionReasonID>
<SPID>900000</SPID>
<SPServiceID>abcd</SPServiceID>
<AccessMode>3</AccessMode>
<FeatureStr></FeatureStr>
</SyncOrderRelationReq></SOAP-ENV:Body>
</SOAP-ENV:Envelope>
以下是我返回的SOAP消息:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.
xmlns:xsi="http://www.
xmlns:xsd="http://www.
<soap:Header>
<TransactionID xmlns="http://www.
</soap:Header>
<soap:Body>
<SyncOrderRelationResp xmlns="http://www.
<Version>1.5.0</Version>
<MsgType>SyncOrderRelationResp</MsgType>
<hRet>1</hRet>
</SyncOrderRelationResp>
</soap:Body>
</soap:Envelope>
如何将我的SOAP头<soap>改为<SOAP-ENV>返回去呢??请教,谢谢