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

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

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

    成功捷徑,貴在堅持
    人為善,福雖未至禍已遠離; 人為惡,禍雖未至福已遠離
    axis版本1.4 axis 與.net webservice串接
    AxisFault
     faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
     faultSubcode:
     faultString: Server was unable to read request. ---&gt; There is an error in XML document (1, 602). ---&gt; Input string was not in a correct format.
     faultActor:
     faultNode:
     faultDetail:
        {http://xml.apache.org/axis/}stackTrace:Server was unable to read request. ---&gt; There is an error in XML document (1, 602). ---&gt; Input string was not in a correct format.
        at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
        at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at com.e104.an9.test.TestAxisWSClient.main(TestAxisWSClient.java:46)

        {http://xml.apache.org/axis/}hostname:locey_zhang

    Server was unable to read request. ---> There is an error in XML document (1, 602). ---> Input string was not in a correct format.
        at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
        at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at com.e104.an9.test.TestAxisWSClient.main(TestAxisWSClient.java:46)

    解決方法:call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS);


    posted @ 2010-10-15 10:48 選寶網an9 閱讀(1622) | 評論 (1)編輯 收藏

    搜索webeditor會有問題,但搜索web editor正常,中間加一個空格就可以了。不知道是不是我瀏覽器的問題。有興趣的朋友可以試一下。
    posted @ 2010-04-15 16:07 選寶網an9 閱讀(630) | 評論 (0)編輯 收藏
    當Kaspersky反廣告開啟的時候有些網頁經常報這個錯。關閉 Kaspersky反廣告功能就解決了。
    posted @ 2009-11-02 15:32 選寶網an9 閱讀(674) | 評論 (0)編輯 收藏
    原文來自: http://www.techfaq360.com/viewFreshers.jsp?tutorialId=840
    getCurrentSession() :
    The "current session" refers to a hibernate Session bound by hibernate behind the scenes, to the transaction scope.
    A Session is opened when getCurrentSession() is called for the first time and closed when the transaction ends.
    It is also flushed automatically before the transaction commits. You can call getCurrentSession() as often and anywhere you want as long as the transaction runs.
    To enable this strategy in your hibernate configuration:

    set hibernate.transaction.manager_lookup_class to a lookup strategy for your JEE container
    set hibernate.transaction.factory_class to org.hibernate.transaction.JTATransactionFactory

    Only the Session that you obtained with sf.getCurrentSession() is flushed and closed automatically.

    Example :
    try {
    UserTransaction tx = (UserTransaction)new InitialContext()
    .lookup("java:comp/UserTransaction");

    tx.begin();

    // Do some work
    sf.getCurrentSession().createQuery(...);
    sf.getCurrentSession().persist(...);

    tx.commit();
    }
    catch (RuntimeException e) {
    tx.rollback();
    throw e; // or display error message
    }

    openSession() :
    If you decide to use manage the Session yourself the go for sf.openSession() , you have to flush() and close() it.
    It does not flush and close() automatically.
    Example :
    UserTransaction tx = (UserTransaction)new InitialContext()
    .lookup("java:comp/UserTransaction");

    Session session = factory.openSession();

    try {
    tx.begin();

    // Do some work
    session.createQuery(...);
    session.persist(...);

    session.flush(); // Extra work you need to do

    tx.commit();
    }
    catch (RuntimeException e) {
    tx.rollback();
    throw e; // or display error message
    }
    finally {
    session.close(); // Extra work you need to do
    }
    posted @ 2008-07-25 10:32 選寶網an9 閱讀(1494) | 評論 (0)編輯 收藏
    css在線驗證
    posted @ 2008-07-01 13:43 選寶網an9 閱讀(1028) | 評論 (0)編輯 收藏
    主站蜘蛛池模板: 黑人大战亚洲人精品一区| 免费看小12萝裸体视频国产 | 日韩一区二区免费视频| 亚洲人成77777在线观看网| 国产成人午夜精品免费视频| 亚洲人成在线中文字幕| 无码少妇一区二区浪潮免费| 在线观看亚洲AV日韩A∨| 免费观看美女裸体网站| 日韩色日韩视频亚洲网站| 亚洲国产精品人人做人人爽| 一个人免费播放在线视频看片| 国产成人高清亚洲一区久久| 在线观看国产情趣免费视频| 有色视频在线观看免费高清在线直播| 黄色网址免费观看| 亚洲综合久久一本伊伊区| 天天拍拍天天爽免费视频| 日本中文字幕免费看| 亚洲愉拍99热成人精品热久久| 桃子视频在线观看高清免费视频| 亚洲高清中文字幕综合网| 成人黄页网站免费观看大全| 四虎影视在线看免费观看| 亚洲国产成人久久综合一| 一二三四免费观看在线电影| 特色特黄a毛片高清免费观看| 西西人体44rt高清亚洲| 毛片免费在线观看网站| 精品一区二区三区免费观看| 亚洲视频手机在线| 亚洲国产成人精品久久久国产成人一区二区三区综 | 曰批全过程免费视频网址| 亚洲a∨国产av综合av下载| 国产午夜亚洲精品理论片不卡 | 99ee6热久久免费精品6| 亚洲精品无码久久久久牙蜜区| 久久亚洲中文字幕精品一区| 国内精自视频品线六区免费 | 国产精品视频白浆免费视频| 亚洲熟女综合色一区二区三区|