php NuSoap,给出 org.xml.sax.SAXException 异常:错误类型(int -> long)
向每一位致以问候。
我正在尝试通过 WSDL 将应用程序与 Taleo 集成。 一切正常,但在一个请求中我们得到了这个异常 这是提交请求,假设会出现
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:TBEWebAPI">
<soapenv:Header/>
<soapenv:Body>
<urn:submitCandidate>
<in0>session-idxxxxxx</in0>
<in1>48</in1>
<in2>
<array>
<!--Zero or more repetitions:-->
<item>15</item>
</array>
</in2>
</urn:submitCandidate>
</soapenv:Body>
</soapenv:Envelope>
错误 org.xml.sax.SAXException: Bad types (int -> long)
[faultcode] => soapenv:Server.userException
[faultstring] => org.xml.sax.SAXException: Bad types (int -> long)
我正在使用 NuSoap。让我知道调试是否还需要其他东西。
谢谢
Greetings to every one.
I am trying to integrate an application with Taleo through WSDL.
all working good, but in one request we are getting this exception
this is the submit request suppose to go
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:TBEWebAPI">
<soapenv:Header/>
<soapenv:Body>
<urn:submitCandidate>
<in0>session-idxxxxxx</in0>
<in1>48</in1>
<in2>
<array>
<!--Zero or more repetitions:-->
<item>15</item>
</array>
</in2>
</urn:submitCandidate>
</soapenv:Body>
</soapenv:Envelope>
it is giving the error org.xml.sax.SAXException: Bad types (int -> long)
[faultcode] => soapenv:Server.userException
[faultstring] => org.xml.sax.SAXException: Bad types (int -> long)
I am using NuSoap. Lemme know if any thing else required for debugging.
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试发送参数,例如
也在
call
中,将最后一个参数设置为literal
,我相信它应该有帮助try sending the params like
Also in
call
, set the last param toliteral
, i believe it should help