MessageContext.getCurrentMessageContext().getConfigurationContext().getAxisConfiguration().getTransportIn("http").getParameter("port")
However, the port needs to be provided as a parameter in the TransportIn
config in the axis2.xml file.
HTH
Azeez
On Wed, Dec 17, 2008 at 8:51 PM, Srinath Perera
Andreas,
Here is my code snippet.
String contentType = multipart/related;
boundary=MIMEBoundaryurn_uuid_D988AB74BC9802BDC21229577126047;
type="text/xml";
start="<0.urn:uuid:d988ab74bc9802bdc21229577126...@apache.org<0.urn%3auuid%3ad988ab74bc9802bdc21229577126...@apache.org>
>"
MimeHeaders mi
Hi All;
It worked for me with , but with simple axis server. I will later
chack with tomcat and let you know.
Thanks
Srinath
On Wed, Dec 17, 2008 at 11:15 PM, Thilina Gunarathne wrote:
> Hi Srinath,
> Recently I tried doing this and ended up getting 8080 even if the port is
> changed, which
Hi Srinath,
Recently I tried doing this and ended up getting 8080 even if the port is
changed, which forced me to switch back to passing the port number as a JVM
property. Please make sure you test this with a port other than 8080
Also let me know if it's working now :)...
thanks,
Thilina
On
Hi Keith,
Thanx for the reply.
Could you please tell me axis2 tutorial which describe how to write a wsdl2java
web service using jaxb binding? If I use jaxb data binding, that means I am
using jax-ws, right?
Regards,
Shehan
From: keith chapman [mailto:keithgchap...@gmail.com]
Sent: 2008-12-18 1
Hi,
You could refer the quickstart guide [1] as well as the user guide [2]. The
developer portal at WSO2 [3] also has quite a few good articles to get you
started. You could fine a Hello World with Axis2 [4] there too.
Thanks,
Keith.
[1] http://ws.apache.org/axis2/1_4_1/quickstartguide.html
[2]
Hi Shehan,
Yes Axis2 does support JAX-WS. ADB does not have full schema support but it
does support the 90% case very effectively. It supports the most widely used
schema constructs and most of the time they are the only ones that you will
be using. In case you need 100% schema support you could a
Hi,
We are evaluating different ws platforms to select the most suitable one for
our big projects to come in future. I would like to know whether axis2 is
supporting JAX-WS which is the preferred standard. Seems adb is still buggy and
no fully schema support.
Please advise us soon as this is a b
Chinmoy,
Can you post the code that demonstrates the problem?
Andreas
On Wed, Dec 17, 2008 at 13:40, Chinmoy Chakraborty wrote:
> Hi All,
>
> I am creating SOAPMessage from inputstream. The inputstream is SOAP with
> attachments. But the attachmentParts becomes zero in the newly created
> SOAPM
I am using Axis (not Axis2) 1.4.
After submitting a request to the server and receiving a response, I am calling
SoapBindingStub.getResponseHeaders() (extends org.apache.axis.client.Stub).
Sometimes (rarely), getResponseHeaders() returns an empty SOAPHeaderElement[]
array. The length of the arr
thanks for the reply.
From: Afkham Azeez [mailto:afk...@gmail.com]
Sent: Wednesday, December 17, 2008 6:24 AM
To: axis-user@ws.apache.org
Subject: Re: [axis2] clustering support
Yes the config is not necessary but it depends on your definition of a cluster.
Even though your services are stateles
Hi y'all!
I've put the first beta version of Axis2 1.5 up here:
http://people.apache.org/~gdaniels/axis2/dist/1.5-beta-1/
Major Changes Since 1.4.1:
- Refactored, pluggable transports (separate jars, with deployer)
- Clustering improvements (works with EC2)
- Over 100 JIRA issues resolved
This
Step by Step I getting to the source of my problems
During the runtime process, I will get FileNames as Strings which are
composed with an associated relative path (like "etc/file.name"). Without
the relative path the creating is possible, but with the unknown path...
Do you know any tricks?
I also tried with no success.
FileOutputStream create = new FileOutputStream(ccFilename);
create.close();
In Eclipse everything is working fine, but not if packed as an .aar and
deployed inside the axis-container.
Seem wrote:
>
> Hi,
>
> is it possible to create or upda
Hi,
is it possible to create or update a file inside the .aar during the service
process?
Is there an examplary workaround?
I tried it like this:
String ccFilename = Name of the File anf not a FileObject
try
{
FileWriter create = new FileWriter(ccFilename);
Hi everybody,
I made a simple SOAP client using wsdl2java.sh, ii have no problems
and it works fine.
My goal is to have a client that i can easly configure to request
different WS target.
here is my simply code i play with:
MoodleWSStub stub = new MoodleWSStub();
LoginDocument loginDocument
I did not see a way to get a TransportListener from config contex,
however, in the listener manager, there is something called getEPR
forService(), which I think will do the trick. Will try it and let you
know.
Thanks deepal, Azeez !!!
Srinath
On Wed, Dec 17, 2008 at 10:09 AM, Deepal jayasinghe
Hi Srinath,
Nice to see you asking a question in the list :)
You can get the reply to address as follows
- first get the configuration context
- from that you can get something called TransportListener
- from that you can ask for a reply to address.
Thank you!
Deepal
> Hi All;
>
> Is there a way
The servlet API does not support getting the port before any requests have
arrived AFAIK. Also, you cannot write Tomcat specific code to get the ports
since Axis2 has to run on multiple App servers. However, if you can live
with writing custom Tomcat code, there is a Tomcat MBean that will give you
Hi All;
Is there a way to find the current tomcat port using Axis2 (I need it
to set a replyto address)? Ideally I want to find the service port at
the start up, before any request arrived. If that does not work, I
might be able to live with getting it with message context. Does the
message contex
Hi all,
I am a new bee to the web services. And soon I am going to work in a
project where Axis web services are my assignments. Can you guys please send
me links where I can learn the core basics, tutorials of web services and
axis? I already worked in web applications built using frameworks
Hi All,
I am creating SOAPMessage from inputstream. The inputstream is SOAP with
attachments. But the attachmentParts becomes zero in the newly created
SOAPMessage though the content type is "multipart/related".
Why it is not created attachments when I am creating SOAP from inputstream
(with atta
Yes the config is not necessary but it depends on your definition of a
cluster.
Even though your services are stateless, if there are other components such
as modules that require to keep the states across the cluster in sync, the
clustering configuration needs to be available.
Azeez
On Wed, Dec
Hi,
do you have any idea how to implement a web services with the gears
request and the resposne in JSON?
@Keith: Do you have any idea? You wrote that you know how to do that .
Thanks, JF
Am 12.12.2008 um 17:57 schrieb Jan Freitag:
Hi,
I want to write the web service with plain Axis2, b
Hi there !
I'm facing a deployment problem with Axis 1.4 on Tomcat 5.5.26 (using Sun jvm
1.5.0_10).
I have a webapp that uses Axis.
No problem so far, I just put the Axis jars and dependencies into WEB-INF/lib/
and everything works fine.
To secure the access to this webapp (and others on the s
-- Forwarded message --
From: Kiran Narasareddy
Date: Wed, Dec 17, 2008 at 1:43 PM
Subject: Working memory class not found Error in axis2 services
To: axis-user-h...@ws.apache.org
Hello,
I am a new axis2 user. I am trying to execute a set of rules in my
axis2 webservice.
26 matches
Mail list logo