0
是否有任何工具可用於從(我的)sql模式爲apache Axis2生成一些代碼。例如,以下模式:從(我的)SQL模式生成Apache AXIS2 WebServices?
desc name;
+-------+------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------+------------------+------+-----+---------+-------+
| id | int(11) | NO | PRI | 0 | |
| name | longtext | NO | MUL | | |
+-------+------------------+------+-----+---------+-------+
會產生...:
interface Name
{
public long getId();
public String getName();
}
interface MyService
{
public Name getNameById(long id);
public List<Name> getNamesByName(String name);
}
與實施,WSDL等....
感謝