Hi,
I try to call the chart service with java, but get invalid child element error. I have implemented the java client using the C# example and comparing to the xml request I see in the API page (https://www.trkd.thomsonreuters.com/SupportSite/TestApi/Op?svc=Charts_1&op=GetChart_2).
Please find the attached TR-request from the api page (getchart-request-2-troriginal.txt) and the request generated from our java-client (trchartrequest-bwside.txt). The error that appears is as follows:
de.byteworx.reuters.model.charts.ICharts1ICharts1HttpsAndRKDTokenGetChart2ClientErrorReferenceFaultMessage: The element 'StandardTemplate' in namespace 'http://metastock.com/imageserver/financial' has invalid child element 'ShowNonTradedPeriods' in namespace 'http://metastock.com/imageserver/financial'. List of possible elements expected: 'YAxisTitles' in namespace 'http://metastock.com/imageserver/financial'. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:135) at com.sun.xml.internal.ws.client.sei.StubHandler.readResponse(StubHandler.java:238) at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:189) at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:276) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:104) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77) at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147) at com.sun.proxy.$Proxy356.getChart2(Unknown Source)
Please have a look and give me any hints.
Thanks,