spring-ws

    0熱度

    1回答

    您好我正在嘗試使用spring-ws創建soap客戶端。我試圖whith下面的代碼: public void test1() { WebServiceTemplate webServiceTemplate = new WebServiceTemplate(); webServiceTemplate.setDefaultUri("the url of my web servic

    0熱度

    1回答

    想法是通過http web服務開發soap,它需要接受來自不同系統的多個xml輸入。然後在請求到達時檢索並保存原始xml,然後將其編組爲相應的pojo。使其更加靈活pojo可以在運行時生成。 至於解決方案,首先考慮Apache CXF jax-ws,但它需要合約(wsdl)或java,這在我們的例子中是不需要的。 然後考慮CXF提供者服務(Jaxp)方法,但Source很難解析並且不提供原始xml

    18熱度

    3回答

    使用Spring WS獲得StreamResult如下 StreamSource source = new StreamSource(new StringReader(MESSAGE)); StreamResult result = new StreamResult(System.out); webServiceTemplate.sendSourceAndReceiveToResult("ht

    0熱度

    1回答

    我們的應用程序使用SOAP將文件附件發送到Web服務。該服務在Oracle Service Bus 11g上運行。我們在客戶端上使用Spring WS + SAAJ + MTOM發送請求。 該應用程序在本地和tomcat服務器上正常工作,但是,當我們將應用程序移至weblogic 12c服務器(war部署)時,我們在遇到服務時會看到以下錯誤。 BEA-382120 Error: Mixing of

    1熱度

    1回答

    我在嘗試打開wsdl時遇到以下錯誤。 HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an intern

    1熱度

    1回答

    我試圖按照這裏的步驟實現Web服務代理。 http://forum.spring.io/forum/spring-projects/integration/114641-how-to-implement-the-web-service-proxy-pattern 彈簧WS-config.xml中: <int-ws:inbound-gateway id="proxy" request-channel

    0熱度

    1回答

    我已經創建了Spring Web服務並部署在Weblogic服務中。我得到以下日誌: Jun 19, 2014 9:21:29 PM org.springframework.web.context.ContextLoader initWebApplicationContext INFO: Root WebApplicationContext: initialization started Ju

    1熱度

    1回答

    我試圖使用相互身份驗證(客戶端和服務器上的證書),但我然後得到此錯誤: javax.net.ssl.SSLHandshakeException:sun.security.validator。 ValidatorException:PKIX路徑建設失敗:sun.security.provider.certpath.SunCertPathBuilderException:無法找到請求的目標的有效證書路

    0熱度

    1回答

    elemens我通過下面的教程走: http://jeromebulanadi.wordpress.com/2010/02/25/basic-spring-web-service-tutorial-from-contract-to-security/ 和我面臨的一個問題。我不知道這是預期結果還是某種錯誤。 這是關於PayloadValidatingInterceptor的行爲。它很好地驗證了XSD

    0熱度

    1回答

    以前我有使用Spring-WS開發Web服務的經驗。 但是,我想知道是否可以純粹使用Spring-Integration使用入站網關開發Web服務。 如果您有使用Spring-Integration開發Web服務的經驗,請您提供一些指導並提供一些參考資料?