如题 无法传递 新人菜鸟求解!!!

解决方案 »

  1.   

    自己顶下 
    我的测试代码:
    String url="http://localhost:8070/officeToPic/services/doc2picService?wsdl";
    Client client;
    byte [] b=null;
    String name="测试文档.doc";
    try{
    b=getContent2(filepath);
    client=new Client(new URL(url));
    //String o=new String(b,"UTF-8");
    Object [] obj=client.invoke("createFile", new Object[]{name,b});
    System.out.println(obj[0]);
    }catch(Exception e){
    e.printStackTrace();
    }