1 Reply Latest reply on Jan 2, 2007 8:29 AM by pkovgan

    JSR 181 and Arrays. WSDL generated during deploy. How to map

    pkovgan


      I have jsr 181 pojo webservice. I deploy it on JBOSS 4.0.4.GA and wsdl has been generated during deploy.

      String[] type appeares as XSD:NMTOKENS type in WSDL.

      How can I influence jboss to generate me WSDL with sequence type instead nmtokens during deployment?

      If it is impossible, then: how can I generate needed WSDL offline?
      The condition: I need jsr181 annotations to be working during such generation.
      Unfortunately if I try to generate WSDL offline using jbossws, annotations do not influence WSDL at all! What is wrong?


      Thanks a lot!!


        • 1. Re: JSR 181 and Arrays. WSDL generated during deploy. How to
          pkovgan

          I have workaround for the first problem:
          Simple wrapper, wrapping string array helps a lot:

          This complex object produces exact what I need in WSDL: sequence of strings.


          The second problem: how to enforce jbossws tool to consider jsr 181 annotations and produce WSDL that consider @WebParam and @WebResult remains unsolved.
          I mean off-line generation of WSDL and mapping file.

          Could someone help?

          Thanks.