title: eBay GetMyeBaySellings No XML <RequestPassword> or <RequestToken> was found in XML Request
body: <p>I want to use the eBay-API to get my sold items.  Here is my code: </p>
  
  <pre><code>ApiContext apiContext = new ApiContext();
  ApiCredential credential = apiContext.getApiCredential();
  ApiAccount acc = new ApiAccount();
  acc.setApplication("app-id");
  acc.setDeveloper("dev-id");
  acc.setCertificate("cert");
  eBayAccount eBayAccount = new eBayAccount();
  eBayAccount.setPassword("ebay user");
  eBayAccount.setUsername("ebay password");
  credential.setApiAccount(acc);
  credential.seteBayAccount(eBayAccount);
  apiContext.setApiServerUrl("https://api.ebay.com/wsapi");
  GetMyeBaySellingCall call = new GetMyeBaySellingCall(apiContext);
  GetMyeBaySellingRequestType requestType = new GetMyeBaySellingRequestType();
  call.setMyeBaySellingRequest(requestType);
  ItemListCustomizationType lc = new ItemListCustomizationType();
  lc.setInclude(new Boolean(true));
  lc.setIncludeNotes(new Boolean(true));
  lc.setSort(ItemSortTypeCodeType.BID_COUNT);
  requestType.setActiveList(lc);
  
  lc = new ItemListCustomizationType();
  lc.setInclude(new Boolean(true));
  lc.setIncludeNotes(new Boolean(true));
  lc.setSort(ItemSortTypeCodeType.PRICE);
  requestType.setSoldList(lc);
  
  lc = new ItemListCustomizationType();
  lc.setInclude(new Boolean(true));
  lc.setIncludeNotes(new Boolean(true));
  lc.setSort(ItemSortTypeCodeType.END_TIME);
  requestType.setUnsoldList(lc);
  
  lc = new ItemListCustomizationType();
  lc.setInclude(new Boolean(true));
  lc.setIncludeNotes(new Boolean(true));
  lc.setSort(ItemSortTypeCodeType.START_TIME);
  requestType.setScheduledList(lc);
  
  call.getMyeBaySelling();
  
  GetMyeBaySellingResponseType resp = call.getReturnedMyeBaySellingResponse();
  </code></pre>
  
  <p>The <code>APIAccount</code> is configured with the data from the developers site of ebay, the <code>eBayAccount</code> is filled with the credentials of the account I want to fetch items for. However, this results in the following exception: </p>
  
  <pre><code>Exception in thread "main" com.ebay.sdk.SdkSoapException: No XML &lt;RequestPassword&gt; or &lt;RequestToken&gt; was found in XML Request.
      at com.ebay.sdk.SdkSoapException.fromSOAPFaultException(Unknown Source)
      at com.ebay.sdk.ApiCall.executeByApiName(Unknown Source)
      at com.ebay.sdk.ApiCall.execute(Unknown Source)
      at com.ebay.sdk.call.GetMyeBaySellingCall.getMyeBaySelling(GetMyeBaySellingCall.java:150)
  </code></pre>
  
  <p>The user is authenticated for the application and the API-URL is correct. Also, app and user are authenticated for production.</p>