(400)Bad Request in PayPalAPISoapBindingStub.transactionSearch
<p>After having a <code>SSLHandshakeException</code> using the paypal SOAP API (TransactionSearch), I have updated <code>paypal_base.jar</code> to the version indicated by paypal in the following link:</p>

<p><a href="https://github.com/paypal/TLS-update" rel="nofollow">https://github.com/paypal/TLS-update</a></p>

<p>I have fixed that problem, however I have the following one:     </p>

<pre><code>mar 31, 2016 6:56:26 PM com.paypal.sdk.core.soap.SOAPAPICaller call
INFORMACIÓN: transactionSearch sent
mar 31, 2016 6:56:28 PM com.paypal.sdk.exceptions.TransactionException &lt;init&gt;
GRAVE: (400)Bad Request
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.paypal.sdk.core.soap.SOAPAPICaller.callSOAP(SOAPAPICaller.java:462)
at com.paypal.sdk.core.soap.SOAPAPICaller.call(SOAPAPICaller.java:382)
at com.paypal.sdk.services.CallerServices.call(CallerServices.java:125)
at t.main(t.java:42)
Caused by: (400)Bad Request
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.paypal.soap.api.PayPalAPISoapBindingStub.transactionSearch(Unknown Source)
... 8 more
</code></pre>

<p>Any clue about this problem?</p>

<p>UPDATE:</p>

<p>This is the request:</p>

<pre><code>TransactionSearchRequestType request = new TransactionSearchRequestType();
    request.setStartDate(new GregorianCalendar());

    CallerServices caller = new CallerServices();
    try {
        APIProfile profile = ProfileFactory.createSignatureAPIProfile();
        profile.setAPIUsername("*********");
        profile.setAPIPassword("*************");
        profile.setSignature("*******************************************");
        profile.setEnvironment("sandbox");
        caller.setAPIProfile(profile);

        TransactionSearchResponseType response = (TransactionSearchResponseType) caller.call("TransactionSearch", request);

    } catch (PayPalException e) {
        System.out.println("PaypalCaller: Error calling Paypal webservice " + e);
    } catch (Exception e) {
        System.out.println(e.getMessage() + e);
    } catch (Throwable e) {
        System.out.println(e.getMessage() + e);
    }
</code></pre>