Hi, Shankar, thanks for your reply
After reading the file PHPStockTraderInstallationInXP.html, we found we've
made a mistake.
We executed the build.bat under /branches/m1/php, then got a new generated
directory php_stocktrader including all services(BS, OPS, Config_service),
which we copied as the root of the PHP version stocktrader to
{apache}/htdocs/.
Today, we changed to copy the directories such as
business_service/order_processer/config_service directly to {apache}/htdocs/
and changed the DB settings. Then everything went well.:)
Now we're working on to test the interoperability between PHP and other
versions via secured web-services. Hope we can get them finished very
smoothly.
On Tue, Jun 9, 2009 at 10:38 AM, Selvaratnam Uthaiyashankar <
[email protected]> wrote:
> Hi,
> > 3. We tried to use the above config_service url in BS of WSO2 version,
> but
> > we failed because the WSO2 version BS uses
> > http://localhost:8080/config_service/config_svc.php in a lot of places.
>
>
> You have to change the config service url in
>
> <output>\wsas_stocktrader\webapps\ROOT\WEB-INF\classes\config-svc.properties
> (if you are using compiled version)
>
> or <svn>\wsas\resources\conf\config-svc.properties
> (if you are using svn)
>
>
>
> > In that case, we moved the config_service and required 'resources' out of
> the
> > 'php_stocktrader', so that we can access it with
> > http://localhost:8080/config_service/config_svc.php. This url worked to
> > stocktrader of PHP version.
> >
>
> Still, <WSAS Installed
> dir>\webapps\ROOT\WEB-INF\classes\config-svc.properties might point to
> http://localhost:8080/php_stocktrader/config_service/config_svc.php .
> Can you check it?
>
> Regards,
> Shankar
>
>
>
> > 5. We used Http_Debugger_Pro to catch the HTTP packages, and found that
> the
> > config_service did response the client correct soap messages.
> >
> > 6. We commented out the relevant code in BS source and hard coded the
> > OPS_url in the code, then everything was OK.
> >
> > That's all, It seemed like that the Config_svcStub used the ADB pattern,
> but
> > couldn't parse the response from the config_service in PHP correctly.
> >
> > Does anyone have any suggestion?
> >
> > Thanks.
> >
> > --------
> > Ming Jin
> >
> > Consultant
> > Thoughtworks, Inc
> >
>
>
>
> --
> S.Uthaiyashankar
> Software Architect
> WSO2 Inc.
> http://wso2.com/ - "The Open Source SOA Company"
>
--
Ming Jin
Consultant
Thoughtworks, Inc
Mobile: +86 135-2125-6300
Email: [email protected]
MSN: [email protected]
Blog: http://blogjava.net/mingj