Skip to Content
0
Former Member
Sep 07, 2005 at 04:53 AM

Problems with PHPSOAP and SAPGUI 6.20

70 Views

Hi all,

I have downloaded the latest saprfc version 1.4.5 and PHP version 5.0.5, I run it on my WinXP with IIS. First try the saprfc_test.php it was not show anything after I provide the necessary information. My SAPgui version 6.20, but when I downgraded my SAPgui to 46D, it's work. Is that mean saprfc works with SAPgui < 6.20?

I also have tried the sample code and got this error:

This is an example of getting the user list similar to the transaction SM04.

The example first get the data using SAPRFC and then using the PHP5 SOAP extension. RFC connection failed

Now use SOAP to make the call to the Web Service

Exception

SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'C:\Inetpub\wwwroot\saprfc\wsdl11.xml' in C:\Inetpub\wwwroot\saprfc\userlist.php:75 Stack trace: #0 C:\Inetpub\wwwroot\saprfc\userlist.php(75): SoapClient->__construct('wsdl11.xml', Array) #1

Request :

PHP Warning: RFC Error Info : Group : 101 Key : RFC_ERROR_PROGRAM Message : Open file 'C:\WINDOWS\sapmsg.ini' failed in C:\Inetpub\wwwroot\saprfc\userlist.php on line 23 PHP Warning: I/O warning : failed to load external entity "file:///C%3A/Inetpub/wwwroot/saprfc/wsdl11.xml" in C:\Inetpub\wwwroot\saprfc\userlist.php on line 75 PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'C:\Inetpub\wwwroot\saprfc\wsdl11.xml' in C:\Inetpub\wwwroot\saprfc\userlist.php on line 75 PHP Notice: Undefined variable: client in C:\Inetpub\wwwroot\saprfc\userlist.php on line 112 PHP Fatal error: Call to a member function __getLastRequest() on a non-object in C:\Inetpub\wwwroot\saprfc\userlist.php on line 112

Is it mean that SOAP only support for WAS, because my SAP is R/3 4.6C?

Thanks,

Yudhi

Message was edited by: Yudhi Chandra

Message was edited by: Yudhi Chandra