web services - WSDL to java fails to convert -
i've tried of generators , they've failed convert this wsdl java classes.
apache axis: {http://www.maaamet.ee/}featurenametype referenced not defined.
soapui, jbossws , wsimport: 'kujugeomeetriatype' defined
this public wsdl changing not option, since it's public , in every day use must valid. found online service http://easywsdl.com/ able convert wsdl java, costs convert (free version creates kind of crap , uses library don't want include ksoap2-android)
since not know wsdl-s have idea how fix conversion issue?
since it's public , in every day use must valid.
no, it’s not. internet has tons of crap on it. obviously, tool somewhere engaging in xsd version of “quirks mode,” browser entering quirks mode accept invalid html not make html valid, schema not valid regardless of existence of sloppy tools allow it. difference xml designed base precise syntax , structure in order eliminate mistakes.
both http://www.maaamet.ee/schemas/xteenused/aadress_types.xsd , http://www.maaamet.ee/schemas/xteenused/maa_types.xsd indirectly imported, , both define kujugeomeetriatype
in "http://www.maaamet.ee/" namespace. violation of xsd specification, states “no complex type definition can have same name simple or complex type definition.”
any other tools accept broken schema broken , wrong accepting invalid input. realize asking owner of schemas fix them accomplish nothing, should held accountable same.
in terms of practical solution, download of schemas (and schemas reference, recursively), , make necessary fixes local copies. include , make use of of fixed versions in application’s .jar. not need remove duplicate definitions, need alter schemalocation
attributes in <include>
, <import>
elements refer relative urls (and schemas inside .jar).
Comments
Post a Comment