2 Replies Latest reply on Jul 29, 2005 4:10 AM by thomas.diesler

    Help please!Problem with complex types.

    christy

      HI,

      I want to generate a WSDL file and I use wscompile, but in my intrface I there is a type HashTable and so wscompile can't generate the WSDL. So, I decided to write xml sheme, that will describe this type. How can I use wscompile with xml sheme to generate WSDL file?
      Thank you!

        • 1. Re: Help please!Problem with complex types.

          Hi Christy,

          Ya, I'm having a similiar problem. I found the answer here:
          http://www.jboss.com/index.html?module=bb&op=viewtopic&t=61739

          Quote:
          "JAX-RPC 1.1 does not support collections, so you have to use arrays.
          The future specification addresses this."

          I suppose that this means your soap interface will look somewhat different from other external interfaces that you might be using (ie. RMI) and would require converting the incoming data to your actual type once the rpc call has been made. Anyone with more WS experience care to share on this? Any other ways to deal with this?

          Regards,

          Mark

          • 2. Re: Help please!Problem with complex types.
            thomas.diesler

            The way that guaranties interoperability is to use arrays. It maybe possible to use maps, collections with some java soap stacks, but you will never be sure that the world can actually talk to your endpoint.

            JBoss WS4EE does not support collections nor maps.