NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
wong
Joined: 28 Jan 2009 Posts: 3
|
Posted: Wed Jan 28, 2009 5:59 pm Post subject: operation is fixed after service wizard creation? |
|
|
Hello,
I use Web service wizard to create new web service operation. for instance, it reates following code:
/**
* Web service operation
*/
@WebMethod(operationName = "operation")
public Person operation(@WebParam(name = "p")
Person p, @WebParam(name = "s1")
String s1, @WebParam(name = "o1")
Object o1, @WebParam(name = "o2")
Object o2) { ....
if I change any input variable manually, for example:
String s1 @WebParam(name = "s1") --> Person s1 @WebParam(name = "s1")
then I got error with deployment (after clean and build). The Web service Test wizard does not work for the service anymore.
Is that operation is fixed after wizard creation?
Thank you. |
|
| Back to top |
|
 |
wong
Joined: 28 Jan 2009 Posts: 3
|
Posted: Thu Jan 29, 2009 1:56 pm Post subject: |
|
|
Finally I sloved this problem.
Because of I have second web service in same package with same operation name, the automantic gencreated complexTypes (operationIn, operationOut) for two services have collision. But the netbean does not give any warning. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|