亚洲精品3区,黄页在线观看免费,zzijzzij亚洲日本少妇熟睡http://www.aygfsteel.com/xujun7/category/39842.htmlzh-cnTue, 14 Jul 2009 21:25:09 GMTTue, 14 Jul 2009 21:25:09 GMT60Axis2引用發布服務http://www.aygfsteel.com/xujun7/archive/2009/07/14/286684.htmleric_xueric_xuTue, 14 Jul 2009 06:21:00 GMThttp://www.aygfsteel.com/xujun7/archive/2009/07/14/286684.htmlhttp://www.aygfsteel.com/xujun7/comments/286684.htmlhttp://www.aygfsteel.com/xujun7/archive/2009/07/14/286684.html#Feedback0http://www.aygfsteel.com/xujun7/comments/commentRss/286684.htmlhttp://www.aygfsteel.com/xujun7/services/trackbacks/286684.html

wsdl生成客戶端

Wsdl2java –uri http://localhost:8080/axis2/services/SimpleServer?wsdl –o d:" -d jaxbri

將生成的java文件拷貝到工程的src文件夾下

public class WsTest {

    
/**
     * 
@param args
     * 
@throws RemoteException 
     
*/
    
public static void main(String[] args) throws RemoteException {
        
// TODO Auto-generated method stub
        SimpleServerStub ssstub = new SimpleServerStub();
        SimpleMethod sm 
= new SimpleMethod();
        sm.setName(
"xujun");
        SimpleMethodResponse response 
= ssstub.simpleMethod(sm);
        String result 
= response.get_return();
        System.out.println(result);
    }

}


eric_xu 2009-07-14 14:21 發表評論
]]>
Axis2 Service Archiver發布服務http://www.aygfsteel.com/xujun7/archive/2009/07/14/286657.htmleric_xueric_xuTue, 14 Jul 2009 03:35:00 GMThttp://www.aygfsteel.com/xujun7/archive/2009/07/14/286657.htmlhttp://www.aygfsteel.com/xujun7/comments/286657.htmlhttp://www.aygfsteel.com/xujun7/archive/2009/07/14/286657.html#Feedback0http://www.aygfsteel.com/xujun7/comments/commentRss/286657.htmlhttp://www.aygfsteel.com/xujun7/services/trackbacks/286657.html閱讀全文

eric_xu 2009-07-14 11:35 發表評論
]]>
Axis2_Codegen_Wizard_1.4.0錯誤:An error occurred while completing process -java.lang.reflect.InvocationTargetExceptionhttp://www.aygfsteel.com/xujun7/archive/2009/07/13/286619.htmleric_xueric_xuMon, 13 Jul 2009 14:03:00 GMThttp://www.aygfsteel.com/xujun7/archive/2009/07/13/286619.htmlhttp://www.aygfsteel.com/xujun7/comments/286619.htmlhttp://www.aygfsteel.com/xujun7/archive/2009/07/13/286619.html#Feedback0http://www.aygfsteel.com/xujun7/comments/commentRss/286619.htmlhttp://www.aygfsteel.com/xujun7/services/trackbacks/286619.html在使用codegen插件來從WSDL文件生成代碼時,到了最后一步竟然出然了"An error occurred while completing process -java.lang.reflect.InvocationTargetException"的錯誤,重試N次,結果依然,

從AXIS2的LIB庫中復制"geronimo-stax-api_1.0_spec-1.0.1.jar"和"backport-util-concurrent-3.1.jar"文件到Codegen的lib目錄中,同時修改plugin.xml文件,添加

<library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar">
         <export name="*"/>
</library>
<library name="lib/backport-util-concurrent-3.1.jar">
        <export name="*"/>
</library>

到plugin.xml文件中,保存后重新啟動Eclipse即可!



eric_xu 2009-07-13 22:03 發表評論
]]>
Log4j配置與使用方法http://www.aygfsteel.com/xujun7/archive/2009/06/17/282872.htmleric_xueric_xuWed, 17 Jun 2009 08:48:00 GMThttp://www.aygfsteel.com/xujun7/archive/2009/06/17/282872.htmlhttp://www.aygfsteel.com/xujun7/comments/282872.htmlhttp://www.aygfsteel.com/xujun7/archive/2009/06/17/282872.html#Feedback0http://www.aygfsteel.com/xujun7/comments/commentRss/282872.htmlhttp://www.aygfsteel.com/xujun7/services/trackbacks/282872.html閱讀全文

eric_xu 2009-06-17 16:48 發表評論
]]>
Spring IoC示例http://www.aygfsteel.com/xujun7/archive/2009/06/17/282834.htmleric_xueric_xuWed, 17 Jun 2009 05:18:00 GMThttp://www.aygfsteel.com/xujun7/archive/2009/06/17/282834.htmlhttp://www.aygfsteel.com/xujun7/comments/282834.htmlhttp://www.aygfsteel.com/xujun7/archive/2009/06/17/282834.html#Feedback0http://www.aygfsteel.com/xujun7/comments/commentRss/282834.htmlhttp://www.aygfsteel.com/xujun7/services/trackbacks/282834.html beans-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans
    
xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation
="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
    
<bean id="helloBean" class="sjtu.rfid.HelloBean">
        
<property name="helloWord">
            
<value>Hello! Eric!</value>
        
</property>
    
</bean>
</beans>
SpringDemo.java
package sjtu.rfid;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

public class SpringDemo {
    
public static void main(String[] args){
        ClassPathResource resource 
= new ClassPathResource("beans-config.xml");
        BeanFactory factory 
= new XmlBeanFactory(resource);
        HelloBean hello 
= (HelloBean) factory.getBean("helloBean");
        System.out.println(hello.getHelloWord());
    }
}
ClassPathResource在指定classpath中尋找配置文件
resource為接口,有
ClassPathResource,FileSystemResource,InputStreamResource,ServletContextRescource或UrlResource等,都可作為XmlBeanFactory構造函數的參數,這兒為XML。BeanFactory管理不同形態的物件,可以是XML。

org.springframework.beans.factory.BeanFactorySpring IoC容器的實際代表者,IoC容器負責容納此前所描述的Bean,并對Bean進行管理。BeanFactoryIoC容器的核心接口,加載配置文件的方法:

1.Resource resource = new FileSystemResource("beans-config.xml");

2.ApplicationContext context = new ClassPathXmlApplicationContext(

                   new String[] {"ApplicationContext.xml", "ApplicationContext2.xml"});

BeanFactory factory = context;


HelloBean.java
package sjtu.rfid;

public class HelloBean {
    
private String HelloWord;

    
public String getHelloWord() {
        
return HelloWord;
    }

    
public void setHelloWord(String helloWord) {
        HelloWord 
= helloWord;
    }
}



eric_xu 2009-06-17 13:18 發表評論
]]>
Eclipse導入工程時報錯,Invalid project descriptionhttp://www.aygfsteel.com/xujun7/archive/2009/04/23/267175.htmleric_xueric_xuThu, 23 Apr 2009 08:06:00 GMThttp://www.aygfsteel.com/xujun7/archive/2009/04/23/267175.htmlhttp://www.aygfsteel.com/xujun7/comments/267175.htmlhttp://www.aygfsteel.com/xujun7/archive/2009/04/23/267175.html#Feedback0http://www.aygfsteel.com/xujun7/comments/commentRss/267175.htmlhttp://www.aygfsteel.com/xujun7/services/trackbacks/267175.html <?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
    <name>YourProjectName</name>
    <comment></comment>
    <projects>
    </projects>
    <buildSpec>
        <buildCommand>
            <name>org.eclipse.jdt.core.javabuilder</name>
            <arguments>
            </arguments>
        </buildCommand>
    </buildSpec>
    <natures>
        <nature>org.eclipse.jdt.core.javanature</nature>
    </natures>
</projectDescription>


eric_xu 2009-04-23 16:06 發表評論
]]>
主站蜘蛛池模板: 蛟河市| 日照市| 清流县| 明星| 长兴县| 麻城市| 贵南县| 平谷区| 双辽市| 常德市| 阿拉尔市| 南京市| 阜阳市| 吉安县| 福贡县| 深水埗区| 将乐县| 栖霞市| 湖南省| 威远县| 武宣县| 周口市| 嫩江县| 金湖县| 藁城市| 阿瓦提县| 重庆市| 津市市| 东阳市| 甘德县| 双牌县| 静宁县| 韶关市| 定日县| 修武县| 岐山县| 卢龙县| 彩票| 蒙城县| 德安县| 津市市|