Hi,
I just downloaded the nightly build,
http://wso2.org/downloads/wsf/php/nightly-build that we asked you to test
with.Looks like it too has the problem of not having the
"dynamic_invocation/xslt/". Could be a problem in the nightly build scripts.

One quick option you have is to set the include_path directive to some the
script directory of the wsf/php svn trunk. Alternatively I have uploaded a
build from computer here which you can try out from,
http://downloads.dimuthu.org/bins/wso2-wsf-php-bin-SNAPSHOT-win32.zip


Thanks
Dimuthu


On Tue, Mar 10, 2009 at 8:07 AM, Dimuthu Gamage <[email protected]> wrote:

> Hi Abu Obeida,
>
> Can you check that you set the complete scripts directory to the php.ini
> directive include_path. There should be a directory
> "dynamic_invocation/xslt/" that actually contains the file
> "wsdl11to20.xsl10.xsl" . Look like somehow it is not copied.
>
> Thanks
> Dimuthu
>
>
> On Tue, Mar 10, 2009 at 6:38 AM, Abu Obeida Bakhach <
> [email protected]> wrote:
>
>> Shankar,
>> I did run the scripts as part of the original process. Here is what the
>> table details
>>
>> SERVICENAME     URL
>> PHP_BS
>> http://localhost:8080/php_stocktrader/business_service/business_svc.php
>> PHP_OPS
>> http://localhost:8080/php_stocktrader/order_processor/order_processor_svc.php
>> PHP_OPSSEC
>> http://localhost:8080/php_stocktrader/order_processor/order_processor_svc_msec.php
>>
>> CLIENTTOBS and BSTOOPS are empty. Are they supposed to be like that?
>>
>> Anyways, going back to the main issue, I still get a HTTP 500 error
>> message whenever I try to access any of those links. I am not sure what is
>> needed to be done to enable accessing those links? I am seeing the same
>> error in the error.log as in my previous email a week ago... Can you please
>> help me understand wwhat needs to be resolved here?
>> For example, what is the 'intermediate model', why is this line producing
>> an empty string?
>> $xslt_str = file_get_contents(WSF_WSDL1TO2_XSL_LOCATION, TRUE);
>>
>> If you need any log files please let me know.
>>
>> Thanks,
>>
>> [Mon Mar 09 17:56:04 2009] [error] [client 127.0.0.1] PHP Warning:
>>  file_get_contents(dynamic_invocation/xslt/wsdl11to20.xsl10.xsl) [<a
>> href='function.file-get-contents'>function.file-get-contents</a>]: failed to
>> open stream: No such file or directory in
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> on line 162
>> [Mon Mar 09 17:56:04 2009] [error] [client 127.0.0.1] PHP Warning:
>>  DOMDocument::loadXML() [<a
>> href='domdocument.loadxml'>domdocument.loadxml</a>]: Empty string supplied
>> as input in
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> on line 164
>> [Mon Mar 09 17:56:04 2009] [error] [client 127.0.0.1] PHP Warning:
>>  XSLTProcessor::importStylesheet() [<a
>> href='xsltprocessor.importstylesheet'>xsltprocessor.importstylesheet</a>]:
>> compilation error in
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> on line 166
>> [Mon Mar 09 17:56:04 2009] [error] [client 127.0.0.1] PHP Warning:
>>  XSLTProcessor::importStylesheet() [<a
>> href='xsltprocessor.importstylesheet'>xsltprocessor.importstylesheet</a>]:
>> xsltParseStylesheetProcess : empty stylesheet in
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> on line 166
>> [Mon Mar 09 17:56:04 2009] [error] [client 127.0.0.1] PHP Warning:
>>  XSLTProcessor::transformToXml() [<a
>> href='xsltprocessor.transformtoxml'>xsltprocessor.transformtoxml</a>]: No
>> stylesheet associated to this object in
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> on line 179
>> [Mon Mar 09 17:56:04 2009] [error] [client 127.0.0.1] PHP Warning:
>>  DOMDocument::loadXML() [<a
>> href='domdocument.loadxml'>domdocument.loadxml</a>]: Empty string supplied
>> as input in
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> on line 180
>> [Mon Mar 09 17:56:04 2009] [error] [client 127.0.0.1] PHP Warning:
>>  file_get_contents(dynamic_invocation/xslt/wsdl2sig.xslt) [<a
>> href='function.file-get-contents'>function.file-get-contents</a>]: failed to
>> open stream: No such file or directory in
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> on line 218
>> [Mon Mar 09 17:56:04 2009] [error] [client 127.0.0.1] PHP Fatal error:
>>  WSService::reply() [<a href='wsservice.reply'>wsservice.reply</a>]: Error
>> occurred in script: Error creating intermediate model in C:\\Program Files
>> (x86)\\Apache Software
>> Foundation\\Apache2.2\\htdocs\\php_stocktrader\\business_service\\business_svc.php
>> on line 437
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Selvaratnam Uthaiyashankar [mailto:[email protected]]
>> Sent: Monday, March 09, 2009 3:09 AM
>> To: [email protected]
>> Subject: Re: need help building WS02 stack
>>
>> Hi,
>>
>> You have to run database scripts in
>>
>> https://svn.apache.org/repos/asf/incubator/stonehenge/trunk/stocktrader/php/resources/db_scripts
>>
>> This will create tables with name "SERVICE" (which says what are the
>> endpoints of services), "CLIENTTOBS" (which tells what client connects to
>> what business service), and "BSTOOPS" (which tells what business service
>> connects to what order processor service). Configuration service uses
>> them.
>> You have to modify entries in "SERVICE" table and give correct endpoint
>> address.
>>
>> All the clients and business services gets the end point address of other
>> service (where it should be connected to) from config service. It gives us
>> the ability to switch between implementations in runtime.
>>
>> Regards,
>> Shankar
>>
>> On Mon, Mar 9, 2009 at 12:56 PM, Abu Obeida Bakhach <
>> [email protected]> wrote:
>>
>> > Hello Shankar,
>> > I've left this for a while, resuming it again:
>> >
>> > I've configured apache to use port 8080, and it seems working fine.
>> > However, I am not understanding the config service endpoint, its not
>> > working, and I think I need a little more context on what it's supposed
>> to
>> > do..
>> >
>> > Did you give the config service endpoint? You have to change the end
>> point
>> > address of the services in "Services" table. (I think you still have
>> 8080
>> > problem to get the connectivity to config service and business service).
>> > Please also check whether config service end point is correct (remember
>> the
>> > 8080). I Admit, we have to put all these details in the wiki..
>> >
>> > Also can you please clarify what do you mean by 'services table'?
>> >
>> > I would definitely appreciate any more info, here or on the wiki.
>> >
>> > Thanks,
>> >
>> > -----Original Message-----
>> > From: Selvaratnam Uthaiyashankar [mailto:[email protected]]
>> > Sent: Friday, February 27, 2009 7:13 PM
>> > To: [email protected]
>> > Subject: Re: need help building WS02 stack
>> >
>> > Hi,
>> >
>> > See my comments...
>> >
>> >
>> > On Sat, Feb 28, 2009 at 7:54 AM, Abu Obeida Bakhach <
>> > [email protected]> wrote:
>> >
>> > > Thanks Dimuthu, the problem turned out to be that path references
>> > included
>> > > the samples folder. I had copied the contents of the folder and placed
>> it
>> > > under htdocs. Adding the samples layer fixed it all.
>> > >
>> > > I am a lot closer now, thanks for your help. Here are the issues of
>> the
>> > day
>> > > :)
>> > >
>> > > 1] I am not sure why the documentation refers to localhost:8080. Why
>> the
>> > > special need for 8080?  The trader client pages currently don't work
>> on
>> > that
>> > > port. (example
>> > > http://localhost:8080/php_stocktrader/trader_client/glossary.php)
>> > removing
>> > > the 8080 part allows them to work. Am I missing something? Same
>> > apprehension
>> > > goes for the various weird port numbers in the SQL script.
>> >
>> >
>> >
>> > You don't need 8080 specifically. It is the port where apache runs. (You
>> > can
>> > modify it in httpd.conf). We used 8080 because, IIS used 80 and we need
>> > both
>> > to test the interop. Removing 8080 works means, your apache is running
>> on
>> > port 80
>> >
>> >
>> > >
>> > >
>> > > 2] Attempting to actually log in fails. Nothing happens except for a
>> > > "website cannot display the page" error message. After checking a
>> variety
>> > of
>> > > logs, I determined that the php_xsl.dll file wasn't installed. So I
>> > > re-installed PHP. You probably should put a note of that in the wiki.
>> Now
>> > I
>> > > am still getting the same error, however with more details in the
>> apache
>> > > log:
>> > >
>> >
>> > >
>> > >
>> > > [Fri Feb 27 18:18:33 2009] [error] [client 127.0.0.1] PHP Warning:
>> > >  file_get_contents(dynamic_invocation/xslt/wsdl11to20.xsl10.xsl) [<a
>> > > href='function.file-get-contents'>function.file-get-contents</a>]:
>> failed
>> > to
>> > > open stream: No such file or directory in
>> > >
>> >
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> > > on line 162, referer:
>> > > http://localhost/php_stocktrader/trader_client/login.php
>> > > [Fri Feb 27 18:18:33 2009] [error] [client 127.0.0.1] PHP Warning:
>> > >  DOMDocument::loadXML() [<a
>> > > href='domdocument.loadxml'>domdocument.loadxml</a>]: Empty string
>> > supplied
>> > > as input in
>> > >
>> >
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> > > on line 164, referer:
>> > > http://localhost/php_stocktrader/trader_client/login.php
>> > > [Fri Feb 27 18:18:33 2009] [error] [client 127.0.0.1] PHP Warning:
>> > >  XSLTProcessor::importStylesheet() [<a
>> > >
>> >
>> href='xsltprocessor.importstylesheet'>xsltprocessor.importstylesheet</a>]:
>> > > compilation error in
>> > >
>> >
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> > > on line 166, referer:
>> > > http://localhost/php_stocktrader/trader_client/login.php
>> > > [Fri Feb 27 18:18:33 2009] [error] [client 127.0.0.1] PHP Warning:
>> > >  XSLTProcessor::importStylesheet() [<a
>> > >
>> >
>> href='xsltprocessor.importstylesheet'>xsltprocessor.importstylesheet</a>]:
>> > > xsltParseStylesheetProcess : empty stylesheet in
>> > >
>> >
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> > > on line 166, referer:
>> > > http://localhost/php_stocktrader/trader_client/login.php
>> > > [Fri Feb 27 18:18:33 2009] [error] [client 127.0.0.1] PHP Warning:
>> > >  XSLTProcessor::transformToXml() [<a
>> > > href='xsltprocessor.transformtoxml'>xsltprocessor.transformtoxml</a>]:
>> No
>> > > stylesheet associated to this object in
>> > >
>> >
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> > > on line 179, referer:
>> > > http://localhost/php_stocktrader/trader_client/login.php
>> > > [Fri Feb 27 18:18:33 2009] [error] [client 127.0.0.1] PHP Warning:
>> > >  DOMDocument::loadXML() [<a
>> > > href='domdocument.loadxml'>domdocument.loadxml</a>]: Empty string
>> > supplied
>> > > as input in
>> > >
>> >
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> > > on line 180, referer:
>> > > http://localhost/php_stocktrader/trader_client/login.php
>> > > [Fri Feb 27 18:18:33 2009] [error] [client 127.0.0.1] PHP Warning:
>> > >  file_get_contents(dynamic_invocation/xslt/wsdl2sig.xslt) [<a
>> > > href='function.file-get-contents'>function.file-get-contents</a>]:
>> failed
>> > to
>> > > open stream: No such file or directory in
>> > >
>> >
>> D:\\Projects\\WS02\\WSF_PHP\\wso2-wsf-php-bin-snapshot-win32\\scripts\\dynamic_invocation\\wsf_wsdl_util.php
>> > > on line 218, referer:
>> > > http://localhost/php_stocktrader/trader_client/login.php
>> > > [Fri Feb 27 18:18:33 2009] [error] [client 127.0.0.1] PHP Fatal error:
>> > >  WSClient::getProxy() [<a
>> > href='wsclient.getproxy'>wsclient.getproxy</a>]:
>> > > Error occurred in script: Error creating intermediate model in
>> > C:\\Program
>> > > Files (x86)\\Apache Software
>> > >
>> >
>> Foundation\\Apache2.2\\htdocs\\php_stocktrader\\trader_client\\request_processor.php
>> > > on line 529, referer:
>> > > http://localhost/php_stocktrader/trader_client/login.php
>> > >
>> > > Can you please shed some light there?
>> >
>> >
>> > Did you give the config service endpoint? You have to change the end
>> point
>> > address of the services in "Services" table. (I think you still have
>> 8080
>> > problem to get the connectivity to config service and business service).
>> > Please also check whether config service end point is correct (remember
>> the
>> > 8080). I Admit, we have to put all these details in the wiki..
>> >
>> > Regards,
>> > Shankar..
>> >
>> >
>>
>
>
>
> --
> Thanks,
> Dimuthu Gamage
>
> http://www.dimuthu.org
> http://www.wso2.org
>



-- 
Thanks,
Dimuthu Gamage

http://www.dimuthu.org
http://www.wso2.org

Reply via email to