All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.ws.WSClient.class Maven / Gradle / Ivy

The newest version!
????1?com/vmware/vim25/ws/WSClientjava/lang/ObjectSOAP_HEADERLjava/lang/String;
ConstantValue	SOAP_END"SOAP_ACTION_HEADER
SOAPActionSOAP_ACTION_V40
urn:vim25/4.0SOAP_ACTION_V41
urn:vim25/4.1baseUrlLjava/net/URL;cookievimNameSpace
soapActionconnectTimeoutIreadTimeout(Ljava/lang/String;)V
Exceptions"java/net/MalformedURLExceptionCode
%&(Ljava/lang/String;Z)VLineNumberTableLocalVariableTablethisLcom/vmware/vim25/ws/WSClient;	serverUrl
-.()V	0	2	4	6	8	:</
>@?java/lang/StringABendsWith(Ljava/lang/String;)Z
>DEFlength()I
>HIJ	substring(II)Ljava/lang/String;Ljava/net/URL
KN
PQ.trustAllHttpsCertificatesScom/vmware/vim25/ws/WSClient$1
RUV!(Lcom/vmware/vim25/ws/WSClient;)V
XZY javax/net/ssl/HttpsURLConnection[\setDefaultHostnameVerifier#(Ljavax/net/ssl/HostnameVerifier;)V^java/lang/Exception
ignoreCertZinvoke?(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;[Lcom/vmware/vim25/ws/Argument;Ljava/lang/String;)Ljava/lang/Object;djava/io/IOExceptionfcom/vmware/vim25/ws/Argumenth_thisjManagedObjectReference
elm9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
oqpjava/lang/Systemrs	arraycopy*(Ljava/lang/Object;ILjava/lang/Object;II)V
uavW(Ljava/lang/String;[Lcom/vmware/vim25/ws/Argument;Ljava/lang/String;)Ljava/lang/Object;mor)Lcom/vmware/vim25/ManagedObjectReference;
methodNameparas[Lcom/vmware/vim25/ws/Argument;
returnType	fullParasjava/rmi/RemoteException
?a?F(Ljava/lang/String;[Lcom/vmware/vim25/ws/Argument;)Lorg/dom4j/Element;???org/dom4j/Element??elements()Ljava/util/List;???java/util/List??get(I)Ljava/lang/Object;????getName()Ljava/lang/String;?Fault
>???indexOf(Ljava/lang/String;)I
???com/vmware/vim25/ws/XmlGen??parseSoapFault=(Lorg/dom4j/Element;)Lcom/vmware/vim25/ws/SoapFaultException;?Exception in WSClient.invoke:
~??*(Ljava/lang/String;Ljava/lang/Throwable;)V	???&com/vmware/vim25/ws/SoapFaultException??detailLjava/lang/Throwable;
????fromXML9(Ljava/lang/String;Lorg/dom4j/Element;)Ljava/lang/Object;rootLorg/dom4j/Element;bodyrespsfe(Lcom/vmware/vim25/ws/SoapFaultException;eLjava/lang/Exception;
???createSoapMessageE(Ljava/lang/String;[Lcom/vmware/vim25/ws/Argument;)Ljava/lang/String;
???post)(Ljava/lang/String;)Ljava/io/InputStream;?org/dom4j/io/SAXReader
?-
????read+(Ljava/io/InputStream;)Lorg/dom4j/Document;???org/dom4j/Document??getRootElement()Lorg/dom4j/Element;?java/lang/StringBuilder?VI SDK invoke exception:
?N
????append-(Ljava/lang/Object;)Ljava/lang/StringBuilder;
????toString
~N
???java/io/InputStream?.closesoapMsgisLjava/io/InputStream;readerLorg/dom4j/io/SAXReader;docLorg/dom4j/Document;invokeAsStringK(Ljava/lang/String;[Lcom/vmware/vim25/ws/Argument;)Ljava/lang/StringBuffer;
???
readStream/(Ljava/io/InputStream;)Ljava/lang/StringBuffer;?java/lang/StringBuffer
?-
????,(Ljava/lang/String;)Ljava/lang/StringBuffer;?<
????-(Ljava/lang/String;)Ljava/lang/StringBuilder;
e?
e???getType
e???getValue()Ljava/lang/Object;
???toXMLJ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
??sbLjava/lang/StringBuffer;ikeytypeobjLjava/lang/Object;
KopenConnection()Ljava/net/URLConnection;java/net/HttpURLConnection
setConnectTimeout(I)V
setReadTimeoutPOST
setRequestMethod
 "!java/net/ProtocolException#.printStackTrace
%&'setDoOutput(Z)V
)*'
setDoInput
,-.setRequestProperty'(Ljava/lang/String;Ljava/lang/String;)V0Cookie
234getOutputStream()Ljava/io/OutputStream;6java/io/OutputStreamWriter
589(Ljava/io/OutputStream;)V
5;<write
5?
?@AgetInputStream()Ljava/io/InputStream;
CDAgetErrorStreamF
Set-Cookie
HIJgetHeaderField&(Ljava/lang/String;)Ljava/lang/String;postConLjava/net/HttpURLConnection;Ljava/net/ProtocolException;osLjava/io/OutputStream;outLjava/io/OutputStreamWriter;
getBaseUrl()Ljava/net/URL;
setBaseUrl(Ljava/net/URL;)V	getCookie	setCookiegetVimNameSpacesetVimNameSpacetimeoutMilliSecgetConnectTimeoutgetReadTimeoutsetSoapActionOnApiVersion_4.1
>abcequals(Ljava/lang/Object;)Z
apiVersionfjava/io/BufferedReaderhjava/io/InputStreamReader
gjk(Ljava/io/InputStream;)V
emn(Ljava/io/Reader;)V
epq?readLine
e?inLjava/io/BufferedReader;lineStrw&java/security/NoSuchAlgorithmExceptiony$java/security/KeyManagementException{javax/net/ssl/TrustManager},com/vmware/vim25/ws/WSClient$TrustAllManager
|?1(Lcom/vmware/vim25/ws/WSClient$TrustAllManager;)V?SSL
???javax/net/ssl/SSLContext??getInstance.(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;
????initW([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V
????getSocketFactory"()Ljavax/net/ssl/SSLSocketFactory;
X???setDefaultSSLSocketFactory#(Ljavax/net/ssl/SSLSocketFactory;)V
trustAllCerts[Ljavax/net/ssl/TrustManager;scLjavax/net/ssl/SSLContext;
SourceFile
WSClient.javaInnerClassesTrustAllManager1

 !#?*+?$?'
TU()*+& !#?[*?,*?/*?1*?3*?5*?7*?9+;?=?++?Cd?GL*?KY+?M?/??O?RY*?T?W?W?HVY]'BWK	LMNOP#Y,[8]D^HbKeScYmZo( [)*[+[_`ab c#?--?`?e:?eYgi+?kS--??n*,?t?'s	tu#v(>-)*-wx-y-z{-|	$}{av ~#[	?*+,??:??????:??????:??????7:??:?:?~Y???????????~??-?-???:?~Y??????FI]tz{]'B{|},<???I?K?W?d?m?p?t?{?}???(f
?)*?y?z{?|???q??,_???1??K??}??a? ~#G	q*+,??N::*-??:??Y??:??:??:?1:?~Y??Yͷ??жԷ׿:??اW???اW?
/2]
MMTY\cejmc'B??
?
???&?2?4?M?O?T?]?`?e?n?(\	q)*qyqz{j?
g??
d????&??4???? ~#?0*+,??N*-??:*??:?~Y??Yͷ??жԷ׿]'?????(>0)*0y0z{)???????#(???Y??N-??W-??Y??+??*?3??Զ?W6?/,2??:,2??:,2??:-????W?,????-??Y??+????Զ?W-??W-??'2???+?1?:?C?L?Z?d?????(R?)*?y?z{?.6: 	C
L?? c#u?*?/?
?M*?7?,*?7?*?9?,*?9?,??N-?,?$,?(,*?5?+*?1?,/*?1?+,?1N?5Y-?7:+?:?=,?>:?
W,?B:*?1?*,E?G?1?)03 x~?c'^????!?)?3?4?8?=?B?L?S?^?c?m?s?x???
??(R?)*???KL4?Mc:NOm0PQ~?????RS#/*?/?'()*TU#>*+?/?'
()*V?#/*?1?'()*W#>*+?1?'
"#()*X?#/*?3?''()*Y#>*+?3?'
,-()*#>*?7?'
12()*Z[F#/*?7?'6()*#>*?9?'
;<()*Z\F#/*?9?'@()*]#M^+?`?	*?5?'N
PR()*d?? c#?2??Y??M?eY?gY+?i?lN?
,??W-?oY:???-?r,?'VWY["Y,]0^(>2)*2??*stu)	u
Q. vx#r&?zK*?|Y?~S???L+*??+?????'defgi"h%j(!???????R|?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy