05-25-2025 07:58 PM
Directly using Maven to introduce Trading API Java SDK, but this problem occurs Com. sun. xml. internal. ws. protocol. soap. Message CreationException: Unable to create SOAP message due to unexpected error: unexpected XML tag. It should be:{ http://schemas.xmlsoap.org/soap/envelope/ }Envelope, But what was found was: {urn: eBay: APIs: eBLBaseComponents} GetYeBaySellingResponse
maven:
<dependency>
<groupId>com.ebay.developer</groupId>
<artifactId>trading-api-sdkcore</artifactId>
<version>1.0.1-RELEASE</version>
</dependency>
<dependency>
<groupId>com.ebay.developer</groupId>
<artifactId>trading-api-ebaycalls</artifactId>
<version>1.0.1-RELEASE</version>
</dependency>
<dependency>
<groupId>com.ebay.developer</groupId>
<artifactId>trading-api-helper</artifactId>
<version>1.0.1-RELEASE</version>
</dependency>