I have my small web application that should simulate a REST web service (it simply returns XML and JSON strings), when I have annotation @Produces("application/json") and I try to import from this REST JSON, TD gives me an error that server returned response code 406. After I change it in my application to @Produces("application/xml") it is OK. I tried to force server to log accept-headers that it is sending. Server sends accept-headers: aplication/xml TD 8.6.1.Alpha1 + DV 6.1.ER2 I am not sure, but I think this issue occurs also in 8.3.4
Barry LaFond <blafond> updated the status of jira TEIIDDES-2359 to Resolved
It is not fixed in TD 9.0.1.Beta2, I managed to reproduce this today. Should it be fixed in this version ?
I think this is fixed only partialy. Rest Import wizard is fixed, but "new connection profile" wizard is not fixed. When I am importing JSON and the application sends header "application/xml" wizard reports error - THIS IS OK When I am importin JSON and the application sends header "application/json" everythig is OK - THIS IS ALSO OK Here comes the bug: When I am creating new connection profile (REST), I choose JSON and application sends header "application/xml" wizard accepts this - BUG When I am creating new connection profile (REST), I choose JSON and application sends header "application/json" wizard reports error - BUG I hope I didn't mess it up... Tested with latest TD - 9.0.1.Final
Created attachment 988140 [details] Log file - after clicking "Test connection" in Connection profile wizard Log file - after clicking "Test connection" in Connection profile wizard for JSON WS see -> header=accept=application/xml
Created attachment 988141 [details] Log file - after selecting profile in Import wizard Log file - after selecting profile in Import wizard see -> header=accept=application/json
verified on JBDSIS 8.0.0.CR2
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2359 to Closed
verified with TD 8.6.1.CR1