Question

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.

Was it helpful?

Solution

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>

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top