question

2007-10-17 Thread mathieu fabre
Hi,

i use axis2 with tomcat and i don't know axis2 very well.
i have made a simple service, and i wrote a client which use the client
stub.
i want to use my own transport, so i made a simple jar that contain the
minimum
files like http protocol.(i begin to copy the http protocol and i will write
changes after).
I change the axis2.xml file and my server is using my jar for the transport.
But i don't know how to do the same thing for the client because the client
use the axis2-kernel.jar
which contain normal version of the http transport.

How could i force the client to use my jar for the transport..?

thank in advance.

mathieu Fabre

(sorry for my english, i'm french)


Re: question

2007-10-17 Thread mathieu fabre
 thanks for your answer.

i tried what you say and i create a client repository with "modules" (empty
directory) and "services" directory (empty too)
and a "conf" directory that contain my axis2.xml modified file.

when i run the client with my repository and my xml i obtain the message :


[W][Simple Http Server] constructor
*

org.apache.axis2.deployment.DeploymentException*:
org/apache/commons/fileupload/FileItemFactory

at org.apache.axis2.deployment.AxisConfigBuilder.processMessageBuilders(*
AxisConfigBuilder.java:623*)

at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(*
AxisConfigBuilder.java:186*)

at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(*
DeploymentEngine.java:615*)

at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(*
FileSystemConfigurator.java:115*)

at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
(*ConfigurationContextFactory.java:64*)

at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem
(*ConfigurationContextFactory.java:180*)

at fr.j2ltho.webcontracthelpdesk.client.WebContractMainClient.main(*
WebContractMainClient.java:14*)

Caused by: java.lang.NoClassDefFoundError: *org*
/apache/commons/fileupload/FileItemFactory

at java.lang.Class.getDeclaredConstructors0(*Native Method*)

at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

at java.lang.Class.getConstructor0(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.apache.axis2.deployment.DescriptionBuilder.processMessageBuilders(*
DescriptionBuilder.java:229*)

at org.apache.axis2.deployment.AxisConfigBuilder.processMessageBuilders(*
AxisConfigBuilder.java:620*)
...

i can see that the simpleServerHttp begin to run correctly, but i have an
error after that :(

do you know why...?

thanks.

mathieu Fabre
[EMAIL PROTECTED]




2007/10/17, Upul Godage <[EMAIL PROTECTED]>:
>
> Just like in the server side, there is an axis2.xml to configure the
> client side. It is in the axis2-kernel.jar .
> For example the following line uses that axis2.xml to configure itself by
> default.
> ServiceClient serviceClient = new ServiceClient ();
> Either you can remove that file and put a changed axis2.xml in the
> classpath.
>
> Instead you can give an axis2.xml and repository as follows,
> ConfigurationContext configContext =
> ConfigurationContextFactory.createConfigurationContextFromFileSystem (
> axis2RepoLocation, axis2XmlLocation);
> ServiceClient serviceClient = new ServiceClient(configContext , null)
>
> When using the stub there will be constructor which takes a given
> configuration object.
> Stub stub = new Stub(configContext, epr);
>
> Good luck
>
> Upul
>
>
> On 10/17/07, mathieu fabre < [EMAIL PROTECTED] > wrote:
> >
> >
> > Hi,
> >
> > i use axis2 with tomcat and i don't know axis2 very well.
> > i have made a simple service, and i wrote a client which use the client
> > stub.
> > i want to use my own transport, so i made a simple jar that contain the
> > minimum
> > files like http protocol.(i begin to copy the http protocol and i will
> > write changes after).
> > I change the axis2.xml file and my server is using my jar for the
> > transport.
> > But i don't know how to do the same thing for the client because the
> > client use the axis2-kernel.jar
> > which contain normal version of the http transport.
> >
> > How could i force the client to use my jar for the transport..?
> >
> > thank in advance.
> >
> > mathieu Fabre
> >
> > (sorry for my english, i'm french)
> >
>
>


problem with dispatch phase

2008-01-29 Thread mathieu fabre
Hi,

I work on a project under java and i need to use an AxisServlet with
specific transport (not http transport).
I add an axis2.xml configuration file in the /WEB-INF/conf/ directory.

I lauch my webapp with jetty.

When i start my webapp, the AxisServlet fail and give me this exception :

javax.servlet.ServletException: The "Dispatch" phase is not found on the
global "InFlow" phase of the axis2.xml file. Make sure the phase is within
the axis2.xml file.
 at org.mortbay.jetty.servlet.ServletHolder.initServlet(
ServletHolder.java:437)
 at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java
:256)
 at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java
:40)

But, if i look at the axis2.xml i found the dispatch phase (I use the
default configuration ) :












 
 





















  i don't know why the AxisServlet fail. :(

if you have any idea ? (i use the jar axis-kernel-1.2)

thanks in advance,

Mat


configure AxisServlet

2008-02-20 Thread mathieu fabre
Hi,

I use an AxisServlet in a webapp.

in the web.xml i configure my axisServlet like that :


AxisServlet
Apache-Axis Servlet
org.apache.axis2.transport.http.AxisServlet


  axis2.xml.path
  C:\long
path\webapp\WEB-INF\conf\axis2.xml


  axis2.repository.path
  C:\long path\webapp\WEB-INF\


  contextRoot
  /


  servicePath
  services

1
  

But i want to configure "axis2.xml.path" and "axis2.repository.path" with
relative path like "WEB-INF\conf\axis2.xml"

How could I do that ? I know I must use the context of my webapp but i don't
know how

thanks in advance,

Mat


Re: configure AxisServlet

2008-02-20 Thread mathieu fabre
Thanks for your answer,

for axis2.xml location, axisServlet search for the path
WEB-INF/conf/axis2.xml by default.
So, i removed the tag axis2.xml.path and it's
value.

But if i put the tag :


   axis2.repository.path
   WEB-INF


I obtain an exception :

org.apache.axis2.deployment.DeploymentException: The system cannot locate
the specified repository location: WEB-INF
at org.apache.axis2.deployment.DeploymentEngine.loadRepository(
DeploymentEngine.java:127)
at
org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(
WarBasedAxisConfigurator.java:199)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
(ConfigurationContextFactory.java:64)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
AxisServlet.java:500)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
:420)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(
ServletHolder.java:433)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java
:256)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java
:40)
...

It seem it don't work well... :(

2008/2/20, Davanum Srinivas <[EMAIL PROTECTED]>:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Don't specify them at all..AxisServlet looks in WEB-INF/conf for axis2.xmland 
> uses WEB-INF as the repo.
>
> - -- dims
>
> mathieu fabre wrote:
> | Hi,
> |
> | I use an AxisServlet in a webapp.
> |
> | in the web.xml i configure my axisServlet like that :
> |
> | 
> | AxisServlet
> | Apache-Axis Servlet
> | org.apache.axis2.transport.http.AxisServlet
> | 
> | 
> |   axis2.xml.path
> |   C:\long
> | path\webapp\WEB-INF\conf\axis2.xml
> | 
> | 
> |   axis2.repository.path
> |   C:\long path\webapp\WEB-INF\
> | 
> | 
> |   contextRoot
> |   /
> | 
> | 
> |   servicePath
> |   services
> | 
> | 1
> |   
> |
> | But i want to configure "axis2.xml.path" and "axis2.repository.path"
> with
> | relative path like "WEB-INF\conf\axis2.xml"
> |
> | How could I do that ? I know I must use the context of my webapp but i
> don't
> | know how
> |
> | thanks in advance,
> |
> | Mat
> |
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.5 (Cygwin)
>
> iD8DBQFHvFuZgNg6eWEDv1kRAuzlAKDmAHkisCmyqJQUyS97zUKsdcwbZwCaAwxS
> HOARIlO8IuNzBXiZ5jPqnLk=
> =+Usy
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: configure AxisServlet

2008-02-21 Thread mathieu fabre
So, if I understand well, your solution is to set nothing about the
repository and configuration file (xml)
For the configuration file, it works, but for the repository, axisServlet
will not find the repository WEB-INF by default??


2008/2/20, Davanum Srinivas <[EMAIL PROTECTED]>:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> axis2.repository.path should be the full directory path. So i'd recommend
> that you don't set that as well.
>
>
> mathieu fabre wrote:
> | Thanks for your answer,
> |
> | for axis2.xml location, axisServlet search for the path
> | WEB-INF/conf/axis2.xml by default.
> | So, i removed the tag axis2.xml.path and it's
> | value.
> |
> | But if i put the tag :
> |
> | 
> |axis2.repository.path
> |WEB-INF
> | 
> |
> | I obtain an exception :
> |
> | org.apache.axis2.deployment.DeploymentException: The system cannot
> locate
> | the specified repository location: WEB-INF
> | at org.apache.axis2.deployment.DeploymentEngine.loadRepository(
> | DeploymentEngine.java:127)
> | at
> |
> org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(
> | WarBasedAxisConfigurator.java:199)
> | at
> |
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
> | (ConfigurationContextFactory.java:64)
> | at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
> | AxisServlet.java:500)
> | at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
> | :420)
> | at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> | ServletHolder.java:433)
> | at org.mortbay.jetty.servlet.ServletHolder.doStart(
> ServletHolder.java
> | :256)
> | at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java
> | :40)
> | ...
> |
> | It seem it don't work well... :(
> |
> | 2008/2/20, Davanum Srinivas <[EMAIL PROTECTED]>:
>
> | Don't specify them at all..AxisServlet looks in WEB-INF/conf for
> axis2.xmland uses WEB-INF as the repo.
>
> |
> | -- dims
> |
> | mathieu fabre wrote:
> | | Hi,
> | |
> | | I use an AxisServlet in a webapp.
> | |
> | | in the web.xml i configure my axisServlet like that :
> | |
> | | 
> | | AxisServlet
> | | Apache-Axis Servlet
> | | org.apache.axis2.transport.http.AxisServlet
> | | 
> | | 
> | |   axis2.xml.path
> | |   C:\long
> | | path\webapp\WEB-INF\conf\axis2.xml
> | | 
> | | 
> | |   axis2.repository.path
> | |   C:\long path\webapp\WEB-INF\
> | | 
> | | 
> | |   contextRoot
> | |   /
> | | 
> | | 
> | |   servicePath
> | |   services
> | | 
> | | 1
> | |   
> | |
> | | But i want to configure "axis2.xml.path" and "axis2.repository.path"
> | with
> | | relative path like "WEB-INF\conf\axis2.xml"
> | |
> | | How could I do that ? I know I must use the context of my webapp but i
> | don't
> | | know how
> | |
> | | thanks in advance,
> | |
> | | Mat
> | |
> |>
>
> - -
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> |>
> |>
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.5 (Cygwin)
>
>
> iD8DBQFHvGKugNg6eWEDv1kRAhs9AJ9+veyhEndd6IZso/feZ3XfEVGd4ACfUtGS
> bFO7QVyqsbKhybdjoJdFPHs=
> =Qftd
>
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: configure AxisServlet

2008-02-21 Thread mathieu fabre
Oups, sorry, i make a mistake. axisServlet will find the WEB-INF repository
by defaut, it's right.

Thanks for your answer and thanks for your time,

Mat

2008/2/21, mathieu fabre <[EMAIL PROTECTED]>:
>
> So, if I understand well, your solution is to set nothing about the
> repository and configuration file (xml)
> For the configuration file, it works, but for the repository, axisServlet
> will not find the repository WEB-INF by default??
>
>
> 2008/2/20, Davanum Srinivas <[EMAIL PROTECTED]>:
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> >
> > axis2.repository.path should be the full directory path. So i'd
> > recommend that you don't set that as well.
> >
> >
> > mathieu fabre wrote:
> > | Thanks for your answer,
> > |
> > | for axis2.xml location, axisServlet search for the path
> > | WEB-INF/conf/axis2.xml by default.
> > | So, i removed the tag axis2.xml.path and it's
> > | value.
> > |
> > | But if i put the tag :
> > |
> > | 
> > |axis2.repository.path
> > |WEB-INF
> > | 
> > |
> > | I obtain an exception :
> > |
> > | org.apache.axis2.deployment.DeploymentException: The system cannot
> > locate
> > | the specified repository location: WEB-INF
> > | at org.apache.axis2.deployment.DeploymentEngine.loadRepository(
> > | DeploymentEngine.java:127)
> > | at
> > |
> > org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration
> > (
> > | WarBasedAxisConfigurator.java:199)
> > | at
> > |
> > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
> > | (ConfigurationContextFactory.java:64)
> > | at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
> > | AxisServlet.java:500)
> > | at org.apache.axis2.transport.http.AxisServlet.init(
> > AxisServlet.java
> > | :420)
> > | at org.mortbay.jetty.servlet.ServletHolder.initServlet(
> > | ServletHolder.java:433)
> > | at org.mortbay.jetty.servlet.ServletHolder.doStart(
> > ServletHolder.java
> > | :256)
> > | at org.mortbay.component.AbstractLifeCycle.start(
> > AbstractLifeCycle.java
> > | :40)
> > | ...
> > |
> > | It seem it don't work well... :(
> > |
> > | 2008/2/20, Davanum Srinivas <[EMAIL PROTECTED]>:
> >
> > | Don't specify them at all..AxisServlet looks in WEB-INF/conf for
> > axis2.xmland uses WEB-INF as the repo.
> >
> > |
> > | -- dims
> > |
> > | mathieu fabre wrote:
> > | | Hi,
> > | |
> > | | I use an AxisServlet in a webapp.
> > | |
> > | | in the web.xml i configure my axisServlet like that :
> > | |
> > | | 
> > | | AxisServlet
> > | | Apache-Axis Servlet
> > | | org.apache.axis2.transport.http.AxisServlet
> > | | 
> > | | 
> > | |   axis2.xml.path
> > | |   C:\long
> > | | path\webapp\WEB-INF\conf\axis2.xml
> > | | 
> > | | 
> > | |   axis2.repository.path
> > | |   C:\long
> > path\webapp\WEB-INF\
> > | | 
> > | | 
> > | |   contextRoot
> > | |   /
> > | | 
> > | | 
> > | |   servicePath
> > | |   services
> > | | 
> > | | 1
> > | |   
> > | |
> > | | But i want to configure "axis2.xml.path" and "axis2.repository.path"
> > | with
> > | | relative path like "WEB-INF\conf\axis2.xml"
> > | |
> > | | How could I do that ? I know I must use the context of my webapp but
> > i
> > | don't
> > | | know how
> > | |
> > | | thanks in advance,
> > | |
> > | | Mat
> > | |
> > |>
> >
> > - -
> >
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > |>
> > |>
> >
> >
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.5 (Cygwin)
> >
> >
> > iD8DBQFHvGKugNg6eWEDv1kRAhs9AJ9+veyhEndd6IZso/feZ3XfEVGd4ACfUtGS
> > bFO7QVyqsbKhybdjoJdFPHs=
> > =Qftd
> >
> > -END PGP SIGNATURE-
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


ConfigurationContext and servletContext

2008-02-21 Thread mathieu fabre
Hi,

I work on a webapp and I write my own transport (transportListener and
transportSender)
I use an axisServlet configured with axis2.xml.

i need to obtain the servlet context during the configuration of my
transport (init() method)

Is it possible to obtain the servlet context by using ConfigurationContext
of axis...?

my transport is configure with some values which are not static, so i can't
put them in a file -> i would
like to use the servlet Context.

thanks,

Mat


xml over xml

2008-02-27 Thread mathieu fabre
Hi,

I use an axisServlet for my webapp with my own transport. I create
TransportListener
and TransportSender. When a message is receive by transportListener, i send
the SOAP message
to axis in order to call the good method.

When Axis finish it's work, it call the TransportSender to send the
response. But in the response,
some elements which are TEXT element contain XML.

in example :

part of response



 value



If value which is a TEXT contain XML nodes, what can i do to block the
processing of these XML nodes ( done by the requester when it receive
response - ie RPCClient ) ?

Thanks,

Mat


Re: xml over xml

2008-02-27 Thread mathieu fabre
Thanks for your answer,

i think about the solution 2, but i don't know if messageFormatter can do
this for me...?

When i start the client, it send a request : getApplicationConfiguration("my
application")

So the message soap is


...


my application




When my server receive the message, it try to find the method to call
the result of the method is the content of the configuration file of my
application.
And this content contain XML node (the file could be the axis2.xml in
example).

So, before sending the response, the TransportSender format the message with
MessagFormatter ( TransportUtils.getMessageFormatter(msgContext); ) .
And i would like to configure it to disable specials XML characters in
response.

Before using my own transport, i used http and it worked well, i don't
understand why it don' work anymore... :(

Mat


2008/2/27, Paul Fremantle <[EMAIL PROTECTED]>:
>
> Mathieu
>
> You have three options.
>
> 1) make it xsd:any instead of text, so that it is really XML all the way
> 2) encase the XML in 
> 3) escape all the XML characters
>
> Fundamentally whatever your service provider is doing it should do one of
> these.
>
> Paul
>
>
> On Wed, Feb 27, 2008 at 9:36 AM, mathieu fabre <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >
> > I use an axisServlet for my webapp with my own transport. I create
> > TransportListener
> > and TransportSender. When a message is receive by transportListener, i
> send
> > the SOAP message
> > to axis in order to call the good method.
> >
> > When Axis finish it's work, it call the TransportSender to send the
> > response. But in the response,
> > some elements which are TEXT element contain XML.
> >
> > in example :
> >
> > part of response
> >
> > 
> >  
> >  value
> > 
> > 
> >
> > If value which is a TEXT contain XML nodes, what can i do to block the
> > processing of these XML nodes ( done by the requester when it receive
> > response - ie RPCClient ) ?
> >
> > Thanks,
> >
> > Mat
> >
> >
> >
>
>
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


soap message

2008-03-12 Thread mathieu fabre
Hi,

I use axis2 in my webapp and i use a service that return an object that
contain a String []

When I try to use the response object, i can't find the correct value.
indeed, the data is sended correctly
but with my RPCClient, when i try to cast the result and exploit the object,
it fail.

Is there any probleme with String [] ???

if i use another object that contain only String, it work correctly... :(

Thanks,

Mat


question about CommonHTTPTransportSender

2008-04-28 Thread mathieu fabre
Hi,

I work on a webapp and i use Axis2 to expose my services.

my webapp is managed by jetty (like tomcat but lightweight).
Jetty listen on port 8443 with HTTPS (SSL) and on port 8080 with HTTP (no
SSL)
I wrote a little client which create a RPCServiceClient to send a request.

Here a piece of code :

//Create an empty configuration context
config =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(null,
null);
// Create a transport out description
TransportOutDescription transpOut = new
TransportOutDescription(Constants.TRANSPORT_HTTP);
transpOut.addParameter(new Parameter(HTTPConstants.PROTOCOL_VERSION,
"HTTP/1.1"));
//create the HTTP sender
CommonsHTTPTransportSender sender = new CommonsHTTPTransportSender();
//initialize the sender
sender.init(config, transpOut);
transpOut.setSender(sender);
config.getAxisConfiguration().addTransportOut(transpOut);
//create the RPCServiceClient
RPCServiceClient serviceClient = new RPCServiceClient(config, null);
Options options = serviceClient.getOptions();
EndpointReference targetEPR = new EndpointReference(url);
options.setTo(targetEPR);

run the request with invokeBlocking


with HTTP, it work correctly, but i don't know what to do in order to use
HTTPS
The server does not expect to authenticate the client for the moment.
If i try to view the wsd of on of my services with mozilla, it's working (i
accept the certificate)
So i would like to do the same in the code

Do you know what i must do ...?

Thanks,

Mat


Re: How call axis from tomcat

2008-06-16 Thread mathieu fabre
Yes, i think this is the best solution, and wirte a little client
(RPCServiceClent)
is not very complicated. Moreover, you can write a configurator to manage
ip and port of your axis2 standalone. You can also add SSL with certificate
if you want to give access only to your tomcat's webapp...

2008/6/16 Paul Fremantle <[EMAIL PROTECTED]>:

> Lars
>
> What I mean is that you write a standard Axis2 client that is
> expecting to communicate via SOAP/HTTP, using the URL
> http://localhost:8595/.. then call it from within Tomcat.
>
> That's all!
>
> Paul
>
> On Mon, Jun 16, 2008 at 2:55 PM, Lars Ericsson <[EMAIL PROTECTED]>
> wrote:
> > Paul!
> >
> >
> >
> > I forget to say, that i have axis-plug-in in tomcat too!!?
> >
> > and i want to call axis-server from tomcat-axis-plug-in.
> >
> >
> >
> > :)
> >
> >
> >
> > R.
> >
> > Lars
> >
> > - Original Message 
> > From: Paul Fremantle <[EMAIL PROTECTED]>
> > To: axis-user@ws.apache.org
> > Sent: Monday, June 16, 2008 3:50:36 PM
> > Subject: Re: How call axis from tomcat
> >
> > If you have 2 JVMs you can *NOT* use the local option - you should use
> > the standard network model. It will still be very fast because you are
> > calling on localhost.
> >
> > Paul
> >
> > On Mon, Jun 16, 2008 at 2:31 PM, Lars Ericsson <[EMAIL PROTECTED]>
> > wrote:
> >> Thanks Paul!
> >>
> >> I'm more intersting on the secound option, could you explaine moer.
> >> and i have two jwm
> >> R
> >> Lars
> >> - Original Message 
> >> From: Paul Fremantle <[EMAIL PROTECTED]>
> >> To: axis-user@ws.apache.org
> >> Sent: Monday, June 16, 2008 3:26:06 PM
> >> Subject: Re: How call axis from tomcat
> >>
> >> Lars
> >>
> >> You have two options.
> >>
> >> 1) You can just create a standard client for Axis2 and call that from
> >> your Tomcat servlet. The servlet will open a socket to 8595 and call
> >> Axis2.
> >>
> >> 2) Are the two systems running in the same process/JVM? If so there is
> >> a local transport you can use to call directly without going through
> >> the network.
> >>
> >> Paul
> >>
> >> On Mon, Jun 16, 2008 at 2:20 PM, Lars Ericsson <[EMAIL PROTECTED]>
> >> wrote:
> >>> Hi!
> >>>
> >>> My axis2, stand-alone, running on port 8595 and my tomcat is runinng on
> >>> port
> >>> 8080.
> >>>
> >>> For some resones i want to call myserver on axis-on port 8595 from
> tomcat
> >>> 8080.
> >>>
> >>> How is it possible? is there any documentation about this or?
> >>>
> >>> Thanks
> >>> Lars
> >>>
> >>
> >>
> >>
> >> --
> >> Paul Fremantle
> >> Co-Founder and CTO, WSO2
> >> Apache Synapse PMC Chair
> >> OASIS WS-RX TC Co-chair
> >>
> >> blog: http://pzf.fremantle.org
> >> [EMAIL PROTECTED]
> >>
> >> "Oxygenating the Web Service Platform", www.wso2.com
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
> >
> > --
> > Paul Fremantle
> > Co-Founder and CTO, WSO2
> > Apache Synapse PMC Chair
> > OASIS WS-RX TC Co-chair
> >
> > blog: http://pzf.fremantle.org
> > [EMAIL PROTECTED]
> >
> > "Oxygenating the Web Service Platform", www.wso2.com
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
>
> --
> Paul Fremantle
> Co-Founder and CTO, WSO2
> Apache Synapse PMC Chair
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: axis2 and soap

2008-06-17 Thread mathieu fabre
if you look at the http flow xhen you send a request, you'll see the
content... :)

2008/6/17 Lars Ericsson <[EMAIL PROTECTED]>:

> Paul!
>
> this is a answer from some one to some question:
>
> --
>
> Axis2 does not support SOAP Encoding. Try Axis instead.
> 
> what is it mean ?
>
> L
>
> - Original Message 
> From: Paul Fremantle <[EMAIL PROTECTED]>
> To: axis-user@ws.apache.org
> Sent: Tuesday, June 17, 2008 11:38:56 AM
> Subject: Re: axis2 and soap
>
> I don't know where you heard that! Axis and Axis2 both support SOAP.
> Maybe you are hanging out with a bad crowd?
>
> Paul
>
> On Tue, Jun 17, 2008 at 10:33 AM, Lars Ericsson <[EMAIL PROTECTED]>
> wrote:
> > Hi!
> >
> > I hear very often, that axis2 hasn't support soap.
> > But if it hasn't support soap, what is the protocol that axis2 uses?
> >
> > R
> > Lars
> >
> >
>
>
>
> --
> Paul Fremantle
> Co-Founder and CTO, WSO2
> Apache Synapse PMC Chair
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>