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

Thread: Java/WSDL handeling Arrays in SM tables

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

    Default Java/WSDL handeling Arrays in SM tables

    Next day next problem. I have some problems with the handeling of Arrays in SM tabels. I use Netbeans to generate JAXB Bindings and when i add fields that belong to an upper Array the generated code helds Errors in *KeyType and i have no idea how to fix them. Did someone know this problem and have a solution or some tutorials of handeling SM Arrays with Java/WSDL ?

  2. #2
    Senior Member
    Join Date
    Apr 2007
    Posts
    160

    Default

    So do you mean arrays coming in to SM7 via WSDL or going out?

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

    Default

    I mean Arrays going out from SM7 via WSDL to Java.

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

    Default

    Ok, first steps are made. I fixed the errors and generated a runable version with JAX-WS. My problem now is, that all fields which are not in the SM Array work fine, but the fields of the Array/Structure don't work. I try to read the table "format" out of SM 7.10. Someone how has a example or some tips how to handle SM Array with Java ?

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

    Default

    The Solution was to rename the underclass field, because the Array and the Structure of the format table both named "field". Java can't handle this with XMLAnnotations and the class field in the class field. I renamed the underclass field and made the changes to FormatKeyTypes.java , ObjectFactory.java and Structure.java to get it working

  6. #6
    Senior Member
    Join Date
    Apr 2007
    Posts
    160

    Default

    Blimey mate, well done

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

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