I am using Axis2 version 1.0.0 and using http://people.apache.org/dist/axis2/nightly/axis2-SNAPSHOT.zip for Axis2 java.
I am getting the following error on running the wsdl tool: C:\axis2c\axis2c-src-1.0.0\samples\codegen\databinding\Calculator>java -cp %AXIS2_CLASSPAT H%;%AXIS2_CLASSPATH2% org.apache.axis2.wsdl.WSDL2C -uri Calculator.wsdl -ss -sd -d adb -u May 9, 2007 10:41:11 AM org.apache.axis2.description.WSDL11ToAxisServiceBuilder populateSe rvice SEVERE: org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingEx ception: E ncoded use is not supported Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error pa rsing WSDL at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGeneration Engine. java:137) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:28) Caused by: org.apache.axis2.AxisFault: Encoded use is not supported at org.apache.axis2.AxisFault.makeFault(AxisFault.java:377) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService( WSDL11T oAxisServiceBuilder.java:296) at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllS ervices (WSDL11ToAllAxisServicesBuilder.java:100) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGeneration Engine. java:131) ... 2 more Caused by: org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingEx ception : Encoded use is not supported at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getPartsListFrom SoapBod y(WSDL11ToAxisServiceBuilder.java:1541) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaForP orttype (WSDL11ToAxisServiceBuilder.java:1292) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperS chema(W SDL11ToAxisServiceBuilder.java:1196) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService( WSDL11T oAxisServiceBuilder.java:252) ... 4 more Kindly guide me through Thanks and regards Sushmita ________________________________ From: Yogender Singh01 [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 9:59 AM To: Apache AXIS C User List Subject: RE: <Axis2C>problem in running client Ya am using Axis2-1.1.1 and using the jars from lib directory in AXIS2_CLASSPATH. Ok I ll try with latest nightly build and see. Regards, Yogender ________________________________ From: Dushshantha Chandradasa [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 9:53 AM To: Apache AXIS C User List Subject: Re: <Axis2C>problem in running client What is the version of Axis2 java you are using for code generation? Try downloading the latest nightly build of the Axis2 java from the following link. http://people.apache.org/dist/axis2/nightly/axis2-SNAPSHOT.zip <http://people.apache.org/dist/axis2/nightly/> regards, Dushshantha On 5/8/07, Yogender Singh01 < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: I run the client using command line by giving the name of exe. And I have generated the code using databinding using the command. For server:- java -classpath %AXIS2_CLASSPATH%;.;%CLASSPATH% org.apache.axis2.wsdl.WSDL2C -uri calculator.wsdl -ss -sd -d adb -u For client:- java -classpath %AXIS2_CLASSPATH%;.;%CLASSPATH% org.apache.axis2.wsdl.WSDL2C -uri calculator.wsdl -d adb -u There are no external parameters var1 and var2 are hard coded inside the code AXIS2_ADD_SET_IN0(add_in, env, 10); AXIS2_ADD_SET_IN1(add_in, env, 10); Ya echo client is working I have tested that out.. Regards, Yogender -----Original Message----- From: Samisa Abeysinghe [mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Sent: Tuesday, May 08, 2007 8:25 AM To: Apache AXIS C User List Subject: Re: <Axis2C>problem in running client Yogender Singh01 wrote: > <<alltest.log>> > Hi, > I am trying to run a calculator client for addition. > I have checked the calculator service is succesfully deplyed in services > folder by checking the URL > http://localhost:9090/axis2/services > > But I am getting the error while running the exe. The log file is > attached for the same. > I am using new release 1.0. > Looking at the log file, it is hard to figure out what is going wrong as the log does not have any errors. How did you run the client? Please send the command you ran with arguments. Also, does the echo client work? Samisa... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]