Then, what about using maven filtering mechanism ?
I've blogged about that some time ago: see
  http://gnodet.blogspot.com/2007/03/using-maven-to-switch-runtime.html
You must ensure that the filtering occurs before wsdlgen ...

Cheers,
Guillaume Nodet


On Aug 22, 2007, at 10:48 AM, Michal wrote:


Thanks for the idea.
However, It won't help.

First it will break wsgen task.
Second, It cannot help beacuase in this case method updateDescription would compare explicitservicename with NULL - for sure it returns false and the
exception will be thrown anyway.

Michal



gnodet wrote:

You may try to not set the service / endpoint in the wsdl and set
them on the <jsr181:endpoint/> configuration instead.

Cheers,
Guillaume Nodet

On Aug 22, 2007, at 10:02 AM, Michal wrote:


--
View this message in context: http://www.nabble.com/jsr181- endpoint---overriding-service-name-that-comes-from-wsdl- tf4310068s12049.html#a12270506
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Reply via email to