Hi all,

 

This is regarding the resourceadmin service that is the part of
enterprise example(that comes along with muse) . Enterprise application
has already provided the generated java code for resourceadmin.xml and
the generated  jar called resourceadmin-xbeans.jar which contains the
following package:

 

1)       org.apache.ws.muse.example.resourceadmin

2)       org.apache.ws.muse.example.resourceadmin.impl

3)       org.apache.ws.muse.example.resourceadmin.properties

4)       org.apache.ws.muse.example.resourceadmin.properties.impl

5)       org.apache.ws.namespaces.muse.muwsExt1

6)       org.apache.ws.namespaces.muse.muwsExt1.impl

 

But if I try to generate the java code from  the resourceadmin.wsdl then
the created  resourceadmin-xbeans.jar does not create the last two
highlighted packages ie  the following packages are missing : 

1) org.apache.ws.namespaces.muse.muwsExt1

2) org.apache.ws.namespaces.muse.muwsExt1.impl

 

I used the genearate code given in the build.xml to do so. The code is
shown below...

 

<target name="generate"

              depends="init"

              description="generate service classes and XMLBeans types
for the source WSDLs...Note this has already been done and claases have
been implemented.">      

              

        <!-- the wsdls imports xsd located at schemaLocation="../wsdl/
to accomodate this temp dir name is wsdl -->

        

        <property name="tmp.dir" location="${muse.webapp.dir}/wsdl" />

        <mkdir dir="${tmp.dir}" />

        <copy todir="${tmp.dir}" overwrite="true">

        <fileset dir="${wsdl.dir}">

           <include name="**/*"/>

        </fileset>

        </copy>

        <mkdir dir="${muse.webapp.dir}/wsdl" />

                

        <taskdef name="wsdl2Java"
classname="org.apache.ws.muws.tool.MuwsWsdl2JavaTask"
classpath="${muse.classpath}" />              

        

        <wsdl2Java outputDir="${out.dir}"

                   classpath="${muse.classpath}"

                   debug="off"

                   proxyHost="${http.proxyHost}"

                   proxyPort="${http.proxyPort}"

                   nonProxyHosts="${http.nonProxyHosts}">

          <wsdls dir="${tmp.dir}">

            <include name="**/*.wsdl" />       

          </wsdls>

        </wsdl2Java>

             

        <delete dir="${tmp.dir}" />

                  

   </target> 

    

  Please guide me to what I might be missing .. ?? 

   

 

  

Reply via email to