0
Java类我们正在试图连接到:生成HTTP服务
http://resellertest.enom.com/interface.asp?command=nameofcommand&uid=yourloginid&pw=yourpassword¶mname=paramvalue&nextparamname=nextparamvalue
这里我们需要附加参数,HTTP URL,并从网站的响应是XML。
示例XML响应:
<?xml version="1.0" ?>
<interface-response>
<Contact>
<RegistrantPartyID>{FFD61956-8D43-45FB-BC38-E0EE23331503}</RegistrantPartyID>
</Contact>
<Command>ADDCONTACT</Command>
<Language>en</Language>
<IsLockable>True</IsLockable>
<IsRealTimeTLD>True</IsRealTimeTLD>
<TimeDifference>+03.00</TimeDifference>
<ExecTime>0.3164063</ExecTime>
<Done>true</Done>
<debug>
<![CDATA [ ] ]>
</debug>
</interface-response>
我们正试图从Java连接到这些服务。 有没有办法像我们在传统的webservices中那样自动生成java类(对应于xml)?
预先感谢您。