question

topvacuumparts avatar image
0 Likes"
topvacuumparts asked

javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Premature end of file

when i trying to call getJobs or CreateJob it throws **javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Premature end of file** this error. This problem started suddenly from 10 july 2018, Before it was working fine. I tried to trace the error and i found **port = service.getBulkDataExchangeServiceSOAP();** this line giving issue. Please help
reviseinventorystatusgetjobs
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

topvacuumparts avatar image
0 Likes"
topvacuumparts answered
Thanks for the reply. Issue was same i.e. WSDL file is not giving response. so we made following changes in BulkDataExchangeCall.java and load WSDL from local server. URL baseUrl; System.out.println("BulkDataExchangeService Constructor Start"); baseUrl = com.ebay.marketplace.services.BulkDataExchangeService.class.getResource("."); URL url = new URL(baseUrl, "file:D:\\NetBeansProject\\EbayLMS\\WSDL\\BulkDataExchangeService.wsdl"); BulkDataExchangeService service = new BulkDataExchangeService(url,new QName(" http://www.ebay.com/marketplace/services", "BulkDataExchangeService"));
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

monbeck avatar image
0 Likes"
monbeck answered
I can confirm, we have the same problem since yesterday the same time.
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

best4sell2015 avatar image
0 Likes"
best4sell2015 answered
I get same error. Any help would be much appreciated!
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

monbeck avatar image
0 Likes"
monbeck answered
We fixed the problem! The LMS Client fails to request the WSDL file as he gets a 300 redirect message back. eBay Seems to have changed it from http to https yesterday. You need to hard code the location for the file to https - then it will work again! Very bad problem, there was no debug message or anything else for the failed request of the file. Only the LMS client seems unable to handle redirects. Hope this helps you guys as this is really urgent for companies having a big queue with orders not imported!
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

best4sell2015 avatar image
0 Likes"
best4sell2015 answered
Hello monbeck! Change which file locaion to https? .wsdl? Thanks! @monbeck
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

monbeck avatar image
0 Likes"
monbeck answered
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.