Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-746

ObjectType does not recognize arrays!!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Trunk
    • Trunk
    • framework
    • None
    • SUSE Linux 10.1 & MySQL 5.0.18

    Description

      We're using ByteArrays (byte[]) in our services:

      <service name="processImage" engine="simple" default-entity-name="Archivindex"
      location="ch/nowhow/isgate/archiv/ArchivServices.xml" invoke="processImage" export="true">
      <attribute name="image" type="byte[]" mode="IN" optional="false"></attribute>
      </service>

      Sending a SOAP envelope (from the generated WSDL) to the server, ofbiz
      could not find the byte array!!!!
      (Remind that a ByteArray is not supported by OfBiz WSDL!!! We're using Java2WSDL to generate a WSDL)

      Please forget first patch file (smaller one).
      This smaller patch doesn't solve the whole array problem.

      Attachments

        1. ObjectType.java
          56 kB
          Michael Imhof
        2. patch746.txt
          6 kB
          Michael Imhof
        3. patch746.txt
          1 kB
          Michael Imhof

        Issue Links

          Activity

            People

              Unassigned Unassigned
              immi Michael Imhof
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: