KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a method inside a webservice, with the following signature: @WebResult(name="purchaseId") public int CreatePurchase( @XmlElement(required=true) @WebParam(name = "item") String item { ... } It seems to me (based on what information i've found) that this should work. Unfortunately, I get the following error message on compilation: The annotation @XmlElement is disallowed for this location Does anyone know how to resolve the issue?
Tags (comma-separated)
Save Edits
Cancel