我正在使用php来请求SOAP请求。下面是代码。我在此函数中生成安全密码短语:var React = require('react');
var ContentEditable = React.createClass({
render: function(){
//TODO: find where html=undefined and fix it! So I can remove this? Maybe I should keep this safety.
var html = this.props.html || '';
console.log('content editable render, html: ', this.props.html);
return <div id="contenteditable"
onInput={this.emitChange}
onBlur={this.emitChange}
contentEditable
dangerouslySetInnerHTML={{__html: html}}></div>;
},
shouldComponentUpdate: function(nextProps){
return nextProps.html !== this.getDOMNode().innerHTML;
},
emitChange: function(){
var html = this.getDOMNode().innerHTML;
if (this.props.onChange && html !== this.lastHtml) {
this.props.onChange({
target: {
value: html
}
});
}
this.lastHtml = html;
}
});
module.exports = ContentEditable;
。那个没问题。我不知道下面的方法还有什么不妥。
网络服务网址:https://ifs-uat.ca.equifax.com/uru/soap/ut/canadav2?wsdl
users
错误
SOAP Fault :( faultcode:soap:Server,faultstring:Unexpected internal error)