Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Consuming secure wso2-php web service in an applet with Netbeans 7  RSS feed

Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Java Applet. 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!,
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!