WSDL Generation Ant Task

Hi
I can see the ANT tasks to generate WAR/EAR for a given EJB/POJO service implementation
- but I dont see any options to output a WSDL file. Is there one?
I realise that I can obtain the WSDL from a deployed service via ?WSDL, but I
really need to generate the WSDL file as part of the build.
Cheers,
-Nick

Hi Nick,
There will be a wsdlgen ant task in coming release. It should solve your
problem. For now you can run clientgen on the ear, there is a wsdl saved in
the generated client jar.
-Neal
"Nick Minutello" <[email protected]> wrote
in message news:[email protected]..
>
Hi
I can see the ANT tasks to generate WAR/EAR for a given EJB/POJO serviceimplementation
- but I dont see any options to output a WSDL file. Is there one?
I realise that I can obtain the WSDL from a deployed service via ?WSDL,but I
really need to generate the WSDL file as part of the build.
Cheers,
-Nick

Similar Messages

  • Castor XSD Code Generation ANT task: mapping  XML file?

    Hello,
    I am new to Castor and am using the Castor Code Generator ANT task to generate code from a XSD schema file.
    I am using a binding XML file as well. One thing that I have a question about is the needed XML mapping file. I set the ‘*generateMapping*’ attribute to ‘true’ but have not found a mapping XML document.
    Is there something I am doing wrong?
    I would have attached the XSD files(some are imported), binding XML file and the ANT build.xml file in a .zip file to this post, but this forum does not have a facility for file attachments, but I can email them upon request.
    Thanks in advance,
    Andrew

    Hi Andrew,
    JAXB is the Java standard (JSR-222) for generating Java classes from an XML schema. Several implementations of this standard are available:
    - Metro JAXB: The JAXB reference implementation, available in Java SE 6 and as part of GlassFish
    - EclipseLink JAXB (MOXy): Part of EclipseLink, also available in Oracle TopLink
    - JaxMe: Available from Apache
    - Etc...
    Castor is a proprietary XML binding tool. For Castor related questions you should visit the Castor website.
    -Blaise

  • Why wlappc ANT task forces aways the generation of the EJB classes ?

    I've got a problem with the ANT task "wlappc" witch interfaces Weblogic compilator.
    In fact, I would like to execute the ebj compilation only when needed (if the deployment descriptor or a class changed for example).
    It seems that this is the default behavior and the 'forcegeneration' option of the wlappc Ant task can change it (the doc is below).
    forceGeneration :
    Forces generation of EJB and JSP classes. Without this flag, the classes will not be regenerated unless a checksum indicates that it is necessary.
    So I wrote :
    <wlappc source="${descriptors}/CommandeEntities" output="${build}/CommandsEntities.jar" keepgenerated="true" verbose="true" forcegeneration="false">
         <classpath refid="ejb.classpath"/>
    </wlappc>
    but I got the folowing result :
    ejbjar:
    [wlappc] Warning, output location exists H:\devWv2\wv2\build\CommandesEntities.jar
    [wlappc] Created working directory: C:\DOCUME~1\vdoneva\LOCALS~1\Temp\appcgen_1221729775921_CommandesEntities
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [VersionHelper] Recompiling because no previous hashes found
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Compliance Checker said bean was compliant
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating Bean Sources
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating source for ejb WCritereListeMulticritere
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generated the following sources for this EJB: [C:\DOCUME~1\vdoneva\LOCALS~1\Temp\appcgen_1221729775921_CommandesEntities\com\experian\wv2\db\WCritereListeMulticritere_u6449c_LocalHomeImpl.java, C:\DOCUME~1\vdoneva\LOCALS~1\Temp\appcgen_1221729775921_CommandesEntities\com\experian\wv2\db\WCritereListeMulticritere_u6449c_ELOImpl.java]
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating Persistence Sources
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating Bean Sources
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating source for ejb Document
    [wlappc] 18 sept. 2008 11:23:00 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generated the following sources for this EJB: [C:\DOCUME~1\vdoneva\LOCALS~1\Temp\appcgen_1221729775921_CommandesEntities\com\experian\wv2\db\Document_6vm6yi_LocalHomeImpl.java, C:\DOCUME~1\vdoneva\LOCALS~1\Temp\appcgen_1221729775921_CommandesEntities\com\experian\wv2\db\Document_6vm6yi_ELOImpl.java]
    [wlappc] 18 sept. 2008 11:23:02 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating Persistence Sources
    [wlappc] 18 sept. 2008 11:23:02 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Compiling EJB sources
    [wlappc] Note: Some input files use unchecked or unsafe operations.
    [wlappc] Note: Recompile with -Xlint:unchecked for details.
    [wlappc] 18 sept. 2008 11:23:10 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Recompilation completed
    [wlappc] 18 sept. 2008 11:23:10 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Rmic completed
    [wlappc] Compilation completed successfully.
    [jar] Updating jar: H:\devWv2\wv2\build\CommandesEntities.jar
    BUILD SUCCESSFUL
    All the classes witch hasn't changed has been checked and regenerated. The compliler says "Recompiling because no previous hashes found".
    But why ? It could be besause it creates a different working directory each time I execute this ant task ? Is this working directory configurable ?
    Would you have any idea of what's happening ?
    Thanks.

    You can find this in the 'org\apache\tools\ant\taskdefs\defaults.properties'
    file of %wl-home%\server\lib\ant\ant.jar
    --Sathish
    <Michael Lee> wrote in message news:[email protected]..
    I mean the definition of "wlappc" not the help for wlappc???thx.
    i.e.
    where can i find the sentence list below:
    <taskdef name="wlappc" classname="weblogic.ant.taskdefs.j2ee.Appc"/>
    I mean which files this "taskdef" is being in .

  • Missing dependant files in generated WSDL using jwsc task

    Hi,
    I’m using weblogic 12.1 ant task jwsc to generate the artifacts to create weblogic web service. Following is my JWS file
    @WebService(name="HelloWorld", serviceName="HelloWorld",
    targetNamespace="http://example.org")
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
                  use=SOAPBinding.Use.LITERAL,
                  parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
    @WLHttpTransport(contextPath="HelloWorld", serviceUri="HelloWorldSvc",
                      portName="HelloWorldPort")
    public class HelloWorld{
    @WebMethod()
    public ServiceResponse sayHello(){
    Employee emp=new Employee();
    emp.setName(“Alex”);
    System.out.println(“Hello ”+emp.getName());
    return new ServiceResponse(emp);
    public class ServiceResponse{
    private Object responseObject;
    public ServiceResponse(Object responseObejct){
    this.responseObject=responseObject;
    //getters and setters of response object
    My webMethod sayHello() uses Employee class . After executing jwsc task, the generated WSDL doesn’t contain any reference related to Employee class. If I use clientgen ant task to generate client artifacts from WSDL (generated from jwsc task), client jar will not have Employee class (since WSDL doesn’t have the user-defined class Employee).
    If I try to access the application, it’s throwing NoClassDefFoundError for Employee class.(unknown java type:Employee)
    Ant script :
    <jwsc
           srcdir="src"
           destdir="${dist}">
          <jws file="com/examples/webservices/HelloWorld.java" />
        </jwsc>
    Ant task to generate client artifacts:
    <clientgen
                   wsdl="http://localhost:7001/HelloWorld/HelloWorldSvc?WSDL”
                   destFile="HelloWorld_Client.jar"
                   packageName="com.examples.webservices.client"
                   classpathref="class.path"              
                   type="JAXRPC"/>

    I have some new information. When I generate the project as FlashHelp, I get an error message:
    Error: Fail to update Template file whxdata\whfts.xml
    In the resulting output, we get correctly functional TOC autosync, but non-functional search. (This is the same result as with WebHelp, except that no error message appears in generation.)

  • Wsdlc Ant Task - Problem creating java files in the correct package

    In eclipse, for weblogic 9.2
    Using the wsdlc WebLogic Web Services Ant Task, I am trying to auto-generate the java files for the web service based on the WSDL. I have specified the packageName as one of the parameters. However the java files are being created and packaged based on the TargetNameSpace of the WSDL rather then under the package name specified. Following is part of my build.xml
    autogen.src.dir=../code/java/beaAutoGen
    base.dest=../../../var/build/wsmToPlmWS
    bea.build.dir=beaBuild
         <target name="generate-from-wsdl" depends="prepare">
              <delete dir="${src.dir}" includeemptydirs="true" />
              <delete dir="${autogen.src.dir}" includeemptydirs="true" />
              <wsdlc srcWsdl="../config/sourceWSDL/MRPBindingPort.wsdl"
                   destJwsDir="${base.dest}/${bea.build.dir}/compiledWsdl" destImplDir="${base.dest}/${bea.build.dir}/impl"
                   packageName="com.lmco.iplm.webservices.wsmtoplm" debug="on"
                   srcServiceName="WSPlmMto_Service"
                   debugLevel="DEBUG" autoDetectWrapped="true" jaxRPCWrappedArrayStyle="true"
                   verbose="on" classpathref="bea-classpath" />
    <!-- unjar to get the all the details so we can tokenize -->
              <unjar dest="${autogen.src.dir}"
                   src="${base.dest}/${bea.build.dir}/compiledWsdl/MRPBindingPort_wsdl.jar" />
    <!-- copy over the impl file -->
              <copy todir="../code/java/src">
                   <fileset dir="${base.dest}/${bea.build.dir}/impl" />
              </copy>
         </target>

    In eclipse, for weblogic 9.2
    Using the wsdlc WebLogic Web Services Ant Task, I am trying to auto-generate the java files for the web service based on the WSDL. I have specified the packageName as one of the parameters. However the java files are being created and packaged based on the TargetNameSpace of the WSDL rather then under the package name specified. Following is part of my build.xml
    autogen.src.dir=../code/java/beaAutoGen
    base.dest=../../../var/build/wsmToPlmWS
    bea.build.dir=beaBuild
         <target name="generate-from-wsdl" depends="prepare">
              <delete dir="${src.dir}" includeemptydirs="true" />
              <delete dir="${autogen.src.dir}" includeemptydirs="true" />
              <wsdlc srcWsdl="../config/sourceWSDL/MRPBindingPort.wsdl"
                   destJwsDir="${base.dest}/${bea.build.dir}/compiledWsdl" destImplDir="${base.dest}/${bea.build.dir}/impl"
                   packageName="com.lmco.iplm.webservices.wsmtoplm" debug="on"
                   srcServiceName="WSPlmMto_Service"
                   debugLevel="DEBUG" autoDetectWrapped="true" jaxRPCWrappedArrayStyle="true"
                   verbose="on" classpathref="bea-classpath" />
    <!-- unjar to get the all the details so we can tokenize -->
              <unjar dest="${autogen.src.dir}"
                   src="${base.dest}/${bea.build.dir}/compiledWsdl/MRPBindingPort_wsdl.jar" />
    <!-- copy over the impl file -->
              <copy todir="../code/java/src">
                   <fileset dir="${base.dest}/${bea.build.dir}/impl" />
              </copy>
         </target>

  • Are the WLS 9.1 Web Service Ant Tasks ready for prime time?

    I am trying to create a Proof of Concept (POC) for Enterprise and B2B Services at Wendy's Int'l, Inc.
    As part of this POC, I created a WSDL for an in-house service and then used the wsdlc and jwsc Ant Tasks to translate this WSDL to Java classes and ultimately (I hoped) a deployable services.
    In this document, I describe the issues I encountered setting up what I consider to be a simple POC.
    I'll try to attach my WSDL file and build.xml so you can follow along.
    I'll also try to attach my CSS file so you can compare how the generated WSDL appears in the Browser to the way I want it to appear.
    If attachments are not allowed on these forums, then I will wait and see if there is interest in those documents before I paste them under this topic.
    Some preliminary information about my environment.
    Environment:
         Windows XP Pro SP2
         WebLogic 9.1
         Java 1.5.0_04
    Service Name:
         AppRelease
    Note: If I modify my WSDL (perhaps to add a new Operation or to change the definition of an element) and run wsdlc again, the AppReleaseSOAPPortImpl.java file is overwritten For this reason, I implemented my service logic in a class called AppReleaseServiceImple.java.
    Now, for the issues.
    1.     Bug:
    In the WSDL generated by wsdlc, the wsdl:part child of the wsdl:message tag is erroneously prefixed with a colon.
    This occurs whether or not I specify a prefix for the http://schemas.xmlsoap.org/wsdl/ namespace.
    Work around: Extract the wsdl from the jar file, fix it and add it back into the jar.
    2.     Bug:
    In the WSDL generated by wsdlc, the wsdl:input and wsdl:output children of the wsdl:operation child of wsdl:portType tag are erroneously prefixed with a colon. Like 1 above, this occurs whether or not I specify a prefix for the http://schemas.xmlsoap.org/wsdl/ namespace.
    Work around: Extract the wsdl from the jar file, fix it and add it back into the jar.
    The error message generated by Bugs 1 and 2 is not helpful in diagnosing the problem:
    [jwsc] Error at line:46 col:7 ':' expected [?! -- [CDATA[ ]
    3.     Bug:
    In the WSDL generated by wsdlc, the documentation elements have all of my html elements stripped out, as well as my xhtml and wsdl namespace references. This completely negates one of the best features of the documentation tag, being able to present the WSDL in a browser as a nicely formatted, human friendly document which is also the underlying WSDL that can be viewed when the person views the source document.
    I label this as a bug because it greatly reduces the functionality of the resulting WSDL.
    4.     Annoyance:
    The WSDL generated by wsdlc has all of my comments stripped out, except the comments in the xsd:schema section of the wsdl:types element. I would prefer that all my comments be left in the WSDL, but if comments must be stripped out then I think all of the comments should be stripped out.
    5.     Annoyance:
    The WSDL generated by wsdlc has my CSS specification stripped.
    Work around: I don’t know if adding the CSS back will do any good because I have not yet created a deployable service (see the last issue below).
    6.     Annoyance:
    The WSDL generated by wsdlc has different namespace prefixes than the ones I specified for my application's namespace and for the http://schemas.xmlsoap.org/wsdl/soap/ namespace.
    Work around: Perform a find/replace on namespace prefixes "s0" and "s1" to return them to my prefered values.
    Another thing I can do at this point is simply replace the generated WSDL in the jar file with my original WSDL. This would address issues 1 thru 6 above.
    7.     Annoyance:
    The java source files created by wsdlc are put into a jar file. This makes it annoying when working within a traditional IDE like Eclipse because there is no way to reference the source files within the jar as working source.
    Work around: Extract the source files from the jar and identify the resulting directory structure as part of the source structure of the project.
    8.     Bug:
    The jwsc task complains if the same parameter name is used in multiple operations. I received the following Errors from jwsc:
    [jwsc] C:\IDE\workspace\Acre-WL9.1\AppReleaseSOAPPort.java 0:0
    [jwsc] [ERROR] - Parameter element "{http://acre.services.wendys.com/AppRelease/}garRequest" is not unique across document/literal bare WebService.
    Since the operation names are unique, I see no reason to also require uniqueness in the parameter names used by those operations.
    Work around: Use unique element names for the input parameters of the services operations.
    9.     Bug:
    Once items 1, 2 and 8 above are taken care of, jwsc fails with the following error:
    java.lang.AssertionError: java.lang.ClassNotFoundException: weblogic.j2ee.descriptor.ApplicationBeanImpl
    This seems to be due to the weblogic.jar file not being in the System Classpath.
    However, I should note that when I set verbose="on" and debug="on" in the jwsc ant task, there was a message from the task which stated "[jwsc] [search path for class files: [big freakin’ jar list]". In the big freakin’ jar list, I did find weblogic.jar and weblogic.jar has the required ApplicationBeanImpl. This indicates to me that the jwsc task does not fully honor either its classpathref attribute, nor an embedded classpath element.
    Work around: Make sure the weblogic.jar is in the System Classpath.
    10.     Bug:
    I fixed bug #9 by running a setDomainEnv script and then ran my ant task. This time I received the following output:
    ant build-serviceBuildfile: build.xml
    build-service:
    [jwsc] 1 JWS files will be processed.
    [jwsc] Processing JWS: C:\IDE\workspace\Acre-WL9.1\src\com\wendys\services\acre\AppReleaseServiceImpl.java
    [jwsc] JWS: C:\IDE\workspace\Acre-WL9.1\src\com\wendys\services\acre\AppReleaseServiceImpl.java Validated.
    [AntUtil.deleteDir] Deleting directory <some temporary directory>
    BUILD FAILED
    java.lang.ExceptionInInitializerError
    At this point, I am completely stymied about how to proceed.
    I wonder what new issues await once this 10th issue is addressed.
    Really, is this tool set ready for prime time?

    <i>Sorry to hear you are having so many issues with using the WLS 9.1 web service Ant tasks, inside of Eclipse.
    I generally create a User Library for the couple weblogic jars needed, and use it (the User Library) in my Eclipse projects that I create JWSes in.</i><br>
    I also have a separate WebLogic Library in Eclipse (actually 2 libraries since I work with WL 8.1 and now WL 9.1). As you may know, one of the long-standing issues with the Ant integration within Eclipse is the fact that Ant, being an External Tool, does not receive the Project-specific Paths/Libraries. However, since most Java-relevant Ant tasks can take classpath and classpathref attributes, this is usually not an issue. In the case of the BEA-supplied wsdlc Ant task, it is apparent from the verbose/debug console output that wsdlc can see the jars in its classpathref, but it ignores those references when resolving class references and instead only uses the system classpath.
    <p>
    <i>I've only needed the weblogic.jar and xbean.jar, not all the ones you mentioned in an earlier thread of this post.</i><br>
    I have not tried to winnow down exactly which jars are required. I simply included all the jars that exist and were added to the system classpath by the setDomainEnv.bat file created by WebLogic 9.1.
    <p>
    <i>Afterwards, I create an Ant Builder to build the JWS Web Service EAR, as opposed to fiddlin' with Eclipse.</i><br>
    I too use Ant to build my deployable archives. Eclipse is simply my IDE of choice. I validated that all the issues I listed occurred when running Ant from the command line.
    <p>
    <i>If you are interested in how I do it, send me an e-mail (to [email protected]), and I'll send you a zip of one of these JWS projects. The build.xml script for the project, takes care of a lot of the "annoyances" you mentioned, one of which I think is not accurate. I have never had a situation where the wsdlc Ant task "overwrote" my XXXImpl.java file..</i><br>
    Since I'm doing a POC to determine how we want to proceed with developing Web Services and an SOA in general, I tried to perform the same tasks using Axis 2 1.0, the WebLogic 9.1 tools, and XFire 1.1. Overwriting the Impl class is a common failing in the tools which take a WSDL and create Java source files for all three frameworks.
    <p>
    Try my scenario. Add another operation to an existing WSDL, and run the wsdlc Ant Task. The old IMPL class will be over-written.
    <p>
    Because of this, I have a separate Impl class and I make sure that all its methods and annotations match the methods and annotations in the Skeleton Impl class created by wsdlc.
    <p>
    <i>Maybe that's because I use the <exec> Ant task with jar.exe (the xvf options) in my build.xml, to only get what I need out of the .jar/.zip the wsdlc generates. I'm typically only interest in the interface class that my XXXImpl.java file needs to implements, because I use XMLBeans for the input args (and return values) of my web service operations.</i><br>
    Perhaps. I am not using XMLBeans in any of the three frameworks because the resulting service seems to be lighter-weight in all three frameworks if XMLBeans is not used. I'm sure there will be scenarios where XMLBeans is preferred, but I have not encountered that case in this POC.
    <p>
    <i>Regards,
    Mike Wooten</i>
    Thanks for the follow-up.
    Mike McAngus

  • Clientgen ant task throwing errors in Weblogic 8.1 SP4

    When I try to run clientgen ant task for a WSDL (pertaining to a .NET webservice on a non-weblogic server) in Weblogic 8.1 SP4, I'm getting the following errors. I'm running setEnv command, clientgen ant task from command prompt in WLS_HOME/user_projects/domains/mydomain folder. What am I missing? Any help is highly appreciated.
    My build.xml is
    <project name="buildWebservice" default="generate-client">
    <target name="generate-client">
    <taskdef name="clientgen" classname="weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask" />
    <clientgen wsdl="http://abcd.efgh.com/testwebservice/TestWebService.asmx?WSDL" packageName="portal.testwebservice.client" clientJar="C:/Documents and Settings/usxspsw/Desktop/docutrakwebservice_client.jar" />
    </target>
    </project>
    C:\bea\user_projects\domains\mydomain>ant generate-client
    Buildfile: build.xml
    generate-client:
    [clientgen] Generating client jar for C:/Documents and Settings/dlauser/Desktop/Test.wsdl ...
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTypes
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTypesResponse getTestTypes(TestWebService.GetTestTypes parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTypesResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTypesResponse getTestTypes(TestWebService.GetTestTypes parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class UpdateTestTicketStatus
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.UpdateTestTicketStatusResponse updateTestTicketStatus(TestWebService.UpdateTestTicketStatus parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class UpdateTestTicketStatusResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.UpdateTestTicketStatusResponse updateTestTicketStatus(TestWebService.UpdateTestTicketStatus parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicketsByID
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByIDResponse getTestTicketsByID(TestWebService.GetTestTicketsByID parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicketsByIDResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByIDResponse getTestTicketsByID(TestWebService.GetTestTicketsByID parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicket
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketResponse getTestTicket(TestWebService.GetTestTicket parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicketResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketResponse getTestTicket(TestWebService.GetTestTicket parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicketsByName
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByNameResponse getTestTicketsByName(TestWebService.GetTestTicketsByName parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicketsByNameResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByNameResponse getTestTicketsByName(TestWebService.GetTestTicketsByName parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypes
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTypesResponse getTestTypes(TestWebService.GetTestTypes parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypesResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTypesResponse getTestTypes(TestWebService.GetTestTypes parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatus
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.UpdateTestTicketStatusResponse updateTestTicketStatus(TestWebService.UpdateTestTicketStatus parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatusResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.UpdateTestTicketStatusResponse updateTestTicketStatus(TestWebService.UpdateTestTicketStatus parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByID
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByIDResponse getTestTicketsByID(TestWebService.GetTestTicketsByID parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByIDResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByIDResponse getTestTicketsByID(TestWebService.GetTestTicketsByID parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicket
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketResponse getTestTicket(TestWebService.GetTestTicket parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketResponse getTestTicket(TestWebService.GetTestTicket parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByName
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByNameResponse getTestTicketsByName(TestWebService.GetTestTicketsByName parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByNameResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByNameResponse getTestTicketsByName(TestWebService.GetTestTicketsByName parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypesResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] return (TestWebService.GetTestTypesResponse)_result;
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypes
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTypes _input =
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypes
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] new TestWebService.GetTestTypes();
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypesResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTypesResponse result = getTestTypes( input );
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatusResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] return (TestWebService.UpdateTestTicketStatusResponse)_result;
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatus
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.UpdateTestTicketStatus _input =
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatus
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] new TestWebService.UpdateTestTicketStatus();
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatusResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.UpdateTestTicketStatusResponse result = updateTestTicketStatus( input );
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByIDResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] return (TestWebService.GetTestTicketsByIDResponse)_result;
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByID
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicketsByID _input =
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByID
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] new TestWebService.GetTestTicketsByID();
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByIDResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicketsByIDResponse result = getTestTicketsByID( input );
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] return (TestWebService.GetTestTicketResponse)_result;
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicket
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicket _input =
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicket
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] new TestWebService.GetTestTicket();
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicketResponse result = getTestTicket( input );
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByNameResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] return (TestWebService.GetTestTicketsByNameResponse)_result;
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByName
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicketsByName _input =
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByName
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] new TestWebService.GetTestTicketsByName();
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByNameResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicketsByNameResponse result = getTestTicketsByName( input );
    [clientgen] ^
    [clientgen] 40 errors
    [clientgen] java.io.IOException: Compiler failed executable.exec
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [clientgen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(ClientGenImpl.java:409)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:340)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:C:/bea/user_projects/domains/mydomain/build.xml:15: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
    [java.io.IOException: Compiler failed executable.exec]

    When I try to run clientgen ant task for a WSDL (pertaining to a .NET webservice on a non-weblogic server) in Weblogic 8.1 SP4, I'm getting the following errors. I'm running setEnv command, clientgen ant task from command prompt in WLS_HOME/user_projects/domains/mydomain folder. What am I missing? Any help is highly appreciated.
    My build.xml is
    <project name="buildWebservice" default="generate-client">
    <target name="generate-client">
    <taskdef name="clientgen" classname="weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask" />
    <clientgen wsdl="http://abcd.efgh.com/testwebservice/TestWebService.asmx?WSDL" packageName="portal.testwebservice.client" clientJar="C:/Documents and Settings/usxspsw/Desktop/docutrakwebservice_client.jar" />
    </target>
    </project>
    C:\bea\user_projects\domains\mydomain>ant generate-client
    Buildfile: build.xml
    generate-client:
    [clientgen] Generating client jar for C:/Documents and Settings/dlauser/Desktop/Test.wsdl ...
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTypes
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTypesResponse getTestTypes(TestWebService.GetTestTypes parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTypesResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTypesResponse getTestTypes(TestWebService.GetTestTypes parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class UpdateTestTicketStatus
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.UpdateTestTicketStatusResponse updateTestTicketStatus(TestWebService.UpdateTestTicketStatus parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class UpdateTestTicketStatusResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.UpdateTestTicketStatusResponse updateTestTicketStatus(TestWebService.UpdateTestTicketStatus parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicketsByID
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByIDResponse getTestTicketsByID(TestWebService.GetTestTicketsByID parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicketsByIDResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByIDResponse getTestTicketsByID(TestWebService.GetTestTicketsByID parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicket
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketResponse getTestTicket(TestWebService.GetTestTicket parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicketResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketResponse getTestTicket(TestWebService.GetTestTicket parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicketsByName
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByNameResponse getTestTicketsByName(TestWebService.GetTestTicketsByName parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap.java:
    [clientgen] symbol : class GetTestTicketsByNameResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByNameResponse getTestTicketsByName(TestWebService.GetTestTicketsByName parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypes
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTypesResponse getTestTypes(TestWebService.GetTestTypes parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypesResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTypesResponse getTestTypes(TestWebService.GetTestTypes parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatus
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.UpdateTestTicketStatusResponse updateTestTicketStatus(TestWebService.UpdateTestTicketStatus parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatusResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.UpdateTestTicketStatusResponse updateTestTicketStatus(TestWebService.UpdateTestTicketStatus parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByID
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByIDResponse getTestTicketsByID(TestWebService.GetTestTicketsByID parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByIDResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByIDResponse getTestTicketsByID(TestWebService.GetTestTicketsByID parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicket
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketResponse getTestTicket(TestWebService.GetTestTicket parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketResponse getTestTicket(TestWebService.GetTestTicket parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByName
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByNameResponse getTestTicketsByName(TestWebService.GetTestTicketsByName parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByNameResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] public TestWebService.GetTestTicketsByNameResponse getTestTicketsByName(TestWebService.GetTestTicketsByName parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypesResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] return (TestWebService.GetTestTypesResponse)_result;
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypes
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTypes _input =
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypes
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] new TestWebService.GetTestTypes();
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTypesResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTypesResponse result = getTestTypes( input );
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatusResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] return (TestWebService.UpdateTestTicketStatusResponse)_result;
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatus
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.UpdateTestTicketStatus _input =
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatus
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] new TestWebService.UpdateTestTicketStatus();
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class UpdateTestTicketStatusResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.UpdateTestTicketStatusResponse result = updateTestTicketStatus( input );
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByIDResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] return (TestWebService.GetTestTicketsByIDResponse)_result;
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByID
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicketsByID _input =
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByID
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] new TestWebService.GetTestTicketsByID();
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByIDResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicketsByIDResponse result = getTestTicketsByID( input );
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] return (TestWebService.GetTestTicketResponse)_result;
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicket
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicket _input =
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicket
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] new TestWebService.GetTestTicket();
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicketResponse result = getTestTicket( input );
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByNameResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] return (TestWebService.GetTestTicketsByNameResponse)_result;
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByName
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicketsByName _input =
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByName
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] new TestWebService.GetTestTicketsByName();
    [clientgen] ^
    [clientgen] C:\Documents and Settings\dlauser\Local Settings\Temp\Testwebservice_client.jar167246560\portal\Testwebservice\client\TestWebServiceSoap_Stub.
    [clientgen] symbol : class GetTestTicketsByNameResponse
    [clientgen] location: interface portal.Testwebservice.client.TestWebService
    [clientgen] TestWebService.GetTestTicketsByNameResponse result = getTestTicketsByName( input );
    [clientgen] ^
    [clientgen] 40 errors
    [clientgen] java.io.IOException: Compiler failed executable.exec
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [clientgen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(ClientGenImpl.java:409)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:340)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:C:/bea/user_projects/domains/mydomain/build.xml:15: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
    [java.io.IOException: Compiler failed executable.exec]

  • Using wsdlc Ant task and Eclipse

    Hi all,
    I'm using the WebLogic Ant Task wsdlc to generate a default implementation of a java web service based on an existing WSDL.
    Everythign generates just fine. I have one little problem though: the classes that represent some of the complex types defined in the WSDL are generated in the compiled WSDL file (the JAR file that wsdlc creates). If I open the java source file for the web service (also created by the wsdlc task, but NOT in the compiled wsdl jar) with Eclipse, Eclipse cannot find the source code for those complex types, and therefore underlines the data types in red to indicate an error.
    My question is this: is there a way to tell Eclipse to look for additional source files inside of the compiled wsdl.jar file?
    Many thanks in advance!
    Jeff

    I got around this by unjaring the generated source jar into a "generated/src" directory and put that directory on the build path.
    Andy O

  • Fully qualified elements in clientgen ant task

    I think that ant clientgen task from WLS 10.3.3 is ignoring XSD parameter elementFormDefault="qualified". I generated client with this task and then sent simple request to webmethods server (i don't know version of this server either implementation of webservices on it) and i received bellow error:
    *javax.xml.ws.soap.SOAPFaultException: [ISS.0088.9112] An Exception was thrown in the server:{0}*
    After some investigation i had notice that webmethods server is answered with followed response:
    +<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header/><SOAP-ENV:Body>+
    +<SOAP-ENV:Fault>+
    +<faultcode>SOAP-ENV:Server</faultcode>+
    +<faultstring>[ISS.0088.9112] An Exception was thrown in the server:{0}</faultstring>+
    +<faultactor>http://ip:6080/soap/inbound</faultactor>+
    +<detail xmlns:webM="http://www.webMethods.com/2001/10/soap/encoding">+
    +<webM:exception>+
    +<webM:className>com.wm.lang.flow.FlowException<;/webM:className>+
    +<webM:message xml:lang="">java.lang.Exception: missing required parameter 'document'</webM:message>+
    +</webM:exception>+
    +</detail>+
    +</SOAP-ENV:Fault>+
    +</SOAP-ENV:Body>+
    +</SOAP-ENV:Envelope>+
    but request had document element in it:
    +<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><metadata xmlns="http://ns"><processGroup>PR</processGroup></metadata></S:Header><S:Body><document xmlns="http://ns"><binary>some binary</binary></document></S:Body></S:Envelope>+
    after some modification i created fixed elements for body tag like this:
    +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >+
    +<soapenv:Header>+
    +<ns:metadata xmlns:ns="http://ns">+
    +<ns:processGroup>PR</ns:processGroup>+
    +</ns:metadata>+
    +</soapenv:Header>+
    +<soapenv:Body>+
    +<ns:document xmlns:ns="http://ns">+
    +<ns:binary>some binary+
    +</ns:binary>+
    +</ns:document>+
    +</soapenv:Body>+
    sent it ... and response was fine!
    When I create request in Altova XMLSPY or in SOAPUI  requests are correct (with qualified elements - see below)
    Example request from soapui:
    +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://ns">+
    +<soapenv:Header>+
    +<ns:metadata>+
    +<ns:processGroup>PR</ns:processGroup>+
    +</ns:metadata>+
    +</soapenv:Header>+
    +<soapenv:Body>+
    +<ns:document>+
    +<ns:binary>some binary+
    +</ns:binary>+
    +</ns:document>+
    +</soapenv:Body>+
    My WSDL*
    +<wsdl:definitions xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/";+
    xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ns="http://ns" xmlns="http://ns" name="ReceiveRequest" targetNamespace="http://ns">
    +<wsdl:documentation>This WSDL document contains an implementation of the ns Inbound Web Service.</wsdl:documentation>+
    +<wsdl:types>+
    +<xs:schema>+
    +<xs:import schemaLocation="xsd/data.xsd"; namespace="http://ns"/>+
    +</xs:schema>+
    +</wsdl:types>+
    +<wsdl:message name="metadata">+
    +<wsdl:part name="metadata" element="ns:metadata">+
    +<wsdl:documentation>the meta data</wsdl:documentation>+
    +</wsdl:part>+
    +</wsdl:message>+
    +<wsdl:message name="document">+
    +<wsdl:part name="document" element="ns:document">+
    +<wsdl:documentation>the input data</wsdl:documentation>+
    +</wsdl:part>+
    +</wsdl:message>+
    +<wsdl:message name="receiveRequestOutput">+
    +<wsdl:part name="response" element="ns:processingResponse">+
    +<wsdl:documentation>the output data</wsdl:documentation>+
    +</wsdl:part>+
    +</wsdl:message>+
    +<wsdl:portType name="ns_backend_SOAPPortType">+
    +<wsdl:operation name="receiveRequest">+
    +<wsdl:input message="ns:document"/>+
    +<wsdl:output message="ns:receiveRequestOutput"/>+
    +</wsdl:operation>+
    +</wsdl:portType>+
    +<wsdl:binding name="ns_backend_SOAPBinding" type="ns:ns_backend_SOAPPortType">+
    +<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>+
    +<wsdl:operation name="receiveRequest">+
    +<soap:operation soapAction="receiveRequest" style="document"/>+
    +<wsdl:input>+
    +<soap:header message="metadata" part="metadata" use="literal"/>+
    +<soap:body parts="document" use="literal"/>+
    +</wsdl:input>+
    +<wsdl:output>+
    +<soap:header message="metadata" part="metadata" use="literal"/>+
    +<soap:body use="literal"/>+
    +</wsdl:output>+
    +</wsdl:operation>+
    +</wsdl:binding>+
    +<wsdl:service name="ReceiveRequest">+
    +<wsdl:port name="ns_backend_SOAPPort0" binding="ns:ns_backend_SOAPBinding">+
    +<soap:address location="https://ip:6080/soap/inbound"/>+
    +</wsdl:port>+
    +</wsdl:service>+
    +</wsdl:definitions>+
    And XSD*
    +<?xml version="1.0"; encoding="UTF-8"?>+
    +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://ns" targetNamespace="http://ns" elementFormDefault="qualified" attributeFormDefault="unqualified">+
    +<xs:element name="metadata" type="ns:metadataType"/>+
    +<!-- Request header meta data -->+
    +<xs:complexType name="metadataType">+
    +<xs:sequence>+
    +<xs:element name="processGroup" type="xs:string" nillable="false"/>+
    +<xs:element name="processName" type="xs:string" nillable="false"/>+
    +<xs:element name="applReqID" type="xs:string" nillable="false"/>+
    +<xs:element name="correlationID" type="xs:string" minOccurs="0"/>+
    +<xs:element name="sender" type="xs:string" minOccurs="0"/>+
    +<xs:element name="receiver" type="xs:string" minOccurs="0"/>+
    +<xs:element name="documentVersion" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property1_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property1_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property2_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property2_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property3_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property3_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property4_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property4_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property5_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property5_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property6_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property6_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property7_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property7_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property8_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property8_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property9_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property9_Value" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property10_Name" type="xs:string" minOccurs="0"/>+
    +<xs:element name="property10_Value" type="xs:string" minOccurs="0"/>+
    +<!-- 7.1 fields: typeFlag, replyTo, tags -->+
    +<xs:element name="typeFlag" type="xs:string" minOccurs="0"/>+
    +<xs:element name="replyTo" type="xs:string" minOccurs="0"/>+
    +<xs:element name="tags" type="xs:string" minOccurs="0"/>+
    +</xs:sequence>+
    +</xs:complexType>+
    +<!-- Response body part -->+
    +<xs:element name="processingResponse" type="ns:processingResponseType"/>+
    +<xs:complexType name="processingResponseType">+
    +<xs:all>+
    +<xs:element name="timeStamp" type="xs:string"/>+
    +<xs:element name="processStatus" type="xs:string"/>+
    +<xs:element name="responseMessage" type="xs:string"/>+
    +<xs:element name="applReqID" type="xs:string"/>+
    +<xs:element name="correlationID" type="xs:string"/>+
    +</xs:all>+
    +</xs:complexType>+
    +<!-- Request body part-->+
    +<xs:element name="document" type="ns:documentType"/>+
    +<xs:complexType name="documentType">+
    +<xs:sequence>+
    +<xs:element name="binary" type="xs:base64Binary"/>+
    +</xs:sequence>+
    +</xs:complexType>+
    +</xs:schema>+
    And Ant task*
    +<target name="wsdlc">+
    +<taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask"; classpathref="weblogic.jar.classpath";/>+
    +<wsdlc srcWsdl="wsdls/${wsdl_url}" jaxrpcwrappedarraystyle="false"+
    +destJwsDir="./src/${package_name}/" packageName="pl.nbp.exdi.${package_name}" type="JAXWS"+
    +explode="true" />+
    _*How to force clientgen to create fully qualified elements in request ?*_

    And one more thing: I deploy it on WLS 12c.

  • How to generate not nillable complexType with ant task autotype

    Hi all,
    The file types.xml created by ant task autotype contains, among others, all element definitions of my java classes.
    For testing purposes I have a simple class that holds (wraps) only a string. In the types.xml it is shown as followed:
    <xsd:complexType name="StringHolder">
    <xsd:sequence>
    <xsd:element name="mystring"
    type="xsd:string"
    nillable="true"
    minOccurs="1"
    maxOccurs="1">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    Somehow nullabel is always true, but I want to be false. Does anyone knows how?

    Hello digitxm,
    Since the hardware you have is the limiting factor, with the NI 6008 you can perform a software timed pwm output if timing in your application is not critical (your cycle time is in the seconds range and you do not mind some milliseconds of delay) you can use a digital output with software timing control for your PWM generation. Also, see how to use AO channel(s) to control the voltage level of a square wave output (period of the square wave can be varied). Otherwise, this can be accomplished by using the following example on generating a digital waveform using non-regeneration in order to update frequency and duty cycle on-the-fly using National Instruments M Series or X series DAQ devices.
    Best regards,
    Ali M
    Applications Engineer
    National Instruments
    www.ni.com/support

  • Class generated by genInterface ant task does not compile

    I am trying to build a web service from existing wsdl using genInterface and topDownAssemble ant tasks.
    The wsdl contains following type definition. Java class generated from this type (see below) does not compile. The problem is that there are two class members named
    'value'. Is this an issue with Web Services Assembly tool or there is some way to get
    around it?
    <s:simpleType name="quantityType">
    <s:restriction base="s:string">
    <s:enumeration value="summation"/>
    <s:enumeration value="demand"/>
    <s:enumeration value="value"/>
    <s:enumeration value="consumption"/>
    </s:restriction>
    </s:simpleType>
    // Version = Oracle WebServices (10.1.3.3.0, build 070610.1800.23513)
    public class QuantityType implements java.io.Serializable {
    private java.lang.String value;
    private static final String _summationString = "summation";
    private static final String _demandString = "demand";
    private static final String _valueString = "value";
    private static final String _consumptionString = "consumption";
    public static final java.lang.String summation = new java.lang.String(summationString);
    public static final java.lang.String demand = new java.lang.String(demandString);
    public static final java.lang.String value = new java.lang.String(valueString);
    public static final java.lang.String consumption = new java.lang.String(consumptionString);
    public static final QuantityType summation = new QuantityType(_summation);
    public static final QuantityType demand = new QuantityType(_demand);
    public static final QuantityType value = new QuantityType(_value);
    public static final QuantityType consumption = new QuantityType(_consumption);
    Andrei

    Pls set debug attribute of JWSC ant task to true or on, e.g.
    <jwsc srcdir="." destdir="${output.dir}" debug="on" keepGenerated="true">
              </jwsc>

  • Oracle ant tasks 10.1.3DP3

    I use the "assemble" ant task (and ant files provided with oracle sample web services apps in 10.1.3DP3) to generate EAR file in my application. Everything worked well with ant files but I wanted to move to maven as this is our build system. I 'm able to invoke the oracle ant tasks from maven and build the ear file. However when I try to deploy and then generate the proxy from WSDL I ran into some problems.
    1. I ''m unable to get deploy to work from maven. Error is:
    Unable to create Deployment Manager
    followed by
    error getting handle to JMX MBean Server
    2. Deployment during build is not a requirement for me but ability to generate proxy jars is. So I m trying to find a way to generate the proxy jars without having to get the WSDL remotely from a running OC4J. Is there a way to tell the "assemble" task to leave the WSDL file on the disk or do I need to pull it out of the generated EAR file and then feed it to "genProxy"?

    Check the 'genWSDL' ant task or equivalent command from the WS user guide [1], page 162. This should do what you are looking for.
    For the JMX-deployement integration with maven, try the J2EE forum. You may have more feedback there.
    Eric
    [1] http://download-west.oracle.com/otn/java/oc4j/1013/doc/web.1013/b14434.pdf

  • Xmlbean and ws8.1 ant tasks

    hi,
    i am looking to use xmlbeans to generate stubs for the input arameters and the output returned by the webservice designed using XSD schemas.
    I am not planning to use weblogic workshop and will be using only weblogic server 8.1 sp3 server to implement the webservice.
    From the weblogic server documentation I observed that using xmlbean is not supported. is that true ?
    Please provide a sample of how to integrate xmlbean and weblogic server ant tasks to implement a webservice. The ant task <autotype> generates the types.xml to be included in the wsdl file.. is there is a similar facility in xmlbeans.
    TIA
    karthik
    [[email protected]]

    Kiran,
    Did you happen to get this solution to work?
    I'm currently trying to use XMLBeans 2.x to create web services for ws8.1. My thought is that I would need to modify the types.xml to point to the XMLBeans custom serializer/deserializer class? I would then need to run the "wsdl2service" ant task to create the web-services.xml and web service implementation skeleton.
    It appears difficult to create weblogic web services outside of Workshop that use XMLBeans! Any advice that you can offer would be appreciated.
    -Shawn

  • Xmlbeans and ws8.1 ant tasks

    hi,
    i am looking to use xmlbeans to generate stubs for the input arameters and the output returned by the webservice designed using XSD schemas.
    I am not planning to use weblogic workshop and will be using only weblogic server 8.1 sp3 server to implement the webservice.
    From the weblogic server documentation I observed that using xmlbean is not supported. is that true ?
    Please provide a sample of how to integrate xmlbean and weblogic server ant tasks to implement a webservice. The ant task <autotype> generates the types.xml to be included in the wsdl file.. is there is a similar facility in xmlbeans.
    TIA
    karthik
    [[email protected]]

    Kiran,
    Did you happen to get this solution to work?
    I'm currently trying to use XMLBeans 2.x to create web services for ws8.1. My thought is that I would need to modify the types.xml to point to the XMLBeans custom serializer/deserializer class? I would then need to run the "wsdl2service" ant task to create the web-services.xml and web service implementation skeleton.
    It appears difficult to create weblogic web services outside of Workshop that use XMLBeans! Any advice that you can offer would be appreciated.
    -Shawn

  • Ant tasks to facilitate builds of Workshop apps in CM environment

    The source files that we view and edit in Workshop are processed through code generators
    to create the final Java classes that are deployed to the container. While testing
    in Workshop, this code generation is done internally to Workshop.
    However, if an application is being developed by more than one person, then we
    have to be able to build the deployable application from the command line, using
    Ant. This is because two users may commit independent changes to the same source
    file, and the integration build has to include the results of both of those changes.
    What documentation describes the Ant tasks that I can use to generate the deployable
    application from the source code of a Workshop application? I did a cursory search
    through the docs, but I didn't find anything conclusive.

    Any idea, I'm looking for your opinion, what do you think of the above

Maybe you are looking for

  • 11gR2 Grid installation error

    Hi All, I am currently trying to install the 11gR2 grid infra for cluster , First i ran the cluvfy i got the issue " exectask could not be retrieved from node "saixlab52" " then i tried to started while installing i am getting "Internal error" and in

  • Error in ABAP code

    Hi experts.. There is one one routine in BI which is written in ABAP.. When I try to compile that code.. it gives me following error : E:Field "/BI0/APP_O0100" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement

  • Slow at public libraries mystery

    my site reportedly works swell on Safari, IE at folks homes, and Firefox but...crashes or is super slow at public libraries, tested in two different counties at the same time Amazon open fast enough at the library, so I can't blame the library's serv

  • Low-level logging is currently enabled

    Hi, I just noticed a warning sign today, when I login to my EBS 11i (11.5.10.2). WARNING :Low-level logging is currently enabled. Your application will not perform as well while low-level logging is on. I did not remember setting it on, how do i set

  • Redirect website...

    Hi! I'd like to have my soon to be former domain re-direct automatically to a new domain/new website/design whenever someone goes to the old site. For just a redirect is it only the domain name registration I need to keep up? I can dump the old hosti