Hi,
i have a little problem with the connection between HP SM generated WSDL files and Java.
Current Versions SM 7.10, JDK 6 and Netbeans 6.8.
I am able to get a list of all entries in the format table about KeyList and List functions over the WSDL File, but i cant handle dates if the not like 16.12.2010. Some fields in my dump are like 16/12/2010 and produce the following error:
If i change the type of the fields in the SM WSDL Configurator to "Time", "Date" and "DateTime" same Error at the same position of the list. If i change the type to "String" in SM WSDL Configurator everything works.Code:javax.xml.ws.soap.SOAPFaultException: A CXmlApiException was raised in native code : error 41 : scxmlapi(41) - The data in the 'last.update' field of record en - edit.array of file format contains data that does not conform to the SOA datatype in datadict ERROR: A CXmlApiException was raised in native code : error 41 : scxmlapi(41) - The data in the 'last.update' field of record en - edit.array of file format contains data that does not conform to the SOA datatype in datadict at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy33.retrieveformatList(Unknown Source) at cfdoku2.format.formatList2(format.java:118) at cfdoku2.Main.main(Main.java:13)
Where is my mistake, or do i have to accept the date in "StringType"?
Sorry for the worse english and the maybe not so good explanation of my problem.![]()


Reply With Quote

Bookmarks