易截截图软件、单文件、免安装、纯绿色、仅160KB

java调用.net Webservice

一、.net Server端
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;
using System.Web.Services.Description;
namespace WebApplication1
{
    /// <summary>
    /// Example1 的摘要说明
    /// </summary>
    /*[WebService(Namespace = "urn:www.routon.com.cn")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]*/
    [WebService(Namespace = "http://www.haituns.com")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]
    // 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消对下行的注释。
    // [System.Web.Script.Services.ScriptService]
    public class Example1 : System.Web.Services.WebService
    {
       /*[SoapDocumentMethodAttribute(
            Action = "",
            RequestNamespace = "urn:www.routon.com.cn",
            RequestElementName = "sayHello",
            ResponseNamespace = "urn:www.routon.com.cn",
            ResponseElementName = "arithmeticMeanResponse",
            Use = SoapBindingUse.Encoded)
        ]*/
        [SoapRpcMethod(Use = SoapBindingUse.Literal, RequestNamespace =


相关文档:

Java学习心得(转自张国宝)


1.    数组有没有length()这个方法? String有没有length()这个方法?
        答:数组没有length()这个方法,有length的属性。
        String有length()这个方法。
2.     String s = new String("xyz") ......

java实现输出字符串中的数字字符

package com.joe;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Test
{
    //将字符串的数字字符输出
    public static void main(String[] args)
    {
        String str = "iu7i8hy4j ......

java小程序(2)

【文章标题】java小程序(2)
【文章作者】曾健生
【作者邮箱】zengjiansheng1@126.com
【作者QQ】190678908
【作者声明】本人水平有限,失误之处,敬请各位指出。本人以前写的一些小程序,分享一下希望对各位学习java有帮助 ^-^
***************************************************************************** ......

java io正确读取

写入
 public static void Writer(String value) {
         try{
          File file2 = new File("F:\\countDB.txt");
          if(!file2.exists()){
       ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号