问题ras
在与sap系统集成时遇到的问题.sap系统发布一webservice,java(xfire)作为客户端调用,调用时抛出如下异常:
Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK");
具体原因不是很清楚,如有知道者,望能指点一二。。。谢谢..
解决方案;
you can also try with
Go to soamanager, Business Administration -> Web Service Administration and search for your Web Service.
Select it and apply selection. Select "Open WSDL document for selected binding"
Copy URL opened in a new window.
Replace "ws_policy" for "standard" the URL:
http://****/sap/bc/srt/wsdl/sdef_Z_WS_TEST_3/wsdl11/ws_policy/document?sap-client=200:
replace it by:
http://****/sap/bc/srt/wsdl/sdef_Z_WS_TEST_3/wsdl11/standard/document?sap-client=200: