1
WSDL的部分:当wsdl文件生成时如何获取字节数组?
<complexType name="Example">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="base64bytes" type="xsd:byte"/>
<element name="fileName" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
后一代与JAXWS-Maven的插件intellijIDEA:
@XmlElement(name = "base64bytes", type = Byte.class)
protected List<Byte> base64Bytes;
我应该如何改变我的WSDL文件或WS,我得到的字节数组,而不是字节的名单后,世代?
使用本次交易对其进行修改 @XmlElement(name =“base64bytes”) protected List base64Bytes; –
Porty
我认为你不需要maxOccurs =“unbounded”属性,你应该删除它。 – user6904265
感谢你的工作!) – Porty