锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产亚洲精品资源在线26u,亚洲国产成人精品久久,亚洲成A人片在线观看WWWhttp://m.tkk7.com/hwpok/category/47527.htmlDEBUG - 澶╅亾閰嫟zh-cnFri, 15 Aug 2014 17:48:13 GMTFri, 15 Aug 2014 17:48:13 GMT60weblogic12c閰嶇疆http://m.tkk7.com/hwpok/archive/2014/08/15/417009.html鎯犱竾楣?/dc:creator>鎯犱竾楣?/author>Fri, 15 Aug 2014 10:42:00 GMThttp://m.tkk7.com/hwpok/archive/2014/08/15/417009.htmlhttp://m.tkk7.com/hwpok/comments/417009.htmlhttp://m.tkk7.com/hwpok/archive/2014/08/15/417009.html#Feedback0http://m.tkk7.com/hwpok/comments/commentRss/417009.htmlhttp://m.tkk7.com/hwpok/services/trackbacks/417009.html1.1 鍑嗗宸ヤ綔錛?/span>

1.1.1 媯鏌ョ郴緇熸槸鍚﹀畨瑁?/span>JDK

I. 媯鏌ュ懡浠や負錛?/span>

echo   $JAVA_HOME

濡傛灉榪斿洖緇撴灉涓虹┖錛岃鏄庢病鏈夊綋鍓嶇郴緇熸病鏈夊畨瑁?span style="line-height: 22px; font-family: Arial">JDK錛岄渶瑕佸畨瑁?/span>JDK錛岄渶瑕佷笅杞?/span>JDK瀹夎鏂囦歡

II. 涓嬭澆JDK瀹夎鏂囦歡錛?/span>

涓嬭澆鏂囦歡錛?/span>jdk-6u45-linux-i586.bin 

涓嬭澆鍦板潃錛?a target="_blank">http://www.oracle.com/technetwork/java/javase/downloads/index.html

III. 瀹夎JDK錛?/span>

錛?/span>1錛夌粰/usr鐩綍涓嬪垱寤?nbsp;java鐩綍錛堝鏋滀笉瀛樺湪鍐嶅垱寤猴級錛屽懡浠わ細

  1. cd  /usr   
  2.   
  3. sudo  mkdir java   

錛?span style="line-height: 22px; font-family: Arial">2錛夌Щ鍔?nbsp;jdk-6u45-linux-i586.bin 鏂囦歡鍒?span style="line-height: 22px; font-family: Arial">/usr/java鐩綍 

  1. sudo mv jdk-6u45-linux-i586.bin  /usr/java  

錛?span style="line-height: 22px; font-family: Arial">3錛夌粰 jdk-6u45-linux-i586.bin鍒嗛厤鏉冮檺 

  1. sudo chmod 777  jdk-6u45-linux-i586.bin   

錛?span style="line-height: 22px; font-family: Arial">4錛夊畨瑁?/span>JDK 錛屽懡浠わ細

  1. sudo ./jdk-6u45-linux-i586.bin   

錛?span style="line-height: 22px; font-family: Arial">5錛夐厤緗幆澧冨彉閲忥紙娣誨姞JDK鍒扮幆澧冨彉閲忥級

  1. sudo vi /etc/profile   


 

export JAVA_HOME=/usr/java/jdk1.6.0_45 export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar 

娉ㄦ剰媯鏌?/span>/usr/java 鐩綍涓?nbsp;jdk鐨勭増鏈彿錛屾槸鍚︿笌閰嶇疆鐨?/span>jdk鐗堟湰鍙蜂竴鑷達紝浠?/span>/usr/java鐩綍鐨?/span>jdk鐗堟湰涓哄噯錛?/span>

錛?span style="line-height: 22px; font-family: Arial">6錛変嬌鍒氭墠娣誨姞鐨勭幆澧冨彉閲忓嵆浣跨敓鏁堬紝鍛戒護錛?/span>

  1. source /etc/profile  

錛?/span>7錛夋鏌?/span>jdk瀹夎鎯呭喌 錛?/span>

  1. echo   $JAVA_HOME  

1.1.2 鍑嗗weblogic瀹夎鏂囦歡

I. 涓嬭澆weblogic瀹夎鏂囦歡錛?/span>

涓嬭澆鏂囦歡錛?/span>wls1036_dev.zip

涓嬭澆鍦板潃錛?/span>

http://www.oracle.com/technetwork/cn/middleware/weblogic/downloads/wls-main-091116-zhs.html

II. 涓婁紶weblogic瀹夎鏂囦歡鍒扮敤鎴風洰褰曪細

涓婁紶weblogic瀹夎鏂囦歡鍒扮敤鎴風洰褰?/span>

1.2 瀹夎weblogic錛?/span>

1.2.1 閰嶇疆weblogic鐜鍙橀噺

I. 瑙e喅weblogic瀹夎鏂囦歡鍒版寚瀹氱洰褰?/span>

  1. sudo  unzip  -d weblogc1036  wls1036_dev.zip   
  2.   
  3. sudo  chmod 777 -R  weblogc1036  
  4.   
  5. sudo   mv  weblogc1036 /usr/   

II. 閰嶇疆weblogic鐜鍙橀噺 MW_HOME

  1. sudo vi /etc/profile   


 

export MW_HOME=/usr/ weblogc1036

浣垮垰鎵嶆坊鍔犵殑鐜鍙橀噺鍗充嬌鐢熸晥錛屽懡浠わ細

  1. source /etc/profile  

1.2.2 瀹夎weblogic鏈嶅姟

I. 鎵撳紑 $MW_HOME 鐩綍 

  1. cd  $MW_HOME  

II. 媯鏌ュ綋鍓嶇幆澧冩槸鍚︾鍚?span style="line-height: 23px; font-family: Arial">weblogic瀹夎瑕佹眰

 

  1. . $MW_HOME/configure.sh   


 

III. 閰嶇疆weblogic鍒濆鍖栧弬鏁?/span>

  1. . $MW_HOME/wlserver/server/bin/setWLSEnv.sh   

IV. 鍒涘緩weblogic  鍩燂紙domain錛?/span>

  1. . $MW_HOME/wlserver/common/bin/config.sh  

鍦ㄥ畨瑁呰繃紼嬶紝鍩烘湰涓婁笉闇瑕佸幓鍋氫慨鏀癸紝鍙渶瑕佷竴鐩翠笅涓姝ュ嵆鍙?鍦ㄥ垱寤鴻繃紼嬩腑闇瑕佷慨鏀圭殑灝辨槸閰嶇疆weblogic鍩熺殑鍚嶇О  錛岀櫥褰曡處鎴峰拰瀵嗙爜 鍙?nbsp;鍩熺殑绔彛鍙?/span>

濡傛灉鍦ㄦ湇鍔″櫒涓婄洿鎺ユ搷浣滄湁鍥懼艦鍖栫晫闈紝鏍規嵁鎻愮ず鍒涘緩weblogic鍩燂紝濡傛灉鏄繙紼嬪垯闇瑕佹牴鎹彁紺洪夋嫨鐩稿叧閰嶇疆鍙婂煙鍚嶇О錛岀櫥褰曡處鎴鳳紝鐧誨綍瀵嗙爜錛岀鍙e彿絳変俊鎭紝榪滅▼娣誨姞鍩熸渶鍚庝竴姝ユ瘮杈冩參錛屽緩璁瓑寰呯洿鍒板嚭鐜版彁紺轟俊鎭?“鍒涘緩鎴愬姛”瀛楁牱鏃訛紝閫鍑哄惁鍒欏惎鍔紝鍋滄絳塻h鑴氭湰灝嗘病鏈夎鍒涘緩

V. 鍚姩weblogic鏈嶅姟錛屽茍榪愯鍒氭墠鍒涘緩鐨?/span>domian 絀洪棿

鎵撳紑鍒氭墠鍒涘緩鍩熺殑鐩綍鎵ц

  1. . $MW_HOME/user_projects/domains/base_domain/startWebLogic.sh  


 

嫻嬭瘯weblogic鏈嶅姟鏄惁瀹夎鎴愬姛錛?/span>

鍦ㄦ祻瑙堝櫒鍦板潃鏍忚緭鍏?nbsp;錛?/span>http://localhost:7001/console 

鍙互鎵撳紑weblogic綆$悊鐧婚檰欏甸潰錛屽鏋?/span>weblgoc 鍩熺鐞嗚處鎴峰拰瀵嗙爜鐧誨綍錛岃繘鍏?/span>weblogic綆$悊鐣岄潰錛岃鏄?/span>weblogic鏈嶅姟瀹夎鎴愬姛錛?/span>

1.2.3 閮ㄧ講java web欏圭洰

I. 瑙e喅java欏圭洰閮ㄧ講鍒?/span>weblogic涓笉鑳借繘琛屾煡璇㈡暟鎹簱鎿嶄綔

錛?span style="line-height: 22px; font-family: Arial">1錛変笅杞藉茍涓婁紶 antlr-2.7.6.jar 鍒?nbsp;$MW_HOME/server/lib/ 鐩綍

錛?span style="line-height: 22px; font-family: Arial">2錛変慨鏀瑰垰鎵嶅垱寤哄煙涓厤緗枃浠?nbsp; setDomainEnv.sh 

  1. sudo   vi  $MW_HOME/user_projects/domains/base_domain/bin/setDomainEnv.sh  

                

娣誨姞  PRE_CLASSPATH="${WL_HOME}/server/lib/antlr-2.7.6.jar"

錛?span style="line-height: 22px; font-family: Arial">3錛夐噸鏂板惎鍔?nbsp;weblogic鍩?nbsp;鏈嶅姟錛?/span>

鍏抽棴 錛?/span>

  1. . $MW_HOME/user_projects/domains/base_domain/bin/stopWebLogic.sh      

鍚姩 錛?/span>

  1. . $MW_HOME/user_projects/domains/base_domain/startWebLogic.sh  


II. 灝?span style="line-height: 23px; font-family: Arial">java欏圭洰閮ㄧ講鍒?/span>weblogic鍩熶腑

灝嗙洰鏍?span style="line-height: 22px; font-family: Arial">java web欏圭洰鎵撳寘鎴愬悗緙鍚嶇О涓?#8220; .war ”鐨勬枃浠訛紝涓婁紶鑷?/span>linux鏈嶅姟鍣ㄦ寚瀹氱洰褰?/span>

鍦?span style="line-height: 22px; font-family: Arial">weblogic 鍩?nbsp;綆$悊鐣岄潰錛岀偣鍑誨乏渚у鑸彍鍗曚腑鐨?/span>閮ㄧ講 ,鎵撳紑閮ㄧ講欏圭洰欏甸潰錛屾壘鍒板搴旂殑欏圭洰war鍖咃紝鐐瑰嚮瀹夎錛屾牴鎹彁紺鴻繘琛岄儴緗插嵆鍙?nbsp;渚嬪錛?/span>xabeschrm.war 

嫻嬭瘯欏圭洰錛屾槸鍚﹂儴緗叉垚鍔?nbsp;錛?/span>

鍦ㄦ祻瑙堝櫒鍦板潃鏍忚緭鍏?nbsp;錛?/span>http://localhost:7001/xabeschrm 

浣跨敤姝g‘鐨勮處鎴峰拰瀵嗙爜鐧誨綍xabeschrm緋葷粺錛屽嵆閮ㄧ講鎴愬姛錛?/span>

1.2.4 闂鍙婅В鍐沖姙娉曞拰淇敼鍚?/span>configure.sh鏂囦歡

I.  MW_HOME 搴旇鎸囧畾鍒頒竴涓洰褰?/span>

鍚姩鏃訛紝鍋跺皵浼氭姤 “MW_HOME 搴旇鎸囧畾鍒頒竴涓洰褰?#8221;閿欒瑙e喅鍔炴硶錛?/span>

source /etc/profile 

錛堜嬌鐜鍙橀噺鐢熸晥錛?/span>

II.  淇敼鍚庣殑configure.sh鏂囦歡鍐呭

configure.sh

  1. #!/bin/sh  
  2.   
  3.   
  4. # ****************************************************************************  
  5.   
  6. # This script is used to setup certain artifacts in a zip distribution after   
  7.   
  8. # the extraction process. This script has to be rerun whenever the target   
  9.   
  10. # location is moved to another folder or machine  
  11.   
  12. #  
  13.   
  14. # JAVA_HOME and MW_HOME need to be configured prior to invoking this script  
  15.   
  16. # ****************************************************************************  
  17.   
  18.   
  19. SCRIPT_DIR="$(cd $(dirname $0) && pwd)"  
  20.   
  21.   
  22. # Users must set $MW_HOME variable  
  23.   
  24. if [ -z "$MW_HOME" ]; then  
  25.   
  26.   echo "ERROR: You must set MW_HOME and it must point to a directory".  
  27.   
  28.   exit 1;  
  29.   
  30. fi  
  31.   
  32.   
  33. if [ ! -d $MW_HOME ]; then  
  34.   
  35.   echo "       where an installation of WebLogic exists. Ensure you point"  
  36.   
  37.   exit 1;  
  38.   
  39. fi  
  40.   
  41.   
  42.   
  43. if [ ! "$(ls -A $MW_HOME)" ]; then  
  44.   
  45.   echo "       this variable to the extract location of the zip distribution."  
  46.   
  47.   exit 1;  
  48.   
  49. fi  
  50.   
  51.   
  52. # Users must set $JAVA_HOME variable  
  53.   
  54. if [ -z $JAVA_HOME ]; then  
  55.   
  56.   echo "ERROR: You must set JAVA_HOME and point it to a valid location"  
  57.   
  58.   exit 1;  
  59.   
  60. fi  
  61.   
  62.   
  63. if [ ! -d "${JAVA_HOME}/bin" ]; then  
  64.   
  65.   echo "       of where your JDK has been installed"  
  66.   
  67.   exit 1;  
  68.   
  69. fi  
  70.   
  71.   
  72. # Setup the WLS environment  
  73.   
  74. . ${MW_HOME}/wlserver/server/bin/setWLSEnv.sh  
  75.   
  76.   
  77. # Generate .product.properties and the registry.xml required for configuration  
  78.   
  79. # provisioning  
  80.   
  81. ${JAVA_HOME}/bin/java -Dant.home=${MW_HOME}/modules/org.apache.ant_1.7.1 \  
  82.   
  83.   org.apache.tools.ant.Main -f ${MW_HOME}/configure.xml  


]]>
webservice澶嶄範cxfhttp://m.tkk7.com/hwpok/archive/2014/07/07/415563.html鎯犱竾楣?/dc:creator>鎯犱竾楣?/author>Mon, 07 Jul 2014 13:42:00 GMThttp://m.tkk7.com/hwpok/archive/2014/07/07/415563.htmlhttp://m.tkk7.com/hwpok/comments/415563.htmlhttp://m.tkk7.com/hwpok/archive/2014/07/07/415563.html#Feedback0http://m.tkk7.com/hwpok/comments/commentRss/415563.htmlhttp://m.tkk7.com/hwpok/services/trackbacks/415563.htmldemo鐢ㄧ殑鏄痗xf 3.0
鎺ュ彛:
 1package com;
 2
 3import javax.jws.WebParam;
 4import javax.jws.WebService;
 5
 6@WebService
 7public interface HelloWorldServiceInf
 8{
 9    public String sayHello(@WebParam(name = "username")
10    String username);
11}


2. 瀹炵幇綾?br />
package com;

import javax.jws.WebService;

import org.apache.cxf.interceptor.LoggingInInterceptor;
import org.apache.cxf.interceptor.LoggingOutInterceptor;
import org.apache.cxf.jaxws.JaxWsServerFactoryBean;


@WebService(endpointInterface
="com.HelloWorldServiceInf",serviceName="helloWorldService")
public class Server implements HelloWorldServiceInf {

    
public String sayHello(String username) {
        
return "Hello,"+username;
    }


    
    
public static void main(String[] args) {
        Server impl
=new Server();
        JaxWsServerFactoryBean factoryBean
=new JaxWsServerFactoryBean();
        factoryBean.setAddress(
"http://localhost:9000/hello");
        factoryBean.setServiceClass(HelloWorldServiceInf.
class);
        factoryBean.setServiceBean(impl);
        factoryBean.getInInterceptors().add(
new LoggingInInterceptor());
        factoryBean.getOutInterceptors().add(
new LoggingOutInterceptor());
        factoryBean.create();
    }

    
}



3. 瀹㈡埛绔皟鐢?br />
 1import org.apache.cxf.endpoint.Client;
 2import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
 3
 4public class ClientX
 5{   
 6    public static void main(String[] args)throws Exception 
 7    {
 8        String wsdlUrl = "http://localhost:9000/hello?wsdl";
 9        JaxWsDynamicClientFactory factory = JaxWsDynamicClientFactory.newInstance();
10        Client client= factory.createClient(wsdlUrl);
11        Object[] res = client.invoke("sayHello""hwp");
12        System.out.println(res[0]);
13    }

14
15}

package com.cxf.client;

import org.apache.cxf.interceptor.LoggingInInterceptor;
import org.apache.cxf.interceptor.LoggingOutInterceptor;
import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
import com.cxf.interfaces.HelloWorldServiceInf;

public class Client {
    
public static void main(String[] args) {
        JaxWsProxyFactoryBean  factoryBean
=new JaxWsProxyFactoryBean();
        factoryBean.getInInterceptors().add(
new LoggingInInterceptor());
        factoryBean.getOutInterceptors().add(
new LoggingOutInterceptor());
        factoryBean.setServiceClass(HelloWorldServiceInf.
class);
        factoryBean.setAddress(
"http://localhost:9000/hello");
        HelloWorldServiceInf impl
=(HelloWorldServiceInf) factoryBean.create();
        System.out.println(impl.sayHello(
"寮犱笁"));
    }

}





]]>
webservice澶嶄範xfire鐢熸垚浠g爜(杞?http://m.tkk7.com/hwpok/archive/2014/07/06/415495.html鎯犱竾楣?/dc:creator>鎯犱竾楣?/author>Sun, 06 Jul 2014 06:53:00 GMThttp://m.tkk7.com/hwpok/archive/2014/07/06/415495.htmlhttp://m.tkk7.com/hwpok/comments/415495.htmlhttp://m.tkk7.com/hwpok/archive/2014/07/06/415495.html#Feedback0http://m.tkk7.com/hwpok/comments/commentRss/415495.htmlhttp://m.tkk7.com/hwpok/services/trackbacks/415495.html
浣跨敤XFire鐢熸垚wsdl瀹㈡埛绔? title=

絳夊緟楠岃瘉錛屾湁涓皬閿欒鏈夋椂涓嶅獎鍝嶇敓鎴愶紝鐐笷inish鍗沖彲
浣跨敤XFire鐢熸垚wsdl瀹㈡埛绔? title=
鐒跺悗欏圭洰閲屽氨澶氫簡涓浜?java綾?/div>
鍙渶鍏蟲敞涓涓被錛氬湪webservice鍖?浣犲綋鍒濋夋嫨鐨刯ava package)涓嬶紝鏈変釜鍙玿xxxxxClient.java綾?/div>
鎵撳紑錛屾壘鍒癿ain鏂規硶
鑷甫浜嗕緥瀛愶紝璋冪敤鐨勫湴鏂癸紝鎶妋ain鏂規硶閲岀殑浠g爜copy榪囧幓 鏀瑰惂鏀瑰惂鐨勫氨鍙互浜?/div>
綆鍗曞惂~
-------------------------------------------------------------------------------------------
PS錛?/div>
濡傚浘2錛屽鏋滄棤娉曢夋嫨XFire鐢熸垚錛屽垯鍏坈ancel
鍙抽敭欏圭洰錛孧yEclipse --> Add XFire Web Service Capabilities --> Finish
OK錛岄噸澶嶅浘1


]]>webservice澶嶄範xfire璋冪敤鏂瑰紡http://m.tkk7.com/hwpok/archive/2014/07/06/415494.html鎯犱竾楣?/dc:creator>鎯犱竾楣?/author>Sun, 06 Jul 2014 06:40:00 GMThttp://m.tkk7.com/hwpok/archive/2014/07/06/415494.htmlhttp://m.tkk7.com/hwpok/comments/415494.htmlhttp://m.tkk7.com/hwpok/archive/2014/07/06/415494.html#Feedback0http://m.tkk7.com/hwpok/comments/commentRss/415494.htmlhttp://m.tkk7.com/hwpok/services/trackbacks/415494.html
package client;

import java.net.MalformedURLException;

import org.codehaus.xfire.XFireFactory;
import org.codehaus.xfire.client.XFireProxyFactory;
import org.codehaus.xfire.service.Service;
import org.codehaus.xfire.service.binding.ObjectServiceFactory;

import services.IReaderService;
import beans.Reader;

public class ReaderClient
{
    public static void main(String[] args)
    {
        // 榪欓噷鏄垱寤轟竴涓猻ervice錛岄渶瑕佷紶鍏ヤ竴涓帴鍙g被錛屽洜涓烘垜浠悗闈㈠繀欏昏皟鐢ㄧ浉搴旂殑鎺ュ彛鏂規硶
        Service srcModel = new ObjectServiceFactory()
                .create(IReaderService.class);
        // 浠g悊宸ュ巶錛岃繖閲屾槸涓轟簡鍚庨潰鍒涘緩鐩稿簲鐨勬帴鍙g被
        XFireProxyFactory factory = new XFireProxyFactory(XFireFactory
                .newInstance().getXFire());
        // webservice鍦板潃錛屼笉闇瑕佸姞wsdl
        String readerServiceUrl = "http://127.0.0.1:8080/myWebservice/services/readerService";
        
        try
        {
            // 鍒╃敤宸ュ巶榪斿洖鐩稿簲鐨勬帴鍙g被
            IReaderService readerService = (IReaderService) factory.create(
                    srcModel, readerServiceUrl);
            
            //String str = readerService.sayHello("鎯犱竾楣?);
            
//System.out.println(str);
            
            Reader reader = readerService.getReader("shun", "123");
            System.out.println(reader);
        }
        catch (MalformedURLException e)
        {
            e.printStackTrace();
        }
    }
}
璋冪敤鏂瑰紡2:
package client;

import java.net.MalformedURLException;
import java.net.URL;

import org.codehaus.xfire.client.Client;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

public class ReaderClient2
{
    public static void main(String[] args)
    {
        Client client = null;
        try
        {
            client = new Client(
                    new URL(
                            "http://127.0.0.1:8080/myWebservice/services/readerService?wsdl"));
            Object[] result1 = client.invoke("sayHello", new Object[] { "寮犱笁" });
            System.out.println(result1[0]);
            
            //Object[] result2 = client.invoke("getReader", new Object[] { "寮犱笁", "123456" });
            Object[] result2 = client.invoke("getReaders", new Object[] { null });
            Document xmlTree = (Document) result2[0];
            System.out.println("x: " + xmlTree.toString());
            
            anylizeElement(xmlTree);
        }
        catch (MalformedURLException e)
        {
            e.printStackTrace();
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }
    
    private static void anylizeElement(Document xmlTree) {
        Element element = xmlTree.getDocumentElement();
        System.out.println(element.getFirstChild().getFirstChild()
                .getNodeName());
        System.out.println(element.getFirstChild().getFirstChild()
                .getNodeValue());
        NodeList children = element.getChildNodes();
        for (int i = 0; i < children.getLength(); i++) {
            Node node = children.item(i);
            stepThrough(node);
        }
    }
     
    private static void stepThrough(Node start) {
        for (Node child = start.getFirstChild(); child != null; child = child
                .getNextSibling()) {
            if (child instanceof Node)// 鍘婚櫎澶氫綑鐨勭┖鐧?/span>
            {
                System.out.print("鑺傜偣鍚?" + child.getNodeName());
                System.out.println("\t鑺傜偣鍊?" + child.getNodeValue());
            }
            if (child != null)
                stepThrough(child);
        }
    }
    
}


]]>
webservice澶嶄範xfire鍙戝竷鏈嶅姟(杞?http://m.tkk7.com/hwpok/archive/2014/07/06/415493.html鎯犱竾楣?/dc:creator>鎯犱竾楣?/author>Sun, 06 Jul 2014 06:33:00 GMThttp://m.tkk7.com/hwpok/archive/2014/07/06/415493.htmlhttp://m.tkk7.com/hwpok/comments/415493.htmlhttp://m.tkk7.com/hwpok/archive/2014/07/06/415493.html#Feedback0http://m.tkk7.com/hwpok/comments/commentRss/415493.htmlhttp://m.tkk7.com/hwpok/services/trackbacks/415493.html杞嚜http://cxshun.iteye.com/blog/1273147


鏈榪戝叕鍙告渶榪戦渶瑕佸皢浠ュ墠鎻愪緵鍑哄幓鐨勬帴鍙g粺涓鐢ㄤ竴涓爣鍑嗘潵瀹炵幇錛岃冭檻鍒皐ebservice榪欎釜鏄爣 鍑嗭紝鍥犳鎴戣姳鏃墮棿澶ф瀛︿範浜嗕竴涓媤ebservice錛屼篃瀵笿AVA鐨勫嚑涓獁ebservice妗嗘灦榪涜浜嗕竴浜涘皬渚嬪瓙鐨勫涔犮?br />
JAVA璋冪敤webservice錛屽綋浣犲垰寮濮嬫帴瑙︾殑鏃跺欎綘浼氳寰楀畠鏄竴涓伓姊︼紝鐗瑰埆鏄病鏈変竴涓粺涓鐨勬爣鍑嗗疄鐜幫紝姣旇搗.net鐨勯偅浜涘嚑姝ュ氨鍙互瀹屾垚鐨剋ebservice瀹炵幇錛屾垜浠湅鐫JAVA鐨勫疄鐜扮湡鏄激蹇冨晩銆備絾灝辯畻鏄激蹇冿紝鎴戜滑涔熻繕鏄瀹屾垚鐨勩侸AVA涔熶笉涔忔瘮杈冨ソ鐨勫疄鐜幫紝濡倄fire,jersey,CXF銆傛湁浜轟細璇碼xis2錛岄偅涓笢瑗匡紝鐪嬬潃灝變激蹇冿紝瀹冧笉鍖呮嫭鍦ㄦ瘮杈冨ソ閲岄潰錛屾瘮杈冨樊閲岄潰鍙嶅掓湁瀹冪殑涓甯箣浣嶃傛庝箞宸紝榪欓噷鍏堜笉璇達紝鎴戜滑鎱㈡參鍦版潵鐪嬬湅榪欏嚑涓鏋剁殑瀹炵幇銆?br />
浠婂ぉ鎴戜滑灝卞厛涓璧鋒潵鐪嬩竴涓媥fire鐨勫疄鐜幫紝鎺ヤ笅鏉ョ殑鍑犲ぉ鎴戜滑浼氭參鎱竴璧鋒潵瀛︿範鍙﹀鐨勬鏋躲?br />
1錛夐鍏堬紝褰撶劧鏄涓嬪寘鍟︼紝榪欎釜鏅氫漢閮界煡閬撱?a target="_blank" style="color: black;">http://xfire.codehaus.org/Download鍙互鍒拌繖閲屽幓涓嬶紝鍙互涓媋ll涔熷彲浠ヤ笅distribution銆備絾寤鴻榪樻槸涓媋ll鐨勶紝鍏嶅緱涓鍫嗗鎬殑闂鎼炲緱浣犱竴鐐逛俊蹇冮兘娌′簡銆?br />
鍖呭紕涓嬫潵浜嗛偅涔堟庝箞鍔炲憿錛熸斁榪涢」鐩噷鍟娿傝矊浼煎簾璇濓紝浣嗗緢澶氫漢灝辨槸涓嶇煡閬撲笅涓嬫潵瑕佸共浠涔堢敤銆?br />
寤轟竴涓柊欏圭洰錛屾瘮杈冩垜鐨勬槸xfireWebservice錛岃繖閲屽綋鐒舵槸寤簑eb欏圭洰鍟︺?span style="white-space: pre;">



鎴戣繖閲屾槸鎶婂畠鎵鏈夌殑鍖呴兘鏀懼埌榪欓噷闈簡錛屾瘯绔熸垜浠啓渚嬪瓙錛屽氨娌″繀瑕佹寫涓夋嫞鍥涗簡錛岄殢渚跨偣鍚э紝濡傛灉鎯崇湅鐪嬪紓甯鎬俊鎭殑鏈嬪弸鍙互涓嶆妸鍏ㄩ儴鏀捐繘鍘伙紝鎱㈡參鍦板姞鍏ワ紝浠ュ悗閬囧埌閿欒涔熷ソ鎺掗櫎錛屼絾鎴戜滑榪欓噷灝變笉閭d箞鍋氫簡錛屾瘯绔熶竴鑸己灝戜粈涔堢被閭d簺鐨勫紓甯告病浠涔堥毦鐪嬬殑錛屽ぇ瀹跺彲浠ヨ嚜宸辨帓闄ゃ?br />
2錛夋垜浠鍏堟潵浜嗚В涓涓媥fire涓庡叾浠杦ebservice妗嗘灦鐨勪笉鍚岋紝瀹冩渶澶х殑涓嶅悓涔嬪鍦ㄤ簬瀹冮渶瑕佷竴涓帴鍙o紝鑰屼笖濡傛灉闇瑕佺敤xfire鏉ヨ皟鐢ㄧ浉搴旂殑webservice蹇呴』鐭ラ亾鎺ュ彛鐨勫畾涔夛紝鎰熻榪欓噷鏈夌偣闄愬埗浜嗐備絾闄や簡榪欑偣錛寈fire璋冪敤webservice錛岄偅鏄浉褰撶殑鏂逛究錛屽氨璺熻皟鐢ㄦ湰鍦版柟娉曚竴鏍楓傛垜浠洿鎺ユ潵鐪嬩緥瀛愶細

棣栧厛鏄渶閲嶈鐨勬帴鍙o細

Java浠g爜  鏀惰棌浠g爜
  1. public interface IReaderService {  
  2.     public Reader getReader(String name,String password);  
  3.     public List<Reader> getReaders();  
  4. }  

鏈夋帴鍙o紝褰撶劧涔熻鏈夊疄鐜扮被錛屼笉鐒舵帴鍙e氨娌′粈涔堟剰涔変簡銆?span style="white-space: pre;">

Java浠g爜  鏀惰棌浠g爜
  1. public class ReaderService implements IReaderService{  
  2.     public Reader getReader(String name,String password) {  
  3.         return new Reader(name,password);  
  4.     }  
  5.       
  6.     public List<Reader> getReaders(){  
  7.         List<Reader> readerList = new ArrayList<Reader>();  
  8.         readerList.add(new Reader("shun1","123"));  
  9.         readerList.add(new Reader("shun2","123"));  
  10.         return readerList;  
  11.     }  
  12. }  

涔熺湅涓涓婮AVABEAN錛孯eader綾伙細

Java浠g爜  鏀惰棌浠g爜
  1. public class Reader{  
  2.     private static final long serialVersionUID = 1L;  
  3.     private String name;  
  4.     private String password;  
  5.       
  6.     public Reader(){}  
  7.     public Reader(String name,String password) {  
  8.         this.name = name;  
  9.         this.password = password;  
  10.     }  
  11.         //Get/Set鏂規硶鐪佺暐  
  12.     public String toString(){  
  13.         return "Name:"+name+",Password:"+password;  
  14.     }  
  15.       
  16. }  

娉ㄦ剰錛屾垜浠繖閲岀殑Reader綾誨疄鐜頒簡Serializable鎺ュ彛錛屼負浠涔堝憿錛熻繖閲岋紝棣栧厛鎴戜滑闇瑕佷簡瑙ebservice鐨勫師鐞嗭紝瀵逛簬JAVA鏉ヨ錛屽鏋滄垜浠渶瑕佸湪浜掕仈緗戜笂浼犲璞★紝寰堝浜哄綋鐒朵細鎯沖埌搴忓垪鍖栵紝瀵逛簡錛岃繖閲屽氨鏄簭鍒楀寲錛屽洜涓烘垜浠渶瑕佹妸reader浣滀負鍙傛暟鏉ヤ紶閫掋傝繖鍦ㄤ互鍓嶇殑鐗堟湰涓槸闇瑕佸己鍒跺疄鐜幫紝鍚﹀垯浼氭姤閿欙紝浣嗙幇鍦ㄧ殑鏈鏂扮殑鐗堟湰錛堝叾瀹炴渶鏂扮殑涔熸槸07騫寸殑錛屽洜涓簒fire宸茬粡鍋滄寮鍙戯紝琚玜pache鍚堝茍涓篊XF欏圭洰錛岃繖涓垜浠箣鍚庡啀璁詫級宸茬粡涓嶉渶瑕佷簡錛岃嚦浜庢槸鐢ㄤ粈涔堟柟寮忓疄鐜扮殑錛屾垜浠繖閲屾殏鏃朵笉娣辯┒錛屽洜涓哄畠宸茬粡琚悎騫跺埌CXF涓紝鎴戜滑濡傛灉瑕佹繁鍏ュ涔狅紝搴旇瀛︿範CXF杈冨ソ銆?br />
3錛夊綋鎴戜滑瀹屾垚涓婇潰鐨勬帴鍙e拰JAVABEAN鐨勭紪鍐欏悗錛屽緢澶氫漢浼氶棶錛屾垜鐪嬪緢澶歸ebservice閮戒細鏈塛SDL鏂囦歡錛岄偅浣犺繖涓庝箞鏉ョ殑錛熷湪璁茶繖涓箣鍓嶏紝鎴戜滑鏉ヨ璁轟竴涓嬩粈涔堟槸WSDL銆備篃璁稿緢澶氬叕鍙告彁渚涚殑鎺ュ彛閮借繕鏄彧鏄竴涓狧TTP鍦板潃錛岃繑鍥瀀ML榪欐牱鐨勬牸寮忥紝鎴戜滑鐨勪篃鏄傝繖鏈変竴涓ソ澶勶紝涔熸湁涓涓潖澶勩傚ソ澶勬槸鎴戜滑寮鍙戠殑闅懼害灝忎簡錛岃屽潖澶勬槸鎴戜滑闇瑕佹彁渚涚粰鐢ㄦ埛涓鍫嗚鏄庢枃浠訛紝姣忎釜榪斿洖鐨刋ML鏍囩鏄粈涔堟剰鎬濓紝榪欏掍篃娌″暐錛屼絾灝辨槸姣旇緝鐑﹁屽凡銆傝寃ebservice鍛紝鍧忓灝辨槸鎴戜滑寮鍙戠殑涓滆タ紼嶅井澶氫簡鐐癸紝鑰屽ソ澶勬槸鎴戜滑涓嶇敤鍐嶅啓閭d箞澶氳鏄庢枃浠訛紝鍥犱負鏈変竴涓粺涓鐨勮鏄庯紝鍙玏SDL錛岃繖涓槸webservice鐨勮鏄庢枃妗o紝鏄粺涓鐨勶紝鏃犺浠涔堣璦閮戒竴鏍鳳紝鎵浠ヤ笉瀛樺湪璋佺湅涓嶆噦鐨勯棶棰樸?br />
鑰岃繖閲岋紝褰撴垜浠儴緗插畬鎴恱fire鍚庯紝瀹冨氨鍙互甯垜浠敓鎴怶SDL鏂囦歡銆?br />
闂鏄庝箞閮ㄧ講錛岃繖涓叾瀹炰篃綆鍗曘傛垜浠湪src鐩綍涓嬫柊寤轟竴涓枃浠跺すMETA-INF錛屽啀寤哄畠鐨勪竴涓瓧鏂囦歡澶箈fire錛岄噷闈㈠緩绔嬫枃浠秙ervices.xml銆備箣鍚庣殑緇撴瀯濡備笅錛?br />

鏈変漢浼氶棶涓轟粈涔堣寤哄埌src鐩綍涓嬶紝鍏跺疄涓嶆槸瑙勫畾寤哄埌榪欓噷鐨勶紝浣嗗洜涓烘垜浠渶瑕佽寮鍙戝伐鍏峰府鎴戜滑鑷繁閮ㄧ講榪欏嚑涓枃浠訛紝鎵浠ユ垜浠斁鍒拌繖閲岋紝eclipse灝卞彲浠ュ府鎴戜滑鑷繁閮ㄧ講鍒皌omcat鎴栬呭叾浠栫殑瀹瑰櫒涓傛敞鎰忥紝榪欎釜鏂囦歡鎵鍦ㄦ枃浠跺す灞傛鏄浐瀹氱殑錛屼笉鍙互淇敼銆?br />
鎴戜滑鐩存帴鐪嬩竴涓媠ervics.xml:

Xml浠g爜  鏀惰棌浠g爜
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <beans xmlns="http://xfire.codehaus.org/config/1.0">  
  3.     <service>  
  4.         <!-- webserviceq鍚嶇О錛岃皟鐢ㄦ椂闇瑕佹寚瀹氳繖涓?nbsp;-->  
  5.         <name>readerService</name>  
  6.         <!-- 榪欎釜涓鑸槸鑷繁鍏徃鐨勭綉鍧錛屾剰涔変笉澶?nbsp;-->  
  7.         <namespace>http://test/HelloService</namespace>  
  8.         <!-- 鎺ュ彛綾?nbsp;-->  
  9.         <serviceClass>com.xfire.servlet.IReaderService</serviceClass>  
  10.         <!-- 瀹炵幇綾?nbsp;-->  
  11.         <implementationClass>com.xfire.servlet.ReaderService</implementationClass>  
  12.     </service>  
  13. </beans>  



鐪嬬潃娉ㄩ噴涓鑸兘娌¢棶棰樼殑銆?br />
4錛夊緢澶氫漢浠ヤ負榪欐牱灝辮浜嗭紝涓嶏紝榪樻病琛岋紝浣犳寚瀹氫簡榪欎釜錛岄偅鍒漢鎬庝箞璁塊棶鍛€傛庝箞鎶婄浉搴旂殑璇鋒眰杞彂鍒皒fire閭i噷錛岃瀹冭繘琛屽鐞嗗憿銆傝繖閲屽張闇瑕佷慨鏀箇eb.xml浜嗐?br /> 淇敼鍚庡涓嬶細

Xml浠g爜  鏀惰棌浠g爜
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  3.     xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"  
  4.     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"  
  5.     id="WebApp_ID" version="3.0">  
  6.     <servlet>  
  7.         <servlet-name>XFireServlet</servlet-name>  
  8.         <servlet-class>org.codehaus.xfire.transport.http.XFireConfigurableServlet</servlet-class>  
  9.     </servlet>  
  10.   
  11.     <servlet-mapping>  
  12.         <servlet-name>XFireServlet</servlet-name>  
  13.         <url-pattern>/services/*</url-pattern>  
  14.     </servlet-mapping>  
  15. </web-app>  

鍏跺疄涔熷氨鏄坊鍔犱簡涓涓猻ervlet鍜屽搴旂殑mapping銆傛帴涓嬫潵錛屾垜浠湪嫻忚鍣ㄤ笂鐩存帴杈撳叆:
http://localhost:8080/xfireWebService/services/readerService?wsdl

鎴戜滑鍙互鐪嬪埌錛?br />



榪欓噷鏄劇ず鐨勫氨鏄痺sdl錛屽畠浼氭樉紺烘垜浠畾涔夌殑鏂規硶錛岃繑鍥炵殑綾誨瀷錛岃繖涓枃浠舵垜浠繖閲屽氨涓嶅垎鏋愪簡錛?a target="_blank" style="color: black;">http://webservices.group.iteye.com/group/topic/11467榪欎綅鏈嬪弸鍦ㄨ繖閲屽啓寰楀緢娓呮錛屾兂浜嗚В鐨勬湅鍙嬪彲浠ュ埌榪欓噷鐪嬬湅銆?br />
5錛変笂闈㈠洓姝ュ畬鎴愬悗錛屾垜浠氨瀹屾垚浜唚ebservice鐨勯儴緗蹭簡銆傚埆浜哄氨鍙互璋冪敤鐩稿簲鐨剋ebservice鏉ヨ闂垜浠殑鏂規硶浜嗐備笅闈㈡垜浠氨鐢▁fire鎻愪緵鐨刢lient鏉ヨ闂竴涓嬫垜浠垰鎵嶅彂甯冪殑webservice:

Java浠g爜  鏀惰棌浠g爜
  1. public class ReaderClient {  
  2.     public static void main(String[] args) {  
  3.         //榪欓噷鏄垱寤轟竴涓猻ervice錛岄渶瑕佷紶鍏ヤ竴涓帴鍙g被錛屽洜涓烘垜浠悗闈㈠繀欏昏皟鐢ㄧ浉搴旂殑鎺ュ彛鏂規硶  
  4.         Service srcModel = new ObjectServiceFactory().create(IReaderService.class);  
  5.         //浠g悊宸ュ巶錛岃繖閲屾槸涓轟簡鍚庨潰鍒涘緩鐩稿簲鐨勬帴鍙g被  
  6.         XFireProxyFactory factory = new XFireProxyFactory(XFireFactory.newInstance().getXFire());  
  7.         //webservice鍦板潃錛屼笉闇瑕佸姞wsdl  
  8.         String readerServiceUrl = "http://localhost:8080/xfireWebService/services/readerService";  
  9.           
  10.         try {  
  11.             //鍒╃敤宸ュ巶榪斿洖鐩稿簲鐨勬帴鍙g被  
  12.             IReaderService readerService = (IReaderService)factory.create(srcModel,readerServiceUrl);  
  13.   
  14.             Reader reader = readerService.getReader("shun","123");  
  15.             System.out.println(reader);  
  16.         } catch (MalformedURLException e) {  
  17.             e.printStackTrace();  
  18.         }  
  19.     }  
  20. }  

榪欐牱錛屾垜浠湅鍒拌緭鍑虹粨鏋滀負錛?br />

寰堢畝鍗曠殑璋冪敤錛屽綋鎴戜滑鍙栧緱鎺ュ彛鍚庯紝涓鍒囧氨璺熸湰鍦頒竴鏍蜂簡銆倄fire鍙戝竷鍜岃皟鐢╳ebservice鐩稿鍏朵粬妗嗘灦鏉ヨ鏄畝鍗曞緢澶氱殑銆傛帴涓嬫潵鍑犲ぉ錛屾垜浠細緇х畫瀛︿範鍙﹀鐨勫嚑涓鏋訛紝CXF錛宎xis2鍜宩ersey錛宎xis2鎴戜滑鏀懼埌鏈鍚庡啀璁詫紝鍥犱負鐩稿鍏朵粬鏉ヨ錛屽畠鐨勭伒媧繪ф瘮杈冨樊錛岃屼笖姣旇緝楹葷儲銆?/span>


鍙﹀闂釜灝忛棶棰橈紝鏈夋病鏈夋湅鍙嬬煡閬撴庝箞淇敼鍗氬瀛椾綋澶у皬錛屾垜淇敼瀹屾垚鍚庝繚瀛橈紝瀹冨彧浼氬湪浠g爜孌甸偅閲屽姞涓?lt;span>鏍囩錛屼絾瀛椾綋娌℃湁鏀瑰彉錛屽叾浠栫殑涔熸槸涓鏍鳳紝鏈夌煡閬撶殑鏈嬪弸楹葷儲璺熸垜璇翠笅銆?/span>



]]>
Xfire 鍜?axis2 姣旇緝http://m.tkk7.com/hwpok/archive/2011/01/08/342577.html鎯犱竾楣?/dc:creator>鎯犱竾楣?/author>Sat, 08 Jan 2011 06:02:00 GMThttp://m.tkk7.com/hwpok/archive/2011/01/08/342577.htmlhttp://m.tkk7.com/hwpok/comments/342577.htmlhttp://m.tkk7.com/hwpok/archive/2011/01/08/342577.html#Feedback0http://m.tkk7.com/hwpok/comments/commentRss/342577.htmlhttp://m.tkk7.com/hwpok/services/trackbacks/342577.html     xfire:
      鍙戝竷鏈嶅姟:鏄撶敤鎬у己.
      瀹㈡埛绔皟鐢?鐢熸垚浠g爜鑳藉姏涓嶅強axis2,鍏煎鎬т笉鍙妜fire.
    axis2
      鍙戝竷鏈嶅姟:涓嶅強xfire鏄撶敤.
      瀹㈡埛绔皟鐢? 鐢熸垚浠g爜杈冨己,閫氱敤鎬ц緝濂?鏀寔澶氳璦.
榪欏嚑澶╁仛姹熻タ鐢典俊鐨勪竴涓笢涓?鐢▁fire鐢熸垚浠g爜,璋冪敤鑰佹槸鍑洪敊.鎹㈡垚axis2涓涓嬪氨濂戒簡.

]]>
Axis2 鐢熸垚浠g爜 鍙? 璋冪敤http://m.tkk7.com/hwpok/archive/2011/01/07/342558.html鎯犱竾楣?/dc:creator>鎯犱竾楣?/author>Fri, 07 Jan 2011 13:59:00 GMThttp://m.tkk7.com/hwpok/archive/2011/01/07/342558.htmlhttp://m.tkk7.com/hwpok/comments/342558.htmlhttp://m.tkk7.com/hwpok/archive/2011/01/07/342558.html#Feedback0http://m.tkk7.com/hwpok/comments/commentRss/342558.htmlhttp://m.tkk7.com/hwpok/services/trackbacks/342558.html鐢╝xis 鐢熸垚浠g爜涓鑸細浜х敓涓や釜綾?
1.***CallbackHandler.java 鏄釜鎶借薄綾?涓鑸笉浼氱敤鍒?br /> 2.***SmsInfStub.java涓鑸嬌鐢ㄨ繖涓被

璋冪敤鏂規硶濡備笅:

public class Test
{
    
    
/**
     * <ul>
     * <li>Description:[method of functional description]</li>
     * <li>Created by [Huyvanpull] [2011-1-7]</li>
     * <li>Midified by [modifier] [modified time]</li>
     * </ul>
     * 
@param args
     * 
@throws RemoteException 
     
*/

    
public static void main(String[] args) throws RemoteException
    
{
        SmsInfStub ss 
= new SmsInfStub();
        SmsInfStub.QueryBalance request 
= new   SmsInfStub.QueryBalance();
        request.setSequenceId(
1);
        request.setAccountCode(
"xxxxdf");
        request.setAccountPasswd(
"dfaadd");
        BalanceInfoType talanceInfoType 
= ss.QueryBalance(request).getBalanceInfo();
        System.out.println(talanceInfoType.getRemainOutNetSmsAmount());
    }

    
}


]]>
webservice 鎬葷粨涓涓?/title><link>http://m.tkk7.com/hwpok/archive/2011/01/07/342500.html</link><dc:creator>鎯犱竾楣?/dc:creator><author>鎯犱竾楣?/author><pubDate>Fri, 07 Jan 2011 04:55:00 GMT</pubDate><guid>http://m.tkk7.com/hwpok/archive/2011/01/07/342500.html</guid><wfw:comment>http://m.tkk7.com/hwpok/comments/342500.html</wfw:comment><comments>http://m.tkk7.com/hwpok/archive/2011/01/07/342500.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/hwpok/comments/commentRss/342500.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hwpok/services/trackbacks/342500.html</trackback:ping><description><![CDATA[webservice瀹㈡埛绔闂湇鍔$殑鍑犵鏂瑰紡<br /> 1.鏈綆鐨勪竴縐?br />     鏍規嵁瀵規柟鎻愪緵鐨剋sdl鐢熸垚鏈湴java綾?璁塊棶webservice灝辮窡璋冪敤鏈湴綾繪病鏈変粈涔堝尯鍒簡.<br /> 2.浣跨敤xfire鐨勫叾涓殑涓縐嶈皟鐢ㄦ柟寮?浠g爜濡備笅:  <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.net.MalformedURLException;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.net.URL;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> org.codehaus.xfire.client.Client;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> Test<br /> <img id="Codehighlighter1_125_602_Open_Image" onclick="this.style.display='none'; Codehighlighter1_125_602_Open_Text.style.display='none'; Codehighlighter1_125_602_Closed_Image.style.display='inline'; Codehighlighter1_125_602_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_125_602_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_125_602_Closed_Text.style.display='none'; Codehighlighter1_125_602_Open_Image.style.display='inline'; Codehighlighter1_125_602_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span id="Codehighlighter1_125_602_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_125_602_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> test() </span><span style="color: #0000ff">throws</span><span style="color: #000000"> MalformedURLException, Exception<br /> <img id="Codehighlighter1_194_447_Open_Image" onclick="this.style.display='none'; Codehighlighter1_194_447_Open_Text.style.display='none'; Codehighlighter1_194_447_Closed_Image.style.display='inline'; Codehighlighter1_194_447_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_194_447_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_194_447_Closed_Text.style.display='none'; Codehighlighter1_194_447_Open_Image.style.display='inline'; Codehighlighter1_194_447_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_194_447_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_194_447_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        Client client </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Client(</span><span style="color: #0000ff">new</span><span style="color: #000000"> URL(</span><span style="color: #000000">"</span><span style="color: #000000">http://58.58.33.33/sqtwebservice/UserManage.asmx?wsdl</span><span style="color: #000000">"</span><span style="color: #000000">));<br /> <img id="Codehighlighter1_371_393_Open_Image" onclick="this.style.display='none'; Codehighlighter1_371_393_Open_Text.style.display='none'; Codehighlighter1_371_393_Closed_Image.style.display='inline'; Codehighlighter1_371_393_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_371_393_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_371_393_Closed_Text.style.display='none'; Codehighlighter1_371_393_Open_Image.style.display='inline'; Codehighlighter1_371_393_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        Object[] resultXMLObjs </span><span style="color: #000000">=</span><span style="color: #000000"> client.invoke(</span><span style="color: #000000">"</span><span style="color: #000000">GetCurfee</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #0000ff">new</span><span style="color: #000000"> Object[] </span><span id="Codehighlighter1_371_393_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_371_393_Open_Text"><span style="color: #000000">{</span><span style="color: #000000">"</span><span style="color: #000000">huy88888</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">"</span><span style="color: #000000">123456</span><span style="color: #000000">"</span><span style="color: #000000"> }</span></span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        System.out.println(resultXMLObjs[</span><span style="color: #000000">0</span><span style="color: #000000">]);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> main(String[] args) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> MalformedURLException, Exception<br /> <img id="Codehighlighter1_541_600_Open_Image" onclick="this.style.display='none'; Codehighlighter1_541_600_Open_Text.style.display='none'; Codehighlighter1_541_600_Closed_Image.style.display='inline'; Codehighlighter1_541_600_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_541_600_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_541_600_Closed_Text.style.display='none'; Codehighlighter1_541_600_Open_Image.style.display='inline'; Codehighlighter1_541_600_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_541_600_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_541_600_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        Test test </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Test();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        test.test();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span></div> <br /> 3.浣跨敤axis鐨勫叾涓竴縐嶈皟鐢ㄦ柟寮?<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.math.BigDecimal;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.net.MalformedURLException;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.rmi.RemoteException;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> javax.xml.namespace.QName;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> javax.xml.rpc.ParameterMode;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> javax.xml.rpc.ServiceException;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> org.apache.axis.client.Call;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> org.apache.axis.client.Service;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> org.apache.axis.encoding.XMLType;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_329_632_Open_Image" onclick="this.style.display='none'; Codehighlighter1_329_632_Open_Text.style.display='none'; Codehighlighter1_329_632_Closed_Image.style.display='inline'; Codehighlighter1_329_632_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_329_632_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_329_632_Closed_Text.style.display='none'; Codehighlighter1_329_632_Open_Image.style.display='inline'; Codehighlighter1_329_632_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span id="Codehighlighter1_329_632_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff">/** */</span><span id="Codehighlighter1_329_632_Open_Text"><span style="color: #008000">/**</span><span style="color: #008000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> * <ul><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> * <li>Title:[ProviderJiangXiTelecom]</li><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> * <li>Description: [姹熻タ鐢典俊-webservice]</li><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> * <li>Copyright 2009 Upengs Co., Ltd.</li><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> * <li>All right reserved.</li><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> * <li>Created by [Huyvanpull] [2011-1-7]</li><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> * <li>Midified by [modifier] [modified time]</li><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> * </ul><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> * <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /> * </span><span style="color: #808080">@version</span><span style="color: #008000"> 1.0<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" /> </span><span style="color: #008000">*/</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> ProviderJiangXiTelecom <br /> <img id="Codehighlighter1_671_1983_Open_Image" onclick="this.style.display='none'; Codehighlighter1_671_1983_Open_Text.style.display='none'; Codehighlighter1_671_1983_Closed_Image.style.display='inline'; Codehighlighter1_671_1983_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_671_1983_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_671_1983_Closed_Text.style.display='none'; Codehighlighter1_671_1983_Open_Image.style.display='inline'; Codehighlighter1_671_1983_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span id="Codehighlighter1_671_1983_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_671_1983_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> Webservice1()<br /> <img id="Codehighlighter1_707_1785_Open_Image" onclick="this.style.display='none'; Codehighlighter1_707_1785_Open_Text.style.display='none'; Codehighlighter1_707_1785_Closed_Image.style.display='inline'; Codehighlighter1_707_1785_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_707_1785_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_707_1785_Closed_Text.style.display='none'; Codehighlighter1_707_1785_Open_Image.style.display='inline'; Codehighlighter1_707_1785_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_707_1785_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_707_1785_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">try</span><span style="color: #000000"><br /> <img id="Codehighlighter1_729_1511_Open_Image" onclick="this.style.display='none'; Codehighlighter1_729_1511_Open_Text.style.display='none'; Codehighlighter1_729_1511_Closed_Image.style.display='inline'; Codehighlighter1_729_1511_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_729_1511_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_729_1511_Closed_Text.style.display='none'; Codehighlighter1_729_1511_Open_Image.style.display='inline'; Codehighlighter1_729_1511_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_729_1511_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_729_1511_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            Service service </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Service();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            Call call </span><span style="color: #000000">=</span><span style="color: #000000"> (Call) service.createCall();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            call.setTargetEndpointAddress(</span><span style="color: #0000ff">new</span><span style="color: #000000"> java.net.URL(</span><span style="color: #000000">"</span><span style="color: #000000">http://58.58.33.33/sqtwebservice/UserManage.asmx</span><span style="color: #000000">"</span><span style="color: #000000">));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            call.setOperationName(</span><span style="color: #0000ff">new</span><span style="color: #000000"> QName(</span><span style="color: #000000">"</span><span style="color: #000000">http://tempuri.org/</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">"</span><span style="color: #000000">GetCurfee</span><span style="color: #000000">"</span><span style="color: #000000">));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            call.addParameter(</span><span style="color: #000000">"</span><span style="color: #000000">uname</span><span style="color: #000000">"</span><span style="color: #000000">, XMLType.XSD_STRING, ParameterMode.IN);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            call.addParameter(</span><span style="color: #000000">"</span><span style="color: #000000">pass</span><span style="color: #000000">"</span><span style="color: #000000">, XMLType.XSD_STRING, ParameterMode.IN);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            call.setUseSOAPAction(</span><span style="color: #0000ff">true</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            call.setSOAPActionURI(</span><span style="color: #000000">"</span><span style="color: #000000">http://tempuri.org/GetCurfee</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            call.setReturnType(XMLType.XSD_DECIMAL);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            <br /> <img id="Codehighlighter1_1423_1445_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1423_1445_Open_Text.style.display='none'; Codehighlighter1_1423_1445_Closed_Image.style.display='inline'; Codehighlighter1_1423_1445_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1423_1445_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1423_1445_Closed_Text.style.display='none'; Codehighlighter1_1423_1445_Open_Image.style.display='inline'; Codehighlighter1_1423_1445_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            BigDecimal result </span><span style="color: #000000">=</span><span style="color: #000000"> (BigDecimal) call.invoke(</span><span style="color: #0000ff">new</span><span style="color: #000000"> Object[] </span><span id="Codehighlighter1_1423_1445_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1423_1445_Open_Text"><span style="color: #000000">{ </span><span style="color: #000000">"</span><span style="color: #000000">huy88888</span><span style="color: #000000">"</span><span style="color: #000000">,</span><span style="color: #000000">"</span><span style="color: #000000">123456</span><span style="color: #000000">"</span><span style="color: #000000"> }</span></span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(result.doubleValue());<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (ServiceException e)<br /> <img id="Codehighlighter1_1556_1599_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1556_1599_Open_Text.style.display='none'; Codehighlighter1_1556_1599_Closed_Image.style.display='inline'; Codehighlighter1_1556_1599_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1556_1599_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1556_1599_Closed_Text.style.display='none'; Codehighlighter1_1556_1599_Open_Image.style.display='inline'; Codehighlighter1_1556_1599_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_1556_1599_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1556_1599_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            e.printStackTrace();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (RemoteException e)<br /> <img id="Codehighlighter1_1643_1686_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1643_1686_Open_Text.style.display='none'; Codehighlighter1_1643_1686_Closed_Image.style.display='inline'; Codehighlighter1_1643_1686_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1643_1686_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1643_1686_Closed_Text.style.display='none'; Codehighlighter1_1643_1686_Open_Image.style.display='inline'; Codehighlighter1_1643_1686_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_1643_1686_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1643_1686_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            e.printStackTrace();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (MalformedURLException e)<br /> <img id="Codehighlighter1_1736_1779_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1736_1779_Open_Text.style.display='none'; Codehighlighter1_1736_1779_Closed_Image.style.display='inline'; Codehighlighter1_1736_1779_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1736_1779_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1736_1779_Closed_Text.style.display='none'; Codehighlighter1_1736_1779_Open_Image.style.display='inline'; Codehighlighter1_1736_1779_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_1736_1779_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1736_1779_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            e.printStackTrace();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> main(String[] args)<br /> <img id="Codehighlighter1_1834_1972_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1834_1972_Open_Text.style.display='none'; Codehighlighter1_1834_1972_Closed_Image.style.display='inline'; Codehighlighter1_1834_1972_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1834_1972_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1834_1972_Closed_Text.style.display='none'; Codehighlighter1_1834_1972_Open_Image.style.display='inline'; Codehighlighter1_1834_1972_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_1834_1972_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1834_1972_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        ProviderJiangXiTelecom providerJiangXiTelecom </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> ProviderJiangXiTelecom();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        providerJiangXiTelecom.Webservice1();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />   <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span></div> <img src ="http://m.tkk7.com/hwpok/aggbug/342500.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hwpok/" target="_blank">鎯犱竾楣?/a> 2011-01-07 12:55 <a href="http://m.tkk7.com/hwpok/archive/2011/01/07/342500.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬webservice 鍙堝浜嗕竴鎷?/title><link>http://m.tkk7.com/hwpok/archive/2011/01/06/342418.html</link><dc:creator>鎯犱竾楣?/dc:creator><author>鎯犱竾楣?/author><pubDate>Thu, 06 Jan 2011 05:48:00 GMT</pubDate><guid>http://m.tkk7.com/hwpok/archive/2011/01/06/342418.html</guid><wfw:comment>http://m.tkk7.com/hwpok/comments/342418.html</wfw:comment><comments>http://m.tkk7.com/hwpok/archive/2011/01/06/342418.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/hwpok/comments/commentRss/342418.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hwpok/services/trackbacks/342418.html</trackback:ping><description><![CDATA[<p>榪欏嚑澶╂悶涓涓獁ebwervice,瀵規柟緇欎簡涓涓敊璇殑鍦板潃,鎼炲緱鎴戝ご澶?<br /> 鏈鍚庝笅浜嗕竴涓猻oap嫻嬭瘯宸ュ叿,緇堜簬鎼炲畾浜?</p> <p>瀹冩槸soapUI</p> <img src ="http://m.tkk7.com/hwpok/aggbug/342418.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hwpok/" target="_blank">鎯犱竾楣?/a> 2011-01-06 13:48 <a href="http://m.tkk7.com/hwpok/archive/2011/01/06/342418.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://txa6.com" target="_blank">成人a视频片在线观看免费</a>| <a href="http://sk7758.com" target="_blank">99re6热视频精品免费观看</a>| <a href="http://se988.com" target="_blank">最近中文字幕免费mv视频7</a>| <a href="http://mottool.com" target="_blank">亚洲午夜电影在线观看高清 </a>| <a href="http://bbav04.com" target="_blank">亚洲伊人成无码综合网</a>| <a href="http://dasheng178.com" target="_blank">国产天堂亚洲国产碰碰</a>| <a href="http://9797ww.com" target="_blank">亚洲AV无码之日韩精品</a>| <a href="http://pjwys.com" target="_blank">一区二区3区免费视频</a>| <a href="http://jsjumei.com" target="_blank">国产亚洲一区区二区在线</a>| <a href="http://www678678.com" target="_blank">国产在线精品一区免费香蕉</a>| <a href="http://18eeuus.com" target="_blank">国产亚洲色婷婷久久99精品</a>| <a href="http://zzzttt669.com" target="_blank">久草福利资源网站免费</a>| <a href="http://bbav04.com" target="_blank">伊人久久综在合线亚洲2019</a>| <a href="http://128313.com" target="_blank">亚洲免费人成视频观看</a>| <a href="http://601508.com" target="_blank">亚洲一久久久久久久久</a>| <a href="http://kypbuy.com" target="_blank">国产v片免费播放</a>| <a href="http://0827fang.com" target="_blank">在线视频网址免费播放</a>| <a href="http://cykj-tech.com" target="_blank">久久精品九九亚洲精品</a>| <a href="http://lzlcp.com" target="_blank">无码av免费毛片一区二区</a>| <a href="http://863409.com" target="_blank">亚洲成av人片在线天堂无</a>| <a href="http://sanyoumiaomu.com" target="_blank">亚洲成年人啊啊aa在线观看</a>| <a href="http://xxxxcccc.com" target="_blank">中文在线免费观看</a>| <a href="http://caocl1024liu.com" target="_blank">精品亚洲国产成AV人片传媒</a>| <a href="http://266my.com" target="_blank">成人黄动漫画免费网站视频 </a>| <a href="http://ri9999.com" target="_blank">亚洲香蕉在线观看</a>| <a href="http://52xingai.com" target="_blank">国产免费人成在线视频</a>| <a href="http://34pmpm.com" target="_blank">成人无码视频97免费</a>| <a href="http://ningxialanh.com" target="_blank">亚洲国产人成在线观看69网站</a>| <a href="http://qqc46.com" target="_blank">国产精品入口麻豆免费观看</a>| <a href="http://www132126.com" target="_blank">亚洲精品无码永久在线观看男男 </a>| <a href="http://hengzekang.com" target="_blank">亚洲中文久久精品无码</a>| <a href="http://wwwav800.com" target="_blank">免费无码中文字幕A级毛片</a>| <a href="http://pencilinside.com" target="_blank">亚洲人成影院77777</a>| <a href="http://xzzkf.com" target="_blank">亚洲福利中文字幕在线网址</a>| <a href="http://wwkk3.com" target="_blank">男女午夜24式免费视频</a>| <a href="http://7a37.com" target="_blank">亚洲一区动漫卡通在线播放</a>| <a href="http://653349.com" target="_blank">免费一级毛片不卡不收费</a>| <a href="http://6123fa.com" target="_blank">日本中文字幕免费高清视频</a>| <a href="http://w6446.com" target="_blank">亚洲一区欧洲一区</a>| <a href="http://avdian126.com" target="_blank">亚洲日韩aⅴ在线视频</a>| <a href="http://555yyyy.com" target="_blank">青娱乐免费视频在线观看</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>