NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Angel Sanchez
Joined: 07 Oct 2010 Posts: 2
|
Posted: Thu Oct 07, 2010 12:00 pm Post subject: WSCOMPILE fails in Web Service Client generation for secure web service with mutual certification |
|
|
Hi,
I'm having wscompile error (Fatal Alert, bad certificate) when I try to add a web service client in my project for an existing WSDL file corresponding to an existing secure web service which requires mutual certification.
The error comes out when I create a new web service client in my project, I specify the local WSDL file (I downloaded it with my personal certificate) and then Netbeans tries to parse the WSDL file (containing references to schemas and so on located in the secure web server and accessible only with a personal certificate...)
It seems wscompile cannot download the WSDL file reference to the secure web server as the JVM launched by the netbeans wscompile ant task does not know where my keystore containing my certificate is located.
How can I instruct netbeans to launch the JVM associated to the wscompile ant task with the proper javax.net.SSL.keyStore and keyStorePassword definitions for my personal certificate keystore?
Thanks in advance |
|
| Back to top |
|
 |
Angel Sanchez
Joined: 07 Oct 2010 Posts: 2
|
Posted: Fri Oct 08, 2010 10:02 am Post subject: |
|
|
Hi,
I just managed to solve it, I pass the jvmargs parameter to the wscompile ant task in build-impl.xlm specifying the keystore of my personal certificate, and it works now!
BRs, |
|
| Back to top |
|
 |
Alexander Wallace Posted via mailing list.
|
Posted: Fri Oct 08, 2010 5:11 pm Post subject: STOOOOOP!!! I'VE TRIED EVERYTHING TO UNSUBSCRIBE AND I STILL GET EMAILS!!! |
|
|
On 10/7/10 7:01AM, Angel Sanchez wrote:
| Quote: | Hi,
I'm having wscompile error (Fatal Alert, bad certificate) when I try to add a web service client in my project for an existing WSDL file corresponding to an existing secure web service which requires mutual certification.
The error comes out when I create a new web service client in my project, I specify the local WSDL file (I downloaded it with my personal certificate) and then Netbeans tries to parse the WSDL file (containing references to schemas and so on located in the secure web server and accessible only with a personal certificate...)
It seems wscompile cannot download the WSDL file reference to the secure web server as the JVM launched by the netbeans wscompile ant task does not know where my keystore containing my certificate is located.
How can I instruct netbeans to launch the JVM associated to the wscompile ant task with the proper javax.net.SSL.keyStore and keyStorePassword definitions for my personal certificate keystore?
Thanks in advance
|
|
|
| Back to top |
|
 |
yuriuss
Joined: 13 Jul 2011 Posts: 1
|
Posted: Wed Jul 13, 2011 1:14 pm Post subject: |
|
|
| Angel Sanchez wrote: | Hi,
I just managed to solve it, I pass the jvmargs parameter to the wscompile ant task in build-impl.xlm specifying the keystore of my personal certificate, and it works now!
BRs, |
Hi! Please write down an example here. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|