使用自定义javabean,需要设置序列化器,
请参考我们教程中的例子,你这个应该是axis14吧?
我们的教程有点儿老了。http://www.family168.com/tutorial/axis14/html/axis14-ch-03.html

解决方案 »

  1.   

    仅供参考
    http://doc.linuxpk.com/46250.html
      

  2.   

    不懂webservice 
    顶一下把。................
      

  3.   

    你可以用对象序列化代替
    也可以对每个对象加一个toString方法,返回时用String就可以了
      

  4.   

    The AXIS engine could not find a target service to invoke! targetService is WebService 
    不像是你没序列化的问题,你把wsdl贴出来看看吧。
      

  5.   

    http://forums.sforce.com/sforce/board/message?board.id=VB_development&message.id=112
      

  6.   

    使用自定义javabean,需要设置序列化器, 
    请参考我们教程中的例子,你这个应该是axis14吧? 
    我们的教程有点儿老了。 http://www.family168.com/tutorial/axis14/html/axis14-ch-03.html我用的是created by Apache Axis version: 1.3
      

  7.   

    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://DefaultNamespace" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://DefaultNamespace" xmlns:intf="http://DefaultNamespace" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--WSDL created by Apache Axis version: 1.3
    Built on Oct 05, 2005 (05:23:37 EDT)-->
     <wsdl:types>
      <schema targetNamespace="http://DefaultNamespace" xmlns="http://www.w3.org/2001/XMLSchema">
       <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
       <complexType name="WFBean">
        <sequence>
         <element name="actionResult" nillable="true" type="xsd:string"/>
         <element name="actionType" nillable="true" type="xsd:string"/>
         <element name="actionre" nillable="true" type="xsd:string"/>
         <element name="businessType" nillable="true" type="xsd:string"/>
         <element name="stateType" type="xsd:int"/>
         <element name="workflow_id" nillable="true" type="xsd:string"/>
        </sequence>
       </complexType>
       <complexType name="MsgBean">
        <sequence>
         <element name="actionResult" type="xsd:boolean"/>
         <element name="code" nillable="true" type="xsd:string"/>
         <element name="msg" nillable="true" type="xsd:string"/>
         <element name="re" nillable="true" type="xsd:string"/>
         <element name="workflow_id" nillable="true" type="xsd:string"/>
        </sequence>
       </complexType>
      </schema>
     </wsdl:types>   <wsdl:message name="getNameRequest">      <wsdl:part name="wfb" type="impl:WFBean"/>   </wsdl:message>   <wsdl:message name="getNameResponse">      <wsdl:part name="getNameReturn" type="impl:MsgBean"/>   </wsdl:message>   <wsdl:portType name="WebService">      <wsdl:operation name="getName" parameterOrder="wfb">         <wsdl:input message="impl:getNameRequest" name="getNameRequest"/>         <wsdl:output message="impl:getNameResponse" name="getNameResponse"/>      </wsdl:operation>   </wsdl:portType>   <wsdl:binding name="WebServiceSoapBinding" type="impl:WebService">      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>      <wsdl:operation name="getName">         <wsdlsoap:operation soapAction=""/>         <wsdl:input name="getNameRequest">            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded"/>         </wsdl:input>         <wsdl:output name="getNameResponse">            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded"/>         </wsdl:output>      </wsdl:operation>   </wsdl:binding>   <wsdl:service name="WebServiceService">      <wsdl:port binding="impl:WebServiceSoapBinding" name="WebService">         <wsdlsoap:address location="http://localhost:28080/WebService/services/WebService"/>      </wsdl:port>   </wsdl:service></wsdl:definitions>
      

  8.   

    所谓的序列化是不是下面这个??   <complexType name="WFBean"> 
         <sequence> 
          <element name="actionResult" nillable="true" type="xsd:string"/> 
          <element name="actionType" nillable="true" type="xsd:string"/> 
          <element name="actionre" nillable="true" type="xsd:string"/> 
          <element name="businessType" nillable="true" type="xsd:string"/> 
          <element name="stateType" type="xsd:int"/> 
          <element name="workflow_id" nillable="true" type="xsd:string"/> 
         </sequence> 
        </complexType> 
        <complexType name="MsgBean"> 
         <sequence> 
          <element name="actionResult" type="xsd:boolean"/> 
          <element name="code" nillable="true" type="xsd:string"/> 
          <element name="msg" nillable="true" type="xsd:string"/> 
          <element name="re" nillable="true" type="xsd:string"/> 
          <element name="workflow_id" nillable="true" type="xsd:string"/> 
         </sequence> 
        </complexType> 
      

  9.   

    参数尽量简单这种javabean的太复杂 可行是一定可行的 
      

  10.   


    其实解决方法是有啊,可是为什么用bean就不行呢???
      

  11.   

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++力争成为中国最大的架构师群联盟,架构师1群:43545919已满,2群:59048426的招募也近尾声,
    现3群:17303696正式 开放,各群内容基本相同,高手也经过群主进行了调整,希望大家不必重复加入!
    培训经过筛选才会进行,请大家不必 着急!!!已经上传的顶级软件产品的架构分析,本群资料仅供研究学习,不得商用!!!
    google 、
    eBay、
    Youtube、
    淘宝等
    ......
    技术文章包括:
    《自己动手写操作系统》
    《搜索引擎-原理、技术与系统》
    《企业应用架构模式》
    ......
    重要的RUP实例
    设计模式精解
    ......
    资料陆续上传中++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++