This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Consuming secure wso2-php web service in an applet with Netbeans 7
Juan Manuel Diaz
posted 4 years ago
Hi all!, I am stuck on this situation. I have been reading some post in this forum talking about this but i did not found a proper (or easy ;) ) solution. The question is: i wrote a webservice in php using wso2. The webservice use an usernameToken (username and password, this last one as a digest) for authentication and i must to communicate with the server through https. So i wrote the client test for the service, using wso2 too and everything works fine. Now I need to consume this service in a JavaApplet. I decided to try with netbeans 7 so i proceed to create a new java applet project and then a webservice client and put the wsdl path of my webservice (wich contains no information about security). All methods were deployed and compiled fine, but now i need to add the security parameters and the server certificate but i dont know how to do that!
Any help, starting point or another information will be welcome!
Thanks in advanced!,