Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clientgen ant task throwing errors in Weblogic 8.1 SP4

 
EmTwo Hyd
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to run clientgen ant task for a WSDL (pertaining to a 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]

Total time: 8 seconds
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic