Subversion Repositories SmartDukaan

Rev

Rev 8769 | Rev 10045 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8769 Rev 9237
Line 179... Line 179...
179
    
179
    
180
    successful= []
180
    successful= []
181
    duplicateRecord = []
181
    duplicateRecord = []
182
    serverSide = []
182
    serverSide = []
183
    dataFormat = []
183
    dataFormat = []
184
    client = Client('http://www.insuregadget.ae/SSSWebService/SSSWebService.asmx?wsdl')
184
    client = Client('http://115.112.177.176/SSSWebservice/SSSWebservice.asmx?WSDL')
185
    header=client.factory.create('AuthHeader')
185
    header=client.factory.create('AuthHeader')
186
    header.Username  = 'saholic'
186
    header.Username  = 'saholic'
187
    header.Password  = '1Dfgh4@#'
187
    header.Password  = '1Dfgh4@#'
188
    client.set_options(soapheaders=header)
188
    client.set_options(soapheaders=header)
189
    
189
    
Line 201... Line 201...
201
        try:
201
        try:
202
            dateOfBirth = getDateFormatForDob(insurance.dob)
202
            dateOfBirth = getDateFormatForDob(insurance.dob)
203
        except:
203
        except:
204
            try:
204
            try:
205
                dateOfBirth = getDateFormatForDob2(insurance.dob)
205
                dateOfBirth = getDateFormatForDob2(insurance.dob)
-
 
206
            except Exception as ex:
206
            except:
207
                print ex
207
                dataFormat.append(order.id)
208
                dataFormat.append(order.id)
208
                continue
209
                continue
209
        line = order.lineitems[0]
210
        line = order.lineitems[0]
210
        Connected =False
211
        Connected =False
211
        Attempt = 1
212
        Attempt = 1