If you're using Axis2 and WS-Policy configuration of the security the
policy information should be automatically added to the generated WSDL.
Try a browser request to your service endpoint + "?wsdl" (e.g.
"http://localhost:8080/axis2/services/myservice?wsdl") and see if the
policy is present.
- Dennis
--
Dennis M. Sosnoski
Java XML and Web Services
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
Steve Karlovitz wrote:
I was wondering if somebody could help, I have written a web-service
that is to be consumed by SalesForce.com. The web service utilizes
WS-Security, I have been told that in order for SalesForce.com to
consume and utilize this web-service I have to add the WSS definition
to the WSDL. Does anyone have a working example of this? I am using
username/pass and timestamp tokens.
Thanks
Steve