########################################################### require HTTP::Request; require LWP::UserAgent; #this gets the response from the iridium server $request = HTTP::Request->new(GET => 'https://www.NAME_OF_THE_SERVER/xml/service1.asmx/XmlResponse?request=USERNAMEPASSWORD100'); $ua = LWP::UserAgent->new; $response = $ua->request($request); print $response; print $response->as_string; open (MYFILE, '>>C:\\perl\\webservice\\data.txt'); print MYFILE $response->as_string; close (MYFILE); ###########################################################