web services - XJC undefined 'soapenc:Array' (Java) -
i've been tasked integrate 3rd party web service. in wsdl, declare arrays follows:
<?xml version="1.0"?> <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/xmlschema" name="itranseazsvcservice" targetnamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns1="urn:landairsvcintf"> <types> <schema xmlns="http://www.w3.org/2001/xmlschema" targetnamespace="urn:landairsvcintf"> ... <complextype name="customitemarray"> <complexcontent> <restriction base="soapenc:array"> <sequence/> <attribute xmlns:n1="http://schemas.xmlsoap.org/wsdl/" ref="soapenc:arraytype" n1:arraytype="ns1:customitemrecord[]"/> </restriction> </complexcontent> </complextype> ...
when run xjc generate code integrate web service, following error message:
[error] undefined simple or complex type 'soapenc:array'
and
[error] undefined attribute 'soapenc:arraytype'
what need in order generate the proper code integrate service? use java.
Comments
Post a Comment