Welcome Guest. Sign in or Signup

1 Answers

Java SDK: Couldn’t create SOAP message due to exception: unexpected XML

Asked by: 815 views Programming

  I am getting the following exception when making Trading API calls using eBay Java SDK . What is the problem?

 com.ebay.sdk.SdkException: ApiCall.execute() – Couldn’t create SOAP message due to exception: unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {urn:ebay:apis:eBLBaseComponents}GeteBayOfficialTimeResponse

at com.ebay.sdk.ApiCall.executeByApiName(ApiCall.java:592)
at com.ebay.sdk.ApiCall.execute(ApiCall.java:349)
at com.ebay.sdk.call.GeteBayOfficialTimeCall.geteBayOfficialTime(GeteBayOfficialTimeCall.java:64)
at com.me.ApplicationHelloWorld.main(ApplicationHelloWorld.java:50)