Re: simple question about request scope

2007-07-04 Thread Deepal Jayasinghe
> Hi, > > My question is: using request scope, ServiceGroupContext has the same > life time as the invocation of the operation??? Yes. > > Do I have to use ConfigurationContext if I want to keep something in > common to all service invocations or do I have another option??? Yes, if you are going t

RE: Streaming Soap with Attachments

2007-07-04 Thread Peter Makoi
Sure here is the method from the server side code public javax.activation.DataHandler[] returnStreamingByteArray(final int timeout) { DataHandler ret = new DataHandler(new DataSource() { private long start = System.currentTimeMillis(); private long end = start + tim

Re: [Axis2] CodeGen Problem

2007-07-04 Thread Jochen Zink
Okay, thanks a lot. That is a reason, but can't solve my problem :). I only develop the client and not the service. The service is actually working. But i will inform the service developers. Thanks a lot!! > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 05.07.07

Re: [Axis2] Please VOTE for your favorite bug to be fixed.

2007-07-04 Thread Kelvin Lin
Hi Amila, Thanks a lot. I have modified my wsdl file to following the standard specification, by modifying to: Thanks again. Kelvin Amila Suriarachchi <[EMAIL PROTECTED]> wrote: On 7/2/07, Kelvin Lin <[EMAIL PROTECTED]> wrote:I am really looking forwards to fix

Re: WSDL2java default stub generation.

2007-07-04 Thread Amila Suriarachchi
On 7/1/07, Alexey Zavizionov <[EMAIL PROTECTED]> wrote: Hello, I think that by default should be generated all ports for all services. And with option you may choose which ports for wich services will be generated. Sorry for late reply. Actually I had done this change before one day to your r

Re: [Axis2] Problem with invoking web service by using Stub classes

2007-07-04 Thread Amila Suriarachchi
generating code make sure you use -uw option. this will generate you a much simplified api. then created the stub classl XXXStub stub = new XXXStub(); then call the method stub.XXX(); On 7/3/07, Charitha Kankanamge <[EMAIL PROTECTED]> wrote: Hi, The following will help you to get some under

Re: Axis2 Snapshot Code Gen w/ Exceptions

2007-07-04 Thread Amila Suriarachchi
On 7/3/07, Alejandro Calbazana <[EMAIL PROTECTED]> wrote: For what its worth, it looks like the latest snapshots do not generate faults properly. While generating my own wsdl that contains fault types, I noticed that the types names were named differently that what I am used to. I then checked

Re: [Axis2] CodeGen Problem

2007-07-04 Thread Amila Suriarachchi
this problem is in here the message part is not namespace qualified So you have to put it as this would fix your problem. And also if you want to send nothing in body put parts

Re: [Axis2] Please VOTE for your favorite bug to be fixed.

2007-07-04 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry for hijacking this thread. Can we please also remove the documentation links for our older releases from the left tool bar of the site. For me it is irritating to see 0.94 documentation still in Axis2 main page. Can we please move it to some o

Re: Change MessageContext AND envelope in Handler

2007-07-04 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastian Roschke wrote: > Hi, > > I've got a problem concerning the MessageContext used in Axis2 > MessageReceivers and Handlers. Is it possible to change members of the > message context; e.g. WSAAction? How this changes can be applied to > envelope

Re: Change MessageContext AND envelope in Handler

2007-07-04 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastian Roschke wrote: > Hi Deepal, > > thanks for the answer. I know that there is no change in the envelope. > But is there any possibility to change the envelope? Would it be > possible to work directly within the envelope? When I get the envelop

Re: Axis2 & rest

2007-07-04 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walker, Jeff wrote: > You don't pass complex types in REST web services. Period. Completely disagree. > It's all about those Query parameters, the name-value pairs following > the '?' and separated by the '&'. Remember one realization of REST is to

RE: Axis2 & rest

2007-07-04 Thread Raghu Upadhyayula
Hi Anne, I'm not using REST for my web services, I just gave the login sample as an example for zakaria's email about passing parameters to in a REST way. Thanks Raghu From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wed 7/4/2007 3:23 PM To: ax

Re: rampart causes problems with hierarchies

2007-07-04 Thread Davanum Srinivas
Jorge, Please log a new bug with your test case. thanks, dims On 7/4/07, Jorge Fernandez <[EMAIL PROTECTED]> wrote: Hi, Some months ago, I had some problems with the use of hierarchies with adb and xmlbeans. Apparently they were resolved with adb but know, I'm getting the same error. For exa

rampart causes problems with hierarchies

2007-07-04 Thread Jorge Fernandez
Hi, Some months ago, I had some problems with the use of hierarchies with adb and xmlbeans. Apparently they were resolved with adb but know, I'm getting the same error. For example: I have an array of an object called "parent" and I put into that array instances of "child1" or "child2" (those

specifying retries of client stub

2007-07-04 Thread D P
Hello all, How can I set the client service stub to retry if the underlying http connection times out or throws some other error? I believe that sandesha2 can do this, but I'm not able to deploy any additional modules to axis2 at this time. Are there any other options? P

Re: Axis2 & rest

2007-07-04 Thread Anne Thomas Manes
You should use GET only if your intention is to "get" a representation of a resource -- i.e., a "safe" operation that does not effect any change of state to the server. If your intention is to make some type of change to the resource, you should use one of the following non-safe methods: POST, PU

Re: Streaming Soap with Attachments

2007-07-04 Thread Alex Dickinson
The delay is due to the default behaviour of writeObject() in javax.activation.DataHandler. The stream that gets passed to it is buffered, which will have to fill up before the bytes are sent over the socket's stream. Also the ByteArrayDataSource requires that the DataSource be fully written to be

Re: Streaming Soap with Attachments

2007-07-04 Thread Davanum Srinivas
Axis1 or Axis2? Can you post some code of what you tried? thanks, dims On 7/4/07, Peter Makoi <[EMAIL PROTECTED]> wrote: Does soap with attachments using MIME multipart support streaming? I have goggled around trying to find out if there is a possibility of doing that but i end up getting

Re: sesion managment, scope=soapsession

2007-07-04 Thread robert lazarski
I've always thought that web service sessions - in any framework - don't play nice together or even in the same framework. In the axis2 case, I've seen a lot of confusion in this area and after reading countless emails and several articles about it, and reading the code, I still don't entirely get

Re: sesion managment, scope=soapsession

2007-07-04 Thread fat suze
Does anyone know if there is any documentation anywhere on the web that explains axis2 sessions? Specifically the ending of sessions? I have searched all over the web for how to kill a transport session, and I have seen many others asking how to end all types of sessions, but nobody seems to kno

Re: [Axis2] CodeGen Problem

2007-07-04 Thread Davanum Srinivas
Please create a JIRA and upload your wsdl. thanks, dims On 7/4/07, Jochen Zink <[EMAIL PROTECTED]> wrote: Hello, I try to generate a client Stub with wsdl2java. I got the following Exception if I execute the wsdl2java tool. It seems, that the codeGen tool believes, that the is no messagepart

RE: Axis2 & rest

2007-07-04 Thread Vibhor_Sharma
If you want to use POX(plain old xml) over HTTP using the POST mechanism then you could dispatch the complex data types. But that is not the pure form of REST. try to design your schema in such a way that you can invoke the requests using simple GET mechanism.

simple question about request scope

2007-07-04 Thread Jorge Fernandez
Hi, My question is: using request scope, ServiceGroupContext has the same life time as the invocation of the operation??? Do I have to use ConfigurationContext if I want to keep something in common to all service invocations or do I have another option??? Thanks in advance, Jorge Fernández

[Axis2] CodeGen Problem

2007-07-04 Thread Jochen Zink
Hello, I try to generate a client Stub with wsdl2java. I got the following Exception if I execute the wsdl2java tool. It seems, that the codeGen tool believes, that the is no messagepart bipro:Security declared int the wsdl file. But, as you can see in the attached file, it is declared. I'm

Re: Exception in rampart configuration with inflow - outflow classes

2007-07-04 Thread Jorge Fernandez
It worked!! Thanks a lot. About Policies, do you know where can I find any sample on how to get a service policy from the client and check the compatibility with client's policy?? In rampart samples, policies are set on services.xml and I don't know how can the client access them. Should I p

AW: sesion managment, scope=soapsession

2007-07-04 Thread Stadelmann Josef
Hi developers ... :-) Running multipple clients, each talkes to an instance of MyService5.java; MyService5.java has init(), login(), map(), logout(), destroy(), implemented; It was said somewhere in this mailing-list that init() and destroy() methods get called at the proper time by axis2 if

Re: Custom WSDL port locations not honored

2007-07-04 Thread axelspin
Yes I got the same a workaround could be changing the namespace in this way xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; it works.. sounds a bit quick and dirty as well..but in the mean time, I think I`ll use it.. Boemker, T

Re: soap address location

2007-07-04 Thread axelspin
What?? xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/"; I think there`s a kind of typo here? Two definition for the same namespace.. I see some exception in my console Anyway I think you mean xmlns:soap="http://schemas.xmlsoap.org/wsdl

RE: how to get custom WSDL during runtime instead of generated WSDL in Axis 2

2007-07-04 Thread axelspin
Ok, it works partially for me.. I still have get thechanged at runtime.. some ideas? Krishnamoorthy J (HCL Financial Services) wrote: > > > Hi J.K., > > > > Setting the true worked. > > > > Thanks, > > Krishna > > > > > > From: Jarek Kucyper

[Axis2] Problems with Statefull WebService and .NET client

2007-07-04 Thread Jochen Zink
Hello, I have a StateFull WebService written with Axis2 1.1.1 with scope="soapsession". Know I want to develop a .NET client to test interoperability. It works well, I can call every Service Method. But the client ignores WS-Addressing information's. The ServiceGroupID is not sended back to the

Re: [Axis2] Problems with addinf prefix's to attributes, or removing them from headers

2007-07-04 Thread Alex Craddock
Yup they do thanks for the help. On 7/3/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: The generated stubs should do it automatically. On 7/3/07, Alex Craddock <[EMAIL PROTECTED]> wrote: > > I have just created my stubs using the WSDL"Java (didnt no it existed, > thanks for mentioning it sav

Re: Deploy & TCPTransport

2007-07-04 Thread Yari Marchetti
yesterday i tried again but i cannot really find a way to use ws-addressing. The code below seems to work, i think im doing something wrong in the addressing part. is this EndpointReference er = new EndpointReference("tcp://localhost:777/ConnectionManager"); a correct way to specify the EPR + ser

Re: Which databinding axis1 has?

2007-07-04 Thread Alexey Zavizionov
Thanks for your response! Alexey On 7/3/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: Axis uses it's own internal databinding system (referred to as de/serialization) that's based on SAX. It is not a pluggable option. (Perhaps you've seen messages such as "no deserialized found for [qname]).

Streaming Soap with Attachments

2007-07-04 Thread Peter Makoi
Does soap with attachments using MIME multipart support streaming? I have goggled around trying to find out if there is a possibility of doing that but i end up getting some old postings and documentations that suggest that SwA does not support streaming I have also tried to simulate streaming a