<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)  編輯  收藏

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


    網站導航:
     
     
    主站蜘蛛池模板: 亚洲免费人成视频观看| 久久九九全国免费| 久久精品国产亚洲AV麻豆~| 羞羞的视频在线免费观看| 99视频在线精品免费观看6| 亚洲 欧洲 视频 伦小说| 毛片高清视频在线看免费观看| 亚洲视频无码高清在线| 卡1卡2卡3卡4卡5免费视频| 国产精品无码亚洲一区二区三区| 国产高清在线精品免费软件| 免费观看又污又黄在线观看| 久久亚洲av无码精品浪潮| a级毛片毛片免费观看久潮| 亚洲va在线va天堂va四虎| 猫咪www免费人成网站| ZZIJZZIJ亚洲日本少妇JIZJIZ| 国产99久久久久久免费看| 国产亚洲成av片在线观看 | 亚洲码一区二区三区| 黄在线观看www免费看| 亚洲av无码兔费综合| 久久国产成人亚洲精品影院 | 日韩在线观看免费完整版视频| 爱情岛论坛网亚洲品质自拍| 免费视频成人片在线观看| 亚洲国产成人资源在线软件 | 亚洲精品久久无码av片俺去也 | 免费国产在线精品一区 | 在线看片无码永久免费aⅴ| 一边摸一边桶一边脱免费视频| 亚洲精品成人片在线观看精品字幕| 日韩免费无码视频一区二区三区| 亚洲香蕉久久一区二区| 美丽的姑娘免费观看在线播放| 亚洲AV综合色区无码二区偷拍| 免费A级毛片无码A∨男男| 亚洲另类无码专区首页| a级亚洲片精品久久久久久久| 99re免费99re在线视频手机版| 亚洲av中文无码乱人伦在线观看|