Hi Adam; I do not know detail about custom dispatchers. You will find someone who knows at axis dev. I am forwarding. Thanks Srinath
---------- Forwarded message ---------- From: Adam Janota <[EMAIL PROTECTED]> Date: Wed, Apr 16, 2008 at 5:53 AM Subject: Re: Question about AXIS2 To: Srinath Perera <[EMAIL PROTECTED]> Hi again. I'd like to ask You about one more thing. I need to replace the operation dispatcher functionality with my custom behaviour. I have created dispatcher classes extending the abstract classes, but now I need to make Axis use them when processing requests. I have tried to modify the axis2.xml dispatch phase in the In-flow chain to use my classes, but it gave no effect. I found that the class RESTUtils creates a new RequestURIBasedDispatcher using the constructor directly (so it seems the config is not consulted here). When I replaced the type with my own, it works alright. My 2 questions are: 1. is there a possibility to make it the clean way, without modifying the original source of Axis, but using config instead - if so, how? 2. Additionally, I want to pass a resource ID parameter in the URI. How can I pass a parameter to my service class, given that I extract it from the request URI in my dispatcher (instead of using the query string)? Thanks in advance for any information. Best regards. Adam Janota. On Fri, Apr 11, 2008 at 8:31 PM, Srinath Perera <[EMAIL PROTECTED]> wrote: > by configuring axis2 data binding, you can have xml converted to > xmlbeans, ADB (axis2 data binding, among few more) > > Thanks > Srinath > > > > > On Thu, Apr 10, 2008 at 9:56 AM, Adam Janota <[EMAIL PROTECTED]> wrote: > > Welcome. > > > > I use Axis2 in my work and I have big problem. Documentation of Axis and > > Google 'know' nothing about it. > > I can serialize object. But I can't deserialize it. I mean, if I'd sent > > request to web service from e.g. PHP client I have to sent same XML data to > > Axis and Axis will make object from this data. My question: what is the > > format of this XML file? What I have to configure to make it possible? > > Important: I use REST, not SOAP protocol. > > > > Thanks for each information. > > > > Best regards. > > > > Adam Janota > > tel.: +48 607 77 20 77 > > Skype: ajanota77 > > GG: 4320111 > > > > > > -- > ============================ > Srinath Perera: > Indiana University, Bloomington > http://www.cs.indiana.edu/~hperera/ > http://www.bloglines.com/blog/hemapani > -- Pozdrawiam, Adam Janota Projektowanie aplikacji i stron internetowych Promocja stron w sieci Internet Kontakt: tel.: 607 77 20 77 Skype: ajanota77 GG: 4320111 -- ============================ Srinath Perera: Indiana University, Bloomington http://www.cs.indiana.edu/~hperera/ http://www.bloglines.com/blog/hemapani
