专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Java Web开发

50分求webservices一个有关问题

发布时间:2010-05-31 06:20:45 文章来源:www.iduyao.cn 采编人员:星星草
50分求webservices一个问题?
服务端(没有异常,一切正常):

package   untitled7;

public   class   Bean1   {
        String   m   =   " ";
        public   Bean1()   {
        }

        public   String   getM()   {
                return   m;
        }


        public   void   setM(String   s)   {
                m   =   s;
        }
}

wdsl================================================:

<?xml   version= "1.0 "   encoding= "UTF-8 "   ?>  
-   <wsdl:definitions   targetNamespace= "http://untitled7 "   xmlns:apachesoap= "http://xml.apache.org/xml-soap "   xmlns:impl= "http://untitled7 "   xmlns:intf= "http://untitled7 "   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.2beta3
Built   on   Aug   01,   2004   (05:59:22   PDT)

    -->  
-   <wsdl:message   name= "setMRequest ">
    <wsdl:part   name= "s "   type= "soapenc:string "   />  
    </wsdl:message>
-   <wsdl:message   name= "getMResponse ">
    <wsdl:part   name= "getMReturn "   type= "soapenc:string "   />  
    </wsdl:message>
    <wsdl:message   name= "setMResponse "   />  
    <wsdl:message   name= "getMRequest "   />  
-   <wsdl:portType   name= "Bean1 ">
-   <wsdl:operation   name= "getM ">
    <wsdl:input   message= "impl:getMRequest "   name= "getMRequest "   />  
    <wsdl:output   message= "impl:getMResponse "   name= "getMResponse "   />  
    </wsdl:operation>
-   <wsdl:operation   name= "setM "   parameterOrder= "s ">
    <wsdl:input   message= "impl:setMRequest "   name= "setMRequest "   />  
    <wsdl:output   message= "impl:setMResponse "   name= "setMResponse "   />  
    </wsdl:operation>
    </wsdl:portType>
-   <wsdl:binding   name= "Bean1SoapBinding "   type= "impl:Bean1 ">
    <wsdlsoap:binding   style= "rpc "   transport= "http://schemas.xmlsoap.org/soap/http "   />  
-   <wsdl:operation   name= "getM ">
    <wsdlsoap:operation   soapAction= " "   />  
-   <wsdl:input   name= "getMRequest ">
    <wsdlsoap:body   encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/ "   namespace= "http://untitled7 "   use= "encoded "   />  
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: