Spring WS-Security visible in WSDL -


I have implemented authentication via WS-Security on my webservice as described above:

< Pre> & lt; Bean id = "callback handler" class = "org.springframework.ws.soap.security.wss4j.callback.SimplePasswordValidationCallbackHandler" & gt; & Lt; Property Name = "User" & gt; & Lt; Theater Content & gt; & Lt; Support key = "bart" & gt; Arani & lt; / Prop & gt; & Lt; / Theater & gt; & Lt; / Property & gt; & Lt; / Bean & gt; & Lt; Bean id = "Annotation mapping" class = "org.springframework.ws.server.endpoint.mapping.PayloadRootNnotationMethodEndpointMapping" & gt; & Lt; Property Name = "Interceptor" & gt; & Lt; List & gt; & Lt; Bean square = "org.springframework.ws.soap.security.wss4j.Wss4jSecurityInterceptor" & gt; & Lt; Property Name = "Validation Actions" value = "UserNameToken" / & gt; & Lt; Property Name = "Safeguard Operations" Value = "Empty" /> & Lt; Property Name = "Verification Callback Handler" ref = "Callback Handler" /> & Lt; / Bean & gt; ...

However, customers (such as Sleepers) do not know that they should use the security, as it is not mentioned in the WSDL. How can I get it? How do I generate it:

  & lt; Bean id = "QWERTY SERVICE" class = "org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition" & gt; & Lt; Property Name = "Schema Collection" Riff = "Schema Collection" / & gt; & Lt; Property Name = "Port Type" Value = "QWERTY Service" /> & Lt; Property Name = "locationUri" value = "/ Qwerty Service /" /> & Lt; Property Name = "targetNamespace" value = "http://www.ead2.nl/demo/wsdl" /> & Lt; / Bean & gt; WS-Security has not been kept in itself by the WSDL.  

WS-Policy builds on WS-Security, using these more sophisticated standards WSDL It may be possible to add in, but it seems that what you want is not like that.

The security information in SOAPUI is designed as a project for the project. If you double click on the project then there is a security tab if you are using a PKI based plan and you are using outgoing and incoming configuration Can define the key-stores can be added. On each message, a pair of configuration can be applied to the message you want to protect.

See:


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -