0 Replies Latest reply on Nov 12, 2010 6:10 AM by Alessandro Behling

    JBoss4.0.5 SOAP web-services / binding mechanism

    Alessandro Behling Newbie

      Hi there,

       

      I've written and deployed a simple service under the above mentioned JBoss installation, but I am not clear at this point in time which binding mechanism it uses, I have my model annotated following JAXB2, having also written a small client which outputs the XML which comes out as expected, but when I call the service, the SOAP msg contains a completely different XML format, i.e it doesn't follow the order of the fields I have set using the @XmlType annotation, i.e.

       

      @XmlType(name = "GetAccountsResponse", propOrder = {
          "requestId",
          "memberName",
          "businessUserMemberName",
          "customerType",
          "emailAddress",
          "mobileNumber",
          "smsAuthentication",
          "accounts"
      })

      @XmlType(name = "GetResponse", propOrder = {

          "requestId",

          "memberName",

          "businessUserMemberName",

          "customerType",

          "emailAddress",

          "mobileNumber",

          "smsAuthentication",

          "accounts"

      })

       

      Am I missing something here? Can anyone shed some light on this please?

      Any help is greatly appreciated,

       

      a