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.

Similar Messages

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

  • Clientgen Ant task

    I was getting this below error when iam trying to run the clientgen ant task if you could provide a solution for this that will great and this error code I got
    from bea site it talks this saying as been fixed in sp3 but still was working on sp4 (CR129536).
    Using the clientgen Ant task with a document-oriented Web Service caused the following exception:
    [clientgen] weblogic.xml.schema.model.XSDValidityException: unable to resolve type name

    can you try generating using the "destDir" instead "destFile" and see if that makes difference.
    http://docs.oracle.com/cd/E23943_01/web.1111/e13750/anttasks.htm#i1043588
    Regards,
    Sunil P

  • Clientgen Ant Task fails with "ClassNotFoundException: [B"

    I'm trying to run the clientgen Ant Task and I get weird error: a java.lang.ClassNotFoundException: [B
    Maybe Im missing something on my classpath but the cryptic message is preventing me from determining what exactly.
    Do you guys have any ideas?
    Extract build.xml:
    <clientgen ear="${expl.dir}"
    serviceName="SwiftcomInterfaceService"
    packageName="com.jnj.gtsc.swiftcom2.business.swiftcom.business.webservice.client"
    useServerTypes="True"
         warName="InterfaceWS"
         savewsdl="true"
    clientJar="${dist.dir}/swiftcomWS_client.jar" >
    <classpath refid="wsclient-classpath" />
    </clientgen>
    wsclient-classpath:
    contains only Weblogic 8.1 sp 6 webservice.jar and webserviceclient.jar
    Stacktrace:
    [clientgen] Generating client jar for swiftcom2Ear(SwiftcomInterfaceService) ...
    [clientgen] weblogic.webservice.server.ConfigException: unable to load class:[ java.lang.ClassNotFoundException: [B
    [clientgen] at weblogic.webservice.server.WebServiceFactory.loadClass(WebServiceFactory.java:1295)
    [clientgen] at weblogic.webservice.dd.MethodDescriptor.<init>(MethodDescriptor.java:45)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.registerOperation(WebServiceFactory.java:813)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.initOperations(WebServiceFactory.java:633)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.createFromMBean(WebServiceFactory.java:220)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebServiceRuntime(WSDLGenImpl.java:240)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDLGenImpl.java:135)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromEAR(ClientGenImpl.java:454)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:348)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:352)
    [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.taskdefs.Ant.execute(Ant.java:397)
    [clientgen] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
    [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.taskdefs.Ant.execute(Ant.java:397)
    [clientgen] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
    [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)

    I found out what the problem was: wrong version of JDK.
    I was calling my Ant script from Maven and it was executing the Ant script with the Java 6. Once I set the JAVA_HOME in the Maven call to a 1.4 JDK it worked.
    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <version>1.2</version>
                        <executions>
                             <execution>
                                  <id>run-ant</id>
                                  <phase>package</phase>
                                  <goals>
                                       <goal>exec</goal>
                                  </goals>
                             </execution>
                        </executions>
                        <configuration>
                             <executable>cmd.exe</executable>
                             <commandlineArgs>/X /C ${env.ANT_HOME}/bin/ant build-all</commandlineArgs>
                             <environmentVariables>
                                  <JAVA_HOME>${jdk-1.4}</JAVA_HOME>
                             </environmentVariables>
                        </configuration>
                   </plugin>

  • Weblogic ant task wsdl2service - truncating soapaction

    Hi all,
    I'm using the weblogic ant utility "wsdl2service" to deploy my webservice. Here is the ant snippet of my script.
    <taskdef name="wsdl2service" classname="weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service"/>
    <wsdl2service wsdl="${dev.dir}/wsdl/${myService}.wsdl" destDir="${build.dir}/wsjar"
         typeMappingFile="AutoType/in_types.xml" packageName="${in_class_packagename}" generateImpl="True">
    <classpath>
         <pathelement path="${lib3}"/>
         <pathelement path="${lib1}"/>
    <pathelement path="${lib2}"/>
         <pathelement path="AutoType/inventoryNotificationType.jar"/>
    </classpath>     
    </wsdl2service>
    It compiles properly and prepares the build. But after deploying the build, when i try to browse the wsdl thru internet browser, it is not populating the SOAPACTION attribute of SOAP:OPERATION element of my wsdl. So in the internetbroser the SOAPAction attribute is having empty value though it is present in the wsdl.
    Can some one tell why the WSDL2SERVICE tool is not populating the SOAPACTION attribute?

    Hi Jay,
    Thanks for your help.
    I am using weblogic 8.1 and Apache Ant version 1.5.3
    Jay I do not have client source code. When I am generating client using clientgen ant task, it gives me only a .jar file with .class files in it.
    I added .jar file generated by clientgen task in 'run' but now I am getting another error.
    <target name="run">
    <java classname="clientpkg.MathFace_Stub" fork="true" >
    <arg value="http://localhost:${port}/WebServices/MyFirstService?WSDL"/>
    <arg value="10"/>
    <arg value="17"/>
    <classpath>
    <pathelement location="staging"/>
    <pathelement location="${wl.home}/server/lib/weblogic.jar"/>
    <pathelement location="staging/MyFirstService_client.jar"/>
    <pathelement location="/ffdt01/resmgt/kul/ws"/>
    <pathelement path="staging"/>
    </classpath>
    </java>
    </target>
    --- This is giving below error:
    cu dmwls(162)$ ant run
    Buildfile: build.xml
    run:
    +[java] Exception in thread "main" j*ava.lang.NoSuchMethodError:* main+
    +[java] Java Result: 1+
    BUILD SUCCESSFUL
    Total time: 1 second
    Edited by: [email protected] on Feb 19, 2010 1:53 PM

  • Ant tasks in eclipse

    Feature request:
    It would be nice if the kodo ant tasks were attached to the
    "org.eclipse.ant.core.antTasks" extension point of eclipse so that ant
    scripts run from within eclipse would not have to define a "taskdef"
    element for those ant tasks.
    -Chris West

    Thanks for the suggestion. Hopefully we can get it in.
    http://bugzilla.solarmetric.com/show_bug.cgi?id=719
    Chris West wrote:
    Feature request:
    It would be nice if the kodo ant tasks were attached to the
    "org.eclipse.ant.core.antTasks" extension point of eclipse so that ant
    scripts run from within eclipse would not have to define a "taskdef"
    element for those ant tasks.
    -Chris West
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Clientgen does not fully qualify superclasses

    I have datatypes that extend classes in a different package. When I use
    WLS81 ANT task clientgen to generate client-jars from WSDL files obtained
    from web services generated by servicegen, the superclasses are not fully
    qualified in the generated java code, nor are there import statements for
    the superclasses. This causes the generated code to have compile errors.
    Other dependencies are fully qualified in the generated code, but the
    superclass is not.
    There mayThe WSDL is included below. Specifically,
    com.starcomsoft.pp.database.BaseHelper does not get a fully qualifed
    reference in the generated java code.
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns:tns="http://localhost:7001/webservice/"
    xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12
    ="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soap12enc="http://www.w3.org/2002/12/soap-encoding"
    xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    targetNamespace="http://localhost:7001/webservice/">
         <types xmlns:tns="http://localhost:7001/webservice/"
    xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12
    ="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soap12enc="http://www.w3.org/2002/12/soap-encoding"
    xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="java:com.starcomsoft.pp.common" elementFormDefault="qualified"
    attributeFormDefault="qualified"
    targetNamespace="java:com.starcomsoft.pp.common">
                   <xsd:complexType name="AbstractSearchCriteria"
    abstract="true">
                        <xsd:sequence>
                             <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
              </xsd:schema>
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="java:com.starcomsoft.pp.customer"
    elementFormDefault="qualified" attributeFormDefault="qualified"
    targetNamespace="java:com.starcomsoft.pp.customer">
                   <xsd:import namespace="java:com.starcomsoft.pp.database">
    </xsd:import>
                   <xsd:import namespace="java:language_builtins.lang">
    </xsd:import>
                   <xsd:import namespace="java:language_builtins.util">
    </xsd:import>
                   <xsd:import
    namespace="http://schemas.xmlsoap.org/soap/encoding/">
    </xsd:import>
                   <xsd:import namespace="java:com.starcomsoft.pp.common">
    </xsd:import>
                   <xsd:complexType name="Address">
                        <xsd:complexContent>
                             <xsd:extension base="stns:AddressHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="AddressHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:string"
    name="addressOne" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="addressTwo" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="city" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="stateId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="zipCode" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ArrayOfCustomerGraphData">
                        <xsd:complexContent>
                             <xsd:restriction
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    base="soapenc:Array">
                                  <xsd:attribute
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" ref="soapenc:arrayType"
    wsdl:arrayType="stns:CustomerGraphData[]">
    </xsd:attribute>
                             </xsd:restriction>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ArrayOfProfile">
                        <xsd:complexContent>
                             <xsd:restriction
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    base="soapenc:Array">
                                  <xsd:attribute
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" ref="soapenc:arrayType"
    wsdl:arrayType="stns:Profile[]">
    </xsd:attribute>
                             </xsd:restriction>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="Contact">
                        <xsd:complexContent>
                             <xsd:extension base="stns:ContactHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ContactHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:boolean"
    name="active" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="contactPoint" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="departmentId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="first" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="last" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="primaryContact" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="title" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="type" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="Customer">
                        <xsd:complexContent>
                             <xsd:extension base="stns:CustomerHelper">
                                  <xsd:sequence>
                                       <xsd:element type="stns:Address"
    name="billAddressData" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="billToAddress" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="shipAddressData" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="shipToAddress" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerAdjustment">
                        <xsd:complexContent>
                             <xsd:extension
    base="stns:CustomerAdjustmentHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerAdjustmentHelper"
    abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="adjustmentId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="amount" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="code" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="facilityId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="factorId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="methodId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="type" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="value" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerGraphCollection">
                        <xsd:sequence>
                             <xsd:element
    type="stns:ArrayOfCustomerGraphData" name="customerGraphDataValues"
    minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerGraphData">
                        <xsd:sequence>
                             <xsd:element type="xsd:string" name="code"
    minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                             <xsd:element type="xsd:int" name="id"
    minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                             <xsd:element type="xsd:string" name="name"
    minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                             <xsd:element type="xsd:int" name="parentId"
    minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="accountStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:dateTime"
    name="agingDate" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="agingDays" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="allowSplitOrders" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="balanceDue" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="billAddressData" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="billToAddress" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="billToAddressId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="billingAddressSourceCode" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="billingPartnerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="billingPartnerName" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="buyer" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="creditAvailable" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="creditLimit" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="currencyId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="customerCode" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="deliveryPoints" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="departmentCode" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="dropSequence" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="facilityId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="financeChargePercent" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="fixedTimeForStop" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="freightAmount" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="freightTypeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="groupId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="gstTaxApplicable" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="hasHistory" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="importNumber" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isDirectlyBillable" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isGroupVolumeDiscounted" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isRegion" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isShipTo" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="kitCodeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="leadTime" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="lockoutControl" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="managerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="mediumRangeZone" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="merchandiserId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="name" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="packageId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="parentCustomerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="parentName" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="priceListId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="printStatement" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="receivingTimeFrom" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="receivingTimeTo" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="requirePO" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="requireSKU" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="salesRepId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="shipAddressData" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="stns:Address"
    name="shipToAddress" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="shipToAddressId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="shipViaId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="shipZoneId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="shortRangeZone" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="specialCodes" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:dateTime"
    name="startDate" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="storeNumber" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="summaryPrintCodeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="taxCodeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="taxNumber" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="termsCodeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:double"
    name="toBeDue" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="useShippingAddress" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="vendorNumber" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="warningControl" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerProfile">
                        <xsd:sequence>
                             <xsd:element type="stns:ArrayOfProfile"
    name="profiles" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerSearchCriteria">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.common" base="tp:AbstractSearchCriteria">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="billingPartnerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isDirectlyBillable" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isRegion" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:boolean"
    name="isShipTo" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="parentCustomerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="searchString" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="searchType" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerTypePct">
                        <xsd:complexContent>
                             <xsd:extension
    base="stns:CustomerTypePctHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="CustomerTypePctHelper"
    abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="customerTypeId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="status" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="typePct" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="MailingListSubscription">
                        <xsd:complexContent>
                             <xsd:extension
    base="stns:MailingListSubscriptionHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="MailingListSubscriptionHelper"
    abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:boolean"
    name="checked" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="mailingListId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="mailingListName" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="NoteVault">
                        <xsd:complexContent>
                             <xsd:extension base="stns:NoteVaultHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="NoteVaultHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="tag" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="text" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="type" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="Notes">
                        <xsd:complexContent>
                             <xsd:extension base="stns:NotesHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="NotesHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:dateTime"
    name="date" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="owner" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="reference" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="subtype" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="text" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="type" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="Profile">
                        <xsd:complexContent>
                             <xsd:extension base="stns:ProfileHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ProfileHelper" abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:int"
    name="customerId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="id" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.util" type="tp:ArrayList"
    name="messageList" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="numericInfo" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element
    type="stns:ProfileInfo" name="profileInfoData" minOccurs="1" maxOccurs="1"
    nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="profileInfoId" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="recordStatus" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                       <xsd:element type="xsd:string"
    name="textInfo" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element type="xsd:int"
    name="version" minOccurs="1" maxOccurs="1">
    </xsd:element>
                                  </xsd:sequence>
                             </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ProfileInfo">
                        <xsd:complexContent>
                             <xsd:extension base="stns:ProfileInfoHelper">
    </xsd:extension>
                        </xsd:complexContent>
                   </xsd:complexType>
                   <xsd:complexType name="ProfileInfoHelper"
    abstract="true">
                        <xsd:complexContent>
                             <xsd:extension
    xmlns:tp="java:com.starcomsoft.pp.database" base="tp:BaseHelper">
                                  <xsd:sequence>
                                       <xsd:element type="xsd:string"
    name="domainValueName" minOccurs="1" maxOccurs="1" nillable="true">
    </xsd:element>
                                       <xsd:element
    xmlns:tp="java:language_builtins.lang" type="tp:ArrayOfString"
    name="errorMessages" minOccurs="1" maxOccurs="1" nillabl

    Bruce,
    Sorry, I forgot to mention that the WSDL was generated by querying the URL
    of the deployed webservice. If there is something missing from the WSDL,
    it may be due to servicegen, or a problem with deployement. All of this
    used to work in WLS 7.0 sp1.
    I submitted this case (459937) to BEA Support on 11/12/03 and have given
    them my EJB jar file so they can reproduce the problem using servicegen.
    I would appreciate any input you can provide to resolve this problem, but
    you can let Support handle it from here if you wish.
    Thanks,
    Tony
    [email protected] (Bruce Stephens) wrote:
    Hi Tony,
    Could you clarify your starting point; i.e. do you begin with WSDL or
    from java?
    In looking at your WSDL, on the surface I'm concerned that the imports
    should be something like <xsd:import namespace="..."
    schemaLocation="myschema.xsd"/> so it may not be including your
    definitions.
    Thanks,
    Bruce
    Tony Huang wrote:
    I have datatypes that extend classes in a different package. When I
    use WLS81 ANT task clientgen to generate client-jars from WSDL files
    obtained from web services generated by servicegen, the superclasses
    are not fully qualified in the generated java code, nor are there
    import statements for the superclasses. This causes the generated
    code to have compile errors. Other dependencies are fully qualified in
    the generated code, but the superclass is not.
    There mayThe WSDL is included below. Specifically,
    com.starcomsoft.pp.database.BaseHelper does not get a fully qualifed
    reference in the generated java code.

  • Nested class path element in ANT task

    I am having some problems with the nested classpath element in the
    enhancer ANT task. Does anyone else use this? If so can you share your
    config with me.
    class loader could not resolve the class name "XYZ"
    sean.

    Sean Hager wrote:
    I am having some problems with the nested classpath element in the
    enhancer ANT task. Does anyone else use this? If so can you share your
    config with me.
    class loader could not resolve the class name "XYZ"Impossible to say what your error means without looking at your build.xml.
    My enhancer task looks like:
    <taskdef name="jdoc" classpathref="eclipse.classpath"
    classname="com.solarmetric.modules.integration.ant.JDOEnhancerTask"/>
    <jdoc>
    <fileset dir="${src.dir}">
    <include name="**/*.jdo" />
    </fileset>
    <fileset dir="${testsrc.dir}">
    <include name="**/*.jdo" />
    </fileset>
    <classpath>
    <pathelement location="bin/"/>
    <path refid="eclipse.classpath"/>
    </classpath>
    </jdoc>
    Hope that helps.
    Tom

  • 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

  • SharePoint 2010, Visual Studio 2010, Packaging a solution - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi,
    I have a solution that used to contain one SharePoint 2010 project. The project is named along the following lines:
    <Company>.<Product>.SharePoint - let's call it Project1 for future reference. It contains a number of features which have been named according
    to their purpose, some are reasonably long and the paths fairly deep. As far as I am concerned we are using sensible namespaces and these reflect our company policy of "doing things properly".
    I first encountered the following error message when packaging the aforementioned SharePoint project into a wsp:
    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
    I went through a great deal of pain in trying to rename the project, shorten feature names and namespaces etc... until I got it working. I then went about gradually
    renaming everything until eventually I had what I started with, and it all worked. So I was none the wiser...not ideal, but I needed to get on and had tight delivery timelines.
    Recently we wanted to add another SharePoint project so that we could move some of our core functinality out into a separate SharePoint solution - e.g. custom workflow
    error logging. So we created another project in Visual Studio called:
    <Company>.<Product>.SharePoint.<Subsystem> - let's call it Project2 for future reference
    And this is when the error has come back and bitten me! The scenario is now as follows:
    1. project1 packages and deploys successfully with long feature names and deep paths.
    2. project2 does not package and has no features in it at all. The project2 name is 13 characters longer than project1
    I am convinced this is a bug with Visual Studio and/or the Package MSBuild target. Why? Let me explain my findings so far:
    1. By doing the following I can get project2 to package
    In Visual Studio 2010 show all files of project2, delete the obj, bin, pkg, pkgobj folders.
    Clean the solution
    Shut down Visual Studio 2010
    Open Visual Studio 2010
    Rebuild the solution
    Package the project2
    et voila the package is generated!
    This demonstrates that the package error message is in fact inaccurate and that it can create the package, it just needs a little help, since Visual Studio seems to
    no longer be hanging onto something.
    Clearly this is fine for a small time project, but try doing this in an environment where we use Continuous Integration, Unit Testing and automatic deployment of SharePoint
    solutions on a Build Server using automated builds.
    2. I have created another project3 which has a ludicrously long name, this packages fine and also has no features contained within it.
    3. I have looked at the length of the path under the pkg folder for project1 and it is large in comparison to the one that is generated for project2, that is when it
    does successfully package using the method outlined in 1. above. This is strange since project1 packages and project2 does not.
    4. If I attempt to add project2 to my command line build using MSBuild then it fails to package and when I then open up Visual Studio and attempt to package project2
    from the Visual Studio UI then it fails with the path too long error message, until I go through the steps outlined in 1. above to get it to package.
    5. DebugView shows nothing useful during the build and packaging of the project.
    6. The error seems to occur in
    CreateSharePointProjectService target called at line 365 of
    Microsoft.VisualStudio.SharePoint.targetsCurrently I am at a loss to work out why this is happening? My next task is to delete
    project2 completely and recreate it and introduce it into my Visual Studio solution.
    Microsoft, can you confirm whether this is a known issue and whether others have encountered this issue? Is it resolved in a hotfix?
    Anybody else, can you confirm whether you have come up with a solution to this issue? When I mean a solution I mean one that does not mean that I have to rename my namespaces,
    project etc... and is actually workable in a meaningful Visual Studio solution.

    Hi
    Yes, I thought I had fixed this my moving my solution from the usual documents  to
    c:\v2010\projectsOverflow\DetailedProjectTimeline
    This builds ok, but when I come to package I get the lovely error:
    Error 2 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:\VS2010\ProjectsOverflow\DetailedProjectTimeline\VisualDetailedProjectTimelineWebPart\Features\Feature1\Feature1.feature VisualDetailedProjectTimeline
    Now, the error seems to be related to 
    Can anyone suggest what might be causing this. Probably some path in an XML file somewhere. Here is my prime suspect!
    <metaData>
    <type name="VisualDetailedProjectTimelineWebPart.VisualProjectTimelineWebPart.VisualProjectTimeline, $SharePoint.Project.AssemblyFullName$" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">VisualProjectTimelineWebPart</property>
    <property name="Description" type="string">My Visual WebPart</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    .... Unless I can solve this I will have to remove the project and recreate but with simple paths. Tho I will be none the wiser if I come across this again.
    Daniel

  • Unable to read resource files without fully qualified file names

    Hi,
    I have installed 9iAS and trying to read a few resources in the OC4J container. A few points to
    note :
    1. The <library> element in server.xml (global and
    instance specific) as well as in orion-application.xml
    can seem to only scan for jars/zips.
    2. Also we are using the Thread specific classloaders as in doc :
    http://otn.oracle.com/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf
    The issue is that so long I pass the fully qualified file name for the resource, I can read the resource. However, I am not able to find a way to include the "resource directory" in the classpath of 9iAS (global) or OC4J instance and read the resource file with just the file name. So, the following code works only when the filename has the fully qualified name for the resource file (Like F:\install\some_dir\file.txt).
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    inStream = cl.getSystemResourceAsStream(fileName);
    Can someone provide me with some pointers to how I can include resource directories in the classpath ? Any help will be appreciated.
    Thanks,
    Krishnendu

    Hi,
    Thanks for your response. Presently your solution is what we already have in place. Most of our properties are stored in a .properties file. However for all other application servers (sun one apps server, websphere, weblogic, tomcat), the classloader can read these properties without the fully qualified path but for oc4j; the code breaks.
    So, even if I change my installer to hardcode the specific property to have the fully qualified file name, I would have written some code specific to OC4J that is generic to all other containers.
    Krishnendu

  • Ant task cyclic library refrence

    Hello everyone,
    I am using flex ant task from my Flash builder to compile application. Its working fine and I am able to get the output. But the problem is whenever I use a library in my main project which is refrencing other library than I am unable to find refrence of components in lib 2. Below is the structure
    NewLib >> contains a NewLibGrid(which is a normal spark grid)
    MainLib >> ExtPanel which includes NewLibGrid from NewLib .
    MainApp >> This uses ExtPanel
    No I am getting error during ant compilation
    [compc] D:\Data\Flex\Projects\CompLib\src\ExtPanel.mxml: Error: Could not resolve <local:NewLibGrid> to a component implementation.
    Here is part of antscript I am using
    <target name="lib1" depends="lib2">
    <compc output="${STAGE_DIR}/stagingDir/CompLib.swc"
       keep-generated-actionscript="${DEBUG}"
       debug="${DEBUG}"
       optimize="${OPTIMIZE}"
       target-player="${TARGET_FLASH_PLAYER}"
       include-classes="ExtPanel">
    <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">                                                                                              
    <url rsl-url="framework_${FLEX_VERSION}.swf"/>                                                                                                        
    <url rsl-url="framework_${FLEX_VERSION}.swz"/>                                                                                              
    </runtime-shared-library-path>
    <runtime-shared-library-path path-element="${PROJ_HOME}/NewLib/bin/NewLib.swc">                                                                                              
    <url rsl-url="${PROJ_HOME}/NewLib/bin/NewLib.swf"/>                                                                                                        
    <url rsl-url="${PROJ_HOME}/NewLib/bin/NewLib.swz"/>                                                                                              
    </runtime-shared-library-path>
    <compiler.library-path dir=".." append="true">
    <include name="Common/libraries"/>
    <exclude name="global_library.swc" />
    </compiler.library-path>
    <source-path path-element="../CompLib/src" />
    </compc>
    </target>
    <target name="lib2">
    <compc output="${STAGE_DIR}/stagingDir/NewLib.swc"
       keep-generated-actionscript="${DEBUG}"
       debug="${DEBUG}"
       optimize="${OPTIMIZE}"
       target-player="${TARGET_FLASH_PLAYER}"
       include-classes="NewLibGrid">
    <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">                                                                                              
    <url rsl-url="framework_${FLEX_VERSION}.swf"/>                                                                                                        
    <url rsl-url="framework_${FLEX_VERSION}.swz"/>                                                                                              
    </runtime-shared-library-path>
    <compiler.library-path dir=".." append="true">
    <include name="Common/libraries"/>
    <exclude name="global_library.swc" />
    </compiler.library-path>
    <source-path path-element="../NewLib/src" />
    </compc>
    </target>

        <mxmlc
             file="${project.name}/src/Test.mxml"
             output="${build.mxmlc.dir}/Test.swf"
             static-link-runtime-shared-libraries="true"
        >
              <load-config filename="${air.config}"/>
              <source-path path-element="${project.name}/src" />
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
                    <url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
        </mxmlc>
    This also seems to work. AIR libraries are included in my output SWF. It all happens right when I have static-link-runtime-shared-libraries="true" . Why? Why does that not work when i have static-link-runtime-shared-libraries="false"  ??

  • Does compiling an advanced datagrid using flex ant task require additional config other than the license property?

    Hi,
        I am trying to build my Flex app which uses the Advanced Data Grid in a couple of locations. Originally, when I built the app using the flex ant tasks, I noticed the Visualization Trial watermark show up on the screen. I then added the license tag with the serial number to my flex-config.xml and re-ran my ant build. The watermark goes away, but then when I look at the advanced datagrid, the datagrid shows up with the hierarchy, but the data does not display in the grid (only the group by nodes are visible, not the data for the leaf elements). This works fine when I build the app using my Flex Builder. Is there something I am missing or need to add to my flex ant task to make this work?
    Any help or guidance is much appreciated.
    The following is the ant task to build the module that uses the ADG:
        <target name="compile-modules" depends="compile-shared">
            <!-- Module 1 -->
            <echo>Compiling module 1...</echo>
            <mxmlc file="${modulesrc.dir}\ui\modules\mod1\Module1.mxml"
                    output="${dist.dir}\modules\mod1\Module1.swf"
                    actionscript-file-encoding="UTF-8"
                    incremental="true"
                    default-background-color="0xFFFFFF"
                    use-network="false"
                    load-externs="${extern-report-xml}">
                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
                <source-path path-element="${FLEX_HOME}/frameworks"/>
                <!-- source paths -->
                <compiler.source-path path-element="${modulesrc.dir}"/>
                <!-- add external libraries -->
                <compiler.library-path dir="${main.dir}" append="true">
                    <include name="${lib.dir}"/>
                </compiler.library-path>
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="locale/{locale}" />
                </compiler.library-path>
                <compiler.debug>true</compiler.debug>
            </mxmlc>
        </target>
    And here is the ant task for the main application:
        <target name="compile-ui" depends="compile-modules">
            <mxmlc file="${src.dir}/MainApp.mxml" output="${dist.dir}/MainApp.swf"
                    actionscript-file-encoding="UTF-8" keep-generated-actionscript="false"
                    fork="true" maxmemory="1024m">
                <jvmarg value="-XX:MaxPermSize=256m"/>
                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                <source-path path-element="${FLEX_HOME}/frameworks"/>
                <source-path path-element="${src.dir}"/>
                <source-path path-element="${main.dir}/locale/{locale}"/>
                <!-- List of SWC files or directories that contain SWC files. -->
                <!--<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="locale/{locale}" />
                </compiler.library-path>-->
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs/datavisualization.swc" />
                    <include name="libs/flex.swc" />
                    <include name="libs/framework.swc" />
                    <include name="libs/rpc.swc" />
                    <include name="libs/utilities.swc" />
                    <include name="locale/{locale}" />
                </compiler.library-path>
                <compiler.library-path dir="${main.dir}" append="true">
                    <include name="${lib.dir}"/>
                </compiler.library-path>
                <runtime-shared-library-path path-element="${FLEX_FRAMEWORK}/framework.swc">
                    <url rsl-url="framework_3.2.0.3958.swf"/>
                    <url rsl-url="framework_3.2.0.3958.swz"/>
                </runtime-shared-library-path>
                <compiler.debug>true</compiler.debug>
            </mxmlc>
        </target>
    Regards,
    Purush

    to remove watermark i have added license key in WEB-INF\flex\license.properties file as key = value

  • Compc ant task and external framework

    I'm writing an ant task to compile a couple of libraries into
    SWCs and then a shell app (that uses the libraries) into a SWF for
    deployment. If I compile the libraries by hand then run just the
    'mxmlc' part of my ant script it compiles fine. However when I try
    and first compile a library into a SWC with 'compc' it compiles but
    then the shell app complains that the classes from the library are
    missing. One thing that may be causing the problem is my library
    path (through flex builder) has it's framework.swc set to 'Link
    Type: External' and I'm not sure how to define that with 'compc'.
    The weird thing is the flex builder compiled and 'compc' compiled
    SWCs are the same size. Here's my target for 'compc':

        <mxmlc
             file="${project.name}/src/Test.mxml"
             output="${build.mxmlc.dir}/Test.swf"
             static-link-runtime-shared-libraries="true"
        >
              <load-config filename="${air.config}"/>
              <source-path path-element="${project.name}/src" />
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
                    <url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
        </mxmlc>
    This also seems to work. AIR libraries are included in my output SWF. It all happens right when I have static-link-runtime-shared-libraries="true" . Why? Why does that not work when i have static-link-runtime-shared-libraries="false"  ??

  • MXMLC ANT task not including AIR libraries

    Hi Guys,
    This is the MXMLC ant task which I am using the compile my test app. If i set the static-link-runtime-shared-libraries="true" , the AIR libraries gets merged into my output swf. But when this attribute is set to false, I dont see the AIR libraries added to my SWF file. As a result when I run the AIR version fo my project, I dont see the application launch right. I have so many RSL in my project and I wanted to have static-link-runtime-shared-libraries="false". Is there a way to have AIR libraries include in my output file and still have this static-link-runtime-shared-libraries="false".
    <mxmlc
        file="${project.name}/src/Test.mxml"
        output="${build.mxmlc.dir}/Test.swf"
        static-link-runtime-shared-libraries="true"
        >
         <load-config filename="${air.config}"/>
         <source-path path-element="${project.name}/src" />
         <source-path path-element="${flex.frameworks.dir}/libs/air"/>
        <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
        </runtime-shared-library-path>
        <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
                    <url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
        </runtime-shared-library-path>
       </mxmlc>
    My RSL are compiled using COMPC task and the AIR libraries are included into them using the below attributes of compc task.
    <source-path path-element="${basedir}/src" />
    <source-path path-element="${flex.frameworks.dir}/projects/airframework/src" />
    <source-path path-element="${flex.frameworks.dir}/projects/air/ServiceMonitor/src" />
    I am really stuck with this problem and not able to get my release build launch right. Again, any light on this problem will be of great help.!

        <mxmlc
             file="${project.name}/src/Test.mxml"
             output="${build.mxmlc.dir}/Test.swf"
             static-link-runtime-shared-libraries="true"
        >
              <load-config filename="${air.config}"/>
              <source-path path-element="${project.name}/src" />
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
                    <url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
        </mxmlc>
    This also seems to work. AIR libraries are included in my output SWF. It all happens right when I have static-link-runtime-shared-libraries="true" . Why? Why does that not work when i have static-link-runtime-shared-libraries="false"  ??

Maybe you are looking for

  • Select Max and ResultSet Problem With Access

    The following code is producing a 'null pointer excepetion' error and I know why it is occurring I just do not know how to fix the problem. Basically I want to automitically generate a unique ID that is one number higher than the max ID (data is stor

  • Why can I only 'save as'?

    hello, when i attempt to save a file (ctrl s or file, save) it doesn't allow me to. I can get around the issue by using save as and making it replace the old file but this is just a tiny bit annoying really as it takes longer. I save extremely often

  • How do we check what events are set in the database.

    Hi All, I have set a event a event dynamically at the system level on the database. Where can I check if it is set? Is there any table? Thanks, Jiger

  • Internet Disconnecting after Mac sleeps?

         Hi, my family connects to one wifi network that starts at a Time capsule, but we use an AirPort Express to extend the network connection to my iMac, but recently every time I sleep, shutdown, restart, etc. my computer, I can't connect to the wif

  • Unresolved external when linking of wxWidget applications

    Hi everyone, I have a problem linking a wxWidget application with the sunstudio tools. Everything regarding wxWidget will throw linking errors although all libraries have been added to the linker options in the linking stage. If I switch to the GNU C