Re: re[2]: Issues running service client on AIX 5L

2008-12-17 Thread Uthaiyashankar
Thank you very much. I have applied your patch. Looking forward to get more contribution :) Regards, Shankar On Thu, Dec 11, 2008 at 10:43 PM, Dominic Smith d.sm...@querix.co.ukwrote: Hi, Thank you very much for sharing this information. It was very useful. It would be great help if you

Fwd: Working memory class not found Error in axis2 services

2008-12-17 Thread Kiran Narasareddy
-- Forwarded message -- From: Kiran Narasareddy kiran.narasare...@gmail.com 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

Re: [Axis2]Finding current tomcat Port from Axis2

2008-12-17 Thread 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

Re: How to create or write to an existing file inside .aar during runtime?

2008-12-17 Thread Seem
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 update

Re: How to create or write to an existing file inside .aar during runtime?

2008-12-17 Thread Seem
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?

[ANNOUNCE] Axis2 1.5 beta-1 is out and ready for testing!

2008-12-17 Thread Glen Daniels
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

Error getting attachments from SOAPMessage

2008-12-17 Thread Chinmoy Chakraborty
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

Newbee to webservices

2008-12-17 Thread Harikrishna Imadabattina
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

Re: [axis2] clustering support

2008-12-17 Thread Afkham Azeez
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,

[Axis2]Finding current tomcat Port from Axis2

2008-12-17 Thread Srinath Perera
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

Re: How to Use JSON Objects in a Web Service

2008-12-17 Thread Jan Freitag
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,

Axis2 stub targetnamespace configuration

2008-12-17 Thread Igor Barma
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

Re: [Axis2]Finding current tomcat Port from Axis2

2008-12-17 Thread Afkham Azeez
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

Re: [Axis2]Finding current tomcat Port from Axis2

2008-12-17 Thread Srinath Perera
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

Axis deployment classloader issue

2008-12-17 Thread Olivier Serve
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

How to create or write to an existing file inside .aar during runtime?

2008-12-17 Thread Seem
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);

RE: [axis2] clustering support

2008-12-17 Thread Tony Dean
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

Axis 1.4 getResponseHeaders() sometimes returning empty array

2008-12-17 Thread McCullough, Ryan
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

Re: Error getting attachments from SOAPMessage

2008-12-17 Thread Andreas Veithen
Chinmoy, Can you post the code that demonstrates the problem? Andreas On Wed, Dec 17, 2008 at 13:40, Chinmoy Chakraborty cch...@gmail.com wrote: Hi All, I am creating SOAPMessage from inputstream. The inputstream is SOAP with attachments. But the attachmentParts becomes zero in the newly

axis2, cxf, spring or Metro

2008-12-17 Thread Shehan Simen
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

Re: axis2, cxf, spring or Metro

2008-12-17 Thread keith chapman
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

Re: Newbee to webservices

2008-12-17 Thread keith chapman
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]

RE: axis2, cxf, spring or Metro

2008-12-17 Thread Shehan Simen
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

Re: [Axis2]Finding current tomcat Port from Axis2

2008-12-17 Thread Srinath Perera
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 cset...@gmail.com wrote: Hi Srinath, Recently I tried doing this and ended up getting 8080 even if the port is

Re: Error getting attachments from SOAPMessage

2008-12-17 Thread Chinmoy Chakraborty
Andreas, Here is my code snippet. String contentType = multipart/related; boundary=MIMEBoundaryurn_uuid_D988AB74BC9802BDC21229577126047; type=text/xml; start=0.urn:uuid:d988ab74bc9802bdc21229577126...@apache.org0.urn%3auuid%3ad988ab74bc9802bdc21229577126...@apache.org MimeHeaders

Re: [Axis2]Finding current tomcat Port from Axis2

2008-12-17 Thread Afkham Azeez
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