1 Reply Latest reply on Sep 16, 2014 5:18 AM by Alessio Soldano

    wsprovide.sh support address arguement and ant task WSProvideTask does not

    Jim Latsko Newbie

      Command Line

      wsprovide.sh -o generated -w -c /home/jlatsko/Workspaces/JimsSpace/addressParser/build/classes/:/home/jlatsko/temp/core.root.dir/dist/coreUtils.jar -a http://localhost/addressParser/AddressParserService com.intrado.address.AddressParserInterface

      Could not find log4j.xml configuration, logging to console.

       

      java2ws -s /home/jlatsko/Workspaces/JimsSpace/addressParser/generated -classdir /home/jlatsko/Workspaces/JimsSpace/addressParser/generated -d /home/jlatsko/Workspaces/JimsSpace/addressParser/generated -verbose -wsdl -address http://localhost/addressParser/AddressParserService -cp /home/jlatsko/Workspaces/JimsSpace/addressParser/build/classes/:/home/jlatsko/temp/core.root.dir/dist/coreUtils.jar: -wrapperbean -createxsdimports com.intrado.address.AddressParserInterface

      java2ws - Apache CXF 2.7.11

       

      From Ant Script

      [jlatsko:addressParser]> ant -f build-jboss.xml compile

      Buildfile: build-jboss.xml

       

      compile:

       

      BUILD FAILED

      /home/jlatsko/Workspaces/JimsSpace/addressParser/build-jboss.xml:153: The <wsprovide> type doesn't support the "address" attribute.

       

      The actual wsprovide task implemented in the build-jboss.xml file

          <wsprovide fork="true" keep="true" verbose="true" genwsdl="true"
                  destdir="${build.dir}" 
                  resourcedestdir="${build.dir}/wsdl" 
                  sourcedestdir="${build.dir}/gen-source" 
                  address="http://localhost:8080/addressParser/AddressParserService"
                  sei="com.intrado.address.AddressParserInterface">
                  <classpath>
                          <pathelement path="${build.dir}/classes"/>
                          <pathelement location="${core.dist.dir}/coreUtils.jar" />
                  </classpath>
          </wsprovide>