0 Replies Latest reply on Dec 2, 2008 11:31 AM by ravitas

    JBWS WSDL long array parameter

    ravitas

      Hi All,

      I ahve just downloaded jbossws-native-2.0.3.GA ant deployed it, i order to allow authentication at Webservices with @WebContext annotation.

      I could see the the WSDL is now published differently then before, however I was able to work with it and to perform teh authentication succesfully.

      My problem is when one of the Webmethod parameter is native array(long [] or int []), it is published on teh client side as array that allows null values.

      I am using .net client as before.

      The WSDL looks like that:
      ----------------------------------
      <xs:complexType final="#all" name="longArray">
      - <xs:sequence>
      <xs:element maxOccurs="unbounded" minOccurs="0" name="item" nillable="true" type="xs:long" />
      </xs:sequence>
      </xs:complexType>
      </xs:schema>
      .....



      ...

      How do I change it to forbid null values, as it was before using jbossws?

      In addition, Does anyone have step by step implementation of ws authentication?

      Thanks in advance.