You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by COURTAULT Francois <Fr...@gemalto.com> on 2012/03/09 16:22:59 UTC
Any advice in order to properly set a axis2 client classpath
Hello,
Is there any official doc in order to setup properly an axis2 client classpath ?
Minimum classpath ?
What the purpose of each jars in the <axis2_home>/lib directory ?
Best Regards.
RE: Getting the http status line in the client.
Posted by "Kon Kam King, France" <fk...@cincom.com>.
Somebody has an answer for my question?
Thanks.
-----Original Message-----
From: Kon Kam King, France
Sent: jeudi 15 mars 2012 15:38
To: java-user@axis.apache.org
Subject: Getting the http status line in the client.
Hi,
I want to retrieve the http status line in my client program from the
message context.
I do the following :
String statMsg =
(String)inMsgCtx.getProperty(HTTPConstants.MC_HTTP_STATUS_MESSAGE);
I am getting null.
Is this an error?
Or is there another way to get this?
Regards.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Re: Any advice in order to properly set a axis2 client classpath
Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Mar 16, 2012 at 3:40 PM, COURTAULT Francois
<Fr...@gemalto.com> wrote:
> Hello,
>
> I am not able to create a JIRA issue as described at http://confluence.atlassian.com/display/JIRA044/Creating+an+Issue
> It seems that I need an account with some privileges.
>
> So how can I proceed ?
If you don't have account create a one here [1] and then log-in to
JIRA here [2] and create an issue. You don't need any special
privileges.
[1] - https://issues.apache.org/jira/secure/Signup!default.jspa
[2] - https://issues.apache.org/jira/browse/AXIS2
Thanks !
>
> Best Regards.
>
> -----Original Message-----
> From: robert lazarski [mailto:robertlazarski@gmail.com]
> Sent: jeudi 15 mars 2012 14:52
> To: java-user@axis.apache.org
> Subject: Re: Any advice in order to properly set a axis2 client classpath
>
> On Thu, Mar 15, 2012 at 10:38 AM, COURTAULT Francois <Fr...@gemalto.com> wrote:
>> Yes I know it could be a possible solution that I have used.
>> But I want to know exactly what I do.
>>
>> Again my request is more about a documentation issue as understood by Robert.
>>
>
> Requesting more docs is ok, but in case you haven't read them all ...
> here's a start to finish, client and server, example using xmlbeans:
>
> http://axis.apache.org/axis2/java/core/tools/CodegenToolReference.html#example
>
> I know there a lot of examples like that out there, several books even.
>
>> Can anybody enter an axis2 jira issue ?
>
> I think you're up to it :-) . Creating a jira is not that hard to do, and there really is no downside to adding for docs:
>
> https://issues.apache.org/jira/browse/AXIS2
>
> - R
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
--
Sagara Gunathunga
Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
RE: Any advice in order to properly set a axis2 client classpath
Posted by COURTAULT Francois <Fr...@gemalto.com>.
Hello,
I am not able to create a JIRA issue as described at http://confluence.atlassian.com/display/JIRA044/Creating+an+Issue
It seems that I need an account with some privileges.
So how can I proceed ?
Best Regards.
-----Original Message-----
From: robert lazarski [mailto:robertlazarski@gmail.com]
Sent: jeudi 15 mars 2012 14:52
To: java-user@axis.apache.org
Subject: Re: Any advice in order to properly set a axis2 client classpath
On Thu, Mar 15, 2012 at 10:38 AM, COURTAULT Francois <Fr...@gemalto.com> wrote:
> Yes I know it could be a possible solution that I have used.
> But I want to know exactly what I do.
>
> Again my request is more about a documentation issue as understood by Robert.
>
Requesting more docs is ok, but in case you haven't read them all ...
here's a start to finish, client and server, example using xmlbeans:
http://axis.apache.org/axis2/java/core/tools/CodegenToolReference.html#example
I know there a lot of examples like that out there, several books even.
> Can anybody enter an axis2 jira issue ?
I think you're up to it :-) . Creating a jira is not that hard to do, and there really is no downside to adding for docs:
https://issues.apache.org/jira/browse/AXIS2
- R
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Re: Any advice in order to properly set a axis2 client classpath
Posted by robert lazarski <ro...@gmail.com>.
On Thu, Mar 15, 2012 at 10:38 AM, COURTAULT Francois
<Fr...@gemalto.com> wrote:
> Yes I know it could be a possible solution that I have used.
> But I want to know exactly what I do.
>
> Again my request is more about a documentation issue as understood by Robert.
>
Requesting more docs is ok, but in case you haven't read them all ...
here's a start to finish, client and server, example using xmlbeans:
http://axis.apache.org/axis2/java/core/tools/CodegenToolReference.html#example
I know there a lot of examples like that out there, several books even.
> Can anybody enter an axis2 jira issue ?
I think you're up to it :-) . Creating a jira is not that hard to do,
and there really is no downside to adding for docs:
https://issues.apache.org/jira/browse/AXIS2
- R
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Getting the http status line in the client.
Posted by "Kon Kam King, France" <fk...@cincom.com>.
Hi,
I want to retrieve the http status line in my client program from the
message context.
I do the following :
String statMsg =
(String)inMsgCtx.getProperty(HTTPConstants.MC_HTTP_STATUS_MESSAGE);
I am getting null.
Is this an error?
Or is there another way to get this?
Regards.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
RE: Any advice in order to properly set a axis2 client classpath
Posted by COURTAULT Francois <Fr...@gemalto.com>.
Yes I know it could be a possible solution that I have used.
But I want to know exactly what I do.
Again my request is more about a documentation issue as understood by Robert.
Can anybody enter an axis2 jira issue ?
Best Regards.
-----Original Message-----
From: James Annesley [mailto:james.annesley@infoshare-is.com]
Sent: jeudi 15 mars 2012 14:13
To: java-user@axis.apache.org
Subject: RE: Any advice in order to properly set a axis2 client classpath
Hi,
Why is this a problem? I just copy the whole of the AXIS2 libraries. I had some trouble with log4j compatibility but solved it with log4j-over-slf4j and logback.
James
-----Original Message-----
From: COURTAULT Francois [mailto:Francois.COURTAULT@gemalto.com]
Sent: 15 March 2012 12:49
To: java-user@axis.apache.org
Subject: RE: Any advice in order to properly set a axis2 client classpath
Hello,
Ok my goal is to be able to communicate, through an axis2 client, with a Web Service hosted in weblogic and WSS protected: no attachment nor MTOM used .
For the stub generation I use adb which I think is the default I suppose.
In such case what axis2 client jars do I need ?
But, more globally, what I require and which could be very useful in order to build our own classpath, is a description of all axis 2 client jar.
This works has been done by the CXF team and it helps me a lot to build my cxf client classpath.
So the question is: why the axis2 team doesn't provide this information ?
Best Regards.
-----Original Message-----
From: robert lazarski [mailto:robertlazarski@gmail.com]
Sent: jeudi 15 mars 2012 13:20
To: java-user@axis.apache.org
Subject: Re: Any advice in order to properly set a axis2 client classpath
On Thu, Mar 15, 2012 at 8:18 AM, COURTAULT Francois <Fr...@gemalto.com> wrote:
> Any answer or advice ?
<snip>
> From: COURTAULT Francois [mailto:Francois.COURTAULT@gemalto.com]
> Sent: vendredi 9 mars 2012 16:23
> To: java-user@axis.apache.org
> Subject: Any advice in order to properly set a axis2 client classpath
> Importance: High
>
<snip>
> Is there any official doc in order to setup properly an axis2 client
> classpath ?
>
There are docs that show how to do a client invocation in the axis2 ant docs. That's probably the most common way, just point your classpath config to the axis2 libs and anything else you need.
> Minimum classpath ?
>
No idea these days.
> What the purpose of each jars in the <axis2_home>/lib directory ?
>
Too many to contemplate. Basically they cover every Java ws tech standard and transports that are not obsolete.
- R
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Infoshare Ltd
Millennium House
21 Eden Street
Kingston upon Thames
Surrey
KT1 1BL
United Kingdom
Phone: + 44 (0) 20 8541 0111
Support: + 44 (0) 20 8481 4760
Web: www.infoshare-is.com
E-mail: info@infoshare-is.com
Infoshare Ltd is registered in England and Wales.
Registered Office as above.
Registered Number 2877612
VAT Number GB 678 1443 10
The content of this e-mail (and any attachment to it) is confidential. Any views or opinions do not represent the views or opinions of Infoshare Ltd.
If you have received this e-mail in error please notify the sender and delete it. You may not use, copy or disclose the information in any way.
Infoshare Ltd monitors incoming and outgoing e-mails.
Please consider the environment. Do you really need to print this email?
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
RE: Any advice in order to properly set a axis2 client classpath
Posted by James Annesley <ja...@infoshare-is.com>.
Hi,
Why is this a problem? I just copy the whole of the AXIS2 libraries. I had
some trouble with log4j compatibility but solved it with log4j-over-slf4j
and logback.
James
-----Original Message-----
From: COURTAULT Francois [mailto:Francois.COURTAULT@gemalto.com]
Sent: 15 March 2012 12:49
To: java-user@axis.apache.org
Subject: RE: Any advice in order to properly set a axis2 client classpath
Hello,
Ok my goal is to be able to communicate, through an axis2 client, with a Web
Service hosted in weblogic and WSS protected: no attachment nor MTOM used .
For the stub generation I use adb which I think is the default I suppose.
In such case what axis2 client jars do I need ?
But, more globally, what I require and which could be very useful in order
to build our own classpath, is a description of all axis 2 client jar.
This works has been done by the CXF team and it helps me a lot to build my
cxf client classpath.
So the question is: why the axis2 team doesn't provide this information ?
Best Regards.
-----Original Message-----
From: robert lazarski [mailto:robertlazarski@gmail.com]
Sent: jeudi 15 mars 2012 13:20
To: java-user@axis.apache.org
Subject: Re: Any advice in order to properly set a axis2 client classpath
On Thu, Mar 15, 2012 at 8:18 AM, COURTAULT Francois
<Fr...@gemalto.com> wrote:
> Any answer or advice ?
<snip>
> From: COURTAULT Francois [mailto:Francois.COURTAULT@gemalto.com]
> Sent: vendredi 9 mars 2012 16:23
> To: java-user@axis.apache.org
> Subject: Any advice in order to properly set a axis2 client classpath
> Importance: High
>
<snip>
> Is there any official doc in order to setup properly an axis2 client
> classpath ?
>
There are docs that show how to do a client invocation in the axis2 ant
docs. That's probably the most common way, just point your classpath config
to the axis2 libs and anything else you need.
> Minimum classpath ?
>
No idea these days.
> What the purpose of each jars in the <axis2_home>/lib directory ?
>
Too many to contemplate. Basically they cover every Java ws tech standard
and transports that are not obsolete.
- R
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Infoshare Ltd
Millennium House
21 Eden Street
Kingston upon Thames
Surrey
KT1 1BL
United Kingdom
Phone: + 44 (0) 20 8541 0111
Support: + 44 (0) 20 8481 4760
Web: www.infoshare-is.com
E-mail: info@infoshare-is.com
Infoshare Ltd is registered in England and Wales.
Registered Office as above.
Registered Number 2877612
VAT Number GB 678 1443 10
The content of this e-mail (and any attachment to it) is confidential. Any views or opinions do not represent the views or opinions of Infoshare Ltd.
If you have received this e-mail in error please notify the sender and delete it. You may not use, copy or disclose the information in any way.
Infoshare Ltd monitors incoming and outgoing e-mails.
Please consider the environment. Do you really need to print this email?
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Re: Any advice in order to properly set a axis2 client classpath
Posted by robert lazarski <ro...@gmail.com>.
On Thu, Mar 15, 2012 at 10:17 AM, robert lazarski
<ro...@gmail.com> wrote:
> axis2-at-client-1.0.3.jar, CVS
Those are not from axis2 so don't google on them :-) .
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Re: Any advice in order to properly set a axis2 client classpath
Posted by robert lazarski <ro...@gmail.com>.
On Thu, Mar 15, 2012 at 9:49 AM, COURTAULT Francois
<Fr...@gemalto.com> wrote:
> Hello,
>
> Ok my goal is to be able to communicate, through an axis2 client, with a Web Service hosted in weblogic and WSS protected: no attachment nor MTOM used .
> For the stub generation I use adb which I think is the default I suppose.
>
If you don't need to map to an wsdl, you may not even need adb. If I
was just sending Strings or an attachment via mtom, I wouldn't bother
myself, ymmv.
> In such case what axis2 client jars do I need ?
Here's my list from a barebones client with no data binding. adb and
mtom is probably included in that. Less might be really needed, but
this is as trimmed down I could get with minimal effort.
axiom-api-1.2.12.jar, axiom-dom-1.2.12.jar, axiom-impl-1.2.12.jar,
axis2-adb-1.6.1.jar, axis2-ant-plugin-1.6.1.jar,
axis2-at-client-1.0.3.jar, axis2-codegen-1.6.1.jar,
axis2-kernel-1.6.1.jar, axis2-metadata-1.6.1.jar,
axis2-spring-1.6.1.jar, axis2-transport-http-1.6.1.jar,
axis2-transport-local-1.6.1.jar, commons-attributes-api-2.1.jar,
commons-beanutils-1.7.0.jar, commons-cli-1_0.jar,
commons-codec-1_3.jar, commons-collections-3.2.jar,
commons-dbcp-1.2.1.jar, commons-digester-1.7.jar,
commons-fileupload-1.2.jar,
commons-httpclient-3.1.jar, commons-io-1.3.2.jar,
commons-jxpath-1_2.jar, commons-lang-2.4.jar, commons-logging-1.1.jar,
commons-net-1.4.1.jar, commons-pool-1.2.jar,
commons-pool-1_3.jar, CVS, httpcore-4.0.jar, mail-1.3.1.jar,
neethi-3.0.1.jar, woden-api-1.0M9.jar, woden-impl-commons-1.0M9.jar,
woden-impl-dom-1.0M9.jar, wsdl4j-1.6.2.jar,
xercesImpl-2.0.2.jar, XmlSchema-1.4.7.jar
>
> But, more globally, what I require and which could be very useful in order to build our own classpath, is a description of all axis 2 client jar.
> This works has been done by the CXF team and it helps me a lot to build my cxf client classpath.
> So the question is: why the axis2 team doesn't provide this information ?
>
My suggestion is to file a JIRA requesting such docs.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
RE: Any advice in order to properly set a axis2 client classpath
Posted by COURTAULT Francois <Fr...@gemalto.com>.
Hello,
Ok my goal is to be able to communicate, through an axis2 client, with a Web Service hosted in weblogic and WSS protected: no attachment nor MTOM used .
For the stub generation I use adb which I think is the default I suppose.
In such case what axis2 client jars do I need ?
But, more globally, what I require and which could be very useful in order to build our own classpath, is a description of all axis 2 client jar.
This works has been done by the CXF team and it helps me a lot to build my cxf client classpath.
So the question is: why the axis2 team doesn't provide this information ?
Best Regards.
-----Original Message-----
From: robert lazarski [mailto:robertlazarski@gmail.com]
Sent: jeudi 15 mars 2012 13:20
To: java-user@axis.apache.org
Subject: Re: Any advice in order to properly set a axis2 client classpath
On Thu, Mar 15, 2012 at 8:18 AM, COURTAULT Francois <Fr...@gemalto.com> wrote:
> Any answer or advice ?
<snip>
> From: COURTAULT Francois [mailto:Francois.COURTAULT@gemalto.com]
> Sent: vendredi 9 mars 2012 16:23
> To: java-user@axis.apache.org
> Subject: Any advice in order to properly set a axis2 client classpath
> Importance: High
>
<snip>
> Is there any official doc in order to setup properly an axis2 client
> classpath ?
>
There are docs that show how to do a client invocation in the axis2 ant docs. That's probably the most common way, just point your classpath config to the axis2 libs and anything else you need.
> Minimum classpath ?
>
No idea these days.
> What the purpose of each jars in the <axis2_home>/lib directory ?
>
Too many to contemplate. Basically they cover every Java ws tech standard and transports that are not obsolete.
- R
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Re: Any advice in order to properly set a axis2 client classpath
Posted by robert lazarski <ro...@gmail.com>.
On Thu, Mar 15, 2012 at 8:18 AM, COURTAULT Francois
<Fr...@gemalto.com> wrote:
> Any answer or advice ?
<snip>
> From: COURTAULT Francois [mailto:Francois.COURTAULT@gemalto.com]
> Sent: vendredi 9 mars 2012 16:23
> To: java-user@axis.apache.org
> Subject: Any advice in order to properly set a axis2 client classpath
> Importance: High
>
<snip>
> Is there any official doc in order to setup properly an axis2 client
> classpath ?
>
There are docs that show how to do a client invocation in the axis2
ant docs. That's probably the most common way, just point your
classpath config to the axis2 libs and anything else you need.
> Minimum classpath ?
>
No idea these days.
> What the purpose of each jars in the <axis2_home>/lib directory ?
>
Too many to contemplate. Basically they cover every Java ws tech
standard and transports that are not obsolete.
- R
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
RE: Any advice in order to properly set a axis2 client classpath
Posted by COURTAULT Francois <Fr...@gemalto.com>.
Any answer or advice ?
From: COURTAULT Francois [mailto:Francois.COURTAULT@gemalto.com]
Sent: vendredi 9 mars 2012 16:23
To: java-user@axis.apache.org
Subject: Any advice in order to properly set a axis2 client classpath
Importance: High
Hello,
Is there any official doc in order to setup properly an axis2 client classpath ?
Minimum classpath ?
What the purpose of each jars in the <axis2_home>/lib directory ?
Best Regards.