Reading a properties file from Axis2 service class

2008-09-11 Thread satheesh
Hi all, I have written application using axis2 and deployed in Tomcat. I have to read some values from properties file at run time? how can I define a properties file in MyService.aar file read it in my service class ? thank you in advance. satheesh -- View this message in context: http://www.

wsdl2java and wsdl problem

2008-09-11 Thread Shehan Simen
Hi, I have a question about wsdl. The wsdl2java fails in following case. But I feel the wsdl is wrong. I got the following element in a complex type. I believe this is logically wrong or useless. The choice is m

Re: InterruptedException with Eclipse Codegen plug-in

2008-09-11 Thread jackdawson
Hello all, Can anyone tell me what is wrong with this WSDL? Why am I getting the InterruptedException when I try to generate server side stuff using the Axis2 Eclipse Codegen plugin wizard? http://xml.apache.org/xml-soap"; xmlns:impl="urn:a.b.c.d" xmlns:intf="urn:a.b.c.d"

RE: [Axis2] After changes to WSDL to make it WS-I compliant, Stub throws Nullpointer

2008-09-11 Thread Pantvaidya, Vishwajit
Thanks Amila. I verified and found that this problem is nonexistent in Axis2 1.4.1. From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2008 11:32 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] After changes to WSDL to make it WS

RE: Array question

2008-09-11 Thread Marc.Horvath
Thanks for your help! Marc From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2008 5:14 PM To: axis-user@ws.apache.org Subject: RE: Array question sounds like the service faulted pls supply the wsdl so we can try Martin ___

RE: Array question

2008-09-11 Thread Martin Gainty
sounds like the service faulted pls supply the wsdl so we can try Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature

Re: WS-Security with WSDL file that doesn't contain the policies

2008-09-11 Thread Nandana Mihindukulasooriya
Hi Soyer, Yes, you can do this. You can use WS - Trust support in Apache Rampart to do this. But your binary token "NGX-SecurityToken-Value" seems to be a custom one. So need to know what are the exact parameters you need to send to the STS ( the web service that issue security tokens). t

RE: Greetings all,

2008-09-11 Thread Martin Gainty
take a look at getThreadPool from ConfigurationContext http://ws.apache.org/axis2/1_1/api/org/apache/axis2/context/ConfigurationContext.html#getThreadPool() ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachment

RE: Array question

2008-09-11 Thread Marc.Horvath
Hi Martin, Thanks for the input but it didn't work. Here's the code with the additional line you indicated I needed. I'm still getting: org.xml.sax.SAXException: No deserializer for {urn:DemandResponse}SiteDTO call.setOperationName( "getSites" ); call.setReturnTy

RE: WS-Security with WSDL file that doesn't contain the policies

2008-09-11 Thread Soyer, Muhammed A.
I learnt some extra things, I first call a different web service to obtain some ticket (BinarySecurityToken) then I use this token in the following web calls. How can I do this? Thanks From: Soyer, Muhammed A. Sent: Thursday, September 11, 2008 1:47 PM To: 'axis-user@ws.apache.org' Subject: RE:

Rampart does not insert security headers when sending SOAP fault response

2008-09-11 Thread Shaun Clayton
Hi, I have a secure policy based web service using Axis2 1.4 and Rampart Release 1.4 (a policy using asymmetric binding). I create a web service where it throws an exception. But the response message built by Rampart does not contain security headers as expected by the client. Can anybody tell me

RE: WS-Security with WSDL file that doesn't contain the policies

2008-09-11 Thread Soyer, Muhammed A.
IS it possible to figure out something from a sample header? What is binarySecurityToken ? Is it something custom or a generic thing? Thanks 2008-09-03T12:30:09Z 2008-09-03T12:30:39Z http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>

Re: WS-Security with WSDL file that doesn't contain the policies

2008-09-11 Thread keith chapman
If the WSDL does not advertise the policy then you will have speak to the guys who host the service and get the required security configurations. ;). There is no other way that you will know what to send to the other end. Its better if they can give you the security configuration as a policy file.

WS-Security with WSDL file that doesn't contain the policies

2008-09-11 Thread Soyer, Muhammed A.
Hi, I have a WSDL file which doesn't have the security policies in it. But the server requires me to include the WSSE headers. They are using WSE3 on .Net at the server side. I am trying with rampart and confused about the possibility of achieving this with the WSDL file without the policies.

Re: Greetings all,

2008-09-11 Thread Deepal Jayasinghe
Hmm , I do not think I completely understand your problem. Any way in Axis2 if you want to start a thread for your service . Then the right way is to have a implement ServiecLifeCycle interface and inside that write the thread starting code. And then store pointer to that thread inside AxisService

Re: Axis 1.3 generates object instead of null.

2008-09-11 Thread keith chapman
Hi, The behavior of Axis2 in your case is correct. If zipTargeting was to be null then your payload should have been something like http://www.w3.org/2001/XMLSchema-instance"/> That instructs axis2 that this element is null. Thanks, Keith. On Wed, Sep 10, 2008 at 7:24 PM, Anatoly Rybalchenko <

Greetings all,

2008-09-11 Thread David Pizon
Greetings all, First of all my hat is off to the AXIS group. This is a fantastic tool. My class works perfect as a web service until I try to instantiate a threaded class. Is there a particular way to do this within Axis? My "DocumentService" class (and internal thread) works perfectly when run

Re: Exception while creating dynamic WebService Client

2008-09-11 Thread keith chapman
Hi, Looks like the exception occurred at the server side and not at the client. Is the server running axis2 as well? Thanks, Keith. On Thu, Sep 11, 2008 at 6:40 PM, sumit jindal <[EMAIL PROTECTED]>wrote: > hello > > I am getting this exception > > Exception in thread "main" org.apache.axis2.Axi

Re: Fwd: Log SOAP Message with HTTP

2008-09-11 Thread Eran Chinthaka
Yep, that code is for a client. On Thu, Sep 11, 2008 at 3:07 AM, Bartolomeo Nicolotti <[EMAIL PROTECTED]>wrote: > Ops, > > the link is: > > http://wso2.org/blog/dims/1554 > > Bye > > Il giorno gio, 11/09/2008 alle 08.21 +0200, Bartolomeo Nicolotti ha > scritto: > > Hi, > many thanks, I've found

Fwd: Exception while creating dynamic WebService Client

2008-09-11 Thread sumit jindal
hello I am getting this exception Exception in thread "main" org.apache.axis2.AxisFault: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. This is my code objExecute is th

Exception while creating dynamic WebService Client

2008-09-11 Thread sumit jindal
hello I am getting this exception Exception in thread "main" org.apache.axis2.AxisFault: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. This is my code objExecute is th

Axis2 databinding xmlbeans: ArrayStoreException even within sample perf.wsdl

2008-09-11 Thread Christian Vogt
Hi everyone, I am trying out the xmlbeans databinding with axis2 and ran into an issue even with the distributed sample-wsdl-file 'perf.wsdl'. ADB is working fine, but when switching ot xmlbeans-databinding, there is the following exception thrown: org.apache.axis2.wsdl

Re: [axis2] 1.4.1 introduce header Transfer-Encoding: chunked

2008-09-11 Thread Sanka Samaranayake
Set the following property in client options object to false. options.setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.TRUE); Cheers, Sanka On Thu, Sep 11, 2008 at 3:28 PM, Bartolomeo Nicolotti <[EMAIL PROTECTED]>wrote: > Hi there, > > I had a working web service clien

[axis2] 1.4.1 introduce header Transfer-Encoding: chunked

2008-09-11 Thread Bartolomeo Nicolotti
Hi there, I had a working web service client with axis2-1.4, than I updated to axis2-1.4.1 and it started not even to log to the web service. The web service support tells me to turn off this http header param: Transfer-Encoding: chunked How can I turn this http headr off? Many thanks in advanc

Axis2 and phoneme

2008-09-11 Thread Francisco José Peñarrubia
Hi, List! Just a short question: Is it possible to install Axis2 on Phoneme. The purpose is to have some little services running on a PDA or mobile phone. Thanks in advance, and greetings from Spain. Fran Peñarrubia Geospatial Partners. gvSIG team. ---

Re: Fwd: Log SOAP Message with HTTP

2008-09-11 Thread Bartolomeo Nicolotti
Ops, the link is: http://wso2.org/blog/dims/1554 Bye Il giorno gio, 11/09/2008 alle 08.21 +0200, Bartolomeo Nicolotti ha scritto: > Hi, > > many thanks, I've found also this, > > How do i log all HTTP/HTTPS traffic from an Axis2 Client? | WSO2 Oxygen > Tank > > Bye! > > Il giorno mer, 10