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

Similar Messages

  • 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

  • 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...

  • Urgent!!  Problems muxing .m2v files and audio!! MPEG Streamclip/Compressor

    Hello!
    I am under an urgent deadline to upload a short 6 min documentary clip for a client to review for screening this week. The footage was shot in 1080/60i HDV.
    Usually, I find the best quality and fastest way to do this is to export directly from my FCP sequence using the '150 min Best Quality' DVD settings in compressor to get an .m2v video file and .ac3 audio file. Then I open the .m2v files in MPEG Streamclip which links it with my .ac3 file, then do 'Export MPEG with MP-2 audio". This gives me a single, muxed file that I can then upload to YouTube or Vimeo.
    However, with this project, when I open up my .m2v file in MPEG Streamclip, it's recognizing the .ac3 file and I can see the info for it in the MPEG Streamclip window, but when I play the file in MPEG Streamclip or mux it, I don't hear any audio. Furthermore, after about 5 seconds into the clip, the playhead will continue moving, but the video will freeze, then maybe pick up again later. The .m2v video will play back smoothly in VLC player or Quicktime player, but not in MPEG Streamclip.
    I've tried exporting different little sections of the timeline to see if maybe I had some corrupted footage or whatnot. I even exported a small clip from an older HDV project to test. But no matter where I export from, I am running into the same problem. I can bring the .m2v file and .ac3 file into DVD Studio Pro and burn a DVD with no problem, but I can't mux them. If I build the DVD file in DVD SP and try to open the .VOB file with MPEG Streamclip, I get the same problem. I even tried using a different software to mux (ffmpegX) but to no avail. When I try with ffmpegX, it either tells me I'm dropping frames, or if it works and it muxes it, when I open the MPEG file, it'll stutter at about 5 seconds in as well and I can't hear any audio, even though there is supposed to be audio in the muxed file.
    I think I might have updated my Quicktime a few days ago with the system update, and maybe updated a few other things, so I don't know if this has any bearing on the problems I'm running into. But I was able just a few days ago to export HDV 1080/60i using this workflow without any problems.
    I realize I have other export options, but this always seems to me to be the best quality and fastest way of doing it vs. encoding an H.264 which, on my machine is RIDICULOUSLY slow...I need to be uploading multiple versions of the cut to the client, and really need help! Thanks so much in advance!
    J

    what you want is an m2v program file. Export a reference copy from FCP (uncheck Make Movie Self Contained") That's very fast. Bring it into Compressor. In the settings panel find the MPEG-2 settings folder. Select Program Stream. Adjust to your liking and run. The audio and video will already be "muxed" when it's done and using compressor 3 you can set it to upload to YouTube, Mobile or similar sites.

  • 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

  • Very Urgent?Facing Problems With Labels

    Hi All,
    It's Very Urgent,In My VC Application
    Label Have More Than 15 Characters
    I PUT Label Layout  To Long Label.
    My Label Name  online assignement date
    But Even Put Long Label, online ***.......
    Please Resolve The Problem ASAP.
    Thanks
    SubbaRao Chinta

    Hi Subbu,
    I told u already its an Know issue with Flex compiler ,Even u set the label to long label it will show u only short label.
    This issue is fixed with Flex2 compiler.
    Use Flex2 compiler for ur application then it will dispaly the total label u want display.
    Regards,
    Govindu

  • Urgent Sql Query Problem - -Very Urgent

    Hi Guys,
    I need a urgent solution for a problem.I am
    using the following query
    select ename from emp where deptno =10
    Now I will declare a bind variable and if user passes 'A'
    then the query will run as it is and if he passes B
    then it should run the above query with this additional clause -> birthdate - hiredate >15.
    Please can any one help its very urgent

    Assuming that you have a birthdate column in your emp table, the following will do what you are asking for:
    VARIABLE bind_var VARCHAR2(1)
    EXECUTE :bind_var := '&bind_variable'
    SELECT ename FROM
    (SELECT 'A' AS selection, ename FROM emp WHERE deptno = 10
    UNION ALL
    SELECT 'B' AS selection, ename FROM emp WHERE deptno = 10 AND birthdate - hiredate > 15)
    WHERE selection = :bind_var
    However, the clause "birthdate - hiredate > 15" will only retrieve rows for employees who were born more than 15 days after they were hired. I doubt that this is what you really want, since this is impossible.

  • Help urgently needed: bizarre problem - no audio in imported clip!

    Hey there!
    I have a bizarre - never the less urgent problem:
    When I import some material (presentations) which I have recorded on Mini DV with my Canon MVX10i Camcorder the following problem occurs:
    There is one particular presentation which somehow looses the audio during the import process!
    That means the imported clip has no audio even though the audfio is on tape! Other clips before and after do not have this problem - the audio is available after the import.
    A bizarre but serious problem for me. Any suggestions?
    Thanks a lot in advance
    Thorge

    I had a similar problem. When I started the tape from the beginning no audio would import. To solve it I started the tape a few seconds in and It seemed to work.
    Hope this helps.

  • URGENT: JAVA FTP problem

    Hi,
    I am trying to FTP (retreive) the files from external server, that is going through some proxy.
    I am using commons-net-1.0.0.jar file to do the FTP (FTPClient)
    2 files must be retreived (get) from that box. The local server is UNIX solaris.
    It is working fine in BC box and Dev box. The process is able to GET both the files.
    But in Production (Primary box), I am able to get only one file, and that is the smaller out of 2. Not getting the larger file.
    Program is not throwing any errors either.
    Not sure what I need to check or how to resolve this problem.
    Any help is greatly appreciated.

    There is little improvement from previous time (above mentioned problem)
    Now, first time when I run the program, it is working fine and I am getting the files back from external source.
    But if I run the program 2nd time (repeatedly) , it is not FTPing the files and program is hanging @ the retreival (FTP retreiveFile() ) part.
    i.e. If I run the program after certain gap like 3-4hrs, first time it is working fine. But starts hanging if I run 2nd time.
    Do I need to set something.
    Please help. Very urgent.
    Thanks in advance.

  • URGENT - Multi-form problem

    Would be great if anyone could help me with this:
    Say I have two forms A and B, A has a repeating timer
    which, when fires, will GO_FORM to B and B's WHEN-WINDOW-
    ACTIVATED should fire and do stuff. Problem is if
    the focus is already on form B at the beginning,
    form A's timer expires but form B's WHEN-WINDOW-
    ACTIVATED trigger doesn't fire as it IS already the
    active window of the two at the time of the timer
    expiration. So the stuff in B's WHEN-WINDOW-ACTIVATED
    won't execute when I want it to.
    Any workaround? I need a solution to this urgently.
    Thanks big time in advance!!

    and what makes me wonder is that looks like the focus
    did temporarily switch to form A in the background,
    confirmed by a check of the :SYSTEM.CURRENT_FORM and
    CURSOR_ITEM etc in the WHEN-TIMER-EXPIRED trigger. But
    still, if I GO_FORM back to form B, form B's WHEN-WINDOW-
    ACTIVATED just won't fire.
    Buggy WHEN-WINDOW-ACTIVATED trigger? Or misused?
    Please, anyone? By the way, form B is launched from
    a button in form A, just in case if that makes a diff.

  • URGENT - Flash Timer Problem

    Hey there, I;m having trouble to place a timer in my flash. I'm attaching the source file.
    The issue is such that I'm having 3 buttons, when triggered (RollOver) reveals an image or swf and when I rollout, it display a default random image, from an image directory. What I want is to delay the action trigger over the 3 buttons such that it fades out again in let's say 10seconds. Also, when the timer starts on any of the buttons I can rollover on any of the buttons and it overwrites the action from any previously rolled over buttons.
    Does that make sense and anyone can help me please. This is urgent as I'm trying to solve this problem and deadline is end of this week.
    Thanks
    Ben

    i generally only download and correct files if i'm hired to do so.  if you want to hire me, send an email via my website ( www.kglad.com ).
    if you want free help in this forum, you're more likely to receive it if you ask a question focused on a particular problem.

  • URGENT: ACCOUNT No. Problem

    Hi,
    I am facing a problem that when i check FI documents in MIGO then there is a Document number and it is stored in BSEG table. and when i check in the BSAK or BSIK table it is not present. when i check it in the tcode FBL3N THAT DOCUMENT is present and there is tick mark against it as it is in the open item coloumn.
    plzzz tell me what is the functionality of it as it is really urgent to me.

    Hi Abaper2008,
    if you post GR with migo the document looks like the following:
    Stock account debit / GR-IR account credit
       -(BSEGBSAS)          BSEGBSIS
                    or
    PL account debit / GR-IR account credit.
         (BSEGBSAS          BSEGBSIS
    This means you have no vendor in this posting.
    The invoice will be posted with miro:
    GR-IR debit   /   vendors account credit
    BSEGBSIS -   BSEG/BSIK
    GR/IR is cleared:
    (BSEG+) BSIS -> BSAS
    Inoice is cleared
    BSEG+ BSIK -> BSEG+BSAK
    Best regards
       Horst

  • Urgent!! Problem using NAS 3.0 TemplateMapBasic

    We are using NAS 3.0. For passing the data to the template,
    we are using the TemplateMapBasic object. But due to the requirement after setting the data, once again we need to get the data from this map object and modify it. For getting the data we are using getString() method of TemplateMapBasic. The data being set to this object initially contains some Japanese characters data also. When i am retreiving the data, that time the data is coming in some unreadable format. And this
    problem is only coming when i am running the code in UNIX environment. I am getting the data correctly on NT. When i tried to print the system encoding on both unix and NT, the encodings are coming as different. For Unix, the encoding is MS932, whereas for NT, the encoding is coming as SJIS. Please let me know is this problem due to some system encodings problem or it is due to TemplateMapBasic's getString() method.
    If anyone faced this problem, please let me know the solution.
    It is very URGENT..
    Thanks..
    Anshumn

    I am experiencing the same problem with CCA 3.0.1 (EN) and a new SR520W (Fast Ethernet) router.
    Attached is a screen shot of the point of failure in the CCA Device Configuration Wizard.
    In the Wizard, clicking the Modify button in the WAN configuration page is a repeatable show stopper.
    Please let me know with this bug is fixed.  Until then, I will need to do the Device Configuration using a command line terminal.
    Arnold

  • 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

Maybe you are looking for