The rocket fire came after relative calm on the border since late March when Gaza militants fired a rocket into Israel.
Negotiations are reported to be taking place for the release of the remains of two Israeli soldiers believed dead and two other civilians believed to be held by Hamas in exchange for prisoners held in Israeli jails.
According to the German Die Zeit news site report Wednesday, German and Swiss negotiators are trying to broker the deal between Israel, Egypt and the Hamas rulers of the strip.