HTTP协议

用tcpmonitor抓了报文:

POST/services/EBServiceHTTP/1.0

Content-Type:text/xml;charset=utf-8

Accept:application/soap+xml,application/dime,multipart/related,text/*

User-Agent:Axis/1.4

Host:localhost:5283

Cache-Control:no-cache

Pragma:no-cache

SOAPAction:""

Content-Length:493

<?xmlversion="1.0"encoding="UTF-8"?><soapenv:Envelopexmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:testsoapenv:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/"xmlns:ns1="http://ebservice.bos.kingdee.com"><in0xsi:type="soapenc:string"xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">blood</in0></ns1:test></soapenv:Body></soapenv:Envelope>

HTTP/1.1500InternalServerError

Content-Type:text/xml;charset=utf-8

Server:Jetty(6.1.23)

<?xmlversion="1.0"encoding="utf-8"?><soapenv:Envelopexmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>java.lang.reflect.UndeclaredThrowableException</faultstring><detail><ns1:hostnamexmlns:ns1="http://xml.apache.org/axis/">c9ed4c4b16c3471</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

相关推荐