Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java web service ¿ª·¢ ¾ßÌåʵÀý

ÒÔÒ»¸ö¹¤×÷ÖбàдµÄ°²È«ÓòÐÅϢͬ²½ÎªÀý½øÐÐÃèÊö;
°²È«ÓòÐÅϢͬ²½Æäʵ¾ÍÊÇÒ»¸öXMLÎļþµÄ´«Êä,WEB SERVICE ±¾ÖÊÉϾÍÊÇͨ¹ýXML½øÐÐÊý¾ÝµÄ´«Êä.
´«ÊäµÄXML¸ñʽÈçÏÂ:
  <?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <SOAP-ENV:Body>
- <simota:SynSecurityDomain xmlns:simota="http://www.chinamobile.com">
  <simota:SeqNum>1111</simota:SeqNum>
  <simota:SessionID>1111</simota:SessionID>
  <simota:SynType>01</simota:SynType>
- <simota:SecurityDomain>
  <simota:AppAID>123456789</simota:AppAID>
  <simota:InstallParams>222222</simota:InstallParams>
  <simota:MinAppSize>33</simota:MinAppSize>
  <simota:ManageMaxSize>44</simota:ManageMaxSize>
  <simota:ManageMinSize>55</simota:ManageMinSize>
  <simota:DomainType>66</simota:DomainType>
  <simota:DeleteRule>77</simota:DeleteRule>
  <simota:SIN>8</simota:SIN>
  <simota:TAR>99</simota:TAR>
  </simota:SecurityDomain>
  </simota:SynSecurityDomain>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>
 
 
¸ù¾Ý¸ÃXMLÐèÒª±àдÏìÓ¦µÄ½âÎöÀàÀ´½ÓÊÕXMLÎļþ´«Êä¹ýÀ´µÄÊý¾Ý:
½âÎöÀàÈçÏÂ:
package com.watchdata.raadtinterface.common.syn;
 
import org.jdom.Element;
import org.jdom.Namespace;
import org.apache.commons.logging.*;
import com.watchdata.raadtinterface.common.*;
 
public class SynSecurityDomainRequest
    implements BaseMsg {
  public SynSecurityDomainRequest() {
  }
 
  private String seqNum;
  private String sessionID;
  private String synType;
  private SecurityDomainBean securityDomain;
 
  /**
   *


Ïà¹ØÎĵµ£º

Java NIO APIÏê½â

 
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......

0ÔªÔÂн ±±¾©ÇóÖ° Java¿ª·¢

  ÔÚ±±¾©´ôÁËÒ»¸öÔ¶àÁË£¬ÎªÁËÉú´æ£¬±Ê¼Ç±¾µçÄÔÒ²¼úÂôÁË£¬²»ÖªµÀ¹¤×÷ÕâôÄÑÕÒ¡£
 
  Ò»¸öÕý¾­µÄÃæÊÔҲûÓС£ 
  ÎÒ´Ó07Äê±ÏÒµÒѾ­ÀË·Ñ2Äêʱ¼äÁË£¬ÎÒÔ¸ÒâÓðëÄêµÄ0н³êÀ´»»È¡ÎÒÈëÐпª·¢£»
  Ï£Íû±±¾©Óй«Ë¾ÌṩÈÃÎÒʵÏÖ×ÔÎÒ¼ÛÖµµÄƽ̨¡£
  Èç¹ûÄú¶ÔÎÒµÄÄÜÁ¦ÓÐÒÉÎÊ£¬¹µÍ¨¿ÉÒÔÁ˽â ......

JAVA BOT³ÌÐòÄ£ÄâÈËÀàÓû§Ìîд±íµ¥ ²¢ ·¢ËÍ

·ÂÕæ±íµ¥£ºBOT³ÌÐòÄ£ÄâÈËÀàÓû§Ìîд±íµ¥ ²¢ ·¢ËÍ
ץȡ±íµ¥£º
HTTPSocket http = new HTTPSocket();
SocketFactory.setProxyHost("openproxy.huawei.com");
SocketFactory.setProxyPort(8080);
HTMLPage page = new HTMLPage(http);
page.open("http://passport.csdn.net/UserLogin.aspx", null);
Vector vec = page. ......

ÓÃÓÚWEBÓ¦ÓõÄJava¼¼Êõ¼ò½é


×÷ÕߣºDana Nourie£¬2006.11
·­Ò룺ïúÖ¾¹ú£¬2009.12
Äã¿ÉÒÔÔÚInternetÉÏ¿´µ½µ½´¦¶¼ÊÇWEBÓ¦Óᣴ󲿷ֵÄWEBÓ¦ÓÃÓÃÀ´´¦ÀíÔÚÏß±íµ¥£¬Í¶Æ±£¬´¦ÀíÔÚÏßÉ̵궩µ¥£¬º½°àÔ¤¶©£¬»òÕßÊǼòµ¥µØÏÔʾÓû§µÇ¼
Ãû³Æ¡£ÄÇô£¬´´½¨WEBÓ¦ÓÃʱÓõ½ÄÄЩJava¼¼ÊõÄØ£¿ÄãÐèÒªµ¼ÈëÄÄЩ°üÄØ£¿ÕâЩҪ¿´Äã´´½¨µÄÊÇÄÄÖÖWEBÓ¦ÓÃÒÔ¼°Ëü×öʲô¶ø¶¨¡£
± ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ