Instead of Axis and Axis2 stubs, I want to use JAX-WS stubs for vSphere Web Services SDK.
I want ot know whether any one use JAX-WS stubs and whether it is evaluated, supported from VMware.
Hi,
Yes you can use the stubs generated by JAX-WS for vSphere SDK. But, the libraries that are generated by Axis won't work in that case. The complete structure of writing the client applications changes and in such a case you need to write your own set of libraries to write the samples and applications.
Thanks.
Angela
Thanks Angela.
I was asking this beacuse I had a specific problem in running JAX-WS stubs.
I created JAX-WS stubs using wsimport and wrote a small sample code to make a connection.
Exception is coming while executing retrieveServiceContent
Service_Content = service.retrieveServiceContent(svcRef);
Please find the sample code in attached file. The output is given below:
Output: BEGIN************************************************************************************************************* trigger seeding of SecureRandom done seeding SecureRandom %% No cached client session *** ClientHello, TLSv1 RandomCookie: GMT: 1235726894 bytes = { 51, 196, 145, 159, 10, 35, 54, 28, 237, 129, 7, 41, 42, 142, 185, 188, 238, 44, 127, 152, 45, 139, 39, 252, 113, 90, 2, 22 } Session ID: {} Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA] Compression Methods: { 0 } *** main, WRITE: TLSv1 Handshake, length = 73 main, received _EOFException_: error main, handling exception: _javax.net.ssl.SSLHandshakeException_: Remote host closed connection during handshake main, SEND TLSv1 ALERT: fatal, description = handshake_failure main, WRITE: TLSv1 Alert, length = 2 main, called closeSocket() main, called close() main, called closeInternal(true) OUTPUT: END********************************************************************************************************
Hi.
The same problem has occurred to me.
Would you teach measures method if settled?