How to build Java from WSDL that uses existing XSD types -
How to build Java from WSDL that uses existing XSD types -
i'm trying create new web service uses existing types. types defined in existing xsd received, along matching jar file, 3rd party. if import xsd wsdl , build java (using wsconsume), existing types built. since have jar contains these java types, don't want generate them again.
as fallback alternative can have ant delete these redundant files, i'd rather find way not generate them in first place.
any suggestions?
my suggestion utilize spring webservices should help such implementation, it:
has principle of contract first contract rather xsd wsdl allows write@endpoint
class methods annotated e.g. @payloadroot
, using parameters of types jar you've got allows generate wsdl <sws:dynamic-wsdl />
if jar you've got has classes jaxb annotations can utilize jaxb directly, if not - can alway utilize other binding technologies.
java xsd wsdl
Comments
Post a Comment