WSDL2PHP throws strange errors
Hi,
I am trying to create a Php file from a WSDL file and its associtaed XSD file. I am keep getting the following error messages (see below) which are lots of "Undefined Index:". Not sure if this is normal or not.
It does create the PHP (although on screen) but I am not sure if the PHP is valid.
Does anybody know what is going on?
cheers
...................................................................................
PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'soap' already loaded in Unknown on line 0
PHP Warning: Module 'xmlrpc' already loaded in Unknown on line 0
PHP Notice: Undefined index: h in C:\PhpTools\wso2-wsf-121-win32\scripts\wsdl2
php.php on line 45
PHP Notice: Undefined index: d in C:\PhpTools\wso2-wsf-121-win32\scripts\wsdl2
php.php on line 53
PHP Notice: Undefined index: GetObsPatternList in C:\PhpTools\wso2-wsf-121-win
32\scripts\wsdl2php\wsf_class_writer.php on line 149
PHP Notice: Undefined index: ElderId in C:\PhpTools\wso2-wsf-121-win32\scripts
\wsdl2php\wsf_class_writer.php on line 229
PHP Notice: Undefined index: GetObsPatternListRsp in C:\PhpTools\wso2-wsf-121-
win32\scripts\wsdl2php\wsf_class_writer.php on line 178
PHP Notice: Undefined index: ObservationPatternListType in C:\PhpTools\wso2-ws
f-121-win32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: ObservationPatternType in C:\PhpTools\wso2-wsf-12
1-win32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Trying to get property of non-object in C:\PhpTools\wso2-wsf-121-wi
n32\scripts\wsdl2php\wsf_class_writer.php on line 57
PHP Notice: Undefined index: ObservationRuleListType in C:\PhpTools\wso2-wsf-1
21-win32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: ObservationRuleType in C:\PhpTools\wso2-wsf-121-w
in32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: data_aquisition_block in C:\PhpTools\wso2-wsf-121
-win32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: measurement_instruction in C:\PhpTools\wso2-wsf-1
21-win32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: measurement_channel_instruction in C:\PhpTools\ws
o2-wsf-121-win32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: analysis_instruction in C:\PhpTools\wso2-wsf-121-
win32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: wait_instruction in C:\PhpTools\wso2-wsf-121-win3
2\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: rule_instruction in C:\PhpTools\wso2-wsf-121-win3
2\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: conclusion_instruction in C:\PhpTools\wso2-wsf-12
1-win32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: if_instruction in C:\PhpTools\wso2-wsf-121-win32\
scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: CheckUpdateObsPatternList in C:\PhpTools\wso2-wsf
-121-win32\scripts\wsdl2php\wsf_class_writer.php on line 149
PHP Notice: Undefined index: CheckUpdateObsPatternListReq in C:\PhpTools\wso2-
wsf-121-win32\scripts\wsdl2php\wsf_class_writer.php on line 178
PHP Notice: Undefined index: ResultRsp in C:\PhpTools\wso2-wsf-121-win32\scrip
ts\wsdl2php\wsf_class_writer.php on line 178
PHP Notice: Undefined index: SendAlert in C:\PhpTools\wso2-wsf-121-win32\scrip
ts\wsdl2php\wsf_class_writer.php on line 149
PHP Notice: Undefined index: SendAlertReq in C:\PhpTools\wso2-wsf-121-win32\sc
ripts\wsdl2php\wsf_class_writer.php on line 178
PHP Notice: Undefined index: Alert in C:\PhpTools\wso2-wsf-121-win32\scripts\w
sdl2php\wsf_class_writer.php on line 47
PHP Notice: Trying to get property of non-object in C:\PhpTools\wso2-wsf-121-wi
n32\scripts\wsdl2php\wsf_class_writer.php on line 57
PHP Notice: Trying to get property of non-object in C:\PhpTools\wso2-wsf-121-wi
n32\scripts\wsdl2php\wsf_class_writer.php on line 57
PHP Notice: Undefined index: Location in C:\PhpTools\wso2-wsf-121-win32\script
s\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: SendHealthObservationAlert in C:\PhpTools\wso2-ws
f-121-win32\scripts\wsdl2php\wsf_class_writer.php on line 149
PHP Notice: Undefined index: SendHealthObservationAlertReq in C:\PhpTools\wso2
-wsf-121-win32\scripts\wsdl2php\wsf_class_writer.php on line 178
PHP Notice: Undefined index: HealthObservationAlert in C:\PhpTools\wso2-wsf-12
1-win32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Trying to get property of non-object in C:\PhpTools\wso2-wsf-121-wi
n32\scripts\wsdl2php\wsf_class_writer.php on line 57PHP Notice: Undefined index: HealthObservation in C:\PhpTools\wso2-wsf-121-win
32\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: MeasurementList in C:\PhpTools\wso2-wsf-121-win32
\scripts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Undefined index: Measurement in C:\PhpTools\wso2-wsf-121-win32\scr
ipts\wsdl2php\wsf_class_writer.php on line 47
PHP Notice: Trying to get property of non-object in C:\PhpTools\wso2-wsf-121-wi
n32\scripts\wsdl2php\wsf_class_writer.php on line 57
PHP Notice: Trying to get property of non-object in C:\PhpTools\wso2-wsf-121-wi
n32\scripts\wsdl2php\wsf_class_writer.php on line 57
PHP Notice: Undefined index: SendHealthObservationList in C:\PhpTools\wso2-wsf
-121-win32\scripts\wsdl2php\wsf_class_writer.php on line 149
PHP Notice: Undefined index: SendHealthObservationListReq in C:\PhpTools\wso2-
wsf-121-win32\scripts\wsdl2php\wsf_class_writer.php on line 178
PHP Notice: Undefined index: HealthObservationList in C:\PhpTools\wso2-wsf-121
-win32\scripts\wsdl2php\wsf_class_writer.php on line 47
- Login or register to post comments
- Printer friendly version
- 138 reads











Set error_reporting = E_ALL & ~E_NOTICE
Can you set the php.ini property "error_reporting" not show notices,
error_reporting = E_ALL & ~E_NOTICE
/The up comming release have done with lot of work to avoid these notices, but there are some unavoidable notices comming, so it is better to use turn of notices anyway to use the wsf/PHP.
Thanks
Dimuthu
it worked
Dimuthu,
Thanks, it got rid of notices. Now that I dont get any notices, does it mean that the code is generated correctly?
cheers
Yea, then the code should be
Yea, then the code should be generated correctly