NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

WSCOMPILE fails in Web Service Client generation for secure web service with mutual certification

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Angel Sanchez



Joined: 07 Oct 2010
Posts: 2

PostPosted: Thu Oct 07, 2010 12:00 pm    Post subject: WSCOMPILE fails in Web Service Client generation for secure web service with mutual certification Reply with 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
Angel Sanchez



Joined: 07 Oct 2010
Posts: 2

PostPosted: Fri Oct 08, 2010 10:02 am    Post subject: Reply with quote

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.





PostPosted: Fri Oct 08, 2010 5:11 pm    Post subject: STOOOOOP!!! I'VE TRIED EVERYTHING TO UNSUBSCRIBE AND I STILL GET EMAILS!!! Reply with quote

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

PostPosted: Wed Jul 13, 2011 1:14 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo