web_custom_request写soap请求
本帖最后由 thirfing 于 2013-5-13 10:08 编辑Action.c(10): HTML parsing not performed for Content-Type "text/xml" (";ParseHtmlContentType" Run-Time Setting is "TEXT"). URL="http://bfpidev:50000/XISOAPA.....,用web_custom_reguest()的soap请求有,出现这个问题,加了body的soap请求内容就出服务器500错误 已加web_add_header("Accept","application/xhtml+xml, */*")和在web_custom_reguest 中EncType=text/xml 急,有哪位高手过来帮下 顶一下,不能让帖子沉下去 顶一下,不能让帖子沉下去 你要问开发你发过去的什么东西不合法 发出去的soap请求已经通过soapui测试过,用soapui发出去请求也通过监控网卡的工具记录下来了 4.txt是soapui发出去的请求头,5是lr发出去的请求头file:///C:/Users/Wuxl/AppData/Roaming/Tencent/Users/472626075/QQ/WinTemp/RichOle/37AW]%7B%25%25H)REPFKQ%60~QPS8Q.jpg soapui 发出去的请求能成功
POST /XISOAPAdapter/MessageServlet?**********HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://sap.com/xi/WebService/soap1.1"
Authorization: ************
Host: bfpidev:50000
Content-Length: 2689
lr发出去的请求不能成功
POST /XISOAPAdapter/MessageServlet?channel***********HTTP/1.1
Authorization:*********
Content-Type: text/xml; charset=UTF-8
Cache-Control: no-cache
SOAPAction: "http://sap.com/xi/WebService/soap1.1"
User-Agent: Jakarta Commons-HttpClient/3.1
Connection: Keep-Alive
Accept-Encoding: gzip, deflate
Accept: */*
Host: bfpidev:50000
Content-Length: 2742 帖子沉了:'(不能啊 回复 6# 云层
额,问题解决了是我body里面发的东西少了一个字符引起的:L
页:
[1]