Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 4 of 4

Thread: Java/WSDL List ERROR: data does not conform to the SOA datatype in datadict

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Location
    Frankfurt
    Posts
    21

    Talking Java/WSDL List ERROR: data does not conform to the SOA datatype in datadict

    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:

    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)
    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.

    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.

  2. #2
    Junior Member
    Join Date
    Oct 2009
    Posts
    9

    Default

    Hi,


    Do you wanna say 'DateTimeType'? I've used DateTime fields and in my extaccess record I put the 'DateTimeType'.

  3. #3
    Junior Member
    Join Date
    Mar 2010
    Location
    Frankfurt
    Posts
    21

    Default

    Hi,

    yes i mean "DateTimeType", but with all the "Time" Types the communication don't work. Only with "StringType" i get the content out of SM into my Java Objects.

  4. #4
    Junior Member
    Join Date
    Mar 2010
    Location
    Frankfurt
    Posts
    21

    Default

    At the moment, the best workarround is to accept the "StringType". It is no real problem, because you can easily handle the Strings in your own programm. Maybe it's good to handle the data out of the Service Manager like this, to get a "standard" if problems like this are more common in the Service Manager.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts