SOAP中复杂类型(JavaBean)调用实例实践

JavaBean与XML互转实战详解 JAXB作为Java EE和Jakarta EE生态中的重要组成部分,旨在桥接面向对象编程模型与基于文本的XML数据格式之间的语义鸿沟。其设计目标是在保证类型安全的前提下,允许开发者以近乎透明的方式将JavaBean实例转换为结构化XML文档,反之亦然。这种能力在SOAP Web服务、RESTful API响应生成、持久化配置文件读写等场景中具有广泛应用价值。JAXB最早由Sun Microsystems提出,并作为JSR-31(第一版)于2003年正式发布。 阅读详情

SOAP中复杂类型(JavaBean)调用实例实践

 

使用工具:axis-1_1

                Tomcat 5.2.x

IDE: Eclipse 3.1

 

一、简单开始:

1、创建一个JavaBean类     Student.java

package com.kevinGQ.service.axis.model;

 

import java.io.Serializable;

 

public class Student implements Serializable{

       private String _name;

       private String _id;

       private String _comment;

 

       public Student(){}

      

       public Student(String name, String id, String comment){

              _name = name;

              _id = id;

              _comment = comment;

       }

      

       public String getName(){

              return _name;

       }

      

       public void setName(String name){

              _name = name;

       }

      

       public String getId(){

              return _id;

       }

      

       public void setId(String id){

              _id = id;

       }

      

       public String getComment(){

              return _comment;

       }

      

       public void setComment(String comment){

              _comment = comment;

       }

}

 

2、写Service程序

package com.kevinGQ.service.axis.service;

 

import com.kevinGQ.service.axis.model.Student;

 

public class GetStudentService {

       public Student getAStudent(String name){

              Student a = new Student("a","10001","I'm A");

              return a;

       }

}

 

3、部署axis及部署service

a. 从axis-1_1.zip中将axis-1_1/webapps/axis 文件夹拷贝到Tomcat 5.0.x/webapps/

b. 打开webapps/axis/WEB-INF/server-config.wsdd进行编辑,在<deployment>标签下插入如下片断

<service name="StudentInfoService" provider="java:RPC">

        <parameter name="className" value="com.kevinGQ.service.axis.service.GetStudentService"/>

        <parameter name="allowedMethods" value="*"/>

       <beanMapping qname="myNS:Student" xmlns:myNS="urn:StudentInfoService" languageSpecificType="java:com.kevinGQ.service.axis.model.Student"/>

 </service>

片断中StudentInfoService是这个web service的名字,在客户端编码的时候需要用到。

<parameter name="className" value="com.kevinGQ.service.axis.service.GetStudentService"/>

中说明了这个服务提供的类,包括package的完整类名。

<parameter name="allowedMethods" value="*"/>中说明这个服务中可供给外部调用的方法有哪些,*表示全部函数,现在也可以把*改成getAStudent.

<beanMapping qname="myNS:Student" xmlns:myNS="urn:StudentInfoService" languageSpecificType="java:com.kevinGQ.service.axis.model.Student"/>中说明对于这个JavaBean的传输需要如何对它进行serializing和de-serializing,说明的目的在于绑定JavaBean的对象类别。注意标签中说明的名字空间。这个标签其实是如下标签的一个简写:

<typeMapping qname="myNs:Student" xmlns:ns="urn:StudentInfoService"

             languageSpecificType="java: com.kevinGQ.service.axis.model.Student "

             serializer="org.apache.axis.encoding.ser.BeanSerializerFactory "

             deserializer=" org.apache.axis.encoding.ser.BeanDeserializerFactory "

             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

 

c. 把编译好的Student.class 和 GetStudentService.class(在它们各自的包内) 放到axis/WEB-INF/classes/.

 

4、启动Tomcat, 访问http://localhost:8080/axis/admin.html,查看你部署的服务

 

5、编写客户端

我是在Eclipse里完成代码的编写,编译及运行需要把axis-1_1/lib/ 除了axis_ant.jar外7个jar文件导入到classpath.

package com.kevinGQ.service.axis.client;

 

import java.net.URL;

 

import javax.xml.namespace.QName;

import javax.xml.rpc.ParameterMode;

 

import org.apache.axis.client.Call;

import org.apache.axis.client.Service;

import org.apache.axis.encoding.XMLType;

import org.apache.axis.encoding.ser.BeanDeserializerFactory;

import org.apache.axis.encoding.ser.BeanSerializerFactory;

 

import com.kevinGQ.service.axis.model.Student;

 

public class GetAStudentClient {

       public static void main(String [] args) throws Exception

    {

              Service service = new Service();

        Call call = (Call) service.createCall();

        QName qn = new QName("urn:StudentInfoService","Student");

        call.registerTypeMapping(Student.class,qn,

                      new BeanSerializerFactory(Student.class, qn),

                            new BeanDeserializerFactory(Student.class, qn)

        );

        try{

               call.setTargetEndpointAddress(new URL("http://localhost:8080/axis/services/StudentService"));

               call.setOperationName(new QName("StudentInfoService","getAStudent"));

               call.addParameter("arg1",XMLType.XSD_STRING, ParameterMode.IN);

               call.setReturnClass(Student.class);

               Student a = (Student) call.invoke(new Object[]{"a"});

               System.out.println(a.getId());

        }catch(Exception e) {

            System.out.println( "Error : " + e.toString());

        }       

    }

}

红色代码部分表明任意的一个字符串,因为getAStudent方法的参数对返回的结果没有影响,这里只是象征性的传递一个参数。加粗的部分是需要在Client端说明要serialize和de-serialize的JavaBean类别,参数的说明可参考axis api 文档。

要得到运行的结果,客户端这边需要得到Student.class文件,可是如果对于一个不在本机的服务,如何得到这个Student.class呢?——你需要阅读一下这个WebService的wsdl文档,里面有对这个JavaBean对象中各个域的说明,根据JavaBean的编码规范,你自己编写编译就得到了Student.class文件。

 

二、稍微深入

我想得到的是一个Student的数组怎么办呢?

你只有稍做修改:

1、服务端的一个新类 StudentLib.java

package com.kevinGQ.service.axis.model;

 

import java.util.ArrayList;

 

public class StudentLib {

       ArrayList studentLib = null;

      

       public StudentLib(){

              studentLib = new ArrayList();

       }

      

       public void addStudent(Student s){

              studentLib.add(s);

       }

      

       public ArrayList getStudents(String name, String id){

              ArrayList list = new ArrayList();

              for(int i = 0; i < studentLib.size(); i++){

                     if(this.get(i).getName().equals(name)

                            && this.get(i).getId().equals(id)){

                                   list.add(this.get(i));

                            }

              }

              return list;

       }

      

       public Student get(int index){

              return (Student)studentLib.get(index);

       }

}

这个类只不过是为了实现稍微复杂点的逻辑功能而写。注意getStudents方法返回的是ArrayList类型的引用。因为SOAP中支持的数据类型包含java中ArrayList,所以用这个类型会方便很多。

 

2、扩展Service程序

package com.kevinGQ.service.axis.service;

 

import java.util.ArrayList;

 

import com.kevinGQ.service.axis.model.Student;

import com.kevinGQ.service.axis.model.StudentLib;

 

public class GetStudentService {

       public ArrayList getStudent(){

              ArrayList students = new ArrayList();

              Student a = new Student("a","10001","I'm A");

              Student b = new Student("a","10002","I'm B");

              Student c = new Student("a","10001","I'm A, I'm not C");

              StudentLib lib = new StudentLib();

              lib.addStudent(a);

              lib.addStudent(b);

              lib.addStudent(c);

             

              students = lib.getStudents("a","10001");

              return students;

       }

       public Student getAStudent(String name){

              Student a = new Student("a","10001","I'm A");

              return a;

       }

}

加粗的地方为添加的新的方法,我们接着要在服务端描述它

 

3、部署service

把刚才添加到server-config.wsdd的那个片断再拿出来看看,好像不用修改(只要你在allowedMethods的地方表明允许暴露的方法的是*)

 

4、写个客户端看看

package com.kevinGQ.service.axis.client;

 

import java.net.URL;

import java.util.ArrayList;

 

import org.apache.axis.client.Call;

import org.apache.axis.client.Service;

import org.apache.axis.encoding.XMLType;

import org.apache.axis.encoding.ser.BeanDeserializerFactory;

import org.apache.axis.encoding.ser.BeanSerializerFactory;

 

import com.kevinGQ.service.axis.model.Student;

 

import javax.xml.namespace.QName;

import javax.xml.rpc.ParameterMode;

 

public class GetStudentClient {

      

       public static void main(String [] args) throws Exception

    {

              Service service = new Service();

        Call call = (Call) service.createCall();

        QName qn = new QName("urn:StudentInfoService","Student");

        call.registerTypeMapping(Student.class,qn,

                      new BeanSerializerFactory(Student.class, qn),

                            new BeanDeserializerFactory(Student.class, qn));

        try{

               call.setTargetEndpointAddress(new URL("http://localhost:8080/axis/services/StudentService"));

               call.setOperationName(new QName("StudentInfoService","getStudent"));

;

               call.setReturnClass(ArrayList.class);

               ArrayList result = (ArrayList) call.invoke(new Object[]{});

               for(int i = 0; i < result.size(); i++){

                      Student stu = (Student)result.get(i);

                      System.out.println(stu.getName()+" "+stu.getId()+" "+stu.getComment());

               }

        }catch(Exception e) {

            System.out.println( "Error : " + e.toString());

        }       

    }

}

和第一个客户端很相似吧。注意把Call返回的类型设为ArrayList,看代码中加粗部分!

结果输出了2条记录,和预期的一样。要不,你试试。

 

 

附:文中描述服务的wsdl.xml
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://localhost:8080/axis/services/StudentInfoService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/axis/services/StudentInfoService" xmlns:intf="http://localhost:8080/axis/services/StudentInfoService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="urn:StudentInfoService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <wsdl:types>
    <schema targetNamespace="urn:StudentInfoService" xmlns="http://www.w3.org/2001/XMLSchema">
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
      <complexType name="Student">
         <sequence>
           <element name="comment" nillable="true" type="xsd:string"/>
           <element name="name" nillable="true" type="xsd:string"/>
           <element name="id" nillable="true" type="xsd:string"/>
         </sequence>
      </complexType>
    </schema>
  </wsdl:types>
  <wsdl:message name="getAStudentRequest">
    <wsdl:part name="name" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="getAStudentResponse">
    <wsdl:part name="getAStudentReturn" type="tns1:Student"/>
  </wsdl:message>
  <wsdl:message name="getStudentResponse">
    <wsdl:part name="getStudentReturn" type="soapenc:Array"/>
  </wsdl:message>
  <wsdl:message name="getStudentRequest">
  </wsdl:message>
  <wsdl:portType name="GetStudentService">
    <wsdl:operation name="getStudent">
      <wsdl:input message="impl:getStudentRequest" name="getStudentRequest"/>
      <wsdl:output message="impl:getStudentResponse" name="getStudentResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getAStudent" parameterOrder="name">
      <wsdl:input message="impl:getAStudentRequest" name="getAStudentRequest"/>
      <wsdl:output message="impl:getAStudentResponse" name="getAStudentResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="StudentInfoServiceSoapBinding" type="impl:GetStudentService">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getStudent">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getStudentRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://service.axis.service.kevinGQ.com" use="encoded"/>
      </wsdl:input>
      <wsdl:output name="getStudentResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/StudentInfoService" use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getAStudent">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getAStudentRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://service.axis.service.kevinGQ.com" use="encoded"/>
      </wsdl:input>
      <wsdl:output name="getAStudentResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/StudentInfoService" use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="GetStudentServiceService">
    <wsdl:port binding="impl:StudentInfoServiceSoapBinding" name="StudentInfoService">
      <wsdlsoap:address location="http://localhost:8080/axis/services/StudentInfoService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

【VAX 小番茄安装详细步骤】 本文详细介绍了在VS2022环境下安装Visual Assist X(番茄助手)的步骤及常见问题解决方案。主要内容包括:安装前的兼容性设置(需修改为Windows7兼容模式)、安装流程(卸载旧版本、勾选对应VS版本、替换关键dll文件)以及常见问题处理(如安装失败、工具栏图标缺失等)。文章提供了完整的下载链接和操作截图,特别强调了安装失败后的清理方法(注册表、安装目录和残余文件删除)。最后给出了安装成功后的测试运行指引。 阅读详情

相关推荐

could not find deserializer for type {http://schemas.xmlsoap.org/soap/encoding/}string

https://www.debugease.com/j2ee/3274287 ret=(String)call.invoke(newObject[]{paramValue});.html

Mr_ZhangAdd的博客 1952

Python爬虫:无账号无限制获取企查查信息

无限制企查查爬虫 ​通过网上爬虫获取了全国所有企业,然后就需要补充企业信息,首先想到的就是企查查,启信宝等专业网站,最终选择了企查查,尝试了多种方法: 1、selenium爬虫,绕过企查查的登录验证,但账号和IP限制太大,最终放弃 2、通过requests直接请求+cookies,遇到了cookie有效期和限制问题 不断的尝试和修改参数,最终发现一种有效方式selenium+ wep 只需要IP代理,不需要账号,没有限制,因为是没有登录,拿到的信息有限,能展示的都能获取。 一、初始化..

攻城狮的家园 1万+

控制SOAP消息编码格式(SOAP Encoding Styles)

<br />控制SOAP消息编码格式(SOAP Encoding Styles)文章分类:Web前端<br />SOAP编码格式是Web services的客户端和服务端在发送SOAP请求和响应消息的时候都必须遵守的一种消息编码协定,这是为了方便进行基于远程过程调用(RPC)的通讯而产生的,因为不同的消息编码协定对应着SOAP消息与调用(或返回)对象之间不同的转换方式。编码格式有两类:对整个消息体(方法)的编码和对方法参数的编码<br />l         对整个SOAP消息体(Body)中的数据有两种格

eting1987的专栏 1160

win11本地部署 DeepSeek-R1 大模型!免费开源,媲美OpenAI-o1能力,断网也能用

是否安装成功,然后直接运行部署deepseek-r1的命令。,出现下面界面即为安装成功。在cmd窗口中先输入。

记录学习编程的日常 2996

活用QueryWrapper与@Select注解,构建MybatisPlus动态多表查询方案

本文深入探讨了如何结合MybatisPlus的QueryWrapper与@Select注解,构建高效灵活的动态多表关联查询方案。通过解析${ew.customSqlSegment}占位符机制,并设计通用的Service层封装,解决了复杂条件下多表查询的SQL拼接难题,显著提升了后台管理系统列表查询的开发效率与可维护性。

weixin_29291069的博客 277

第七篇:suds.TypeNotFound: Type not found: '(string, http://schemas.xmlsoap.org/soap/encoding/, )'...

想要用Python的suds模块调用webservice地址做自动测试,但是找了很多方法都失败了,最终找到另外一个模块可以作为客户端访问服务器地址。 1.针对非安全的http from zeep import Client url = "http://***?wsdl" from zeep import Client client = Client(url)result = client...

weixin_30360497的博客 1033

BCC Python开发教程&常用BCC工具(一)

这个教程主要目的是展示如何使用python来进行bcc工具开发和编程。教程主要分为两个部分:可观察性和网络。文中的代码片段均都来自于bcc:代码片段的licenses见bcc中具体文件。也可参考bcc开发者手册以及end-users工具教程:。此外bcc还开放有lua接口。

hudongliang2006nb的专栏 2090

Java调用WebService接口----使用JAXBContent转化Bean与Xml

上一节使用SOAPMessage调用WebService接口,但是比较麻烦的是参数的拼装需要一个一个add,比较麻烦。此次介绍使用JAXBContent转化Bean与Xml,然后利用http请求(如Okhttp)发送Xml组装的报文。 目标 先看一下请求与结果: 再看一下本demo最终的类结构 bean目录分为request和response,代表的分别是请求和相应。 由于Xml有多层结点,...

hober的专栏 3579

模拟电子技术基础(第四版)教材 电子版

今天给大侠带来“模拟电子技术基础(第四版)教材 电子版”,获取电子版资料,请在“FPGA技术江湖”公众号内回复“模拟电子技术基础(第四版)教材 电子版”,即可获取。话不多说,上货。 下面给各位大侠列一下目录,可以瞅一瞅是不是自己需要,电子版方便携带,可也省去一笔开销,不过学习起来没有实体书籍得劲,学习要认真哦。 《模拟电子技术基础(第四版)教材》电子版目录如下: 第一章 常用半导体器件 第二章 基本放大电路 第三章 多级放大电路 第四章 集成运算放大电路 第五章 放大电路...

3万+

QT西游回合制源码+java后台管理系统

这是一套回合制游戏源码,很适合学习。

renkai721的专栏 2544

xml(soap报文)和java对象的相互转换

soap等xml报文和java对象的相互转换

weixin_45740898的博客 1945

C# 工业视觉性能极致优化:多线程推理池 + 对象复用 + 批量检测,速度提升 10 倍实战

set;} // 输入图像set;} // 异步返回结果set;} // 用于监控延迟性能优化不是魔法,而是对资源生命周期的精细管理和对硬件特性的充分利用。多线程池解决了 CPU/GPU 闲置问题。对象池解决了 GC 停顿问题。零拷贝解决了总线带宽瓶颈。严格的 Dispose解决了内存泄漏问题。这套架构已在多个高速锂电、3C 电子检测产线落地,轻松应对 200ms 甚至 50ms 的严苛节拍。记住,在工业领域,稳定性与速度同等重要。

这里只有干货:从 Modbus 通信到 MES 对接,从 YOLO 训练到工控机部署,带你搞定工业软件开发全流程。 321

SOAP中复杂类型(JavaBean)调用实例实践 (转)

SOAP中复杂类型(JavaBean)调用实例实践 使用工具:axis-1_1                Tomcat 5.2.xIDE: Eclipse 3.1 一、简单开始:1、创建一个JavaBean类     Student.javapackage com.kevinGQ.service.axis.model; import java.io.Se

JofeeDong's Blog 1930

STM32F407中文手册

STM32f407中文手册 本参考手册面向应用开发人员,提供有关使用 STM32F405xx/07xx、STM32F415xx/17xx、 STM32F42xxx 和 STM32F43xxx 微控制器存储器与外设的完整信息。STM32F405xx/07xx、STM32F415xx/17xx、STM32F42xxx 和 STM32F43xxx 构成一个微 控制器系列,各产品具有不同的存储器大小、封装和外设。有关订购信息以及器件的机械与电气特性,请参见数据手册。有关 ARM Cortex™-M4F 内核的信息,请参见《Cortex™-M4F 技术参考手册》。

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

webServices学习之二——axis1传递复杂类型javabean

            继续axis1的实现,传递复杂类型javabean:   一、服务端:  服务端需要在server-config.wsdd文件中要发布的service 中加入 beanMapping  指定要 传递JavaBean的类型, 见红色部分:     &lt;service name="MyServices" provider="java:RPC"&gt; ...

yehao0716的专栏 301

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

如何使用Axis处理复杂类型参数和返回值

1.       如何监测SOAP请求和响应流之前我们做的演示程序都很简单,方法的参数和返回值都是简单类型的数据,但是在实际应用过程中往往没有这么简单.在使用面向对象的编程语言时,我们会希望数据类型可是某个对象,比如我们提供一个接口用来查询城市信息,那么我们希望接口的参数是一个城市信息对象,这个信息对象封装了一条城市信息的所需要的查询内容包括名称,地区邮编,区号,人口。面积信息

2379

RU DOS版、EFI版32bit/64bit BIOS常用工具

DOS版、EFI版的RU工具,可用来查看IO、MEM、PCI、SMBIOS等资源。亲测在EFI SHELL下可用。

cxf动态调用webservice(参数包含多个形参、List集合、JAVABean对象)

                                              CXF动态调用webservice 学习要点: 通过cxf动态(动态、动态、动态)调用webservice。参数涵盖多个普通形参、JavaBean、以及List集合的形式调用 会介绍调用的几个小技巧,结合fastjson和缓存知识完全掌控整个调用流程。 1.知识点汇总 常用的CXF调用WebSer...

十年呵护的专栏 2万+

CXF WebService中传递复杂类型对象

前面介绍的都是传递简单的字符串,现在开始介绍传递复杂类型的对象。如JavaBean、Array、List、Map等。 1、 首先看看服务器端的代码所需要的JavaBean对象 package com.hoo.entity; import java.io.Serializable; /** * function:User Entity * @author hooj

牛儿吃草的博客 6216

CXF WebService 4 传递复杂类型对象

前面介绍的都是传递简单的字符串,现在开始介绍传递复杂类型的对象。如JavaBean、Array、List、Map等。 1、 首先看看服务器端的代码所需要的JavaBean对象 package com.hoo.entity;   import java.io.Serializable;   /** * function:User Entity * @author ho

Ryan Z 的技术日志 567

java webservice传递对象_四、CXF WebService中传递复杂类型对象

前面介绍的都是传递简单的字符串,现在开始介绍传递复杂类型的对象。如JavaBean、Array、List、Map等。1、 首先看看服务器端的代码所需要的JavaBean对象package com.hoo.entity;import java.io.Serializable;/*** function:User Entity* @author hoojo* @createDate Dec 16, 2...

weixin_34457338的博客 773

WebService CXF中传递复杂类型对象

前面一篇文章介绍的都是传递简单的字符串,现在开始介绍传递复杂类型的对象。如JavaBean、Array、List、Map等。 如有不正确之处,请各位给予指出!   1、 首先看看服务器端的代码所需要的JavaBean对象 package com.wy.object.entry; import java.io.Serializable; /** * User Entity ...

To Strive To Seek To Find Not To Yield 332

使用axis编写客户端代码调用webservice的一些问题

<br />近来发现越来越多的人,越来越多的地方使用axis,就遇到了一些问题,当soap message里面包含复杂结构的对象时,就需要注册这些复杂的对象。比如参数为JavaBean时,就需要注册类型映射、序列化和反序列化的Factory,前提是必须在本地创建这些类<br />Service service=null; Call call=null; service = new Service(); call = (Call) service.createCall(); QName qn = ne

左国党的CSDN博客 1262

CXF WebService中传递复杂类型对象 .

转载于:http://blog.csdn.net/IBM_hoojo/article/details/6287924   前面介绍的都是传递简单的字符串,现在开始介绍传递复杂类型的对象。如JavaBean、Array、List、Map等。 1、 首先看看服务器端的代码所需要的JavaBean对象 package com.hoo.entity;   import java.io.

zgmzyr的专栏 1160

四、CXF WebService中传递复杂类型对象

四、CXF WebService中传递复杂类型对象 前面介绍的都是传递简单的字符串,现在开始介绍传递复杂类型的对象。如JavaBean、Array、List、Map等。 1、 首先看看服务器端的代码所需要的JavaBean对象 package com.hoo.entity;   import java.io.Serializable;   /** * func

743
上一篇: 在Liferay Portal Professional里实现一个使用SOAP的portlet
下一篇: 我看仙剑奇侠传
WormPattern
博客等级 码龄22年 0粉丝 18原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址