Greetings,

I'm trying to map my namespaces to packages through
'namespacemappingfile' attribute in axis-wsdl2java element, for the
generation of java files.

I defined a the following src/etc/wsdl/NStoPkg.properties (below):

pt.ptinovacao.nginpro.interfaces.service=http://www.ptinovacao.pt/nginpro/interfaces/wsdl
 
pt.ptinovacao.nginpro.interfaces.service=http://www.ptinovacao.pt/nginpro/interfaces/types

And my task is defined as below:

<axis-wsdl2java
        output="${dest}"
        verbose="true"
        deployscope="${scope}"
        url="${wsdl}"
        namespacemappingfile="src/etc/wsdl/NStoPkg.properties"
        >
        <!--
        <mappingset>
            <mapping
             
namespace="http://www.ptinovacao.pt/nginpro/interfaces/wsdl";
                package="pt.ptinovacao.nginpro.interfaces.service" />
            <mapping
               
namespace="http://www.ptinovacao.pt/nginpro/interfaces/types";
                package="pt.ptinovacao.nginpro.interfaces.service" />
          
        </mappingset>
        -->

    </axis-wsdl2java>

The commented mappingset element works but isn't flexible. I would like
to use the properties file, but until know with no success.

Any help would be appreciated.

thanks,
Pedro Salazar.
-- 
PS
[EMAIL PROTECTED]
PGP:0E129E31D803BC61

Reply via email to