ï»??xml version="1.0" encoding="utf-8" standalone="yes"?>玖草视频在线,久9re热视频这里只有精品,精品成人av一区http://www.aygfsteel.com/margiex/category/6084.htmlzh-cnSat, 05 Jan 2008 11:53:26 GMTSat, 05 Jan 2008 11:53:26 GMT60java web service develop and axis2 to visit asp.net web servicehttp://www.aygfsteel.com/margiex/archive/2007/10/25/155950.htmlJava,研究之èµ\Java,研究之èµ\Thu, 25 Oct 2007 12:58:00 GMThttp://www.aygfsteel.com/margiex/archive/2007/10/25/155950.htmlhttp://www.aygfsteel.com/margiex/comments/155950.htmlhttp://www.aygfsteel.com/margiex/archive/2007/10/25/155950.html#Feedback0http://www.aygfsteel.com/margiex/comments/commentRss/155950.htmlhttp://www.aygfsteel.com/margiex/services/trackbacks/155950.html1. install the following software
jre 1.5 or 1.6,  tomcat 5525, eclipse, axis2

and in eclipse preferences set tomcat to web server, set jre env and set axis2's runtime

2. create a java project and add axis2 runtime library to its build library

test ws client sample code:

public class TestSms
{
private static EndpointReference targetEPR = new EndpointReference(
   "http://cdl:8080/axis2/services/Version");

 public static OMElement getGetLeftElement(){
           OMFactory fac=OMAbstractFactory.getOMFactory();
           OMNamespace omNs=fac.createOMNamespace("此处填写WS的命名空é—?,"hw");
           OMElement method=fac.createOMElement("WS æ–ÒŽ³•å?,omNs);
           OMElement value = fac.createOMElement("参数一", omNs);
           value.addChild(fac.createOMText(value, "å€ég¸€"));
           method.addChild(value);
          
           value = fac.createOMElement("参数äº?, omNs);
           value.addChild(fac.createOMText(value, "å€?"));
           method.addChild(value);
          
         
           return method;
    }
      
       public static void main(String[] args){
              try{
                     Options options=new Options();
                     options.setTo(targetEPR);
                     options.setAction("命名½Iºé—´/WS æ–ÒŽ³•å?);
                     ServiceClient sender=new ServiceClient();
                     sender.setOptions(options);
                     OMElement sayHello=TestSms.getGetLeftElement();
                     //WSDLConstants.
                    
                     OMElement result=sender.sendReceive(sayHello);
                    
                     OMElement elem = result.getFirstElement();
                     System.out.println(elem.getText());
                     //System.out.println(result);
              }
              catch(Exception axisFault){
                     axisFault.printStackTrace();
              }
       }

}



ref: http://zhangjunhd.blog.51cto.com/113473/23690


]]>
一个解决java 中jsessionid安全性的æ–ÒŽ³•http://www.aygfsteel.com/margiex/archive/2006/11/08/79819.htmlJava,研究之èµ\Java,研究之èµ\Wed, 08 Nov 2006 04:32:00 GMThttp://www.aygfsteel.com/margiex/archive/2006/11/08/79819.htmlhttp://www.aygfsteel.com/margiex/comments/79819.htmlhttp://www.aygfsteel.com/margiex/archive/2006/11/08/79819.html#Feedback1http://www.aygfsteel.com/margiex/comments/commentRss/79819.htmlhttp://www.aygfsteel.com/margiex/services/trackbacks/79819.htmlhttp://randomcoder.com/articles/jsessionid-considered-harmful

]]>
Ö÷Õ¾Ö©Öë³ØÄ£°å£º ±£Í¤| ¶¼½­ÑßÊÐ| »ªÍ¤ÏØ| ÈýÃÅÏØ| ½»³ÇÏØ| ¹±¸ÂÏØ| ¹«Ö÷ÁëÊÐ| »ô³ÇÏØ| Ë«ÅÆÏØ| Â¡Ò¢ÏØ| »ÆÁêÏØ| °¢°Ó| íã¿ÚÏØ| ÏĺÓÏØ| »¥Öú| ÍÅ·çÏØ| ºâ¶«ÏØ| ÁéÇðÏØ| ³ÐµÂÏØ| ÌåÓý| ÁÙÏÄÊÐ| À¼Î÷ÏØ| ³¤º£ÏØ| ¹ÅÌïÏØ| ˳ÒåÇø| µ¾³ÇÏØ| ÏæÏçÊÐ| ´óÖñÏØ| º£ÄþÊÐ| Õò¿µÏØ| ÍпËÍÐÏØ| ïö¹éÏØ| Îå»ªÏØ| Àó²¨ÏØ| Äþ½úÏØ| ÎÚÀ¼ºÆÌØÊÐ| ɳºÓÊÐ| »·½­| ¿Ë¶«ÏØ| µ±ÑôÊÐ| À³ÖÝÊÐ|