Edit C:\Users\Administrator\Desktop\Back\Livraison EVQG22\com\edeal\frontline\helper\custom\FermJurid_Helper.class
Êþº¾ 3ý 2com/edeal/frontline/helper/custom/FermJurid_Helper /com/edeal/frontline/helper/FermJurid_BaseHelper logger Lorg/apache/commons/logging/Log; XML_NS Ljava/lang/String; ConstantValue %http://www.opentravel.org/OTA/2006/01 PREFIX ota PARAM1_NAME Hotel ID PARAM1_CODE HOTEL_ID FILE_NAME HOTEL- SEPARATOR - FILE_EXT .xml SLASH / STATUS_OPEN # Open STATUS_CLOSED & Closed <clinit> ()V Code + - , %org/apache/commons/logging/LogFactory . / getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; 1 LineNumberTable LocalVariableTable <init> .(Lcom/edeal/frontline/custom/FermJurid_Bean;)V 7 4 5 this 4Lcom/edeal/frontline/helper/custom/FermJurid_Helper; bean +Lcom/edeal/frontline/custom/FermJurid_Bean; sendJClosureToReservIT i(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ? A ReservitExportDirectory C E D com/edeal/frontline/FlContext F G getContextParameter &(Ljava/lang/String;)Ljava/lang/String; I java/lang/StringBuilder K exporting to default path : H M 4 N (Ljava/lang/String;)V H P Q R append -(Ljava/lang/String;)Ljava/lang/StringBuilder; H T U V toString ()Ljava/lang/String; X Z Y org/apache/commons/logging/Log [ \ warn (Ljava/lang/Object;)V ^ java/lang/StringBuffer ] M a c b java/lang/String d e endsWith (Ljava/lang/String;)Z ] g Q h ,(Ljava/lang/String;)Ljava/lang/StringBuffer; ] j Q k (I)Ljava/lang/StringBuffer; m o n !javax/xml/stream/XMLOutputFactory p q newInstance %()Ljavax/xml/stream/XMLOutputFactory; s java/io/FileOutputStream ] T r M w UTF-8 m y z { createXMLStreamWriter L(Ljava/io/OutputStream;Ljava/lang/String;)Ljavax/xml/stream/XMLStreamWriter; } ~ javax/xml/stream/XMLStreamWriter ? N setDefaultNamespace ? 1.0 } ? ? ? writeStartDocument '(Ljava/lang/String;Ljava/lang/String;)V ? OTA_HotelSummaryNotifRQ } ? ? ? writeStartElement 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V ? ChainCode ? 12 } ? ? ? writeAttribute ? EchoToken ? TSP464503 ? HotelCode H ? 4 ( ? Version ? 2006 ¡ HotelCodeContext £ LFS } ¥ ¦ ? writeNamespace ¨ HotelSummaryMessages ª HotelSummaryMessage ¬ StatusType ® ¯ ° getLegalHotelClosureStatus W(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ² OUV a ´ µ ¶ equals (Ljava/lang/Object;)Z ¸ FRM º ¼ » 0com/edeal/frontline/FieldNotInitializedException ½ ¾ getCause ()Ljava/lang/Throwable; H À Q Á -(Ljava/lang/Object;)Ljava/lang/StringBuilder; à : º Å Æ V getMessage } È É ( writeEndElement } Ë Ì ( flush Î Ï Ð prepareSendHotel2 {(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; X Ò Ó \ error Õ &com/edeal/frontline/FrontlineException × )com/edeal/frontline/AccessDeniedException Ù java/io/IOException Û #javax/xml/stream/XMLStreamException Ý java/lang/Exception context Lcom/edeal/frontline/FlContext; codeCt fqID hotel2status msg exportPath e1 (Lcom/edeal/frontline/FrontlineException; sb Ljava/lang/StringBuffer; outputFactory #Ljavax/xml/stream/XMLOutputFactory; writer "Ljavax/xml/stream/XMLStreamWriter; entHotelYearlyClosID_ status fnie 2Lcom/edeal/frontline/FieldNotInitializedException; e Ljava/io/IOException; %Ljavax/xml/stream/XMLStreamException; Ljava/lang/Exception; StackMapTable ÷ RESULT-2- a ù ú û valueOf &(Ljava/lang/Object;)Ljava/lang/String; ý (org/apache/commons/httpclient/HttpClient ü ? TLSv1.2 javax/net/ssl/SSLContext getInstance .(Ljava/lang/String;)Ljavax/net/ssl/SSLContext; init W([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V setDefault (Ljavax/net/ssl/SSLContext;)V https.protocols java/lang/System setProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; out Ljava/io/PrintStream; Ü Å java/io/PrintStream N println" Adresse HTTP de Reservit$ Adresse HTTP de Reservit : & 0org/apache/commons/httpclient/methods/PostMethod % M) Login+ Login : %-. ? addRequestHeader0 Password2 Password : 4 service6 service : 8 conversationId: conversationId : < messageId> messageId : @ ActionHotel2B action : D ActionF cpaidH cpaid : J fromL from : N toP to : R Content-typeT Content-type : V java/io/File U MY >org/apache/commons/httpclient/methods/InputStreamRequestEntity[ java/io/FileInputStream Z] 4^ (Ljava/io/File;)V U`ab length ()J Xd 4e (Ljava/io/InputStream;J)V %ghi setRequestEntity 8(Lorg/apache/commons/httpclient/methods/RequestEntity;)V üklm executeMethod -(Lorg/apache/commons/httpclient/HttpMethod;)I op errr .The Post method is not implemented by this URI %tu V getResponseBodyAsStringw java/io/BufferedReadery java/io/InputStreamReader %{|} getResponseBodyAsStream ()Ljava/io/InputStream; x 4? (Ljava/io/InputStream;)V v? 4? (Ljava/io/Reader;)V? java/io/BufferedWriter? java/io/OutputStreamWriter ?? 4? +(Ljava/io/OutputStream;Ljava/lang/String;)V ?? 4? (Ljava/io/Writer;)V ] ?? <Errors> a??? contains (Ljava/lang/CharSequence;)Z v?? V readLine? <Error? </Error>? <Error a? ¡ indexOf (Ljava/lang/String;)I a£¤¥ substring (II)Ljava/lang/String;§ Code="E00.RIT"© [ConversationID= ?«¬ N write ? ˯ )com/edeal/frontline/custom/FermJurid_Bean ®± 4² 4(Ljava/lang/String;Lcom/edeal/frontline/FlContext;)V´ java/util/Date ³ ? ®·¸¹ setFq_DateTransmission (Ljava/util/Date;)V ®»¼½ setFq_Transmis (Z)V ®¿ÀÁ save '()Lcom/edeal/frontline/OperationResult; %ÃÄ ( releaseConnection vÆÇ ( close ?ÆÊ OK|LF385Ì KO|Traitement echoue# fileName reservitDirectory ctCode fileResult client *Lorg/apache/commons/httpclient/HttpClient; ctx Ljavax/net/ssl/SSLContext; br Ljava/io/BufferedReader; bw Ljava/io/BufferedWriter; containsErrors Z errors reservitHttpAddress method 2Lorg/apache/commons/httpclient/methods/PostMethod; login password action content_type input Ljava/io/File; returnCode I fejé java/lang/Throwable Exceptions Cìíî getDataDictionary &()Lcom/edeal/frontline/DataDictionary; ®ðñ V getFq_Statutó Fq_Statut õ÷ö "com/edeal/frontline/DataDictionaryø getRefCode dico $Lcom/edeal/frontline/DataDictionary; SourceFile FermJurid_Helper.java ! ! "