A recent call to Java SOAP interface with PHP is always an error
Below
Reply to discussion (solution)
Check out the code specifically.
Ini_set ("soap.wsdl_cache_enabled", "0");
Set_time_limit (60);
Header ("content-type:text/html; Charset=utf-8 ");
$client = new SoapClient (' http://133.0.128.141:8081/csp/services/sr/c_hbdx_ci_serRequest?wsdl ', Array (' Authentication ' = Soap_authentication_basic, ' soap_version ' and ' soap_1_2 ');
$client->soap_defencoding = ' utf-8 ';
$client->decode_utf8 = false;
$client->xml_encoding = ' utf-8 ';
$param = Array (
' Srtypeid ' = ' 070001003002002001 ',
' Subsname ' = ' Yangyu silver ',
' Subsnumber ' = ' 13720193280 ',
' Callerno ' = ' 13720193280 ',
' ContactPerson ' = ' Yangyu silver ',
' Contactmode ' = ' 0 ',
' ContactPhone1 ' = ' 13720193280 ',
' ContactPhone2 ' = ' 13720193280 ',
' Email ' = ' wangqiwen1994@163.com ',
' Address ' = ' Hubei Wuhan ',
' Subslevel ' = ' 1 ',
' Subsbrand ' = ' 7 ',
' Acceptmode ' = ' 0 ',
' Acceptstaffno ' = ' 7316 ',
' Servicetitle ' = ' pre-processing work order ',
' ServiceContent ' + ' Category: SMS Class processing ',
' acceptcity ' = ' 101000 ',
' subscity ' = ' 101011 ',
' servicecity ' = ' 101011 ',
' Urgentid ' = ' 00006003 ',
' Contactchannel ' = ' 62 ',
' Flowid ' = ' 211 ',
' ContactId ' = ' 233322 ',
' ProdId ' = ' 1232343243 ',
' Servid ' = ' 2342343 ',
' Remark01 ' = ' 1 ',
' Remark02 ' = ' 2 ',
' Remark03 ' = ' 3 ',
' Remark04 ' = ' 4 ',
' Remark05 ' = ' 5 ',
' remark06 ' = ' 6 ',
' Remark07 ' = ' 7 ',
' Remark08 ' = ' 8 ',
' remark09 ' = ' 9 ',
' Remark10 ' = ' 10 '
);
$result = $client->__call (' createproblemprocess ', $param);
?>
The above is my code, please God help me to see the problem there, has been reported on my post error.
Check out the code specifically.
Ini_set ("soap.wsdl_cache_enabled", "0");
Set_time_limit (60);
Header ("content-type:text/html; Charset=utf-8 ");
$client = new SoapClient (' http://133.0.128.141:8081/csp/services/sr/c_hbdx_ci_serRequest?wsdl ', Array (' Authentication ' = Soap_authentication_basic, ' soap_version ' and ' soap_1_2 ');
$client->soap_defencoding = ' utf-8 ';
$client->decode_utf8 = false;
$client->xml_encoding = ' utf-8 ';
$param = Array (
' Srtypeid ' = ' 070001003002002001 ',
' Subsname ' = ' Yangyu silver ',
' Subsnumber ' = ' 13720193280 ',
' Callerno ' = ' 13720193280 ',
' ContactPerson ' = ' Yangyu silver ',
' Contactmode ' = ' 0 ',
' ContactPhone1 ' = ' 13720193280 ',
' ContactPhone2 ' = ' 13720193280 ',
' Email ' = ' wangqiwen1994@163.com ',
' Address ' = ' Hubei Wuhan ',
' Subslevel ' = ' 1 ',
' Subsbrand ' = ' 7 ',
' Acceptmode ' = ' 0 ',
' Acceptstaffno ' = ' 7316 ',
' Servicetitle ' = ' pre-processing work order ',
' ServiceContent ' + ' Category: SMS Class processing ',
' acceptcity ' = ' 101000 ',
' subscity ' = ' 101011 ',
' servicecity ' = ' 101011 ',
' Urgentid ' = ' 00006003 ',
' Contactchannel ' = ' 62 ',
' Flowid ' = ' 211 ',
' ContactId ' = ' 233322 ',
' ProdId ' = ' 1232343243 ',
' Servid ' = ' 2342343 ',
' Remark01 ' = ' 1 ',
' Remark02 ' = ' 2 ',
' Remark03 ' = ' 3 ',
' Remark04 ' = ' 4 ',
' Remark05 ' = ' 5 ',
' remark06 ' = ' 6 ',
' Remark07 ' = ' 7 ',
' Remark08 ' = ' 8 ',
' remark09 ' = ' 9 ',
' Remark10 ' = ' 10 '
);
$result = $client->__call (' createproblemprocess ', $param);
?>
The above is my code, please God help me to see the problem there, has been reported on my post error.
Your URL is inaccessible, post the WSDL to see
Your URL is inaccessible, post the WSDL to see
Eldest brother 133 is my intranet address how can access it?
Yes! URL is inaccessible, WSDL you have not given
Who else would know how to access it, except you?