0
我有一個項目中使用Apache的駱駝,我不得不消耗WS ..Apache的駱駝+ Spring的WS +授權
.setHeader(HttpHeaders.AUTHORIZATION, constant("Basic {base64"))
.to("spring-ws:http://myhost.com.br?soapAction=myAction")
我也得到了如下錯誤:org.springframework.ws.client。 WebServiceTransportException:未經授權[401]
如果我使用soap-ui發送只是頭部,它是行之有效的。
任何想法?非常感謝。
是否缺少'後'}' {base64'或者它只是一個錯字? – Oerd