How do I add a SOAP Header using Java JAX-WS

后端 未结 3 474
逝去的感伤
逝去的感伤 2020-12-04 20:02

A typical SOAP client request using JAX-WS might be

FooService service = new FooService();
FooPort port = service.getFooPort();
FooPayload payload = new FooP         


        
3条回答
  •  渐次进展
    2020-12-04 20:59

    for add Soap header, if you implement the WS on the web application server, the Was will add security part at header , after you have configure as per WS-SECURITY standard , such as web-policy etc. I don't understand why need add yourself except the encrypted content part , such as encrypted password etc

提交回复
热议问题