Page 1 of 1

Task Type metadata access

Posted: Wed Apr 05, 2017 11:08 pm
by Byron Glueck
Is it possible to programmatically access/modify modeled Task Type metadata?

For example: Given a (com.whitestein.lsps.wsclient.task.WsSoapCall) Task Type generated from a WSDL, can its EndpointAddress metadata value be modified at runtime? This is needed in order to configure a web service task method endpoint address, in the event that the service address is changed post-deployment.

Re: Task Type metadata access

Posted: Fri Apr 07, 2017 11:59 am
by Roman Kubascik
Hi Byron,

metadata cannot be changed, but in certain cases they can be overriden.
In your case, when you generate webservice TaskType, you should activate the checkbox to generate property to customize endpointAddress. Then you can modify it dynamically.

Regards,
Roman