spring-ws

    1熱度

    1回答

    我們有幾個Spring出站SOAP WebServices客戶端(與外部WS交談)。我們使用Spring Integration Gateway與他們交談。 版本使用: Spring Integration version - 4.0.4.RELEASE Spring version - 4.1.6.RELEASE Spring WS - 2.2.4 Apache http client -

    1熱度

    1回答

    我想從spring-ws應用程序中的肥皂請求中提取soap身體。我的SOAP請求被 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org /soap/envelope/" xmlns:sch="http://www.manager.cts.com/schema"> <soapenv:Header/> <soapenv:B

    1熱度

    1回答

    我在我的Spring集成網關流中使用兩個webservice出站網關調用2個不同的Web服務。 我已經在每個網關中實現了2個錯誤解析器來解決SOAP錯誤 並且想要創建自定義應用程序異常並將解析器從我的異常處理程序中拋出。 無論何時我們接收到來自服務調用的SOAP錯誤,我的FaultResolver都會被調用。 但我無法從我的解析器中拋出自定義的excel,因爲它只允許拋出IOException。

    1熱度

    1回答

    我試着用JAXB和SpringWS開發Web服務。 但我有一個問題。 我把我的wss安全和我如何創建標題? 這是我的實際代碼: 背景SPRING CLIENT @Configuration public class MonsterWSClientContext { private static final String URL = "AAA"; private static

    2熱度

    2回答

    我正嘗試使用MTOM + XOP到在Spring Web服務返回一個byte [],但編組的結果時,它拋出與消息的SAXParseException: CVC-type.3.1.2:元素「的DataHandler」是一個簡單的類型,所以它必須沒有元素信息項[children]。 看來,寫作,XOP標籤,驗證滿足它,而不是它預期並引發與停止進程FATAL水平的SAXParseException字節[

    0熱度

    1回答

    請在下面找到代碼片段。 我使用pom.xml來生成java類,但我不成功。請讓我知道我在哪裏出了錯: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    1熱度

    2回答

    我已經配置了。我曾嘗試使用WebService的模板通過HTTPS這裏是我的配置 public GetCountryResponse find() throws MalformedURLException, GeneralSecurityException, IOException { GetCountryRequest request = new GetCountryRequest()

    1熱度

    1回答

    我已經設置了網關和服務,但web方法不是一個包裝對象,只是4個字符串。 JAXB引發的錯誤 「javax.xml.bind.MarshalException - 帶鏈接的異常: [com.sun.istack.internal.SAXException2:不能編組類型 「java.lang.String中」 爲一個元素,因爲它缺少一個@XmlRootElement註釋]」 public inter

    1熱度

    1回答

    我有一個使用spring-WS實現WSDL的微服務(spring-boot)。 該計劃是使用Zuul通過網關服務器訪問WSDL。 從網關訪問:HTTP // 192.168.1.5:8080 /積分/ WS/test.wsdl 的Zuul路徑被配置成在所述網關: integration: sensitive-headers: path: /integration/**

    0熱度

    1回答

    我想實現一個Spring Web服務,它接受我們的端點 http://xxx.xx.xx.x:8088/axis2/services/SmsNotificationService上的呼叫notifySmsDeliveryReceipt。通話的內容會像THW如下: <soapenv:Envelope xmlns:soapenv=‘http://schemas.xmlsoap.org/soap/env