<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    I was exhausted, because of the Amazon on our WebService course.

    I expended nearly 2 days to solve some problems on the interoperation between Java Axis and .Net Client.

    The error is always:
    No serializer for cn.andy.amazon.AndyItem found in the org.apache.axis Registry.!!!

    I should have been spending more time look for Resources.

    I think it's due to the version confliction. I down the 1.2RC of Axis and it do nothing.

    My Classmate give me a hypelink of axis when asking me solutions.
    I look through the page, my god, exactly what I want.

    Solution:
    Axis know how to serialize javabean, but you should tell him which type is a javabean
    to serialize in the server-config.wsdd.

    put this in your server-config.wsdd according to your app:

    <service name="SmsService" provider="java:RPC">
    <parameter name="className" value="lius.axis.demo.SmsService"/>
    <parameter name="allowedMethods" value="send"/>
    <operation name="send" returnType="ns:Response">
    <parameter name="msg" type="ns:Message"/>
    </operation>

    <!-- 這里定義了方法的參數以及返回值 -->

    <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"  
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    qname="ns:Message"
    serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
    type="java:lius.axis.demo.Message" xmlns:ns="SmsService"/>

    <typeMapping
    deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    qname="ns:Response"   
    serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"    type="java:lius.axis.demo.Response" xmlns:ns="SmsService"/>
    </service>

    Everything goes well now!

    Resource:
    http://www-900.ibm.com/developerWorks/cn/webservices/ws-deepaxis/index.shtml



    版權所有 羅明
    posted on 2005-04-07 12:54 羅明 閱讀(183) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
     
    主站蜘蛛池模板: 成人黄网站片免费视频 | 亚洲无码一区二区三区| 99re这里有免费视频精品| 亚洲AV中文无码字幕色三| 污污视频免费观看网站| 国产精品免费看香蕉| 91免费国产在线观看| 亚洲综合男人的天堂色婷婷| 91精品啪在线观看国产线免费| 亚洲男人都懂得羞羞网站| 啦啦啦完整版免费视频在线观看 | 亚洲永久在线观看| 国产卡一卡二卡三免费入口| 在线观看亚洲AV日韩A∨| 国产gav成人免费播放视频| 日韩亚洲人成网站| 亚洲乱码一区二区三区在线观看| 精品国产麻豆免费人成网站| 亚洲精品韩国美女在线| 好爽又高潮了毛片免费下载| 一级毛片大全免费播放下载| 亚洲成Av人片乱码色午夜| 国国内清清草原免费视频99| 国产精品成人亚洲| 亚洲精品无码久久久久| 日日麻批免费40分钟日本的| 精品韩国亚洲av无码不卡区| 亚洲人色婷婷成人网站在线观看| 亚洲一区免费视频| 亚洲AV日韩AV永久无码色欲| 久久国产成人亚洲精品影院| 24小时日本韩国高清免费| 亚洲AV无码一区二区一二区| 国产亚洲精品无码专区| 无码国产精品一区二区免费| 曰批免费视频播放免费| 亚洲春黄在线观看| 亚洲精品无码AV中文字幕电影网站| 99在线观看免费视频| 色窝窝亚洲AV网在线观看| 亚洲va在线va天堂va不卡下载|