Java 使用wscompile创建jax-rpc存根有困难
我正在尝试使用wscompile为以下Web服务(使用SOAP协议的基于云的WCF)创建方法存根。当我运行命令时Java 使用wscompile创建jax-rpc存根有困难,java,wcf,web-services,java-me,Java,Wcf,Web Services,Java Me,我正在尝试使用wscompile为以下Web服务(使用SOAP协议的基于云的WCF)创建方法存根。当我运行命令时 wscompile -gen -cldc1.1 config.xml 我得到以下错误 error: Found unknown simple type: byte[] error: Found unknown simple type: byte[] info: Types were processed that are not supported by CLDC 1.0. erro
wscompile -gen -cldc1.1 config.xml
我得到以下错误
error: Found unknown simple type: byte[]
error: Found unknown simple type: byte[]
info: Types were processed that are not supported by CLDC 1.0.
error: Found unknown simple type: byte[]
error: Found unknown simple type: byte[]
error: Found unknown simple type: byte[]
你知道怎么做吗?
我查看了Web服务的xsd,下面是一个片段
<xs:element name="Enroll">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="classId" nillable="true" type="q1:BiometricClassID"/>
<xs:element minOccurs="0" name="samples" nillable="true" type="q2:ArrayOfSample"/>
<xs:element minOccurs="0" name="flags" type="q3:EnrollmentFlags"/>
</xs:sequence>
</xs:complexType>
</xs:element>
我猜是type=“q………”属性导致了这些问题