Developers Program

IllegalStateException in SOAP responses

Published: June 24 2005, 10:15:00 AMยทUpdated: July 20 2022, 10:32:47 AM

Products

Question

When I make SOAP GetItem calls I sometimes get an IllegalStateException. What can I do about this?

Answer

The short answer is update to the very latest WSDL.

This exception occurs when eBay sends an enumeration value to you that your version of the WSDL does not know about. Though we have a mechanism for preventing this from happening, several times the mechanism failed us.

We are putting verification steps in place to ensure that any changes are correctly handled before we release a new version of the WSDL.
How well did this answer your question?