But as one of the longest-serving prime ministers in a country that has proven somewhat fickle about its leadersand heading an economy that relies heavily on American investmenthis visit to Washington needed to take into account the prevailing winds in Japan.