Thanks, Ben, that would be great.

There is one more thing, it's about the available options for client/bs/ops
in config_service. Now .NET and PHP support different options. For example,
.NET supports JAVA_CLIENT/DOTNET_CLIENT/PHP_CLIENT, while php supports
JAVA_CLIENT/DOTNET_CLIENT/PHP_CLIENT/RUBY_CLIENT. In addition, same things
happen in the options of BS and OPS.

Can we make them consistent in that aspect?


On Tue, Jul 14, 2009 at 11:16 AM, Ben Dewey <[email protected]> wrote:

> Avantika,
>
> Let's get these discrepancies addressed and change the contract names so
> the Metro team can model their config contract after the .NET contract.
>
> You should be able to change the method name to match PHP by adding the
> action parameter to the OperationContract like this.
>
> [OperationContract]
> BSConfigResponse GetBSConfig(BSConfigRequest bs);
>
> To
>
> [OperationContract(Action="getBSConfig")]
> BSConfigResponse GetBSConfig(BSConfigRequest bs);
>
>
> -Ben Dewey
>
> -----Original Message-----
> From: Avantika Agrawal [mailto:[email protected]]
> Sent: Monday, July 13, 2009 3:29 PM
> To: [email protected]
> Subject: RE: Config Service interoperability
>
> I just tested this and it managed to make a connection to the configuration
> service but was unable to process the GetBSConfig method. I think that's
> because our contract specifies this as GetBSConfig and theirs is
> getBSConfig. This can be changed pretty easily. But the contracts are a
> little different so all the inconsistencies should be ironed out. Is this
> something you're interested in?
>
> ________________________________________
> From: Ben Dewey [[email protected]]
> Sent: Monday, July 13, 2009 10:45 AM
> To: '[email protected]'
> Subject: RE: Config Service interoperability
>
> You should be able to just update the config service endpoint configuration
> address to use
>
> http://localhost:8080/php_stocktrader/config_service/config_svc.php
>
>
>
> -----Original Message-----
> From: Avantika Agrawal [mailto:[email protected]]
> Sent: Monday, July 13, 2009 1:35 PM
> To: [email protected]
> Subject: RE: Config Service interoperability
>
> I have not actually tried this. I am interested in testing that but I'm not
> sure how to go about it?
>
> -----Original Message-----
> From: Ben Dewey [mailto:[email protected]]
> Sent: Friday, July 10, 2009 8:51 AM
> To: '[email protected]'
> Subject: Config Service interoperability
>
> Avantika,
>
> Although this wasn't the goal,  have you by any chance tested
> interoperability between the .NET and PHP config services?  Does that work?
>
> -Ben Dewey
>



-- 
Ming Jin

Consultant
Thoughtworks, Inc
Mobile: +86 135-2125-6300
Email: [email protected]
MSN: [email protected]
Blog:  http://blogjava.net/mingj

Reply via email to