Php always reports an error when calling the java soap interface using php to call the OAP instance.
Below
Reply to discussion (solution)
Paste the code for details.
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' => SOAP_1_2 ));
$ Client-> soap_defencoding = 'utf-8 ';
$ Client-> decode_utf8 = false;
$ Client-> xml_encoding = 'utf-8 ';
$ Param = array (
'Srtypeid' => '123 ',
'Subsname' => 'Yang Yuyin ',
'Subsnumber' => '123 ',
'Callerno' => '123 ',
'Contactperson' => 'Yang Yuyin ',
'Contactmode' => '0 ',
'Contactphone1 '=> '123 ',
'Contactphone2' => '123 ',
'Email '=> 'wangqiwen1994 @ 163.com ',
'Address' => 'hubei Wuhan ',
'Subslevel' => '1 ',
'Subsbrand' => '7 ',
'Acceptmode' => '0 ',
'Acceptstaffno' => '123 ',
'Servicetitle' => 'pre-processing ticket ',
'Servicecontent' => 'Category: SMS class processing ',
'Acceptcity '=> '123 ',
'Subscity '=> '123 ',
'Servicecity '=> '123 ',
'Urgentid' => '123 ',
'Contactchannel' => '62 ',
'Flowid' => '123 ',
'Contactid' => '20140901 ',
'Prodid' => '123 ',
'Servid' => '123 ',
'Remark01' => '1 ',
'Remark02' => '2 ',
'Remark03' => '3 ',
'Mark04 '=> '4 ',
'Remark05 '=> '5 ',
'Mark06' => '6 ',
'Remark07' => '7 ',
'Mark08' => '8 ',
'Remark09' => '9 ',
'Remark10' => '10'
);
$ Result = $ client->__ call ('createproblemprocess ', $ param );
?>
The above is my code. please take a look at the problem and keep reporting the error in my post.
Paste the code for details.
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' => SOAP_1_2 ));
$ Client-> soap_defencoding = 'utf-8 ';
$ Client-> decode_utf8 = false;
$ Client-> xml_encoding = 'utf-8 ';
$ Param = array (
'Srtypeid' => '123 ',
'Subsname' => 'Yang Yuyin ',
'Subsnumber' => '123 ',
'Callerno' => '123 ',
'Contactperson' => 'Yang Yuyin ',
'Contactmode' => '0 ',
'Contactphone1 '=> '123 ',
'Contactphone2' => '123 ',
'Email '=> 'wangqiwen1994 @ 163.com ',
'Address' => 'hubei Wuhan ',
'Subslevel' => '1 ',
'Subsbrand' => '7 ',
'Acceptmode' => '0 ',
'Acceptstaffno' => '123 ',
'Servicetitle' => 'pre-processing ticket ',
'Servicecontent' => 'Category: SMS class processing ',
'Acceptcity '=> '123 ',
'Subscity '=> '123 ',
'Servicecity '=> '123 ',
'Urgentid' => '123 ',
'Contactchannel' => '62 ',
'Flowid' => '123 ',
'Contactid' => '20140901 ',
'Prodid' => '123 ',
'Servid' => '123 ',
'Remark01' => '1 ',
'Remark02' => '2 ',
'Remark03' => '3 ',
'Mark04 '=> '4 ',
'Remark05 '=> '5 ',
'Mark06' => '6 ',
'Remark07' => '7 ',
'Mark08' => '8 ',
'Remark09' => '9 ',
'Remark10' => '10'
);
$ Result = $ client->__ call ('createproblemprocess ', $ param );
?>
The above is my code. please take a look at the problem and keep reporting the error in my post.
Your url is not accessible. paste the wsdl to see it.
Your url is not accessible. paste the wsdl to see it.
My eldest brother 133 is my intranet address. how can I access this?
Yes! The url is not accessible. if you do not provide the WSDL
In addition to you, who else will know how to access it?