Hello,

I am trying to access the VMWare ESX 3.5 SOAP WS through the client stubs
generated by WSDL2Java of Axis2 1.4.1. At different times I am getting 2
different exceptions:

1) This a connection to a HTTPS port and I have built the keystore using the
certificate. I have also added

     System.setProperty("javax.net.debug", "ssl");

   to my client

Exception:

Caught Exception :  Name : org.apache.axis2.AxisFault Message :
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
     [java]  at [row,col {unknown-source}]: [1,0] Trace :
     [java] org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog


The same code at other times gives the following exception:

2)
Caught Exception :  Name : org.apache.axis2.AxisFault Message : The server
esx1 failed to respond Trace :
     [java] org.apache.axis2.AxisFault: The server esx1 failed to respond


To try differently I generated client stubs again but this time with Axis
1.4. Although the client stubs were different than those generated by Axis2
1.4.1 and the method of calling the WS is also different, that worked. This
means there is nothing wrong on the server side and also the keystore file I
created is right because Axis 1.4 client stubs used the same keystore file
while connecting.

Any inputs would be great. Much appreciate.

-=

Reply via email to