You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Salama, Roberto" <ro...@gs.com> on 2003/06/21 18:45:19 UTC

Re: HELP: in wsdl is not the same as tag in wsdd

Mike:

thanks for your suggestion! Turns out that setting serviceElementName has
been commentetd out in JavaProvider.java. Instead, you need to use alias:

>From JavaProvider.java (~line 441)

            // This seems like a good idea, but in fact isn't because the
            // emitter will figure out a reasonable name
(<classname>Service)
            // for the WSDL service element name.  We provide the 'alias'
            // setting to explicitly set this name. See bug 13262 for more
info.
            //emitter.setServiceElementName(serviceDesc.getName());

            // service alias may be provided if exact naming is required,
            // otherwise Axis will name it according to the implementing
class name
            String alias = (String)service.getOption("alias");
            if(alias != null) emitter.setServiceElementName(alias);


--
Disclosures applicable to research with respect to issuers, if any,
mentioned herein are available through your Goldman Sachs representative or
at  http://www.gs.com/research/hedge.html
<http://www.gs.com/research/hedge.html>