web services - Generic based WebService -
i esb solution, want use generic based webservice. can definition, generate needed classes, service exists, wsdl deficient. missing "generic part", part defined generic type.
the ancestor:
@xmlaccessortype(xmlaccesstype.field) @xmltype(proporder = { "header", "body" }) public abstract class wsrequest<t> { protected requestheader header; protected t body; public requestheader getheader() { return header; } public void setheader(requestheader header) { this.header = header; } public t getbody() { return body; } public void setbody(t body) { this.body = body; }
}
and descendant:
public class partnerrequest extends wsrequest<partnerdata> { }
the service work correctly, generated wsdl doesn't contain partnerdata structure. i'm new in ws part, real possibility impossible. please me solve problem (or reject idea)
thx! feri
so, problem that, base xsd complex. (i generated xml, , th generator program made elegant xsd, unusable! :-( ) complex mean:
.... <xs:element ref="ugyfelkod"/> ... <xs:element name="ugyfelkod" type="xs:ncname"/> ...
Comments
Post a Comment