cxf

    0熱度

    1回答

    如何在Web Service客戶端請求上添加標題,如下所示: 下面的xml是SOAP UI自動生成的一個請求,它的工作正常,給出了正確的用戶名/密碼。 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dof="http://dof.ad.com"> <soapenv:Hea

    0熱度

    1回答

    正在編寫基於CXF的Web服務。我需要傳遞日期響應頭爲本地服務器時間,但這是被退回爲GMT,如下面顯示 HTTP/1.1 200 OK Server: Apache-Coyote/1.1 X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5 D

    -1熱度

    1回答

    我與Apache CXF工作,春JAX-RS服務,我有以下服務定義和實現提供, 定義 @POST @Path("/generateAddress") @Consumes(MediaType.APPLICATION_JSON) @Produces({MediaType.APPLICATION_JSON}) WalletInfo generateAddress(

    0熱度

    1回答

    我通過擴展jax-rs api的WebApplicationException類創建了自定義異常類。我在錯誤的輸入上拋出這個異常。 public class RestException extends WebApplicationException { public RestException(String message, Response.Status status) {

    1熱度

    1回答

    我一直在試圖建立在駱駝一CXF端點,使用的Spring Java配置,像這樣: @Bean public CxfEndpoint anEndpoint() { CxfEndpoint endpoint = new CxfEndpoint(); endpoint.setAddress(getEndpointUrl()); endpoint.setServiceClas

    0熱度

    1回答

    有一個肥皂web服務和一個客戶端。使用Apache CXF/Spring捆綁軟件。 客戶: public class MyWebServiceClientFactoryCXF { public MyWebServiceAPI getMyWebServiceClient(String URI, String username, String password) throws Malform

    2熱度

    4回答

    我在我的應用程序上下文駱駝路線定義爲 <camelContext xmlns="http://camel.apache.org/schema/spring" trace="true" id="camel"> <route id="wsProxyRedirection"> <from uri="cxf:bean:cdcPocProxyWebServiceStartP

    0熱度

    1回答

    我一直在研究春季啓動。我遵循這個例子,並嘗試使用this sample code創建一個簡單的soap web服務。 遵循這整個樣本。我運行我的應用程序時遇到了一個問題。以下是錯誤的堆棧跟蹤。 2017-09-09 20:06:59.883 ERROR 7302 --- [ main] o.s.boot.SpringApplication : Application startup fa

    0熱度

    1回答

    我在Equinox OSGI內部遇到以下異常: 獲取java.lang.ClassCastException:com.sun.xml.ws.client.sei.SEIStub無法轉換爲org.apache .cxf.frontend.ClientProxy 請指教。

    0熱度

    1回答

    我正在使用駱駝CXF終端連接到我的肥皂服務器。我想爲來自客戶端的請求添加超時。我正在使用continuationTimeout選項。但它不起作用。請求超時而不等待我配置的時間。 以下是我的端點配置。 <camel-cxf:cxfEndpoint id="tmAPIWSEndpoint" address="http://IN2NPDCEDB01:8088/webservices/services/T