cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lv <>
Subject RE: Simple questions about username token example
Date Tue, 19 Feb 2013 01:21:44 GMT

Thank you again. I can see policy in WSDL.

I have another question about client side. My client side is mobile users.
After publishing WSDL, mobile users can send data (string) to my web services. The contents
like follow: <params><param>1460</param><param>hotel</param></params>

I just add following code and run the web project.

@SOAPBinding(style = SOAPBinding.Style.DOCUMENT,
          placement = Policy.Placement.BINDING))

public class AppServiceSecurity{

However, after mobile users send data to web services (no username, no password), the policy
does not work. It does not shows policy exceptions.
1, If WSDL has policy, what data contents should mobile user send? Should soap headers be
2, If I create web services by java first method, what code should I added to obtain username
and password from mobile client side? 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message