JBoss Community

JBoss4.0.5 SOAP web-services / binding mechanism

created by Alessandro Behling in JBoss Web Services - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community