我正在尝试使用java发布一个Web服务,一旦我创建了服务并通过浏览器在http://localhost:4444/WS/Rubica?wsdl上运行的Eclipse编译,我就得到了xml。 但是尝试使用wsimport -s通过命令行导入。 http://localhost:4321/WS/Rubica?wsdl(昨天以一个例子说好了)
<?php
//in file A
$_SESSION['cart']['prices'] = array('1000');
$_SESSION['cart']['services'] = array('game');
//In File B
$_SESSION['cart']['prices'] = array('2000');
$_SESSION['cart']['services'] = array('game2');
//in file C
foreach ($_SESSION['cart']['services'] as $key => $service) {
echo $service . ' = ' . $_SESSION['cart']['prices'][$key] . '<br />';
}
?>
谢谢