0

我在尝试POST通过. 我从服务器得到以下响应。.NETHTTPS

Error while dispatching hrxml [ Server was unable to process request. --> Procedure or function 'sp__LogMessage' expects parameter '@pi_ClientID', which was not supplied.   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at DispatchService.HRISMessageRouter.MessageRouter.Route(String HRXML)
       at DispatchService.DispatchMessage.Dispatch(String HRXML)]

我的 Java 代码;

String requestURL = "https://test.com";
        Map<String, String> params = new HashMap<String, String>();
        requestURL = "https://test.com/example.asp";
        params.put("name", "xxx");
        params.put("age", "88");    
        InputStream  input = HTTPUtil.sendPostRequest(requestURL, params);
        String[] r = HTTPUtil.parseMultipleLinesRespone(input);
        for (String line : r) {
            System.out.println(line);
        } 
4

1 回答 1

0

服务器应用程序调用存储过程时出现问题。您知道服务器应用程序有效吗?它看起来不像您可以通过更改客户来解决的任何问题。

于 2012-05-31T16:44:06.743 回答