在IBM Notes Web服务提供程序中接收File参数

时间:2017-05-11 06:13:02

标签: java web-services lotus-notes

我有一个java Web服务提供程序,带有String和File(.doc)参数。 请帮我正确接收File参数。我如何在输入中声明它?

public String createOrder (String subject, String file){
  return "ok";
}

我尝试通过SoapUI测试(发送.doc附件),我收到此错误:

<soapenv:Body>
  <soapenv:Fault>
    <faultcode>soapenv:Server.generalException</faultcode>
    <faultstring>org.xml.sax.SAXParseException: Content is not allowed in prolog.</faultstring>
    <detail/>
  </soapenv:Fault>
</soapenv:Body>

0 个答案:

没有答案