on 10-15-2007 5:08 PM
I have an EJB that exposes a few business methods. I've also created an unauthenticated web service that exposes a couple of the business methods. This all works fine, and has been deployed to another runtime environment.
I've now made some changes to one of the underlying structures that is returned by the EJB. How do I update the web service to now return the new structure? The genereated wsdl does not contain the new updated structure, so I can't get at the new values I've added to the structure. I understand that changing a structure that is currently being used by a web service is not the best thing to do, but in this case I'm ok since the web service it not yet being used.
I've tried dropping the wsdl and re-creating it from scratch, but then I get the message 'item not described in the schema' - since the EJB, structure, and Web Service are all in the same EAR, how can this be possible? It's almost as if the VI isn't being updated correctly.
I'm on NW2004s/sp10.
Suggestions?
Thanks guys.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you have to delete VI and recreate WS again.
Please build and deploy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ken,
Even I have faced similar problem in the past. The sure way to change schema in WebService is create VI again and re-redploy the web service.
Hope it works
Regards
Smruti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.