RE : RE : RE : early env cleanup in asynchronous mode
Hello Supun, You are right. The code was unloaded the service DLL in response to a call to DllMain of the host DLL in the DLL_THREAD_DETACH case. This used to work in blocking mode because the thread used to send / receive was not freed until communication with the web service was finished. In non-blocking mode, Axis2/C frees its communication thread correctly and it was my mistake to be unloading the DLL at this time. Thanks for your help Carl -Message d'origine- De : Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Envoyé : mardi, octobre 28, 2008 01:42 À : Apache AXIS C User List Objet : Re: RE : RE : early env cleanup in asynchronous mode Your service DLL gets unloaded only when you free the axis2_svc_client_t Supun. On Tue, Oct 28, 2008 at 1:59 AM, Lefrancois, Carl [EMAIL PROTECTED] wrote: I am (now) using the latest SVN version of Axis2/C. Unfortunately my workstation is not equipped with a profiling tool. Maybe I can try a trial version of BoundsChecker or some similar windows tool. Does anyone have an idea how I can delay the unloading of my DLL until my code finishes executing while using Axis2/C in non-blocking mode? Carl -Message d'origine- De : Manjula Peiris [mailto:[EMAIL PROTECTED] Envoyé : lundi, octobre 27, 2008 11:05 À : Apache AXIS C User List Objet : Re: RE : early env cleanup in asynchronous mode What is the Axis2/C version you are using ? Can you ran the client through a memory profiling tool like valgrind and sent us the traces? On Mon, 2008-10-27 at 10:14 -0400, Lefrancois, Carl wrote: Thanks for your reply, Supun I am hesitant to raise a Jira right away for two reasons: my version of Axis2/C is a few months old and I believe this behaviour may be right, and it is me who is calling the wrong function. Are we sure there is a bug here? Has anyone on the list made a client which uses the same env for many web service calls in asynchronous mode? Maybe in this mode we need to create a new env for each call? If I cannot find a better function and no one replies saying this should work, then a Jira could be a good idea. I think this functionality is something Axis2/C should support. -Carl -Message d'origine- De : Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Envoyé : samedi, octobre 25, 2008 00:37 À : Apache AXIS C User List Objet : Re: early env cleanup in asynchronous mode Recently I got this error. But not sure what is happening exactly. Need to have a thorough look. Please create a Jira. Supun. On Sat, Oct 25, 2008 at 12:27 AM, Lefrancois, Carl [EMAIL PROTECTED] wrote: Hello all, No doubt my problem is due to user error, but I'm not sure what to try next to fix this problem. I am working to implement asynchronous mode client calls in a project which is already fairly mature and works well in blocking mode. When my DLL is loaded, I initialise the Axis2/C environment, and I free the environment on unload of the DLL. In between I can make many web service calls in blocking mode. What is happening now is that I used code from the echo_non_blocking.c sample to implement asynchronous mode but I get an access violation because the env is freed inside the function which calls my on_complete callback. After this function is completed my application still tries to use the same env. Can someone point out which function to call so I can make use of the asynchronous callbacks and still keep the same environment between calls? here is the code I am using:
Axis2C response - valid xml document but nodes missing
Hi, I'm using axis2c_1.4.0 on Solaris. I created a client that uses SSL. Usually I have no problems sending request and receiving responses and decode them. But then there is a strange effect: The Axis2C client does not throw an error and creates a response node that represents a valid xml document. But despite this it contains not all elements. They get lost without any error message. I verified that they were sent by the server. So why do they get lost? First I call this method: out_node = axis2_svc_client_send_receive(svc_client, env, in_node); Subsequently I try to transform the node to a string axiom_node_t* in_node_c2 = axiom_node_get_first_child(out_node, env); ACE_DEBUG((LM_DEBUG, %s\n, axiom_node_to_string(in_node_c2, env))); This string is to short and when I try to traverse through the xml structure using children_iter = axiom_element_get_children(om_ele, env, out_node); or similar methods it loops correctly through the structure but still has not enough elements. Is there any buffer limit or something I could modify in order to prevent losing nodes? How can I make sure that axis2c client has enough memory to process the response? Is it possible that it has to do with the encoding? What can I do to solve the problem? Thanks a lot in advance for any help. Regards Xandi -- View this message in context: http://www.nabble.com/Axis2C-response---valid-xml-document-but-nodes-missing-tp20269387p20269387.html Sent from the Axis - C++ - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Learning Curve
Hi Sekhar it would be useful to first understand XML related things like Schema etc quick link may be http://w3schools.com/ then servlet technology is a pre-requisite, then go for Monson-Haefel book(see free section of PDF online) for general introduction to things you asked. On practical side Kent Tong book is very useful, to see it happen; then thilo Frotscher will be useful(it is in german). it will be a pleasent journey! vimal On Thu, Oct 30, 2008 at 9:08 AM, shekher thakur [EMAIL PROTECTED]wrote: HI All, I am new to the world of WebServices. I want to leran about them but i am totally confused from where i should start leraning about the Webservices like 1) The Messaging Protocol it is using(SOAP) 2) About WSDL structure 3) ABout UUDI and many others things.Can any body guide me the path which i can follow so that i can start my learning curve.My goal is to start from the beginning as i am totally a new to this field any help in this regard will be much appriciated Thanks Shekher
AW: AW: Axis2 wsdl2java client: How to add processing instructions
Hi, i now managed to put in a Processing Instruction before the normal XML-payload, by writing a module/handler that does the following: -8- public InvocationResponse invoke(MessageContext msgCtx) throws AxisFault { SOAPEnvelope env = msgCtx.getEnvelope(); SOAPBody body = env.getBody(); QName docName = new QName(myUri, myRequest); OMElement request = (OMElement) body.getFirstChildWithName(docName); OMFactory factory = request.getOMFactory(); OMProcessingInstructionImpl pi = new OMProcessingInstructionImpl(body,factory); pi.setTarget(myTarget); pi.setValue(myValue); request.detach(); body.addChild(pi); body.addChild(request); return InvocationResponse.CONTINUE; } -8- From my point of view this works fine, but doing this i ran into a bunch of new problems: a) First of all i get a NullpointerException: java.lang.NullPointerException at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.serializeAndConsume(OMSourcedElementImpl.java:771) at org.apache.axis2.transport.http.ApplicationXMLFormatter.getBytes(ApplicationXMLFormatter.java:99) at org.apache.axis2.transport.http.ApplicationXMLFormatter.getBytes(ApplicationXMLFormatter.java:52) at org.apache.axis2.transport.http.AxisRequestEntity.getContentLength(AxisRequestEntity.java:109) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.getRequestContentLength(EntityEnclosingMethod.java:336) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.addContentLengthRequestHeader(EntityEnclosingMethod.java:406) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.addRequestHeaders(EntityEnclosingMethod.java:374) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2177) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2060) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) ... I did not yet realized, what exactly happened therein, but maybe the following points put some light on this. b) the above stack shows that the ApplicationXMLFormatter is used instead of the XFormURLEncodedFormatter, which i would have expected as i configured the service this way (line marked with /* !!! - !!! */) : -8- public static void main(String[] args) { System.setProperty(javax.net.debug, all); System.setProperty(java.security.debug, all); System.setProperty(javax.net.ssl.keyStore, keyStore); System.setProperty(javax.net.ssl.keyStorePassword, materna); System.setProperty(javax.net.ssl.keyStoreType, JKS); System.setProperty(javax.net.ssl.trustStore, keyStore); System.setProperty(javax.net.ssl.trustStorePassword, materna); System.setProperty(javax.net.ssl.trustStoreType, JKS); AxisConfiguration axisConfig = new AxisConfiguration(); ConfigurationContext myConfigContext; try { myConfigContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(repositoryPath, axis2_XML_File ); } catch (AxisFault e1) { e1.printStackTrace(); return; } myConfigContext.setProperty(Constants.Configuration.DISABLE_SOAP_ACTION, Constants.VALUE_TRUE); myConfigContext.setProperty(Constants.Configuration.CONTENT_TYPE , HTTPConstants.MEDIA_TYPE_X_WWW_FORM); /* !!! - !!! */
RE: how to get the xml recieved in call.invoke
But in the log file i have this : ... 2008-10-30 17:25:02 DEBUG HTTPSender - XML received: 2008-10-30 17:25:02 DEBUG HTTPSender - --- 2008-10-30 17:25:02 DEBUG SOAPPart - Enter: SOAPPart::getAsSOAPEnvelope() 2008-10-30 17:25:02 DEBUG ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(currForm) 2008-10-30 17:25:02 DEBUG SOAPPart - current form is FORM_INPUTSTREAM 2008-10-30 17:25:02 DEBUG ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(pushHandler00) 2008-10-30 17:25:02 DEBUG DeserializationContext - Pushing handler [EMAIL PROTECTED] 2008-10-30 17:25:02 DEBUG DeserializationContext - Enter: DeserializationContext::startPrefixMapping(soap, http://schemas.xmlsoap.org/soap/envelope/) 2008-10-30 17:25:02 DEBUG NSStack - NSPush (32) 2008-10-30 17:25:02 DEBUG NSStack - NSPush (32) 2008-10-30 17:25:02 DEBUG DeserializationContext - Exit: DeserializationContext::startPrefixMapping() 2008-10-30 17:25:02 DEBUG DeserializationContext - Enter: DeserializationContext::startPrefixMapping(xsi, http://www.w3.org/2001/XMLSchema-instance) 2008-10-30 17:25:02 DEBUG NSStack - NSPush (32) 2008-10-30 17:25:02 DEBUG DeserializationContext - Exit: DeserializationContext::startPrefixMapping() 2008-10-30 17:25:02 DEBUG DeserializationContext - Enter: DeserializationContext::startPrefixMapping(xsd, http://www.w3.org/2001/XMLSchema) 2008-10-30 17:25:02 DEBUG NSStack - NSPush (32) 2008-10-30 17:25:02 DEBUG DeserializationContext - Exit: DeserializationContext::startPrefixMapping() 2008-10-30 17:25:02 DEBUG DeserializationContext - Enter: DeserializationContext::startElement(http://schemas.xmlsoap.org/soap/envelope/, Envelope) 2008-10-30 17:25:02 DEBUG ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(pushHandler00) 2008-10-30 17:25:02 DEBUG DeserializationContext - Pushing handler [EMAIL PROTECTED] 2008-10-30 17:25:02 DEBUG DeserializationContext - Pushing element Envelope 2008-10-30 17:25:02 DEBUG DeserializationContext - Exit: DeserializationContext::startElement() 2008-10-30 17:25:02 DEBUG DeserializationContext - Enter: DeserializationContext::startElement(http://schemas.xmlsoap.org/soap/envelope/, Body) 2008-10-30 17:25:02 DEBUG ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(pushHandler00) 2008-10-30 17:25:02 DEBUG DeserializationContext - Pushing handler [EMAIL PROTECTED] 2008-10-30 17:25:02 DEBUG ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(newElem00) 2008-10-30 17:25:02 DEBUG MessageElement - New MessageElement ([EMAIL PROTECTED]) named {soap}Body ... so i understand that i'm recieving a xml file, and it's while parsing it when i have the exception. So i'd like to be able to have a look to this file. Taariq Levack wrote: Do you need it for testing or debugging? You can use something like tcpmon for that. BTW if you caught the exception there is no response message, everything is in the fault you caught. If your call was successful only then do you have a response object. -Original Message- From: piltrafeta [mailto:[EMAIL PROTECTED] Sent: 30 October 2008 22:12 To: axis-user@ws.apache.org Subject: Re: how to get the xml recieved in call.invoke I'm sorry but i don't knows exactly what to do with this... my application is the client, so what i'm doing in my code is: org.apache.axis.client.Call _call = createCall(); setRequestHeaders(_call); setAttachments(_call); try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {autentica, idSumaria}); } catch (org.apache.axis.AxisFault axisFaultException) { throw axisFaultException; } So when i execute the invoke the exception is catched and i'd like to view the response soap message. How i have to integrate your code in mine?? Thanks! Aravind.Yarram wrote: void logRequest(MessageContext msgContext) throws AxisFault { //This step should not fail Message reqMessage = msgContext.getRequestMessage(); if(reqMessage==null) { logger.error(quot;No request Message available in the MessageContextquot;); return; } if(logger.isDebugEnabled()) { MimeHeaders mimeHeaders = reqMessage.getMimeHeaders(); if(mimeHeaders!=null) { Iterator headerIterator = mimeHeaders.getAllHeaders(); if(headerIterator.hasNext()) { StringBuffer buffer = new StringBuffer(); buffer.append(quot;\r\nquot;).append(quot; SOAP Request Header Start quot;).append(quot;\r\nquot;); while(headerIterator.hasNext()) { MimeHeader header = (MimeHeader)headerIterator.next(); buffer.append(header.getName()).append(quot;: quot;).append(header.getValue()).append(quot;\r\nquot;); }
Re: Learning Curve
if you want to learn web services first you need to know xml properly. Then you need to have some knowledge about web applications (i.e. servlets) since most web service frameworks are implemented as web applications. When it comes to web services the most important thing is to learn WSDL which is used to describe web services. following articles may help you in this. [1]http://wso2.org/library/2873 [2]http://wso2.org/library/2935 thanks, Amila. On Thu, Oct 30, 2008 at 1:38 PM, shekher thakur [EMAIL PROTECTED]wrote: HI All, I am new to the world of WebServices. I want to leran about them but i am totally confused from where i should start leraning about the Webservices like 1) The Messaging Protocol it is using(SOAP) 2) About WSDL structure 3) ABout UUDI and many others things.Can any body guide me the path which i can follow so that i can start my learning curve.My goal is to start from the beginning as i am totally a new to this field any help in this regard will be much appriciated Thanks Shekher -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: Learning Curve
i am very much comfortable with webframe work and other server side technologied even i tend to use XML for configuration in my day to day life but the problem is i am new to web services tenchology so i want to know from where shold i start so that i can get the basic of this fields. On Fri, Oct 31, 2008 at 4:55 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: if you want to learn web services first you need to know xml properly. Then you need to have some knowledge about web applications (i.e. servlets) since most web service frameworks are implemented as web applications. When it comes to web services the most important thing is to learn WSDL which is used to describe web services. following articles may help you in this. [1]http://wso2.org/library/2873 [2]http://wso2.org/library/2935 thanks, Amila. On Thu, Oct 30, 2008 at 1:38 PM, shekher thakur [EMAIL PROTECTED]wrote: HI All, I am new to the world of WebServices. I want to leran about them but i am totally confused from where i should start leraning about the Webservices like 1) The Messaging Protocol it is using(SOAP) 2) About WSDL structure 3) ABout UUDI and many others things.Can any body guide me the path which i can follow so that i can start my learning curve.My goal is to start from the beginning as i am totally a new to this field any help in this regard will be much appriciated Thanks Shekher -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: XMLBeans customization parameters in Maven
you can use xc (ie. -Exc) option to specify the xmlbeans config file with wsdl2java command line tool. check whether you can set an option like that. thanks, Amila. On Thu, Oct 30, 2008 at 10:49 PM, [EMAIL PROTECTED] wrote: Hello, Anybody knows how to provide external XMLBeans configuration file as a parameter in axis2-wsdl2code-maven-plugin ? Plug-in has namespaceURIs, however it's doesn't allow external customization file. Regards, Benjamin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: Learning Curve
On Fri, Oct 31, 2008 at 4:57 PM, shekher thakur [EMAIL PROTECTED]wrote: i am very much comfortable with webframe work and other server side technologied even i tend to use XML for configuration in my day to day life but the problem is i am new to web services tenchology so i want to know from where shold i start so that i can get the basic of this fields. start with wsdl. then take some web services framework like Axis2. then go through the documentation and samples. thanks, Amila. On Fri, Oct 31, 2008 at 4:55 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: if you want to learn web services first you need to know xml properly. Then you need to have some knowledge about web applications (i.e. servlets) since most web service frameworks are implemented as web applications. When it comes to web services the most important thing is to learn WSDL which is used to describe web services. following articles may help you in this. [1]http://wso2.org/library/2873 [2]http://wso2.org/library/2935 thanks, Amila. On Thu, Oct 30, 2008 at 1:38 PM, shekher thakur [EMAIL PROTECTED] wrote: HI All, I am new to the world of WebServices. I want to leran about them but i am totally confused from where i should start leraning about the Webservices like 1) The Messaging Protocol it is using(SOAP) 2) About WSDL structure 3) ABout UUDI and many others things.Can any body guide me the path which i can follow so that i can start my learning curve.My goal is to start from the beginning as i am totally a new to this field any help in this regard will be much appriciated Thanks Shekher -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: Web service deployed as WAR
Thanks for your reply. I limited the amount of jars needed to about 9MB and it's fine for me. I would just like to know if my approach is okay (I mean including axis jars in my webapp)? What do you think about it? Greetings, Chris On Fri, Oct 31, 2008 at 12:34 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: On Thu, Oct 30, 2008 at 7:01 PM, Krzysztof Adamczyk [EMAIL PROTECTED] wrote: Hi! I need to deploy a simple Web Service as a web application (WAR). Is it possible without including all the Axis2 libs in my WAR? It depends on the service you have written. certainly you don't need all the jars. thanks, Amila. I know that if would deploy it as AAR i wouldn't need these libs, but for some reasons I have to have a WAR application. Any help appreciated. Greetings, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JAXB implementation
Jaxb 2.1.6 for Axis2 1.4.1 thanks, Amila. On Wed, Oct 29, 2008 at 7:21 PM, Jesse Vitrone [EMAIL PROTECTED]wrote: Which JAXB implementation is included with Axis2? I'm having some problems when it does javax.xml.bind.JAXBContext.newInstance and I wanted to step into the code. Thanks in advance. -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Changing / controlling the WSDL style generated by Axis2
Hi, How do I control the style of the WSDL generated by Axis2. Preferably I want to generate doc lit wrapped. Sylvester - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis2-codegen - AxisServiceBasedMultiLanguageEmitter
On Tue, Oct 28, 2008 at 6:49 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I'm trying to modify the TemplateSkeleton.xsl to automatically generate code that handles SOAP headers. When I attempted to address the output SOAP header with the following XPATH: output/[EMAIL PROTECTED]'soap_header']/@type I obtained an empty string. Replacing the TemplateSkeleton with an identity transformation, I obtained: output param location=body name= toupperResponse opname=toupper shorttype=ToupperResponse type=it. namespace.ToupperResponse qname localname= toupperResponse nsuri=http://www.namespace.it/ /param /output Then, inspecting source code I found this commented line in AxisServiceBasedMultiLanguageEmitter.java: //addHeaderOperations(soapHeaderOutputParameterList, axisOperation, false); If I cancel the comment, the identity transformation returns: output param location=body name= toupperResponse opname=toupper shorttype=ToupperResponse type= it. namespace.ToupperResponse qname localname= toupperResponse nsuri=http://www.namespace.it/ /param param location=soap_header name=ResponseHeader type= http://www.namespace.it.ResponseHeader/ /output In this case the output SOAP header is correctly reported. Is there a reason why for this comment? Is it correct to avoid it to obtain an output SOAP header? In Axis2 skelton is generated only for portType. But it you want to modify that I think that is ok. thanks, Amila. Thanks, Luca. ___Crea dei fantastici PhotoBook. Sconto del 20% per tutto il mese di Ottobre.Ancora per pochi giorni. Affrettati. http://photo.tiscali.it/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: Learning Curve
Hi Shekher, Please check the following link. [1]http://www.w3schools.com/soap/default.asp Regards Charitha www.wso2.org http://charithaka.blogspot.com shekher thakur wrote: one more point from where i can get some detaild regarding the underlying protocols details like SOAP ect. i want to get some idea about this underlying technuiques On Fri, Oct 31, 2008 at 5:08 PM, shekher thakur [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks On Fri, Oct 31, 2008 at 5:06 PM, Amila Suriarachchi [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 4:57 PM, shekher thakur [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: i am very much comfortable with webframe work and other server side technologied even i tend to use XML for configuration in my day to day life but the problem is i am new to web services tenchology so i want to know from where shold i start so that i can get the basic of this fields. start with wsdl. then take some web services framework like Axis2. then go through the documentation and samples. thanks, Amila. On Fri, Oct 31, 2008 at 4:55 PM, Amila Suriarachchi [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: if you want to learn web services first you need to know xml properly. Then you need to have some knowledge about web applications (i.e. servlets) since most web service frameworks are implemented as web applications. When it comes to web services the most important thing is to learn WSDL which is used to describe web services. following articles may help you in this. [1]http://wso2.org/library/2873 [2]http://wso2.org/library/2935 thanks, Amila. On Thu, Oct 30, 2008 at 1:38 PM, shekher thakur [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: HI All, I am new to the world of WebServices. I want to leran about them but i am totally confused from where i should start leraning about the Webservices like 1) The Messaging Protocol it is using(SOAP) 2) About WSDL structure 3) ABout UUDI and many others things.Can any body guide me the path which i can follow so that i can start my learning curve.My goal is to start from the beginning as i am totally a new to this field any help in this regard will be much appriciated Thanks Shekher -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ No virus found in this incoming message. Checked by AVG. Version: 7.5.549 / Virus Database: 270.8.5/1757 - Release Date: 10/30/2008 2:35 PM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [AXIS2] WSDL2Java problem with array type
On Mon, Oct 27, 2008 at 1:52 PM, Sagara Gunathunga [EMAIL PROTECTED] wrote: Hi guys , I have deployed a POJO service that has a method something slimier to following signature * public long createUser (UserProfile pr , Contacts[] contacts){ }* where UserProfile and Contacts are POJOs , this will generate correct WSDL file. but when I created a WS client using WSDL2JAVA tool with default ADB binding, It genarate both of above POJO classes . Also another class called *Collection* that extended from *ADBBean* . 1.) AddContacts(Collection col) take Collection as a argument, but there is no method define inside the Collection class to set Array of Contacts or to set any implementation of Java.util. Collection , How can I include set of Contacts objects in to request ? could you please send your wsdl. please create a jira with the wsdl. 2.) Can I solve this problem by using any other data binding option? Please try. you can change the databinding uisng -d option i.e -d jaxbri , -d xmlbeans thanks, Amila. Thanks , Sagara Gunathunga Blog - ssagara.blogspot.com Web - http://sagaras.awardspace.com/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: Learning Curve
On Fri, Oct 31, 2008 at 5:09 PM, shekher thakur [EMAIL PROTECTED]wrote: one more point from where i can get some detaild regarding the underlying protocols details like SOAP ect. i want to get some idea about this underlying technuiques This depends on what you want to learn. if you want to learn about web services (i.e use a web service framework) best thing is to read the specs. WSDL, SOAP, and WS-* (i.e WS-Addressing, WS-ReliableMessaging, WS-Security etc.) and related articles if you find it difficult to understand these specs. The good thing about the web services is that they are based on these standard specs. thanks, Amila. On Fri, Oct 31, 2008 at 5:08 PM, shekher thakur [EMAIL PROTECTED]wrote: Thanks On Fri, Oct 31, 2008 at 5:06 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 4:57 PM, shekher thakur [EMAIL PROTECTED] wrote: i am very much comfortable with webframe work and other server side technologied even i tend to use XML for configuration in my day to day life but the problem is i am new to web services tenchology so i want to know from where shold i start so that i can get the basic of this fields. start with wsdl. then take some web services framework like Axis2. then go through the documentation and samples. thanks, Amila. On Fri, Oct 31, 2008 at 4:55 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: if you want to learn web services first you need to know xml properly. Then you need to have some knowledge about web applications (i.e. servlets) since most web service frameworks are implemented as web applications. When it comes to web services the most important thing is to learn WSDL which is used to describe web services. following articles may help you in this. [1]http://wso2.org/library/2873 [2]http://wso2.org/library/2935 thanks, Amila. On Thu, Oct 30, 2008 at 1:38 PM, shekher thakur [EMAIL PROTECTED] wrote: HI All, I am new to the world of WebServices. I want to leran about them but i am totally confused from where i should start leraning about the Webservices like 1) The Messaging Protocol it is using(SOAP) 2) About WSDL structure 3) ABout UUDI and many others things.Can any body guide me the path which i can follow so that i can start my learning curve.My goal is to start from the beginning as i am totally a new to this field any help in this regard will be much appriciated Thanks Shekher -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: Learning Curve
Thanks On Fri, Oct 31, 2008 at 5:06 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 4:57 PM, shekher thakur [EMAIL PROTECTED]wrote: i am very much comfortable with webframe work and other server side technologied even i tend to use XML for configuration in my day to day life but the problem is i am new to web services tenchology so i want to know from where shold i start so that i can get the basic of this fields. start with wsdl. then take some web services framework like Axis2. then go through the documentation and samples. thanks, Amila. On Fri, Oct 31, 2008 at 4:55 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: if you want to learn web services first you need to know xml properly. Then you need to have some knowledge about web applications (i.e. servlets) since most web service frameworks are implemented as web applications. When it comes to web services the most important thing is to learn WSDL which is used to describe web services. following articles may help you in this. [1]http://wso2.org/library/2873 [2]http://wso2.org/library/2935 thanks, Amila. On Thu, Oct 30, 2008 at 1:38 PM, shekher thakur [EMAIL PROTECTED] wrote: HI All, I am new to the world of WebServices. I want to leran about them but i am totally confused from where i should start leraning about the Webservices like 1) The Messaging Protocol it is using(SOAP) 2) About WSDL structure 3) ABout UUDI and many others things.Can any body guide me the path which i can follow so that i can start my learning curve.My goal is to start from the beginning as i am totally a new to this field any help in this regard will be much appriciated Thanks Shekher -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: Learning Curve
one more point from where i can get some detaild regarding the underlying protocols details like SOAP ect. i want to get some idea about this underlying technuiques On Fri, Oct 31, 2008 at 5:08 PM, shekher thakur [EMAIL PROTECTED]wrote: Thanks On Fri, Oct 31, 2008 at 5:06 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 4:57 PM, shekher thakur [EMAIL PROTECTED] wrote: i am very much comfortable with webframe work and other server side technologied even i tend to use XML for configuration in my day to day life but the problem is i am new to web services tenchology so i want to know from where shold i start so that i can get the basic of this fields. start with wsdl. then take some web services framework like Axis2. then go through the documentation and samples. thanks, Amila. On Fri, Oct 31, 2008 at 4:55 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: if you want to learn web services first you need to know xml properly. Then you need to have some knowledge about web applications (i.e. servlets) since most web service frameworks are implemented as web applications. When it comes to web services the most important thing is to learn WSDL which is used to describe web services. following articles may help you in this. [1]http://wso2.org/library/2873 [2]http://wso2.org/library/2935 thanks, Amila. On Thu, Oct 30, 2008 at 1:38 PM, shekher thakur [EMAIL PROTECTED] wrote: HI All, I am new to the world of WebServices. I want to leran about them but i am totally confused from where i should start leraning about the Webservices like 1) The Messaging Protocol it is using(SOAP) 2) About WSDL structure 3) ABout UUDI and many others things.Can any body guide me the path which i can follow so that i can start my learning curve.My goal is to start from the beginning as i am totally a new to this field any help in this regard will be much appriciated Thanks Shekher -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: Learning Curve
Thanks for the tips!!! On Fri, Oct 31, 2008 at 2:24 PM, mail vimal [EMAIL PROTECTED]wrote: Hi Sekhar it would be useful to first understand XML related things like Schema etc quick link may be http://w3schools.com/ then servlet technology is a pre-requisite, then go for Monson-Haefel book(see free section of PDF online) for general introduction to things you asked. On practical side Kent Tong book is very useful, to see it happen; then thilo Frotscher will be useful(it is in german). it will be a pleasent journey! vimal On Thu, Oct 30, 2008 at 9:08 AM, shekher thakur [EMAIL PROTECTED]wrote: HI All, I am new to the world of WebServices. I want to leran about them but i am totally confused from where i should start leraning about the Webservices like 1) The Messaging Protocol it is using(SOAP) 2) About WSDL structure 3) ABout UUDI and many others things.Can any body guide me the path which i can follow so that i can start my learning curve.My goal is to start from the beginning as i am totally a new to this field any help in this regard will be much appriciated Thanks Shekher
Re: Web service deployed as WAR
On Thu, Oct 30, 2008 at 7:01 PM, Krzysztof Adamczyk [EMAIL PROTECTED] wrote: Hi! I need to deploy a simple Web Service as a web application (WAR). Is it possible without including all the Axis2 libs in my WAR? It depends on the service you have written. certainly you don't need all the jars. thanks, Amila. I know that if would deploy it as AAR i wouldn't need these libs, but for some reasons I have to have a WAR application. Any help appreciated. Greetings, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: [AXIS2] WSDL2Java problem with array type
Hi Amila, Actually we exposed some of Spring based services with Spring AOP transaction supports ( which provide cglib proxy objects) , also we have complex object model originally developed to use with Hibernate , So I create a small abstraction layer top of the Spring services , then WSDL2Java generate the correct stub methods to handle Arrays also . Now it's work fine with our application , any how I notice following thing .. we have following method exposed as WS operation public long CreateUser(MerchantUser merchantUser, MerchantProfile merchantProfile, String profileType, String userType, String userStatus, Contact[] contacts) in the MerchantUser class we have a java.util.Collection with generic (private CollectionContact contact) in generated client still I can see class called *Collection* that extended from *ADBBean* and cant use that class for anything useful , I think this is a known limitation of AXIS2 , I'm not sure do I have to open a JIRA for this ..? Thanks , On Fri, Oct 31, 2008 at 5:23 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: On Mon, Oct 27, 2008 at 1:52 PM, Sagara Gunathunga [EMAIL PROTECTED] wrote: Hi guys , I have deployed a POJO service that has a method something slimier to following signature * public long createUser (UserProfile pr , Contacts[] contacts){ }* where UserProfile and Contacts are POJOs , this will generate correct WSDL file. but when I created a WS client using WSDL2JAVA tool with default ADB binding, It genarate both of above POJO classes . Also another class called *Collection* that extended from *ADBBean* . 1.) AddContacts(Collection col) take Collection as a argument, but there is no method define inside the Collection class to set Array of Contacts or to set any implementation of Java.util. Collection , How can I include set of Contacts objects in to request ? could you please send your wsdl. please create a jira with the wsdl. 2.) Can I solve this problem by using any other data binding option? Please try. you can change the databinding uisng -d option i.e -d jaxbri , -d xmlbeans thanks, Amila. Thanks , Sagara Gunathunga Blog - ssagara.blogspot.com Web - http://sagaras.awardspace.com/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Sagara Gunathunga Blog - ssagara.blogspot.com Web - http://sagaras.awardspace.com/
Re: Web service deployed as WAR
On Fri, Oct 31, 2008 at 5:10 PM, Krzysztof Adamczyk [EMAIL PROTECTED] wrote: Thanks for your reply. I limited the amount of jars needed to about 9MB and it's fine for me. I would just like to know if my approach is okay (I mean including axis jars in my webapp)? What do you think about it? yes. if you look at the Axis2.war distribution it is a war. you can find the web.xml file inside the WEB-INF folder and Axis2 servlet is declared on it. in other words Axis2 is a servlet. So you can add that servlet to your web applicatoin. thanks, Amila. Greetings, Chris On Fri, Oct 31, 2008 at 12:34 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: On Thu, Oct 30, 2008 at 7:01 PM, Krzysztof Adamczyk [EMAIL PROTECTED] wrote: Hi! I need to deploy a simple Web Service as a web application (WAR). Is it possible without including all the Axis2 libs in my WAR? It depends on the service you have written. certainly you don't need all the jars. thanks, Amila. I know that if would deploy it as AAR i wouldn't need these libs, but for some reasons I have to have a WAR application. Any help appreciated. Greetings, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Compliant to WS-I Specs?
Hi everybody! Is Axis2(Rampart) compliant to WS-I Basic Security Profile and/or WS-I Reliable Security Profile? Kind regards, Nicolas Berner Secaron AG Ludwigstr. 45 85399 Hallbergmoos Tel. +49 811 9594 - 170 Fax +49 811 9594 - 220 __ Secaron AG, Hallbergmoos - Amtsgericht München - HRB130366 Aufsichtsratsvorsitzender: Jochen Speek - Vorstand: Michael Spreng (Vorsitzender), Herbert Pröll
Problem with parameters
Dear all, I'm quite new to Axis2 and all the stuff around webservices, so hopefully I don't ask too stupid questions :-) I installed Axis2 into Tomcat and we were able to build a webservice, querying it from a browser works quite well. So for example a call like this in a browser: http://OurServer:8080/axis2/services/GermanetService/getSynonyms?word=Kraft works fine and as expected. Now, I tried to build a simple client with Perl's SOAP::Lite module. If I call a method which expects no parameters, the Perl program also works fine: #!/usr/bin/perl -w use SOAP::Lite; print SOAP::Lite - proxy('OurServer:8080/axis2/services/Version') - getVersion() - result; But when I try to execute a method with a parameter, I get back - hhmmm ... nothing: #!/usr/bin/perl -w use SOAP::Lite; print SOAP::Lite - proxy('OurServer:8080/axis2/services/GermanetService/') - getSynonyms('Kraft') - result; I googled around, but I found no answer to this ... Perhaps a Perl program is not the best solution to access Axis2. I also took a look at the examples which are shipping with Axis2, I deployed the StockQuote example. It works quite well, also the Beans-Client (quickstartxmlbeans) works fine, so, I think that my installation is correct. But when I try to access the StockQuote service from Perl, again, methods which are needing a parameter still won't work. Thanks for any help! Tom -- Thomas Zastrow Seminar fuer Sprachwissenschaft Universitaet Tuebingen http://www.sfs.uni-tuebingen.de/dialectometry/ Wilhelm Str. 19 D-72074 Tübingen Tel.: 07071/29-73968 Fax: 07071/29-5214 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: Axis2 wsdl2java client: How to add processing instructions
Hi, sorry for potentially confusing anybody; The last questions (point c) should be: Are there other predefined formatters (not handlers, as i wrote), that i can use? If yes, how can i manage to use them instead of the default formatter? Martin Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 31. Oktober 2008 11:57 An: axis-user@ws.apache.org Betreff: AW: AW: Axis2 wsdl2java client: How to add processing instructions Hi, i now managed to put in a Processing Instruction before the normal XML-payload, by writing a module/handler that does the following: -8- public InvocationResponse invoke(MessageContext msgCtx) throws AxisFault { SOAPEnvelope env = msgCtx.getEnvelope(); SOAPBody body = env.getBody(); QName docName = new QName(myUri, myRequest); OMElement request = (OMElement) body.getFirstChildWithName(docName); OMFactory factory = request.getOMFactory(); OMProcessingInstructionImpl pi = new OMProcessingInstructionImpl(body,factory); pi.setTarget(myTarget); pi.setValue(myValue); request.detach(); body.addChild(pi); body.addChild(request); return InvocationResponse.CONTINUE; } -8- From my point of view this works fine, but doing this i ran into a bunch of new problems: a) First of all i get a NullpointerException: java.lang.NullPointerException at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.serializeAndConsume(O MSourcedElementImpl.java:771) at org.apache.axis2.transport.http.ApplicationXMLFormatter.getBytes(Applica tionXMLFormatter.java:99) at org.apache.axis2.transport.http.ApplicationXMLFormatter.getBytes(Applica tionXMLFormatter.java:52) at org.apache.axis2.transport.http.AxisRequestEntity.getContentLength(AxisR equestEntity.java:109) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.getRequestCo ntentLength(EntityEnclosingMethod.java:336) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.addContentLe ngthRequestHeader(EntityEnclosingMethod.java:406) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.addRequestHe aders(EntityEnclosingMethod.java:374) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMet hodBase.java:2177) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase .java:2060) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java :1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMe thodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMetho dDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3 97) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3 46) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(Abstrac tHTTPSender.java:542) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:1 89) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW ithCommons(CommonsHTTPTransportSender.java:371) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common sHTTPTransportSender.java:209) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:401) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA xisOperation.java:228) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163 ) ... I did not yet realized, what exactly happened therein, but maybe the following points put some light on this. b) the above stack shows that the ApplicationXMLFormatter is used instead of the XFormURLEncodedFormatter, which i would have expected as i configured the service this way (line marked with /* !!! - !!! */) : -8- public static void main(String[] args) { System.setProperty(javax.net.debug, all); System.setProperty(java.security.debug, all); System.setProperty(javax.net.ssl.keyStore, keyStore); System.setProperty(javax.net.ssl.keyStorePassword, materna); System.setProperty(javax.net.ssl.keyStoreType, JKS); System.setProperty(javax.net.ssl.trustStore, keyStore); System.setProperty(javax.net.ssl.trustStorePassword, materna); System.setProperty(javax.net.ssl.trustStoreType, JKS); AxisConfiguration axisConfig = new AxisConfiguration(); ConfigurationContext myConfigContext; try
Re: Learning Curve
Thanks all for such a wonderfull response i have got the right direction and surely will get back to you all if i find any problem... On Fri, Oct 31, 2008 at 5:28 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 5:09 PM, shekher thakur [EMAIL PROTECTED] wrote: one more point from where i can get some detaild regarding the underlying protocols details like SOAP ect. i want to get some idea about this underlying technuiques This depends on what you want to learn. if you want to learn about web services (i.e use a web service framework) best thing is to read the specs. WSDL, SOAP, and WS-* (i.e WS-Addressing, WS-ReliableMessaging, WS-Security etc.) and related articles if you find it difficult to understand these specs. The good thing about the web services is that they are based on these standard specs. thanks, Amila. On Fri, Oct 31, 2008 at 5:08 PM, shekher thakur [EMAIL PROTECTED] wrote: Thanks On Fri, Oct 31, 2008 at 5:06 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 4:57 PM, shekher thakur [EMAIL PROTECTED] wrote: i am very much comfortable with webframe work and other server side technologied even i tend to use XML for configuration in my day to day life but the problem is i am new to web services tenchology so i want to know from where shold i start so that i can get the basic of this fields. start with wsdl. then take some web services framework like Axis2. then go through the documentation and samples. thanks, Amila. On Fri, Oct 31, 2008 at 4:55 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: if you want to learn web services first you need to know xml properly. Then you need to have some knowledge about web applications (i.e. servlets) since most web service frameworks are implemented as web applications. When it comes to web services the most important thing is to learn WSDL which is used to describe web services. following articles may help you in this. [1]http://wso2.org/library/2873 [2]http://wso2.org/library/2935 thanks, Amila. On Thu, Oct 30, 2008 at 1:38 PM, shekher thakur [EMAIL PROTECTED] wrote: HI All, I am new to the world of WebServices. I want to leran about them but i am totally confused from where i should start leraning about the Webservices like 1) The Messaging Protocol it is using(SOAP) 2) About WSDL structure 3) ABout UUDI and many others things.Can any body guide me the path which i can follow so that i can start my learning curve.My goal is to start from the beginning as i am totally a new to this field any help in this regard will be much appriciated Thanks Shekher -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
Re: Does Axis2 do anything with WS-Addressing and WS-Policy in WSDLs?
Hi David, WS Policy is the primary configuration mechanism of Apache Rampart which is the WS Security implementation for Axis2. In fact Axis2 stores and presents any policy expressions that are defined in services.xml or service WSDL to any candidate modules for interpreting and enforcing those policy expressions during service deployment and runtime. AFAIK Axis2 Addressing module doesn't support WS Addressing Policy expressions hence any policy expressions regarding WS Addressing don't get processed. This is something which is trivial and easy to implement and I guess we should get this done soon. Cheers, Sanka On Mon, Oct 27, 2008 at 4:12 PM, Karr, David [EMAIL PROTECTED] wrote: If I have a WSDL that references WS-Addressing and WS-Policy, using a policy expression that supposedly makes WS-Addressing required in the message, along with the wsam:Action attribute value, does Axis2 do anything useful with that information? -- Sanka Samaranayake WSO2 Inc. http://sankas.blogspot.com/ http://www.wso2.org/
Does clustering broadcast client's requests?
Hello guys, I was reading about clustering support and I have a doubt. Does clustering broadcast client's requets to all nodes or just replicate the context? I mean, for example, if I have some services that save information on a database, would all nodes in the cluster do it or only the one that actually received the client's invocation? Thanks in advance! Igor Nogueira Santos