Ant problems

i use ant to deploy projects to server:
adding properties file (with correct values) to ant build file,
then starting ant script - it reports me, that everytjing is ok and
ptoject is on server - but thereis no any deployed projects.
If I deploy project from server - everything is ok.
i've reinstalled jdev - and i've got same problem
Message was edited by:
kpb

it is apsolutly default :
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="bpel.deploy" default="deploy" basedir=".">
<!--
This ant build file was generated by JDev to deploy the BPEL process.
DONOT EDIT THIS JDEV GENERATED FILE. Any customization should be done
in default target in user created pre-build.xml or post-build.xml
-->
<property name="process.dir" value="${basedir}"/>
<!-- Set BPEL process name -->
<xmlproperty file="${process.dir}/bpel/bpel.xml"/>
<property name="process.name" value="${BPELSuitcase.BPELProcess(id)}"/>
<property environment="env"/>
<!-- Set bpel.home from developer prompt's environment variable BPEL_HOME -->
<condition property="bpel.home" value="${env.BPEL_HOME}">
<available file="${env.BPEL_HOME}/utilities/ant-orabpel.xml"/>
</condition>
<!-- If bpel.home is not yet using env.BPEL_HOME, set it for JDev -->
<property name="bpel.home" value="${oracle.home}/integration/bpel"/>
<!-- First override from build.properties in process.dir, if available -->
<property file="${process.dir}/build.properties"/>
<!-- import custom ant tasks for the BPEL PM -->
<import file="${bpel.home}/utilities/ant-orabpel.xml"/>
<!-- Use deployment related default properties -->
<property file="${bpel.home}/utilities/ant-orabpel.properties"/>
<!--=============================-->
<!-- default "deploy" target -->
<!--=============================-->
<target name="deploy" depends="pre-build, process-deploy, post-build" />
<!--=============================-->
<!-- Process deployment targets -->
<!--=============================-->
<target name="process-deploy"
depends="validateTask, compile, deployProcess, deployTaskForm, deployDecisionServices" />
<target name="validateTask">
<echo>
| Validating workflow
</echo>
<validateTask dir="${process.dir}/bpel" />
</target>
<target name="compile">
<echo>
| Compiling bpel process ${process.name}, revision ${rev}
</echo>
<bpelc input="${process.dir}/bpel/bpel.xml" out="${process.dir}/output"
rev="${rev}" home="${bpel.home}"/>
</target>
<target name="deployProcess">
<echo>
| Deploying bpel process ${process.name} on ${http.hostname}, port ${http.port}
</echo>
<deployProcess
user="${admin.user}" password="${admin.password}"
domain="${domain}" process="${process.name}"
rev="${rev}" dir="${process.dir}/output"
hostname="${http.hostname}" httpport="${http.port}"
verbose="${verbose}"
/>
</target>
<target name="deployTaskForm" >
<echo>
| Deploying workflow form for ${process.name} on ${j2ee.hostname}, port ${http.port}
</echo>
<deployTaskForm
platform="${platform}" dir="${process.dir}/public_html"
domain="${domain}" process="${process.name}" rev="${rev}"
user="${admin.user}" password="${admin.password}"
hostname="${j2ee.hostname}" cluster="${cluster}"
rmiport="${rmi.port}" opmnrequestport="${opmn.requestport}"
oc4jinstancename="${oc4jinstancename}"
asinstancename="${asinstancename}" verbose="${verbose}"
/>
</target>
<target name="deployDecisionServices" >
<echo>
| Deploying decision services for ${process.name} on ${j2ee.hostname}, port ${http.port}
</echo>
<deployDecisionServices
platform="${platform}" dir="${process.dir}/decisionservices"
domain="${domain}" process="${process.name}" rev="${rev}"
user="${admin.user}" password="${admin.password}"
hostname="${j2ee.hostname}" httpport="${http.port}"
     cluster="${cluster}" rmiport="${rmi.port}"
opmnrequestport="${opmn.requestport}" oc4jinstancename="${oc4jinstancename}"
asinstancename="${asinstancename}" verbose="${verbose}"
/>
</target>
<!--=============================-->
<!-- BPEL Test targets -->
<!--=============================-->
<target name="test" depends="deployTestSuites, bpelTest, report" />
<target name="prepareTests">
<echo>
| Preparing BPEL tests for deployment
</echo>
<delete file="${process.dir}/output/bpeltest.zip" quiet="true"/>
<zip basedir="${process.dir}/bpel/testsuites" filesonly="true"
excludes="test_suites.xml, **/excludes/*"
destfile="${process.dir}/output/bpeltest.zip"/>
</target>
<target name="deployTestSuites" depends="prepareTests">
<echo>
| Deploying bpel tests ${process.name} on ${http.hostname}, port ${http.port}
</echo>
<deployTestSuites
user="${admin.user}" password="${admin.password}"
hostname="${http.hostname}" httpport="${http.port}"
domain="${domain}" process="${process.name}"
rev="${rev}" testfile="${process.dir}/output/bpeltest.zip"
verbose="${verbose}"
/>
</target>
<!-- "bpeltest" target runs deployed testsuites of a BPEL process -->
<target name="bpelTest">
<echo>
| Executing process ${process.name}(v.${rev}): minCoverage=${bpeltest.minCoverage}, timeout=${bpeltest.timeout} sec, numWorkers=${bpeltest.numWorkers}
</echo>
<delete dir="${bpeltest.results.dir}/xml/${process.name}" quiet="true"/>
<bpeltest
user="${admin.user}" password="${admin.password}"
hostname="${http.hostname}" httpport="${http.port}"
domain="${domain}" process="${process.name}"
rev="${rev}" name="${process.name}Tests"
timeout="${bpeltest.timeout}"
numWorkers="${bpeltest.numWorkers}"
minCoverage="${bpeltest.minCoverage}"
callHandler="${bpeltest.callHandler}"
context="${bpel.context.properties}"
resultsDir="${bpeltest.results.dir}/xml/${process.name}"
resultsPropertyFile="${bpeltest.results.dir}/${process.name}.properties"
verbose="${verbose}"
/>
<property file="${bpeltest.results.dir}/${process.name}.properties"/>
<echo>
Executed ${test.total.count} test(s) for ${process.name} (v.${rev}) with ${test.failure.count} failure(s)
</echo>
</target>
<!-- "report" target creates JUnitReport for testsuites run by bpeltest. -->
<target name="report">
<echo>
Creating BPELTest JUnitReport at ${bpeltest.results.dir}${file.separator}html${file.separator}index.html
</echo>
<mkdir dir="${bpeltest.results.dir}/xml"/>
<junitreport todir="${bpeltest.results.dir}/xml">
<fileset dir="${bpeltest.results.dir}/xml">
<include name="*/TEST-*.xml" />
<include name="*/BPEL-*.xml" />
</fileset>
<report format="frames" todir="${bpeltest.results.dir}/html" />
</junitreport>
</target>
<!-- If pre-build.xml and post-build.xml exists, call its default target -->
<condition property="exists.pre-build.xml">
<available file="${process.dir}/pre-build.xml"/>
</condition>
<target name="pre-build" if="exists.pre-build.xml">
<ant antfile="${process.dir}/pre-build.xml" inheritAll="false"/>
</target>
<condition property="exists.post-build.xml">
<available file="${process.dir}/post-build.xml"/>
</condition>
<target name="post-build" if="exists.post-build.xml">
<ant antfile="${process.dir}/post-build.xml" inheritAll="false"/>
</target>
<!-- Convenience targets -->
<target name="deploy_test" depends="deploy, test"/>
</project>
Properties file:
domain=default
rev=1.0
admin.user=oc4jadmin
admin.password=*****
hostname=localhost
http.port=8888
rmi.port=12401
oc4jinstancename=home
asinstancename=
opmn.requestport=6003
platform=ias_10g
So everytjing is absolutly default
Message was edited by:
kpb

Similar Messages

  • N97 Bugs ant problems...

    Dear forum members...
    I have been used N97 RM505 for couple of months.
    I bought it brand new with 3 generations old fw.
    My problems with the phone started then! Very disappointing and embarrassing for Nokia, to be honest.
    Since I consider myself  "power user", I have never had smartphone  or  pocket PC so I could use it as phone or music player. I have always wanted to use phone as mobile computer so I aimed hi-tech products (7-8 years ago)  from manufacturers like HTC, HP...half year ago I fell in love with Nokia E71 smartphone, and that was my first Symbian powered gadget. I was very interested in how  "symbians" do it. And I was surprised how it worked. But, I wanted more. I gave E71 as present and decided to go for N97, flagship Nokia device.
    And then, problems started to show up...
    3 FW updates from that moment, and problems I have with this...device..do not disappear!
    Same things happen all over again!
    I read about particular issues and there are many of them, that's for sure.
    My problem is simple: I have all of them!
    Main camera works from time to time, after I answer the call I cant unlock the phone, freezes during boot sequence, left side of display in landscape mode dissapears, phone "kind of soft-restarts" every day or two and after that I have to reconfigure my email settings all over again, speed dial and favorite contacts lose pictures, contacts or group assigned ringtones mess up...
    Phone has to be rebooted using "battery-pulled-out" method at least 3 times a day!
    Tried everything: formatting, reinstalling device's FW, hard-resetting, FW upgrading...
    Every time I format memory or hard-reset the phone i hope that will be last time!
    But, nothing happens. Phone works well for a couple of hours. Phone call and it gets stuck, and i start all over again...when I come home.
    I work as industrial automation software developer and, believe me, i know what "faulty device" means.
    I know Nokia's origins, and I know that Finland is cradle of mobile communications, I have visited couple of companies in Finland that produce very reliable digital radio devices and I am familiar how professional they are up there...Every bug I have found in devices produced and developed in Finland was reported and problems were solved in couple of weeks or so! This does not fit in my experience with Nokia. E71 is outstanding device. I am sorry because I switched it for this "flagship phone" or, even worse, "mobile computer".
    Bottom line:
    Phone is not reliable, especially if you want to use it as multipurpose device!
    Calling this device  "Nokia flagship phone" is very wrong.
    I am gonna wait for couple of weeks for new FW since it is not still available for rm505 officially, and after that I'll do something bad with this phone.
    Technical support in my country is more than "unprofessional" and problem solving does not consist of turning off and turning on the phone or continuous reinstalling FW, as they do it.
    My Question: Anything similar happened to anybody, and what I should do?
    Thanks for advices. Forget technical support or local repair centre.
    Cheers!

    Yeah...
    Thanks for the tips, carman58. I have already managed to try all different combinations and procedures for getting my phone to work including your recommendations.
    As I told you before...after formatting E-drive, reinstalling phone software and hard resetting things went pretty well...until something happens. Week or two...day or two of heavy usage and I can't unlock device after phone call...Or main camera fails. Or, sometimes I just can't turn it on. White screen and stuff like that. 3-4 days before I decided to post on this forum I conducted procedure similar to the one recommended by carman58. I tried to conclude "critical amount of free space on C drive" that affects phone's stability. Phone works well (but I want it to work better than that) with 40-50 MB of free space on C drive. Anything below that level does not guarantee your phone will work well. Memory allocation may be the key...Not my job, just trying to conclude something logical.
    I am not fan of third party software that watches RAM or CPU usage...Bad experience with Windows mobile devices, but I'll try to see somehow  if there's not enough memory when s**t happen.
    And, yes...There are some apps that definitely do not free allocated memory after program is closed or even crashed. I am not going to name these apps, just want to know forum members experience with remote desktop management software compatible with N97. Hahaha!...In ths very moment I found out that my phone is not charging although it is connected to  the charger! Never mind...Maybe notification does not work.
    Is there Nokia's official explanation for problems with N97? They can't deny problems. I mean, if you are not heavy user, or power-user....whatever....maybe you won't have problems we are dealing with?
    And then, what's the point of 400MHz cpu clock, and great amount of RAM? It is there so we can watch video clips, take pictures, or surf the web? Yes but not all of that at the same time...
    Multitasking is what devices like N97 should eat for lunch, if you know what I mean. Memory management should not be like this...3rd party apps for monitoring and flushing RAM. No way.
    I know how hard it is to develop device that has all of these functions N97 has. So many hardware modules in such small housing, powered by such small power source...That's hell of a job!
    If it is true, then my device should still have "beta" somewhere around "N97". I am not going to mention how much money N97 costs...
    Bugs antS problems...

  • Deploying BPEL with Ant Problems

    Hi, I am trying to automate BPEL deployment using HP Deployment Manager, and need to learn how to use Ant to deploy our BPEL processes. I have setup a SOA Suite installation to play around with Ant, but I can't seem to get Ant to work from command line. I am able to deploy a sample process using JDev both by the Deploy option or with the Ant option, but I get errors when using command line.
    I navigated to the location of build.xml in a DOS prompt, ran ant, and get the following error:
    C:\JDeveloper\jdev\mywork\BPEL\HelloWorld\build.xml:27: Cannot find ${oracle.home}/integration/bpel/utilities/ant-orabpel.xml imported from C:\JDeveloper\jdev\mywork\BPEL\HelloWorld\build.xml
    I'm assuming this is because JDeveloper sets up it's own environment variables for running Ant within the IDE - what do I need to do to have it run in command line mode? The deployments will ultimately be run on RHEL4 - but for testing on windows do I need to set these to look like %ORACLE_HOME%, etc in build.xml?
    Any ideas?
    Thanks,
    Kevin

    Update: Problem solved by setting ORACLE_HOME and BPEL_HOME

  • Jwsdp and Ant problems

    Hi folks, I am having some problems with the JWSDP package.
    I have the fellows programs:
    - j2sdk at directory C:\j2sdk1.4.2
    - jwsdp at directory C:\jwsdp-1.1
    - ant at directory C:\jwsdp-1.1\jakarta-ant-1.5.1
    like the default installation of respective software.
    I set in my autoexec.bat file:
    - set JAVA_HOME=C:\j2sdk1.4.2
    - set JWSDP_HOME=C:\jwsdp-1.1
    - set ANT_HOME=C:\jwsdp-1.1\jakarta-ant-1.5.1
    When I try to execute the tomcat by the menu start/Prgrams/Jwsdp/start
    tomcat I receive a error message ("Out of Environment Space"), and to
    solve this I change the "memory settings" of my .bat (like at site www.moreservlets.com).
    After made this alteration the Tomcat execute normaly by the start menu,
    but don't execute by the prompt (C:>catalina start). I receive just the
    same message when I try execute without change the "memory settings".
    The another problem is, when I try execute the 'ant build' command on
    the prompt I receive the same message ("Out of Environment Space") and the message
    "ANT_HOME is set incorrectly or ant could be not located. Please set ANT_HOME".
    I waana know, why I receive this message if I just have set the environment variables?!!?
    and what I receive the message "Out of Environment Space"!??!
    Or even better, how I can setup the my programs at the jwsdp on Windows98SE?!!?
    thanks, any tip or advice is very welcome.

    Don't [url http://forum.java.sun.com/thread.jsp?forum=54&thread=410960]cross-post

  • Compiling Flex Apps With ANT Problem

    Hi guys,
    I thought i'd have a go at using ANT to compile my applications into a single war file that I could then use to deploy. So far so good, until I got to the last bit. Within the root of my application i have the actionscript source file and underneath that I have an assets folder where all my images and css files live. E.g. app_root/asrc/assets/stylesheets/default.css. Now the ant task i've used to succesfully compile everything else looks like this;
         <target name="mxcompile">
            <mxmlc
                file="${asrc}/Main.mxml"
                output="${dest}/Main.swf"
                actionscript-file-encoding="UTF-8"
                keep-generated-actionscript="true"
                incremental="true"
                context-root="SOSBetaAdmin"
                services="WEB-INF/flex/services-config.xml"
                allow-source-path-overlap="true">
                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                <source-path path-element="${FLEX_HOME}/frameworks"/>
                <source-path path-element="${asrc}/assets/stylesheets"/>
                <!-- List of SWC files or directories that contain SWC files. -->
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="../bundles/{locale}" />
                </compiler.library-path>
                <!-- include dependencies -->
                <compiler.library-path dir="." append="true">
                    <include name="libs" />           
                </compiler.library-path>
            </mxmlc>
        </target>
    However when i run it i get the following error;
    Error: Problem finding external stylesheet: assets/stylesheets/default.css
    Its there, its definately there and whats more Flex builder doesn't have a problem with it. So why does running the compiler as an ANT task cause this issue? Am I missing something?

    I think your problem is that you are missing another source-path tag.  Assuming your assets directory is immediately beneath directory asrc, you'll want to add the following line to your build.xml file:
    <source-path path-element="${asrc}"/>
    Hope that helps.
    Joe

  • Javadoc and ant problem

    Hi All,
    I have a problem running javadoc with ant. When I run javadoc from the command line it generates all documentation. From an ant task it gives me the following error:
    file:/usr/local/jakarta-tomcat-4.1.30/webapps/pb/WEB-INF/source/server/build.xml
    :28: Javadoc failed: java.io.IOException: No such file or directory
    at org.apache.tools.ant.taskdefs.Javadoc.execute() (/usr/lib/lib-org-apache-t
    ools-ant-1.5.2.so)
    at org.apache.tools.ant.Task.perform() (/usr/lib/lib-org-apache-tools-ant-1.5
    .2.so)
    at org.apache.tools.ant.Target.execute() (/usr/lib/lib-org-apache-tools-ant-1
    .5.2.so)
    can anyone gives me a hint what the problem might be ?
    Kind Regards,
    Marco Laponder
    mlr AT interchain DOT nl

    Hi,
    I would suggest there is a problem with the parameter in your XML file. So it would be best you could post the JavaDoc task here so everybody can analyze it for a possible error.
    So long.

  • Urgent: source2wsdd ant problem

    I can successfully use MOST Web Service ANT tasks from inside Eclipse IDE, by either
    putting the weblogic jars on the eclipse's ant classpath or by pointing Eclipse
    at D:\bea\weblogic81\server\bin for the ant home, but I cannot get source2wsdd
    to work when Eclipse invokes ant.
    This is the error :-
    [source2wsdd] source2wsdd: Cannot find doclet class weblogic.webservice.tools.ddgen.ServiceGen
    It works fine if I run from dos window, but run setenv.cmd first.
    Also I don't think I can use <java fork="true" as there isn't an equivalent command
    line version of source2wsdd
    Any assistance would be much appreciated, this has been driving me mad.
    I believe weblogic.webservice.tools.ddgen.ServiceGen class is in the webservices.jar
    like all the other ant task classes, but although webservices.jar seems to be
    on the classpath for all ant targets it still complains.
    Maybe it is something to do

    Pete: Per the conversation with the person at eclipse.org, this code is
    NOT being retrofitted to Eclipse 2.1.3. (Apparently the ant plugin was
    totally rewritten for Eclipse 3.)
    I asked about the stability of Eclipse 3 M2, and was told that the
    developer in question uses it all the time. I downloaded it, unzipped to
    a new directory (I'm paranoid about losing my 2.1.3 workspace), checked
    out the project from CVS, added the appropriate JAR files to the
    CLASSPATH used by the ANT task (weblogic.jar and webservices.jar) and it
    works as you would expect. I didn't even have to change my scripts.
    So far I have had zero problems with Eclipse 3 M2, and as a matter of
    fact have already gotten some good use out of the new editor and
    refactoring tools. (I'm sure there is a ton more stuff "under the hood",
    but haven't gotten a chance to explore the "what's new" files yet.)
    Wayne
    Pete wrote:
    Wayne,
    Can you tell me how you got this to work ?
    and will it work in Eclipse 2.1.3 ?
    many thanks
    Pete
    Wayne Holmes <[email protected]> wrote:
    Pete: Good news. Between myself, BEA and Eclipse we were able to get
    this working. I upgraded to Eclipse 3 M2 (available at eclipse.org) and
    I can do do the build from within Eclipse.
    Wayne
    Pete wrote:
    Hi Wayne,
    No I never managed to resolve this issue, we looked at it for quitea while, but
    in the end proceeded with a temporary workaround, where we in our antscript we
    run just the source2wsdd target as an EXEC invoking a .bat file whichjust runs
    the <source2wsdd> target outside of Eclipse.
    I was not really clear if this is a Weblogic or Eclipse issue, whatversion of
    Eclipse are you using, we were using 2.1.3rc, but did wonder is Eclipse3 would
    solve this ?
    Let me know if you raise a bea support case.
    Pete
    Wayne Holmes <[email protected]> wrote:
    My bad... pasted the wrong information in the previous message. Here
    is the correct debug output:
    generateCreateTransactionWebService:
    Adding reference: eclipse.progress.monitor -> org.eclipse.core.runtime.SubProgressMonitor@17af46e
    dropping C:\program files\Java\j2re1.4.2_04\lib\tools.jar from path
    as
    it doesn't exist
    [source2wsdd] classpath C:\bea\weblogic81\server\lib\webservices.jar;C:\bea\weblogic81\server\lib\ejbgen.jar;C:\bea\weblogic81\server\lib\wlutil.jar;C:\bea\weblogic81\server\lib\weblogic.jar;C:\program
    files\Java\j2re1.4.2_04\lib\tools.jar;C:\eclipsem2\eclipse\workspace\WeblogicWebservice\bin;C:\temp\java;C:\eclipsem2\eclipse\startup.jar
    [source2wsdd] source2wsdd: Cannot find doclet class weblogic.webservice.tools.ddgen.ServiceGen
    [source2wsdd] 1 error
    [source2wsdd] BUILD FAILED: file:c:/eclipsem2/eclipse/workspace/WeblogicWebservice/scripts/build.xml:40:
    javadoc execution failed
    Here is the ant task:
              <source2wsdd javaSource="${project_source}/com/qwest/qxg/webservices/CreateTransactionImpl.java"
                   typesInfo="${generated_java}/types.xml"
                   ddFile="${generated_ddfiles}/web-services.xml"
                   wsdlFile="${generated_ddfiles}/createTransaction.wsdl"
                   serviceURI="/CreateTransaction">
                   <classpath refid="classpath"/>
              </source2wsdd>
    As you can see from the debug output, webservices.jar is in the CLASSPATH.
    What I noticed (and can be seen from the previous message) is thateven
    though I put webservices.jar in the path for the Eclipse ant task,it
    isn't showing up in the debug output. Best I can tell, this behavior
    is unique to the "source2wsdd" task, as "autotype" and "clientgen"and
    "wspackage" seem to run fine.
    If I set the environment from a cmd.exe and run the ant directly from
    the command line then the task runs correctly.
    Wayne

  • EJB JAR building by ANT problem

    I have this task in my build file:
    [code]
    <target name="build"
         depends="compile">
            <ejbjar srcdir="$"
              descriptordir="META-INF"
              destdir="$"
              >
         </ejbjar>
    </target> 
    [/code]
    which is generating this error message:
    build:
          [ejbjar] Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer - dependent class not found: org/apache/bcel/classfile/ClassParser
          [ejbjar] BUILD FAILED: file:d:/my projects/MyApp/Bean/build.xml:82: SAXException while parsing 'ejb-j2ee-engine.xml'. This probably indicates badly-formed XML.  Details: Relative URI "ejb-j2ee-engine.dtd"; can not be resolved without a base URI.

    Well, for the time being this is my solution:
    [code]
    <target name="build"
         depends="compile">
       <zip destfile="${ant.project.name}.jar">
         <fileset dir="$" />
         <fileset dir="$"
                includes="META-INF/**"/>
       </zip>
    </target> 
    [/code]
    The resulting jar file has the same contents as the jar which is produced by the Netw. Dev. Studio

  • Apache-ant problem need it to complie freecol

    hallo i did just install apache-ant but when i try to run it i just get an error li'l post my log
    [root@archhost ~]# pacman -S apache-ant
    Targets: jdk-1_5_0_07-1 apache-ant-1.6.5-1
    Total Package Size:   16.7 MB
    Proceed with upgrade? [Y/n] y
    :: Retrieving packages from extra...
    jdk-1_5_0_07-1           [################] 100%   14536K    75.2K/s  00:03:13
    apache-ant-1.6.5-1       [################] 100%    2525K    69.9K/s  00:00:36
    checking package integrity... done.
    loading package data... done.
    checking for file conflicts... done.
    installing jdk... done.
    The jre package is licensed software.
    You MUST read and agree to the license stored in
    /opt/java/LICENSE before using it.
    installing apache-ant... done.
    [root@archhost ~]# ant
    Error: JAVA_HOME is not defined correctly.
      We cannot execute java
    [root@archhost ~]# java
    -bash: java: command not found
    [root@archhost ~]#

    Snowman wrote:To fix it, log out and relogin.
    If you don't want to logout now, run:
    source /etc/profile.d/jdk.sh
    in a terminal and ant/java will work in that terminal.
    worked for me, thanks Snowman

  • ANT problem....

    Hi
    I'm new to ANT.
    I have two classes(HellWorld.java & WritingMessage.java).
    I want to commpile the file that has been changed.
    But i don't know how to write the "build.xml" file.
    Can anybody help me?
    Thanks...
    Here is my java files......
    public class HelloWorld{
         public static void main(String []args){
              WritingMessage writingMessage=new WritingMessage();
    public class WritingMessage{
    public WritingMessage()
         writeMessage();
         public void writeMessage(){
              System.out.println("Hello world....");
    }

    Hi,
    here you will find all you need:
    http://jakarta.apache.org/ant/manual/index.html
    regards
    Ldinka

  • Urgent : wsdl2service ant problem

    Hi when i am trying to build wsdl file using wsdl2service service task i am getting following error. Please sgget correct action.
    my wsdl is:<?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="DocumentumWebService"
    targetNamespace="http://com/ibtco/emc/dws/wsdl/"
    xmlns:tns="http://com/ibtco/emc/dws/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
    <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://com/ibtco/emc/dws/wsdl/">
    <xsd:simpleType name="typeOfUser">
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="NT_USER" />
    <xsd:enumeration value="SERVICE_ID" />
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="mimeType">
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="msw8" />
    <xsd:enumeration value="excel8book" />
    <xsd:enumeration value="pdf" />                         
    <xsd:enumeration value="ppt8" />                         
    <xsd:enumeration value="text" />                         
    <xsd:enumeration value="zip" />     
    <xsd:enumeration value="jpeg" />
    <xsd:enumeration value="gif" />
    <xsd:enumeration value="bmp" />                         
    <xsd:enumeration value="tiff" />                         
    <xsd:enumeration value="html" />
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="dataTypes">
    <xsd:annotation>
    <xsd:documentation>
    List of Object Type. You must specify the data
    type of the attribute
    </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="DM_INTERGER" />
    <xsd:enumeration value="DM_DOUBLE" />                         
    <xsd:enumeration value="DM_BOOLEAN" />
    <xsd:enumeration value="DM_DATE_LONG" />
    <xsd:enumeration value="DM_ID" />
    <xsd:enumeration value="DM_STRING"/>
    <xsd:enumeration value="DM_CABINET"/>                         
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="Expression">
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="BETWEEN" />
    <xsd:enumeration value="LIKE" />
    <xsd:enumeration value="EQUAL" />
    <xsd:enumeration value="NOT_EQUAL" />
    <xsd:enumeration value="LESS_THAN" />
    <xsd:enumeration value="GREATER_THAN" />
    <xsd:enumeration value="LESS_THAN_OR_EQUAL" />
    <xsd:enumeration value="GREATER_THAN_EQUAL" />
    <xsd:enumeration value="NULL" />                                                                           
    <xsd:enumeration value="NOT_NULL"/>                                                                                               
    </xsd:restriction>
    </xsd:simpleType>
    <!-- user credentials -->
    <xsd:element name="Credentials">
    <xsd:complexType>
    <xsd:annotation>
    <xsd:documentation>
    credential data for the application
    </xsd:documentation>
    </xsd:annotation>
    <xsd:all>     
    <xsd:element maxOccurs="1" minOccurs="1" name="id" type="xsd:string" nillable="false"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="password" type="xsd:string" nillable="false"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="docbase" type="xsd:string" nillable="false"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="type" type="tns:typeOfUser" nillable="false"/>                                                            
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryInputData">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:ObjectName" />
    <xsd:element ref="tns:Where" />
    <xsd:element ref="tns:Columns" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryRequestType">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:QueryInputData" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryXMLRequestType">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:QueryInputData" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryResponseType">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:QueryRows" maxOccurs="unbounded" minOccurs="0"/>
    <xsd:element ref="tns:QueryStatistics" />
    <xsd:element ref="tns:QueryStatus" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryXMLResponse">
    <xsd:complexType>
    <xsd:attribute name="name" type="xsd:string"
    use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="WhereClause">
    <xsd:complexType>
    <xsd:attribute name="column" type="xsd:string" use="required" />
    <xsd:attribute name="value" type="xsd:string" use="required" />
    <xsd:attribute name="type" type="tns:dataTypes" use="required" />
    <xsd:attribute name="expression" type="tns:Expression" use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Where">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:WhereClause" maxOccurs="unbounded" minOccurs="0"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Column">
    <xsd:complexType>
    <xsd:attribute name="name" type="xsd:string"
    use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Columns">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Column" maxOccurs="unbounded" minOccurs="1"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="ObjectName">
    <xsd:complexType>
    <xsd:attribute name="name" type="xsd:string"
    use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryRows">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Attributes"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Attributes">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Attribute" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Attribute">
    <xsd:complexType>
    <xsd:attribute name="name" type="xsd:string" use="required" />
    <xsd:attribute name="value" type="xsd:string" use="required" />
    <xsd:attribute name="type" type="tns:dataTypes" use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryStatus">
    <xsd:complexType>
    <xsd:attribute name="message" type="xsd:string" use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryStatistics">
    <xsd:complexType>
    <xsd:attribute name="rowCount" type="xsd:string" use="required" />
    <xsd:attribute name="queryDateTime"     type="xsd:string" use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="NewDocumentRequest">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:Attributes" />
    <!--xsd:element ref="tns:Attachment"/-->
    <xsd:element ref="tns:ObjectName"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="UpdateDocumentRequest">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:Attributes" />
    <xsd:element ref="tns:ObjectName" />
    <xsd:element name="docId" type="xsd:string" nillable="false"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="NewDocumentResponse">
    <xsd:complexType>
    <xsd:all>
    <xsd:element ref="tns:Attribute" />
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="UpdateDocumentResponse">
    <xsd:complexType>
    <xsd:all>
    <xsd:element ref="tns:Attribute" />
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="GetDocumentRequest">
    <xsd:complexType>
    <xsd:all>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:ObjectName" nillable="false"/>
    <xsd:element name="docId" type="xsd:string" nillable="false"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="GetDocumentResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Attributes" nillable="false"/>
    <xsd:element ref="tns:result"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element type="xsd:anyType" name="result"/>
    <xsd:element name="DeleteDocumentRequest">
    <xsd:complexType>
    <xsd:all>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:ObjectName" nillable="false"/>
    <xsd:element name="docId" type="xsd:string" nillable="false"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="DeleteDocumentResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Attributes"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="ValueAssistanceQueryRequest">
    <xsd:complexType>
    <xsd:all>
    <xsd:element ref="tns:Credentials"/>
    <xsd:element ref="tns:ValueAssistanceQueryInputData"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="ValueAssistanceQueryResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Attributes"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="ValueAssistanceQueryInputData">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Columns"/>
    <xsd:element ref="tns:Where" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="GeneralFaultType">
    <xsd:sequence>
    <xsd:element name="code" type="xsd:string"/>
    <xsd:element name="severity" type="xsd:string"/>
    <xsd:element name="desc" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="GeneralFaultMessage">
    <wsdl:part name="fault" type="tns:GeneralFaultType"/>
    </wsdl:message>
    <wsdl:message name="QueryResponse">
    <wsdl:part name="QueryResponse" element="tns:QueryResponseType" />
    </wsdl:message>
    <wsdl:message name="QueryRequest">
    <wsdl:part name="QueryRequest" element="tns:QueryRequestType" />
    </wsdl:message>
    <wsdl:message name="QueryXMLResponse">
    <wsdl:part name="QueryXMLResponse"
    element="tns:QueryXMLResponse" />
    </wsdl:message>
    <wsdl:message name="QueryXMLRequest">
    <wsdl:part name="QueryXMLRequest" element="tns:QueryXMLRequestType" />
    </wsdl:message>
    <wsdl:message name="NewDocumentResponse">
    <wsdl:part name="NewDocumentResponse"
    element="tns:NewDocumentResponse" />
    </wsdl:message>
    <wsdl:message name="NewDocumentRequest">
    <!-- wsdl:part name="NewDocumentRequest"
    element="tns:NewDocumentRequest" /-->
    <!-- wsdl:part name="dh" element="tns:dh"></wsdl:part-->
    <wsdl:part xmlns:tns="http://com/ibtco/emc/dws/wsdl/"
    name="NewDocumentRequest"
    element="tns:NewDocumentRequest">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="UpdateDocumentResponse">
    <wsdl:part name="UpdateDocumentResponse"
    element="tns:UpdateDocumentResponse" />
    </wsdl:message>
    <wsdl:message name="UpdateDocumentRequest">
    <wsdl:part name="UpdateDocumentRequest"
    element="tns:UpdateDocumentRequest" />
    </wsdl:message>
    <wsdl:message name="GetDocumentResponse">
    <wsdl:part name="GetDocumentResponse"
    element="tns:GetDocumentResponse" />
    <wsdl:part name="result" element="tns:result"></wsdl:part>
    </wsdl:message>
    <wsdl:message name="GetDocumentRequest">
    <wsdl:part name="GetDocumentRequest"
    element="tns:GetDocumentRequest" />
    </wsdl:message>
    <wsdl:message name="DeleteDocumentResponse">
    <wsdl:part name="DeleteDocumentResponse"
    element="tns:DeleteDocumentResponse" />
    </wsdl:message>
    <wsdl:message name="DeleteDocumentRequest">
    <wsdl:part name="DeleteDocumentRequest"
    element="tns:DeleteDocumentRequest" />
    </wsdl:message>
    <wsdl:message name="QueryValueAssistanceResponse">
    <wsdl:part name="ValueAssistanceResponse"
    element="tns:ValueAssistanceQueryResponse" />
    </wsdl:message>
    <wsdl:message name="QueryValueAssistanceRequest">
    <wsdl:part name="ValueAssistanceRequest"
    element="tns:ValueAssistanceQueryRequest" />
    </wsdl:message>
    <wsdl:message name="UpdateValueAssistanceResponse">
    <wsdl:part name="ValueAssistanceResponse"
    element="tns:ValueAssistanceQueryResponse" />
    </wsdl:message>
    <wsdl:message name="UpdateValueAssistanceRequest">
    <wsdl:part name="ValueAssistanceRequest"
    element="tns:ValueAssistanceQueryRequest" />
    </wsdl:message>
    <wsdl:portType name="DocumentumWebService">
    <wsdl:operation name="executeQuery">
    <wsdl:input message="tns:QueryRequest" />
    <wsdl:output message="tns:QueryResponse" />
    <wsdl:fault name="executeQueryFault" message="tns:GeneralFaultMessage"/>
    </wsdl:operation>
    <wsdl:operation name="executeQueryXML">
    <wsdl:input message="tns:QueryXMLRequest" />
    <wsdl:output message="tns:QueryXMLResponse" />
    <wsdl:fault name="executeQueryXMLFault" message="tns:GeneralFaultMessage"/>               
    </wsdl:operation>
    <wsdl:operation name="newDocument">
                   <wsdl:input message="tns:NewDocumentRequest">
    </wsdl:input>      
    <wsdl:output message="tns:NewDocumentResponse" />
    <wsdl:fault name="newDocumentFault" message="tns:GeneralFaultMessage"/>                              
    </wsdl:operation>
    <wsdl:operation name="updateDocument">
    <wsdl:input message="tns:UpdateDocumentRequest" />
    <wsdl:output message="tns:UpdateDocumentResponse" />
    <wsdl:fault name="updateDocumentFault" message="tns:GeneralFaultMessage"/>                    
    </wsdl:operation>
    <wsdl:operation name="getDocument">
    <wsdl:input message="tns:GetDocumentRequest" />
    <wsdl:output message="tns:GetDocumentResponse">
    </wsdl:output>
    <wsdl:fault name="getDocumentFault" message="tns:GeneralFaultMessage"/>                    
    </wsdl:operation>
    <wsdl:operation name="deleteDocument">
    <wsdl:input message="tns:DeleteDocumentRequest" />
    <wsdl:output message="tns:DeleteDocumentResponse" />
    <wsdl:fault name="deleteDocumentFault" message="tns:GeneralFaultMessage"/>                    
    </wsdl:operation>
    <!-- ValueAssistance -->
    <wsdl:operation name="executeValueAssistanceQuery">
    <wsdl:input message="tns:QueryValueAssistanceRequest" />
    <wsdl:output message="tns:QueryValueAssistanceResponse" />
    <wsdl:fault name="executeValueAssistanceQueryFault" message="tns:GeneralFaultMessage"/>               
    </wsdl:operation>
    <wsdl:operation name="updateValueAssistanceQuery">
    <wsdl:input message="tns:UpdateValueAssistanceRequest" />
    <wsdl:output message="tns:UpdateValueAssistanceResponse" />
    <wsdl:fault name="updateValueAssistanceQueryFault" message="tns:GeneralFaultMessage"/>                              
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="DocumentumWebServiceSOAP"
    type="tns:DocumentumWebService">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="executeQuery">
    <soap:operation
    soapAction="http://com/ibtco/emc/dws/wsdl/executeQuery" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>     
    <wsdl:fault name="executeQueryFault">
    <soap:fault name="executeQueryFault" use="literal"/>
    </wsdl:fault>          
    </wsdl:operation>
    <wsdl:operation name="executeQueryXML">
    <soap:operation
    soapAction="http://com/ibtco/emc/dws/wsdl/executeXMLQuery" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="executeQueryXMLFault">
    <soap:fault name="executeQueryXMLFault" use="literal"/>
    </wsdl:fault>                    
    </wsdl:operation>
    <wsdl:operation name="newDocument">
    <soap:operation
    soapAction="http://com/ibtco/emc/dws/wsdl/newDocument" />
    <wsdl:input>
    <soap:body namespace="http://com/ibtco/emc/dws/wsdl/"
    use="literal">
    </soap:body>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="newDocumentFault">
    <soap:fault name="newDocumentFault" use="literal"/>
    </wsdl:fault>     
    <!--      
    <mime:multipartRelated>
    <mime:part>
    <soap:body use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content type="application/octetstream"/>
    </mime:part>
    </mime:multipartRelated>
    -->          
    </wsdl:operation>
    <wsdl:operation name="getDocument">
    <soap:operation soapAction="http://com/ibtco/emc/dws/wsdl/GetDocument"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body namespace="http://com/ibtco/emc/dws/wsdl/GetDocument"
    use="literal">
    </soap:body>
    </mime:part>
    <mime:part>
    <mime:content type="*/*"
    part="result">
    </mime:content>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    <wsdl:fault name="getDocumentFault">
    <soap:fault name="getDocumentFault" use="literal"/>
    </wsdl:fault>               
    </wsdl:operation>
    <wsdl:operation name="executeValueAssistanceQuery">
    <soap:operation soapAction="http://com/ibtco/emc/dws/wsdl/executeValueAssistanceQuery"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="executeValueAssistanceQueryFault">
    <soap:fault name="executeValueAssistanceQueryFault" use="literal"/>
    </wsdl:fault>          
    </wsdl:operation>
    <wsdl:operation name="updateDocument">
    <soap:operation soapAction="http://com/ibtco/emc/dws/wsdl/updateDocument"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="updateDocumentFault">
    <soap:fault name="updateDocumentFault" use="literal"/>
    </wsdl:fault>          
    </wsdl:operation>
    <wsdl:operation name="deleteDocument">
    <soap:operation soapAction="http://com/ibtco/emc/dws/wsdl/deleteDocument"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="deleteDocumentFault">
    <soap:fault name="deleteDocumentFault" use="literal"/>
    </wsdl:fault>          
    </wsdl:operation>
    <wsdl:operation name="updateValueAssistanceQuery">
    <soap:operation soapAction="http://com/ibtco/emc/dws/wsdl/updateValueAssistanceQuery"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="updateValueAssistanceQueryFault">
    <soap:fault name="updateValueAssistanceQueryFault" use="literal"/>
    </wsdl:fault>          
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="DocumentumWebService">
    <wsdl:port name="DocumentumWebServiceSOAP"
    binding="tns:DocumentumWebServiceSOAP">
    <soap:address location="http://localhost:7001/dws/DocumentumWebService" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    My ant command is :
    <wsdl2service wsdl="${wsdl.file}"
              destDir="${serviceImpl.home}"
              typeMappingFile="${types.home}/types.xml"
              packageName="com.ibtco.emc.dws.wsdl" keepGenerated="True">
              <classpath>
              <pathelement path="${types.home}"/>
              </classpath>
    error i am getting is :
    [wsdl2service] Generating web service from wsdl C:/work/dws/dws_new/J2EE/codeBase/dwsEar/WSDL/DocumentumWebService.wsdl
    [wsdl2service] java.lang.ClassNotFoundException: javax.activation.holders.DataHandlerHolder
    [wsdl2service] at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    [wsdl2service] at java.security.AccessController.doPrivileged(Native Method)
    [wsdl2service] at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    [wsdl2service] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    [wsdl2service] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    [wsdl2service] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    [wsdl2service] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    [wsdl2service] at java.lang.Class.forName0(Native Method)
    [wsdl2service] at java.lang.Class.forName(Class.java:141)
    [wsdl2service] at weblogic.xml.schema.binding.ClassLoadingUtils.loadNonArrayClass(ClassLoadingUtils.java:70)
    [wsdl2service] at weblogic.xml.schema.binding.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:43)
    [wsdl2service] at weblogic.xml.schema.binding.internal.TypeMappingBase.loadClass(TypeMappingBase.java:627)
    [wsdl2service] at weblogic.xml.schema.binding.internal.TypeMappingBase.getHolderClass(TypeMappingBase.java:153)
    [wsdl2service] at weblogic.webservice.tools.stubgen.StubGenHelper.getJavaTypeHolderName(StubGenHelper.java:489)
    [wsdl2service] at weblogic.webservice.tools.stubgen.StubGenHelper.getArgStatementWithOutParamOrder(StubGenHelper.java:428)
    [wsdl2service] at weblogic.webservice.tools.stubgen.StubGenHelper.getArgStatement(StubGenHelper.java:313)
    [wsdl2service] at weblogic.webservice.tools.wsdl2service.ServiceClass.generate(ServiceClass.java:55)
    [wsdl2service] at weblogic.webservice.tools.wsdl2service.WSDL2Service.writeService(WSDL2Service.java:91)
    [wsdl2service] at weblogic.webservice.tools.wsdl2service.WSDL2Service.visit(WSDL2Service.java:74)
    [wsdl2service] at weblogic.webservice.tools.build.internal.WSDL2JavaServiceImpl.runClassgen(WSDL2JavaServiceImpl.java:220)
    [wsdl2service] at weblogic.webservice.tools.build.internal.WSDL2JavaServiceImpl.run(WSDL2JavaServiceImpl.java:146)
    [wsdl2service] at weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service.doWSDL2JavaService(WSDL2Service.java:211)
    [wsdl2service] at weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service.execute(WSDL2Service.java:131)
    [wsdl2service] at org.apache.tools.ant.Task.perform(Task.java:341)
    [wsdl2service] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wsdl2service] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wsdl2service] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [wsdl2service] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [wsdl2service] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [wsdl2service] at org.apache.tools.ant.Main.start(Main.java:196)
    [wsdl2service] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    Please suggest me some solution.
    Thanks,
    satya

    Hi when i am trying to build wsdl file using wsdl2service service task i am getting following error. Please sgget correct action.
    my wsdl is:<?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="DocumentumWebService"
    targetNamespace="http://com/ibtco/emc/dws/wsdl/"
    xmlns:tns="http://com/ibtco/emc/dws/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
    <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://com/ibtco/emc/dws/wsdl/">
    <xsd:simpleType name="typeOfUser">
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="NT_USER" />
    <xsd:enumeration value="SERVICE_ID" />
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="mimeType">
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="msw8" />
    <xsd:enumeration value="excel8book" />
    <xsd:enumeration value="pdf" />                         
    <xsd:enumeration value="ppt8" />                         
    <xsd:enumeration value="text" />                         
    <xsd:enumeration value="zip" />     
    <xsd:enumeration value="jpeg" />
    <xsd:enumeration value="gif" />
    <xsd:enumeration value="bmp" />                         
    <xsd:enumeration value="tiff" />                         
    <xsd:enumeration value="html" />
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="dataTypes">
    <xsd:annotation>
    <xsd:documentation>
    List of Object Type. You must specify the data
    type of the attribute
    </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="DM_INTERGER" />
    <xsd:enumeration value="DM_DOUBLE" />                         
    <xsd:enumeration value="DM_BOOLEAN" />
    <xsd:enumeration value="DM_DATE_LONG" />
    <xsd:enumeration value="DM_ID" />
    <xsd:enumeration value="DM_STRING"/>
    <xsd:enumeration value="DM_CABINET"/>                         
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="Expression">
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="BETWEEN" />
    <xsd:enumeration value="LIKE" />
    <xsd:enumeration value="EQUAL" />
    <xsd:enumeration value="NOT_EQUAL" />
    <xsd:enumeration value="LESS_THAN" />
    <xsd:enumeration value="GREATER_THAN" />
    <xsd:enumeration value="LESS_THAN_OR_EQUAL" />
    <xsd:enumeration value="GREATER_THAN_EQUAL" />
    <xsd:enumeration value="NULL" />                                                                           
    <xsd:enumeration value="NOT_NULL"/>                                                                                               
    </xsd:restriction>
    </xsd:simpleType>
    <!-- user credentials -->
    <xsd:element name="Credentials">
    <xsd:complexType>
    <xsd:annotation>
    <xsd:documentation>
    credential data for the application
    </xsd:documentation>
    </xsd:annotation>
    <xsd:all>     
    <xsd:element maxOccurs="1" minOccurs="1" name="id" type="xsd:string" nillable="false"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="password" type="xsd:string" nillable="false"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="docbase" type="xsd:string" nillable="false"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="type" type="tns:typeOfUser" nillable="false"/>                                                            
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryInputData">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:ObjectName" />
    <xsd:element ref="tns:Where" />
    <xsd:element ref="tns:Columns" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryRequestType">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:QueryInputData" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryXMLRequestType">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:QueryInputData" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryResponseType">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:QueryRows" maxOccurs="unbounded" minOccurs="0"/>
    <xsd:element ref="tns:QueryStatistics" />
    <xsd:element ref="tns:QueryStatus" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryXMLResponse">
    <xsd:complexType>
    <xsd:attribute name="name" type="xsd:string"
    use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="WhereClause">
    <xsd:complexType>
    <xsd:attribute name="column" type="xsd:string" use="required" />
    <xsd:attribute name="value" type="xsd:string" use="required" />
    <xsd:attribute name="type" type="tns:dataTypes" use="required" />
    <xsd:attribute name="expression" type="tns:Expression" use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Where">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:WhereClause" maxOccurs="unbounded" minOccurs="0"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Column">
    <xsd:complexType>
    <xsd:attribute name="name" type="xsd:string"
    use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Columns">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Column" maxOccurs="unbounded" minOccurs="1"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="ObjectName">
    <xsd:complexType>
    <xsd:attribute name="name" type="xsd:string"
    use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryRows">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Attributes"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Attributes">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Attribute" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Attribute">
    <xsd:complexType>
    <xsd:attribute name="name" type="xsd:string" use="required" />
    <xsd:attribute name="value" type="xsd:string" use="required" />
    <xsd:attribute name="type" type="tns:dataTypes" use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryStatus">
    <xsd:complexType>
    <xsd:attribute name="message" type="xsd:string" use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="QueryStatistics">
    <xsd:complexType>
    <xsd:attribute name="rowCount" type="xsd:string" use="required" />
    <xsd:attribute name="queryDateTime"     type="xsd:string" use="required" />
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="NewDocumentRequest">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:Attributes" />
    <!--xsd:element ref="tns:Attachment"/-->
    <xsd:element ref="tns:ObjectName"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="UpdateDocumentRequest">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:Attributes" />
    <xsd:element ref="tns:ObjectName" />
    <xsd:element name="docId" type="xsd:string" nillable="false"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="NewDocumentResponse">
    <xsd:complexType>
    <xsd:all>
    <xsd:element ref="tns:Attribute" />
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="UpdateDocumentResponse">
    <xsd:complexType>
    <xsd:all>
    <xsd:element ref="tns:Attribute" />
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="GetDocumentRequest">
    <xsd:complexType>
    <xsd:all>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:ObjectName" nillable="false"/>
    <xsd:element name="docId" type="xsd:string" nillable="false"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="GetDocumentResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Attributes" nillable="false"/>
    <xsd:element ref="tns:result"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element type="xsd:anyType" name="result"/>
    <xsd:element name="DeleteDocumentRequest">
    <xsd:complexType>
    <xsd:all>
    <xsd:element ref="tns:Credentials" />
    <xsd:element ref="tns:ObjectName" nillable="false"/>
    <xsd:element name="docId" type="xsd:string" nillable="false"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="DeleteDocumentResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Attributes"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="ValueAssistanceQueryRequest">
    <xsd:complexType>
    <xsd:all>
    <xsd:element ref="tns:Credentials"/>
    <xsd:element ref="tns:ValueAssistanceQueryInputData"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="ValueAssistanceQueryResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Attributes"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="ValueAssistanceQueryInputData">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:Columns"/>
    <xsd:element ref="tns:Where" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="GeneralFaultType">
    <xsd:sequence>
    <xsd:element name="code" type="xsd:string"/>
    <xsd:element name="severity" type="xsd:string"/>
    <xsd:element name="desc" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="GeneralFaultMessage">
    <wsdl:part name="fault" type="tns:GeneralFaultType"/>
    </wsdl:message>
    <wsdl:message name="QueryResponse">
    <wsdl:part name="QueryResponse" element="tns:QueryResponseType" />
    </wsdl:message>
    <wsdl:message name="QueryRequest">
    <wsdl:part name="QueryRequest" element="tns:QueryRequestType" />
    </wsdl:message>
    <wsdl:message name="QueryXMLResponse">
    <wsdl:part name="QueryXMLResponse"
    element="tns:QueryXMLResponse" />
    </wsdl:message>
    <wsdl:message name="QueryXMLRequest">
    <wsdl:part name="QueryXMLRequest" element="tns:QueryXMLRequestType" />
    </wsdl:message>
    <wsdl:message name="NewDocumentResponse">
    <wsdl:part name="NewDocumentResponse"
    element="tns:NewDocumentResponse" />
    </wsdl:message>
    <wsdl:message name="NewDocumentRequest">
    <!-- wsdl:part name="NewDocumentRequest"
    element="tns:NewDocumentRequest" /-->
    <!-- wsdl:part name="dh" element="tns:dh"></wsdl:part-->
    <wsdl:part xmlns:tns="http://com/ibtco/emc/dws/wsdl/"
    name="NewDocumentRequest"
    element="tns:NewDocumentRequest">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="UpdateDocumentResponse">
    <wsdl:part name="UpdateDocumentResponse"
    element="tns:UpdateDocumentResponse" />
    </wsdl:message>
    <wsdl:message name="UpdateDocumentRequest">
    <wsdl:part name="UpdateDocumentRequest"
    element="tns:UpdateDocumentRequest" />
    </wsdl:message>
    <wsdl:message name="GetDocumentResponse">
    <wsdl:part name="GetDocumentResponse"
    element="tns:GetDocumentResponse" />
    <wsdl:part name="result" element="tns:result"></wsdl:part>
    </wsdl:message>
    <wsdl:message name="GetDocumentRequest">
    <wsdl:part name="GetDocumentRequest"
    element="tns:GetDocumentRequest" />
    </wsdl:message>
    <wsdl:message name="DeleteDocumentResponse">
    <wsdl:part name="DeleteDocumentResponse"
    element="tns:DeleteDocumentResponse" />
    </wsdl:message>
    <wsdl:message name="DeleteDocumentRequest">
    <wsdl:part name="DeleteDocumentRequest"
    element="tns:DeleteDocumentRequest" />
    </wsdl:message>
    <wsdl:message name="QueryValueAssistanceResponse">
    <wsdl:part name="ValueAssistanceResponse"
    element="tns:ValueAssistanceQueryResponse" />
    </wsdl:message>
    <wsdl:message name="QueryValueAssistanceRequest">
    <wsdl:part name="ValueAssistanceRequest"
    element="tns:ValueAssistanceQueryRequest" />
    </wsdl:message>
    <wsdl:message name="UpdateValueAssistanceResponse">
    <wsdl:part name="ValueAssistanceResponse"
    element="tns:ValueAssistanceQueryResponse" />
    </wsdl:message>
    <wsdl:message name="UpdateValueAssistanceRequest">
    <wsdl:part name="ValueAssistanceRequest"
    element="tns:ValueAssistanceQueryRequest" />
    </wsdl:message>
    <wsdl:portType name="DocumentumWebService">
    <wsdl:operation name="executeQuery">
    <wsdl:input message="tns:QueryRequest" />
    <wsdl:output message="tns:QueryResponse" />
    <wsdl:fault name="executeQueryFault" message="tns:GeneralFaultMessage"/>
    </wsdl:operation>
    <wsdl:operation name="executeQueryXML">
    <wsdl:input message="tns:QueryXMLRequest" />
    <wsdl:output message="tns:QueryXMLResponse" />
    <wsdl:fault name="executeQueryXMLFault" message="tns:GeneralFaultMessage"/>               
    </wsdl:operation>
    <wsdl:operation name="newDocument">
                   <wsdl:input message="tns:NewDocumentRequest">
    </wsdl:input>      
    <wsdl:output message="tns:NewDocumentResponse" />
    <wsdl:fault name="newDocumentFault" message="tns:GeneralFaultMessage"/>                              
    </wsdl:operation>
    <wsdl:operation name="updateDocument">
    <wsdl:input message="tns:UpdateDocumentRequest" />
    <wsdl:output message="tns:UpdateDocumentResponse" />
    <wsdl:fault name="updateDocumentFault" message="tns:GeneralFaultMessage"/>                    
    </wsdl:operation>
    <wsdl:operation name="getDocument">
    <wsdl:input message="tns:GetDocumentRequest" />
    <wsdl:output message="tns:GetDocumentResponse">
    </wsdl:output>
    <wsdl:fault name="getDocumentFault" message="tns:GeneralFaultMessage"/>                    
    </wsdl:operation>
    <wsdl:operation name="deleteDocument">
    <wsdl:input message="tns:DeleteDocumentRequest" />
    <wsdl:output message="tns:DeleteDocumentResponse" />
    <wsdl:fault name="deleteDocumentFault" message="tns:GeneralFaultMessage"/>                    
    </wsdl:operation>
    <!-- ValueAssistance -->
    <wsdl:operation name="executeValueAssistanceQuery">
    <wsdl:input message="tns:QueryValueAssistanceRequest" />
    <wsdl:output message="tns:QueryValueAssistanceResponse" />
    <wsdl:fault name="executeValueAssistanceQueryFault" message="tns:GeneralFaultMessage"/>               
    </wsdl:operation>
    <wsdl:operation name="updateValueAssistanceQuery">
    <wsdl:input message="tns:UpdateValueAssistanceRequest" />
    <wsdl:output message="tns:UpdateValueAssistanceResponse" />
    <wsdl:fault name="updateValueAssistanceQueryFault" message="tns:GeneralFaultMessage"/>                              
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="DocumentumWebServiceSOAP"
    type="tns:DocumentumWebService">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="executeQuery">
    <soap:operation
    soapAction="http://com/ibtco/emc/dws/wsdl/executeQuery" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>     
    <wsdl:fault name="executeQueryFault">
    <soap:fault name="executeQueryFault" use="literal"/>
    </wsdl:fault>          
    </wsdl:operation>
    <wsdl:operation name="executeQueryXML">
    <soap:operation
    soapAction="http://com/ibtco/emc/dws/wsdl/executeXMLQuery" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="executeQueryXMLFault">
    <soap:fault name="executeQueryXMLFault" use="literal"/>
    </wsdl:fault>                    
    </wsdl:operation>
    <wsdl:operation name="newDocument">
    <soap:operation
    soapAction="http://com/ibtco/emc/dws/wsdl/newDocument" />
    <wsdl:input>
    <soap:body namespace="http://com/ibtco/emc/dws/wsdl/"
    use="literal">
    </soap:body>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="newDocumentFault">
    <soap:fault name="newDocumentFault" use="literal"/>
    </wsdl:fault>     
    <!--      
    <mime:multipartRelated>
    <mime:part>
    <soap:body use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content type="application/octetstream"/>
    </mime:part>
    </mime:multipartRelated>
    -->          
    </wsdl:operation>
    <wsdl:operation name="getDocument">
    <soap:operation soapAction="http://com/ibtco/emc/dws/wsdl/GetDocument"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body namespace="http://com/ibtco/emc/dws/wsdl/GetDocument"
    use="literal">
    </soap:body>
    </mime:part>
    <mime:part>
    <mime:content type="*/*"
    part="result">
    </mime:content>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    <wsdl:fault name="getDocumentFault">
    <soap:fault name="getDocumentFault" use="literal"/>
    </wsdl:fault>               
    </wsdl:operation>
    <wsdl:operation name="executeValueAssistanceQuery">
    <soap:operation soapAction="http://com/ibtco/emc/dws/wsdl/executeValueAssistanceQuery"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="executeValueAssistanceQueryFault">
    <soap:fault name="executeValueAssistanceQueryFault" use="literal"/>
    </wsdl:fault>          
    </wsdl:operation>
    <wsdl:operation name="updateDocument">
    <soap:operation soapAction="http://com/ibtco/emc/dws/wsdl/updateDocument"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="updateDocumentFault">
    <soap:fault name="updateDocumentFault" use="literal"/>
    </wsdl:fault>          
    </wsdl:operation>
    <wsdl:operation name="deleteDocument">
    <soap:operation soapAction="http://com/ibtco/emc/dws/wsdl/deleteDocument"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="deleteDocumentFault">
    <soap:fault name="deleteDocumentFault" use="literal"/>
    </wsdl:fault>          
    </wsdl:operation>
    <wsdl:operation name="updateValueAssistanceQuery">
    <soap:operation soapAction="http://com/ibtco/emc/dws/wsdl/updateValueAssistanceQuery"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="updateValueAssistanceQueryFault">
    <soap:fault name="updateValueAssistanceQueryFault" use="literal"/>
    </wsdl:fault>          
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="DocumentumWebService">
    <wsdl:port name="DocumentumWebServiceSOAP"
    binding="tns:DocumentumWebServiceSOAP">
    <soap:address location="http://localhost:7001/dws/DocumentumWebService" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    My ant command is :
    <wsdl2service wsdl="${wsdl.file}"
              destDir="${serviceImpl.home}"
              typeMappingFile="${types.home}/types.xml"
              packageName="com.ibtco.emc.dws.wsdl" keepGenerated="True">
              <classpath>
              <pathelement path="${types.home}"/>
              </classpath>
    error i am getting is :
    [wsdl2service] Generating web service from wsdl C:/work/dws/dws_new/J2EE/codeBase/dwsEar/WSDL/DocumentumWebService.wsdl
    [wsdl2service] java.lang.ClassNotFoundException: javax.activation.holders.DataHandlerHolder
    [wsdl2service] at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    [wsdl2service] at java.security.AccessController.doPrivileged(Native Method)
    [wsdl2service] at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    [wsdl2service] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    [wsdl2service] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    [wsdl2service] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    [wsdl2service] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    [wsdl2service] at java.lang.Class.forName0(Native Method)
    [wsdl2service] at java.lang.Class.forName(Class.java:141)
    [wsdl2service] at weblogic.xml.schema.binding.ClassLoadingUtils.loadNonArrayClass(ClassLoadingUtils.java:70)
    [wsdl2service] at weblogic.xml.schema.binding.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:43)
    [wsdl2service] at weblogic.xml.schema.binding.internal.TypeMappingBase.loadClass(TypeMappingBase.java:627)
    [wsdl2service] at weblogic.xml.schema.binding.internal.TypeMappingBase.getHolderClass(TypeMappingBase.java:153)
    [wsdl2service] at weblogic.webservice.tools.stubgen.StubGenHelper.getJavaTypeHolderName(StubGenHelper.java:489)
    [wsdl2service] at weblogic.webservice.tools.stubgen.StubGenHelper.getArgStatementWithOutParamOrder(StubGenHelper.java:428)
    [wsdl2service] at weblogic.webservice.tools.stubgen.StubGenHelper.getArgStatement(StubGenHelper.java:313)
    [wsdl2service] at weblogic.webservice.tools.wsdl2service.ServiceClass.generate(ServiceClass.java:55)
    [wsdl2service] at weblogic.webservice.tools.wsdl2service.WSDL2Service.writeService(WSDL2Service.java:91)
    [wsdl2service] at weblogic.webservice.tools.wsdl2service.WSDL2Service.visit(WSDL2Service.java:74)
    [wsdl2service] at weblogic.webservice.tools.build.internal.WSDL2JavaServiceImpl.runClassgen(WSDL2JavaServiceImpl.java:220)
    [wsdl2service] at weblogic.webservice.tools.build.internal.WSDL2JavaServiceImpl.run(WSDL2JavaServiceImpl.java:146)
    [wsdl2service] at weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service.doWSDL2JavaService(WSDL2Service.java:211)
    [wsdl2service] at weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service.execute(WSDL2Service.java:131)
    [wsdl2service] at org.apache.tools.ant.Task.perform(Task.java:341)
    [wsdl2service] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wsdl2service] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wsdl2service] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [wsdl2service] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [wsdl2service] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [wsdl2service] at org.apache.tools.ant.Main.start(Main.java:196)
    [wsdl2service] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    Please suggest me some solution.
    Thanks,
    satya

  • Ant problem again...

    The error is:
    BUILD FAILED
    file:D:/TEMP/columba-0.9.10-src/columba-0.9.10-src/build.xml:73: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
    Total time: 6 seconds
    In console I wrote "set JAVA_HOME=D:\jdk1.3.1" but this error occured again. Maybe I should write some code in duild.xml?

    >
    In console I wrote "set JAVA_HOME=D:\jdk1.3.1" but
    this error occured again. Maybe I should write some
    code in duild.xml?1. Are you positive there is a directory called,
    exactly, D:\jdk1.3.1, and it has the JDK distribution
    in there?Yes, it is all there.
    2. if you type "set" from the command prompt, it will
    show you all the environment variables. Make sure
    "JAVA_HOME" (no quotes) is indeed listed.It shows JAVA_HOME=D:\jdk1.3.1
    What's wrong, I can't understand :(

  • I have had my ipod 4th generation for a year now and had not had any problems until now. My ipod no longer connects to my WiFi. i have reset my network settings, forgot my network and followed all of Apple's advice. Any ideas?

    The WiFi isn't working on my 4th generation anymore. I have several devices connected to the WiFi which two of them are iPhone 5 that haven't had ant problems with WiFi. I have had my iPod for a year. I have tried everything and it still doesn't work. Any ideas? Thanks.

    Does the iPod connect to other networks?
    Does the iPod see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Meta migration ant task throw exception

    Hi,
    I am trying the migration from kodo 2 to 3.
    I successfully migrated the properties file using the integrated ant
    task; but run into some problem with the meta data migration (the *.jdo
    files). following is the ant task I am using:
    <target name="migrate-meta" depends="init, prepare-jdo-meta, compile" >
    <!-- define the kodo2migrator task; this can be done at the top
    of -->
    <!-- the build.xml file, so it will be available for all
    targets -->
    <taskdef name="kodo2migrator"
    classname="kodo.jdbc.ant.Kodo2MigratorTask">
    <classpath>
    <pathelement
    path="${java.class.path}:${project.classpath}:${project.build.jdometa.dtd}"/>
    </classpath>
    </taskdef>
    <!-- invoke migrator on all .jdo files below the src directory -->
    <kodo2migrator>
    <classpath>
    <pathelement
    path="${java.class.path}:${project.classpath}:${project.build.jdometa.dtd}"/>
    </classpath>
    <fileset dir="${project.kodo.src}">
    <include name="**/*.jdo" />
    </fileset>
    <config properties="${jdo.properties}" />
    </kodo2migrator>
    </target>
    the exception it is throwning is :
    [kodo2migrator] kodo.jdbc.migration.kodo2.util.FatalUserException: The
    specified driver class "null" is neither a java.sql.Driver nor a
    javax.sql.DataSource. Please specify a valid driver in the
    javax.jdo.option.ConnectionDriverName property.
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.schema.ConfigurationConnector.createConnectionFactory(ConfigurationConnector.java:108)
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.schema.ConfigurationConnector.<init>(ConfigurationConnector.java:65)
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.schema.ConfigurationConnector.<init>(ConfigurationConnector.java:57)
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.schema.ConfigurationConnector.<init>(ConfigurationConnector.java:37)
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.Kodo2Migrator.migrate(Kodo2Migrator.java:161)
    [kodo2migrator] at
    kodo.jdbc.migration.kodo2.Kodo2Migrator.run(Kodo2Migrator.java:1141)
    [kodo2migrator] at
    kodo.jdbc.ant.Kodo2MigratorTask.executeOn(Kodo2MigratorTask.java:53)
    [kodo2migrator] at
    com.solarmetric.ant.TaskBase.execute(TaskBase.java:105)
    [kodo2migrator] at
    org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    [kodo2migrator] at org.apache.tools.ant.Task.perform(Task.java:341)
    [kodo2migrator] at
    org.apache.tools.ant.Target.execute(Target.java:309)
    [kodo2migrator] at
    org.apache.tools.ant.Target.performTasks(Target.java:336)
    [kodo2migrator] at
    org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [kodo2migrator] at
    org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [kodo2migrator] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [kodo2migrator] at org.apache.tools.ant.Main.start(Main.java:196)
    [kodo2migrator] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:/home/tyang/eclipse/workspace/UMA/build.xml:208:
    kodo.jdbc.migration.kodo2.util.FatalUserException: The specified driver
    class "null" is neither a java.sql.Driver nor a javax.sql.DataSource.
    Please specify a valid driver in the
    javax.jdo.option.ConnectionDriverName property.
    the properties file I am using is like this: (just a snipet)
    javax.jdo.PersistenceManagerFactoryClass:
    kodo.jdbc.runtime.JDBCPersistenceManagerFactory
    javax.jdo.option.ConnectionDriverName: org.postgresql.Driver
    javax.jdo.option.ConnectionURL: jdbc:postgresql://127.0.0.1/cwdevdb
    javax.jdo.option.ConnectionUserName: cwdev
    javax.jdo.option.ConnectionPassword:
    javax.jdo.option.DefaultFetchBatchSize: 10
    javax.jdo.option.DefaultFetchThreshold: 30
    javax.jdo.option.IgnoreCache: true
    javax.jdo.option.NontransactionalRead: true
    javax.jdo.option.NontransactionalWrite: false
    javax.jdo.option.Optimistic: true
    javax.jdo.option.RestoreValues: false
    javax.jdo.option.RetainValues: false
    kodo.ConnectionFactoryProperties: MaxActive=20, MaxWait=5000
    kodo.ConnectionRetainMode: persistence-manager
    kodo.DataCache: true(CacheSize=10000)
    kodo.LicenseKey: xxxx-xxxx-xxxx-xxxx-xxxx
    kodo.ManagedRuntime: TransactionManagerName=java:/TransactionManager
    kodo.PersistenceManagerImpl: CloseOnManagedCommit=true
    kodo.QueryCache: true
    kodo.RemoteCommitProvider: sjvm(Topic=topic/KodoCacheTopic)
    kodo.jdbc.DBDictionary: postgres(StoreCharsAsNumbers=false)
    kodo.jdbc.SequenceFactory: PrimaryKeyColumn=PKX,
    SequenceColumn=SEQUENCEX, TableName=JDO_SEQUENCEX
    To make sure this IS the one it is using, not only I echo out the
    "${jdo.properties}" value, but also I tried to comment out the
    licenseKey line, then it threw "license key invalid" exception. so I am
    sure this is the properties file I am using in that ant task.
    Also I tried using the command line on one of our classes, it does not
    run into this problem.
    Any clue what I am missing?
    Thanks a lot,
    Tao

    The 3.0.0 migrator task has a couple of bugs. These will be ironed out
    in 3.0.1, which is due for release any day now. But if you must work
    around the bugs immediately, you'll have to:
    1. Run the task using your old properties file. Actually this will be a
    requirement even in 3.0.1; that's why in the migration chapter of the
    docs we say to migrate your metadata before your properties. The
    migration tool needs to access 2.5 properties to map your classes properly.
    2. Add the the following property to your old properties file:
    kodo.LicenseKey: <your license key>
    3. Name the properties file "kodo.properties" and place it in one of the
    directories listed in the ant task's CLASSPATH. If that doesn't work,
    place it in a directory in your system CLASSPATH. The 3.0.0 task has
    some classpath problems, and also the <config> task element doesn't work.
    Or, you could just set your system CLASSPATH and run the kodo2migrator
    tool from the command line.
    I hope this helps. As I said, 3.0.1 resolves these ant problems, and
    will be released very shortly.

  • How I can arrange my audiobooks on ipod classic by itunes?

    hello everyone
    I got iPod classic 80 GB and I have old mp3 audiobbok "10 chapters", so I converted it to m4b "10 m4b files" then I put it in the right place on the itunes and sync with my ipod without ant problems.
    _So my problem is :_
    my audiobook has 10 chapters and they appear on the ipod like 10 Audiobooks !??
    But I want to appear like one audiobook and when I open it I want to see 10 chapters
    *Plz don't tell me make a playlist or jone chapters in one file.*
    I heard there is program called "Audiobook Builder" on Mac OS and it can solve my problem. But I am Windows user and I don't have mac
    {anyone has informations about this program plz write it down}
    Finally, sorry about my bad writing

    One .m4b file is one book. Two .m4b files are two books . . . That's how iTunes/iPod work. There is no way around it except for the playlist option, which you've rejected.

Maybe you are looking for

  • Calling up a Performance Manger SPC Chart from a WebI document

    Post Author: satwar CA Forum: Performance Management and Dashboards Please forgive my terminology, as I'm only a superuser of B.O. not a computer trained person.I have put a few years into configuring WebI document reports in InfoView of B.O. XI 2. 

  • Video Display on Laptop goes haywire when you go to print a document

    Hello and Help.. I have a brand new HP 14-r001TU Laptop It is running win 8.1 with all the updates it appears to work fine when browsing the web. My printer is a HP 2540 with the latest driver installed, test pages print perfectly. If I browse to a w

  • WLS 10.0 Mp1 - Weblogic startup class to initialize client's SSL channels

    Hi, Is it possible to use Weblogic startup class to initialize client's SSL channels? Any pointers are appreciated. Thanks in advance.

  • [SOLVED] Firefox recreating Desktop folder

    I run Xfce with no desktop icons, so I have no use for the ~/Desktop folder, which I've removed.  I've noticed that occasionally the Desktop folder will reappear in my home folder.  I saw a thread where a user claimed they saw this behavior after cli

  • Java 3D programs

    hi i am not able to execute java 3D programs. i have j2sdk1.4.2_05 installed in my system and and also java 3D 1.5.0. then also it is showing me errors. can anybody guide for this so i can execute programs.