Re: WS-Eventing
It is working fine we don't required to get message at Client.java ListenerService1.java is getting the published message On 1/10/10, Yashvant chauhan c.yashv...@gmail.com wrote: Hi Prabath, Can you please upload or mail the source code of following. 1) axis2-savan-event-sink 2) axis2-savan-client 3) axis2-savan-event-source Regards, Yashvant On Sat, Jan 2, 2010 at 9:20 PM, Yashvant chauhan c.yashv...@gmail.comwrote: Hi, I tried Savan eventing Sample there were one PublisherService and two ListenerService. Client able to subscribe a Service but not able to get the Notification how I updates the Client.java to get the generated notification Regards, yashvant On Tue, Dec 29, 2009 at 12:27 AM, Gilbert Pilz gilbert.p...@oracle.comwrote: Hi Martin, Sorry, I'm missing a bit of context here. RIA events? WS-Eventing supports the Subscribe operation. What you are subscribing to is outside the scope of WS-Eventing. - gp On 12/26/2009 6:55 PM, Martin Gainty wrote: Good Evening Gilbert In the other apache projects we've registered listeners to predefined RIA events such as ContainerStart,SessionStart,SessionEnd..I would be very interested to know if this registration process for known RIA events is supported by WS-Eventing or is there some other algorithm implmenented to register the events and/or configure a custom dispatcher to dispatch to the correct listener thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. -- Date: Sat, 26 Dec 2009 16:26:24 -0800 From: gilbert.p...@oracle.com To: axis-user@ws.apache.org Subject: Re: WS-Eventing If you are interested in WS-Eventing, you might want to keep an eye on what is going on at the W3C Web Services Resource Access Working Group [1] which is working on standardizing (among other things) WS-Eventing. [1] http://www.w3.org/2002/ws/ra/ Gilbert Pilz | Standards Architect | Middleware Standards | Oracle Corporation On 12/23/2009 12:46 PM, Prabath Siriwardena wrote: Please have a look at [1]. Thanks regards. -Prabath [1]: http://blog.facilelogin.com/search/label/Savan Yashvant chauhan wrote: How I can develope a WS-Eventing in Axis2 -- Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up now. http://clk.atdmt.com/GBL/go/177141664/direct/01/ -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore * -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore * -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore *
Re: Static WSDL problems
Hi Vinicius, As per my understanding you have to do folowing things, 1) create a WSDL first with proper schema... 2) generarte server side code using the Axis2 utility wsdl2Java and update the *Impl java file your business logic 3) create a war file with whole stuff and deploy it in a webserver once you completed above three steps your service should work. Regards, Yashvant On Mon, Jan 11, 2010 at 7:19 PM, Vinicius Carvalho java.vinic...@gmail.comwrote: Hello there! We have an legacy WS built with Pojo based deployment with Axis2. I was told that in order to override a few defaults from axis (soap address, and some nillable properties on elements) one should get the generated WSDL and copy it to the same folder that the services.xml resides. Problem is: When we do that, Axis simply stop working. When I get the exact WSDL that is generated through: www.myserver.com/services/MyService?WSDL copy it to the folder of services.xml, restart tomcat. Well things get messy, and very very messy: One is that the marshalling stop working, parameters do not get converted I get lots of \n on string parameters for instance. As I said, I was told that just putting the WSDL at the services.xml folder should work, but it does not seems so. Any ideas please? Regards -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore *
Re: WS-Eventing
Hi Prabath, Can you please upload or mail the source code of following. 1) axis2-savan-event-sink 2) axis2-savan-client 3) axis2-savan-event-source Regards, Yashvant On Sat, Jan 2, 2010 at 9:20 PM, Yashvant chauhan c.yashv...@gmail.comwrote: Hi, I tried Savan eventing Sample there were one PublisherService and two ListenerService. Client able to subscribe a Service but not able to get the Notification how I updates the Client.java to get the generated notification Regards, yashvant On Tue, Dec 29, 2009 at 12:27 AM, Gilbert Pilz gilbert.p...@oracle.comwrote: Hi Martin, Sorry, I'm missing a bit of context here. RIA events? WS-Eventing supports the Subscribe operation. What you are subscribing to is outside the scope of WS-Eventing. - gp On 12/26/2009 6:55 PM, Martin Gainty wrote: Good Evening Gilbert In the other apache projects we've registered listeners to predefined RIA events such as ContainerStart,SessionStart,SessionEnd..I would be very interested to know if this registration process for known RIA events is supported by WS-Eventing or is there some other algorithm implmenented to register the events and/or configure a custom dispatcher to dispatch to the correct listener thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. -- Date: Sat, 26 Dec 2009 16:26:24 -0800 From: gilbert.p...@oracle.com To: axis-user@ws.apache.org Subject: Re: WS-Eventing If you are interested in WS-Eventing, you might want to keep an eye on what is going on at the W3C Web Services Resource Access Working Group [1] which is working on standardizing (among other things) WS-Eventing. [1] http://www.w3.org/2002/ws/ra/ Gilbert Pilz | Standards Architect | Middleware Standards | Oracle Corporation On 12/23/2009 12:46 PM, Prabath Siriwardena wrote: Please have a look at [1]. Thanks regards. -Prabath [1]: http://blog.facilelogin.com/search/label/Savan Yashvant chauhan wrote: How I can develope a WS-Eventing in Axis2 -- Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up now. http://clk.atdmt.com/GBL/go/177141664/direct/01/ -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore * -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore *
Re: Several HTTP session acessing Web Services
Use WS-Addressing for stateful web service.. On Sat, Jan 2, 2010 at 3:46 PM, Bruno Simioni brunosimi...@gmail.comwrote: Amila, thats about JAX-WS services. Here's the situation: First Access --- HTTP Session 1--- Client1 (JavaScript) - Axis2 - JAX-WS Service1 --- HTTP Session 1--- Second Access --- HTTP Session 1--- --- HTTP Session 2--- Client1 (Java, Service Client, WSA) - Axis2 - JAX-WS Service2 --- HTTP Session 2--- --- HTTP Session 1--- On First Acess, there is one HTTP Session created by my web container (Tomcat), and it is used for authentication purposes (application logic). On Second Acess, because of WSA, there is two HTTP Sessions! How to solve this? Bruno. n Sat, Jan 2, 2010 at 12:10 AM, Amila Suriarachchi amilasuriarach...@gmail.com wrote: in which scope you have deploy your service? please have a look at here[1]. thanks, Amila. [1] http://wso2.org/library/articles/stateful-web-services-axis2 On Fri, Jan 1, 2010 at 7:05 PM, Bruno Simioni brunosimi...@gmail.comwrote: Needing some help with HTTP sessions. When sending a SOAP simple message to Axis2, it create a single HTTP session to handle the client message, and to handle the client HTTP POST request. When sending a WSA SOAP message (by Axis2 Java Client), it creates another http session to handle the WSA soap header, and then process the message. The first one HTTP session persist, but inside any module or webservice, I have only acess to the second one. That´s a problem to me, since I need the first one session, for authorization purposes (application logic) How to remove this second http session? I need only ONE http session, for all SOAP messages that I send. ps. Client setManageSession(true) does not solve the problem. Regards, Bruno. -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore *
Re: WS-Eventing
Hi, I tried Savan eventing Sample there were one PublisherService and two ListenerService. Client able to subscribe a Service but not able to get the Notification how I updates the Client.java to get the generated notification Regards, yashvant On Tue, Dec 29, 2009 at 12:27 AM, Gilbert Pilz gilbert.p...@oracle.comwrote: Hi Martin, Sorry, I'm missing a bit of context here. RIA events? WS-Eventing supports the Subscribe operation. What you are subscribing to is outside the scope of WS-Eventing. - gp On 12/26/2009 6:55 PM, Martin Gainty wrote: Good Evening Gilbert In the other apache projects we've registered listeners to predefined RIA events such as ContainerStart,SessionStart,SessionEnd..I would be very interested to know if this registration process for known RIA events is supported by WS-Eventing or is there some other algorithm implmenented to register the events and/or configure a custom dispatcher to dispatch to the correct listener thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. -- Date: Sat, 26 Dec 2009 16:26:24 -0800 From: gilbert.p...@oracle.com To: axis-user@ws.apache.org Subject: Re: WS-Eventing If you are interested in WS-Eventing, you might want to keep an eye on what is going on at the W3C Web Services Resource Access Working Group [1] which is working on standardizing (among other things) WS-Eventing. [1] http://www.w3.org/2002/ws/ra/ Gilbert Pilz | Standards Architect | Middleware Standards | Oracle Corporation On 12/23/2009 12:46 PM, Prabath Siriwardena wrote: Please have a look at [1]. Thanks regards. -Prabath [1]: http://blog.facilelogin.com/search/label/Savan Yashvant chauhan wrote: How I can develope a WS-Eventing in Axis2 -- Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up now. http://clk.atdmt.com/GBL/go/177141664/direct/01/ -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore *
Re: Several HTTP session acessing Web Services
use single weservice client and then use this client in javascript and java too. On Sun, Jan 3, 2010 at 8:01 AM, Amila Suriarachchi amilasuriarach...@gmail.com wrote: On Sun, Jan 3, 2010 at 1:52 AM, Bruno Simioni brunosimi...@gmail.comwrote: Please, could you give me an example, to solve this problem using WS-Addressing ? My problem is about acess the same service using different clients. One client consumes the service using Javascritp, and the another one, the Java Service Client. Although the Javascript client gets the related message Id, how can I use this on Java Clent? so your problem is to share a one session among different clients? I think there is no standard way to do this. even with the http sessions you need to copy the cookie which contains the JSESSION to other requests. thanks, Amila. Regards, Bruno. On Sat, Jan 2, 2010 at 9:53 AM, Yashvant chauhan c.yashv...@gmail.comwrote: Use WS-Addressing for stateful web service.. On Sat, Jan 2, 2010 at 3:46 PM, Bruno Simioni brunosimi...@gmail.comwrote: Amila, thats about JAX-WS services. Here's the situation: First Access --- HTTP Session 1--- Client1 (JavaScript) - Axis2 - JAX-WS Service1 --- HTTP Session 1--- Second Access --- HTTP Session 1--- --- HTTP Session 2--- Client1 (Java, Service Client, WSA) - Axis2 - JAX-WS Service2 --- HTTP Session 2--- --- HTTP Session 1--- On First Acess, there is one HTTP Session created by my web container (Tomcat), and it is used for authentication purposes (application logic). On Second Acess, because of WSA, there is two HTTP Sessions! How to solve this? Bruno. n Sat, Jan 2, 2010 at 12:10 AM, Amila Suriarachchi amilasuriarach...@gmail.com wrote: in which scope you have deploy your service? please have a look at here[1]. thanks, Amila. [1] http://wso2.org/library/articles/stateful-web-services-axis2 On Fri, Jan 1, 2010 at 7:05 PM, Bruno Simioni brunosimi...@gmail.comwrote: Needing some help with HTTP sessions. When sending a SOAP simple message to Axis2, it create a single HTTP session to handle the client message, and to handle the client HTTP POST request. When sending a WSA SOAP message (by Axis2 Java Client), it creates another http session to handle the WSA soap header, and then process the message. The first one HTTP session persist, but inside any module or webservice, I have only acess to the second one. That´s a problem to me, since I need the first one session, for authorization purposes (application logic) How to remove this second http session? I need only ONE http session, for all SOAP messages that I send. ps. Client setManageSession(true) does not solve the problem. Regards, Bruno. -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore * -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore *
WS-Eventing
How I can develope a WS-Eventing in Axis2
Re: Axis skips generating type if it thinks it can just make an array
I think you dont required to declare SomethingItemPropertyListInfo as complex element use simple element only On Tue, Jul 14, 2009 at 4:21 AM, KARR, DAVID (ATTCINW) dk0...@att.comwrote: I'm using Axis 1.3. I have a schema with a complexType which has a single sequence of one element (unbounded count on that one element). It looks something like this (the commented element will come up later): xs:complexType name=SomethingItemPropertyListInfo xs:sequence xs:element name=PropertyData type=SomethingPropertyInfo minOccurs=0 maxOccurs=unbounded/ !--xs:element name=Dummy type=xs:boolean minOccurs=0/ -- /xs:sequence /xs:complexType When we generate code from this schema, the generated class corresponding to this type is, well, nonexistent. It generates nothing for it. If we instead comment in the Dummy element, it generates the SomethingItemPropertyListInfo class. This is a workaround, but an annoying one. We'd really like to have the schema definition not include Dummy, but still generate the SomethingItemPropertyListInfo type. At this point, we haven't attempted to inject Castor or XMLBeans into the picture to customize our code generation. We would definitely consider that if that's the only viable way to resolve this issue. -- Yashvant Singh Chauhan Mobile- 09845277271 Bangalore *
Problem in AnyType
While I am using anyType as an attribute in request or response parameter of a operation I am getting following error *org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT* please help either I can use anyType or not Thanks