soap问题
jpytu 2009-11-12 01:14:05 网关返回错误信息 节点ContentType 必须设置 可是我设置 哪的问题哪?
<StatusText>Field 'ContentType' must be filled</StatusText>
下面发送的soap包信息
POST / HTTP/1.1
Host: 192.168.0.64:55603
User-Agent: gSOAP/2.7
Content-Type: multipart/related; boundary="==nGpzR/KspN6ry7jG8CU4bonN2aujzfJamyN3xYjaldFXYpeUryNGb0UROC0B=="; type="text/xml"; start="<SOAP-ENV:Envelope>"
Content-Length: 1014
Connection: close
SOAPAction: ""
--==nGpzR/KspN6ry7jG8CU4bonN2aujzfJamyN3xYjaldFXYpeUryNGb0UROC0B==
Content-Type: text/xml; charset=utf-8
Content-Transfer-Encoding: binary
Content-ID: <SOAP-ENV:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"><SOAP-ENV:Header><mm7:TransactionID SOAP-ENV:mustUnderstand="1">444165</mm7:TransactionID></SOAP-ENV:Header><SOAP-ENV:Body><mm7:DeliverReq><MM7Version>5.2.0</MM7Version><SenderIdentification><SenderAddress>15900445201</SenderAddress></SenderIdentification><Sender>15912345678</Sender><LinkedID>6060</LinkedID><ContentType>multipart/mixed</ContentType></mm7:DeliverReq></SOAP-ENV:Body></SOAP-ENV:Envelope>
--==nGpzR/KspN6ry7jG8CU4bonN2aujzfJamyN3xYjaldFXYpeUryNGb0UROC0B==--