Has anyone come across this? Basically I switched from the SUN jre to IBM's and compilation fails due to wsdl2java not having compiled the necessary setter methods.

Thanks in advance.

有帮助吗?

解决方案

Are you using jaxb?

Does the generated code have anything like this in it?

/**
     * Gets the value of the parameter property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the parameter property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getParameter().add(newItem);
     * </pre>

其他提示

There's a bug report on this in the Axis2 issues system, opened after you asked your question. See https://issues.apache.org/jira/browse/AXIS2-4968.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top