Question

Quelqu'un a-t-il rencontré cela?En gros, je suis passé du jre SUN à celui d'IBM et la compilation échoue car wsdl2java n'a pas compilé les méthodes setter nécessaires.

Merci d'avance.

Était-ce utile?

La solution

Utilisez-vous jaxb?

Le code généré contient-il quelque chose comme ça?

/**
     * 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>

Autres conseils

Il y a un rapport de bogue à ce sujet dans le système des problèmes Axis2, ouvert après que vous ayez posé votre question.Voir https://issues.apache.org/jira/browse/AXIS2-4968.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top