javaµ÷ÓÃhttpsµÄwebservice£¬httpsµÄwsdl
javaµ÷webServiceÌ«Õý³£ÁË¡£¡£¡£
ÔÚµ÷ÓÃhttpsµÄwebServiceµÄʱºò¼¸ÖÖ³£Óõķ½·¨»á³öÏÖ°²È«´íÎ󣬺ܶàÈË˵µÄÊÇÔÚjreÀïÃæ×°Ö¤Êé¡£¡£¡£ÄÇҲ̫ÓôÃÆÁË°É
ÕâÀïÌṩһÖÖ²»ÓÃÖ¤ÊéµÄ·½Ê½
¶Ô·½webServiceÌṩµÄ½Ó¿Ú£¬Õâ¸öÄãÓ¦¸ÃÒªÖªµÀµÄ°É£¬²»ÖªµÀµÄ»°¾Íwsdl×Ô¼º»¹Ô
Java´úÂë
/**
* XXXµÄwebService½Ó¿ÚÉùÃ÷
* °üÀ¨Á½¸ö·½·¨£º
* 1.¸ù¾ÝXXXÌṩµÄlicenseÈ¡µÃ¼ì²éµÄxmlÄ£°å
* 2.¸ù¾ÝXXXÌṩµÄlicenseºÍ°ü×°ºÃµÄxmlÄ£°å£¬È¡µÃ¼ì²é½á¹û
* @author bo
* @version $Id: XXXInterface.java,v 0.1 2009-9-1 ÉÏÎç09:59:05 bo Exp $
*/
public interface XXXInterface{
// ºË²é·½·¨
public String xxxCheck(String inLicense, String inConditions);
// È¡µÃÌõ¼þÎļþÄ£°å
public String xxxGetCondition(String inLicense) throws Exception;
}
/**
* XXXµÄwebService½Ó¿ÚÉùÃ÷
* °üÀ¨Á½¸ö·½·¨£º
* 1.¸ù¾ÝXXXÌṩµÄlicenseÈ¡µÃ¼ì²éµÄxmlÄ£°å
* 2.¸ù¾ÝXXXÌṩµÄlicenseºÍ°ü×°ºÃµÄxmlÄ£°å£¬È¡µÃ¼ì²é½á¹û
* @author bo
* @version $Id: XXXInterface.java,v 0.1 2009-9-1 ÉÏÎç09:59:05 bo Exp $
*/
public interface XXXInterface{
// ºË²é·½·¨
public String xxxCheck(String inLicense, String inConditions);
// È¡µÃÌõ¼þÎļþÄ£°å
public String xxxGetCondition(String inLicense) throws Exception;
}
Java´úÂë
/** xxxxÍøwebServiceµØÖ· */
private static final String SERVICE_URL = "https://api.xxx.org.cn/ws/services/";
/** xxxÍøwebServiceµÄÃû³Æ¿Õ¼ä */
private sta
Ïà¹ØÎĵµ£º
¹ØÓÚjavaµÄÁ´±í˼Ïë
ÏÈ¿É¿´ÒÔÏÂÀý×Ó
ÏȽ¨Á¢Ò»¸öʵÀý(Student.java)
package com.yz.mylink;
public class Student {
private Integer id;
private String name;
private Integer age;
private String classes;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = i ......
eclipse
²Ëµ¥ -> Window -> Preferences, ´ò¿ªPreferences´°¿Ú£¬È»ºóÒÀ´ÎÑ¡Ôñ Java -> JadClipse£¬È·±£"Path to decompiler:"µÄֵΪ"jad.exe"¡£
http://hi.baidu.com/darmn/blog/item/56678e7f14f81a0129388af7.html
http://hi.baidu.com/zhangge9477/blog/item/adeced08c9663a3ae8248849. ......
±¾ÎÄÄÚÈÝÕª×Ô£º¡¶Java Web¿ª·¢½Ì³Ì——ÈëÃÅÓëÌá¸ßƪ£¨JSP+Servlet£©¡·
½»»¥µÄ»ù±¾¹ý³Ì°üÀ¨£º
l ´´½¨XMLHttpRequest¶ÔÏó£»
l ·¢ËÍÇëÇó£»
l ´¦ÀíÏìÓ¦¡£
´ ......
±¾ÎÄÄÚÈÝÕª×Ô£º¡¶Java Web¿ª·¢½Ì³Ì——ÈëÃÅÓëÌá¸ßƪ£¨JSP+Servlet£©¡·
AJAXÊÇAsynchronous JavaScript and XMLµÄËõд£¬Éæ¼°JavaScript½Å±¾¡¢XHTMLºÍCSS¡¢DOM¡¢XMLºÍXSTLµÈ¼¼Êõ¡£
l XHTMLÓëCSSʵÏÖÊý¾ÝÐÅÏ¢µÄͳһ»¯ºÍ±ê×¼»¯ÏÔʾ£»
l & ......