|
|
|
||||||
|
The code to do this in PHP is pretty similar:
Code:
$query = $ICE->stringToProxy("IcePack/Query")->ice_checkedCast("::IcePack::Query");
$obj = $query->findObjectByType("::Calc");
if($obj != null)
{
$calc = $obj->ice_checkedCast("::Calculator");
}
- Mark |
|
||||||
|
Thanks for your reply.
If the IcePack node is reside on another host whose IP is '192.168.0.157', how to specifiy the endpoint? Regards,
__________________
Fengxb |
|
||||||
|
Quote:
Take care, - Mark |
|
||||||
|
In the example, $obj can be got. But next statement throws an exception: [unknown] => Reference.cpp:711: Ice::NoEndpointException:
no suitable endpoint available for proxy `CalculatorApp -t @ CalculatorApp.Calculator' BTW, client is on another machine. Does I miss some configure?
__________________
Fengxb |
|
||||||
|
Did you define the Ice.Default.Locator property in the PHP configuration? If not, that is most likely the reason for the exception. See the IcePack chapter in the manual for more information on this property.
Take care, - Mark |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| multithread call of ICE JAVA client | stanley | Help Center | 1 | 09-08-2006 01:34 AM |
| Simultaneously function call | AlexKom | Help Center | 2 | 09-04-2005 04:26 AM |
| about ice_oneway call | level | Bug Reports | 1 | 01-27-2005 12:48 PM |
| how to match different request-response in ami call? | timeguest | Help Center | 1 | 10-28-2004 08:25 AM |
| I need ICE C# client call my ICE C++ server | damingyipai | Help Center | 4 | 08-13-2004 01:54 AM |