cancel
Showing results for 
Search instead for 
Did you mean: 

How do I update web service structures?

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks guys.

Former Member
0 Kudos

you have to delete VI and recreate WS again.

Please build and deploy

Former Member
0 Kudos

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