You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Yogender Singh01 <Yo...@infosys.com> on 2007/05/07 14:37:25 UTC
problem in running client
<<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.
Regards,
Yogender
**************** 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***
Re: problem in running client
Posted by Milinda Pathirage <mi...@gmail.com>.
Hi,
Axis2 & Axis2 Code Generation Tool doesn't support RPC/encoded and only
support RPC Literal and Document Litarel. This is because why
WSDL11ToAxisSeviceBuilder gave a exception.
Thanks
Milinda
On 5/8/07, Yogender Singh01 <Yo...@infosys.com> wrote:
>
> What I found out that it does not support encoded use in the code in wsdl
> file
>
> <wsdlsoap:body
>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
> namespace="http://localhost/axis/Calculator"
>
> use="*encoded*"/>
>
>
>
>
>
> So I have changed to literal
>
>
>
> Is it fine ???
>
>
> ------------------------------
>
> *From:* Yogender Singh01 [mailto:Yogender_Singh01@infosys.com]
> *Sent:* Wednesday, May 09, 2007 10:45 AM
> *To:* Apache AXIS C User List
> *Subject:* RE: <Axis2C>problem in running client
>
>
>
> Hi,
>
> I have downloaded axis2-SNAPSHOT.
>
> And added the jar files in AXIS2_CLASSPATH
>
>
>
> When I am running the command
>
> java -classpath %AXIS2_CLASSPATH% org.apache.axis2.wsdl.WSDL2C -uri
> calculator.wsdl -ss -sd -d adb –u
>
>
>
> I am getting the error which previously I was not getting when I was using
> jar files from Axis2-1.1.1
>
>
>
> C:\axis2c\code\calc>java -classpath %AXIS2_CLASSPATH%
> org.apache.axis2.wsdl.WSDL
>
> 2C -uri Calculator.wsdl -ss -sd -d adb -u
>
> May 9, 2007 10:28:32 AM
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder
>
> populateService
>
> SEVERE:
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingEx
>
> ception: Encoded use is not supported
>
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException
>
> : Error parsing WSDL
>
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine
> .<init>(CodeGenerat
>
> ionEngine.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.populateServi
>
> ce(WSDL11ToAxisServiceBuilder.java:296)
>
> at
> org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
>
> llServices(WSDL11ToAllAxisServicesBuilder.java:100)
>
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine
> .<init>(CodeGenerat
>
> ionEngine.java:131)
>
> ... 2 more
>
> Caused by:
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessin
>
> gException: Encoded use is not supported
>
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getPartsListF
>
> romSoapBody(WSDL11ToAxisServiceBuilder.java:1541)
>
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaF
>
> orPorttype(WSDL11ToAxisServiceBuilder.java:1292)
>
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapp
>
> erSchema(WSDL11ToAxisServiceBuilder.java:1196)
>
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
>
> ce(WSDL11ToAxisServiceBuilder.java:252)
>
> ... 4 more
>
>
>
> What can be the cause of error??
>
>
>
> Regards,
>
> Yogender
>
>
> ------------------------------
>
> *From:* Yogender Singh01 [mailto:Yogender_Singh01@infosys.com]
> *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:dushshantha.chandaradasa@gmail.com]
>
> *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* < Yogender_Singh01@infosys.com > 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: samisa@wso2.com]
> 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: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
> **************** 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: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
>
--
milinda@wso2.com
WSO2, Inc: http://www.wso2.com "Oxygenating the Web Service Platform"
http://www.milindalakmal.wordpress.com
RE: problem in running client
Posted by Yogender Singh01 <Yo...@infosys.com>.
What I found out that it does not support encoded use in the code in
wsdl file
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost/axis/Calculator"
use="encoded"/>
So I have changed to literal
Is it fine ???
________________________________
From: Yogender Singh01 [mailto:Yogender_Singh01@infosys.com]
Sent: Wednesday, May 09, 2007 10:45 AM
To: Apache AXIS C User List
Subject: RE: <Axis2C>problem in running client
Hi,
I have downloaded axis2-SNAPSHOT.
And added the jar files in AXIS2_CLASSPATH
When I am running the command
java -classpath %AXIS2_CLASSPATH% org.apache.axis2.wsdl.WSDL2C -uri
calculator.wsdl -ss -sd -d adb -u
I am getting the error which previously I was not getting when I was
using jar files from Axis2-1.1.1
C:\axis2c\code\calc>java -classpath %AXIS2_CLASSPATH%
org.apache.axis2.wsdl.WSDL
2C -uri Calculator.wsdl -ss -sd -d adb -u
May 9, 2007 10:28:32 AM
org.apache.axis2.description.WSDL11ToAxisServiceBuilder
populateService
SEVERE:
org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingEx
ception: Encoded use is not supported
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException
: Error parsing WSDL
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.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.populateServi
ce(WSDL11ToAxisServiceBuilder.java:296)
at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
llServices(WSDL11ToAllAxisServicesBuilder.java:100)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:131)
... 2 more
Caused by:
org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessin
gException: Encoded use is not supported
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getPartsListF
romSoapBody(WSDL11ToAxisServiceBuilder.java:1541)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaF
orPorttype(WSDL11ToAxisServiceBuilder.java:1292)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapp
erSchema(WSDL11ToAxisServiceBuilder.java:1196)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
ce(WSDL11ToAxisServiceBuilder.java:252)
... 4 more
What can be the cause of error??
Regards,
Yogender
________________________________
From: Yogender Singh01 [mailto:Yogender_Singh01@infosys.com]
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:dushshantha.chandaradasa@gmail.com]
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 < Yogender_Singh01@infosys.com
<ma...@infosys.com> > 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: samisa@wso2.com
<ma...@wso2.com> ]
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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
**************** 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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
RE: problem in running client
Posted by Yogender Singh01 <Yo...@infosys.com>.
Hi,
I have downloaded axis2-SNAPSHOT.
And added the jar files in AXIS2_CLASSPATH
When I am running the command
java -classpath %AXIS2_CLASSPATH% org.apache.axis2.wsdl.WSDL2C -uri
calculator.wsdl -ss -sd -d adb -u
I am getting the error which previously I was not getting when I was
using jar files from Axis2-1.1.1
C:\axis2c\code\calc>java -classpath %AXIS2_CLASSPATH%
org.apache.axis2.wsdl.WSDL
2C -uri Calculator.wsdl -ss -sd -d adb -u
May 9, 2007 10:28:32 AM
org.apache.axis2.description.WSDL11ToAxisServiceBuilder
populateService
SEVERE:
org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingEx
ception: Encoded use is not supported
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException
: Error parsing WSDL
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.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.populateServi
ce(WSDL11ToAxisServiceBuilder.java:296)
at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
llServices(WSDL11ToAllAxisServicesBuilder.java:100)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:131)
... 2 more
Caused by:
org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessin
gException: Encoded use is not supported
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getPartsListF
romSoapBody(WSDL11ToAxisServiceBuilder.java:1541)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaF
orPorttype(WSDL11ToAxisServiceBuilder.java:1292)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapp
erSchema(WSDL11ToAxisServiceBuilder.java:1196)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
ce(WSDL11ToAxisServiceBuilder.java:252)
... 4 more
What can be the cause of error??
Regards,
Yogender
________________________________
From: Yogender Singh01 [mailto:Yogender_Singh01@infosys.com]
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:dushshantha.chandaradasa@gmail.com]
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 < Yogender_Singh01@infosys.com
<ma...@infosys.com> > 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: samisa@wso2.com
<ma...@wso2.com> ]
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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
**************** 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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
RE: problem in running client
Posted by Sushmita Sahu <Su...@infosys.com>.
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:Yogender_Singh01@infosys.com]
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:dushshantha.chandaradasa@gmail.com]
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 < Yogender_Singh01@infosys.com
<ma...@infosys.com> > 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: samisa@wso2.com
<ma...@wso2.com> ]
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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
**************** 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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
RE: problem in running client
Posted by Yogender Singh01 <Yo...@infosys.com>.
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:dushshantha.chandaradasa@gmail.com]
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 < Yogender_Singh01@infosys.com
<ma...@infosys.com> > 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: samisa@wso2.com
<ma...@wso2.com> ]
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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
**************** 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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: problem in running client
Posted by Dushshantha Chandradasa <du...@gmail.com>.
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 <Yogender_Singh01@infosys.com > 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: samisa@wso2.com]
> 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: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
> **************** 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: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
RE: problem in running client
Posted by Yogender Singh01 <Yo...@infosys.com>.
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:samisa@wso2.com]
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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
**************** 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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: problem in running client
Posted by Samisa Abeysinghe <sa...@wso2.com>.
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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org