Re: |AXIS2] [AXIS2C] c-stubs: memset in axis2_TYPE_create missing
Hi, I checked out the source and looked into it and think the problem could be solved by feeding the source modules/codegen/src/org/apache/axis2/wsdl/template/c/ServiceSkeleton.xsl with the desired line. Unfortunately I do not understand the make hierarchy of Axis2 - not yet :-) Therefore I could not test my suggestion. Greetings, Flori - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [AXIS2C] throwing an exception from the server to the Java-client
Hello experts, unfortunately Marc replied to my mail with a different contect (at least my mailer shows that) - people could tend to thinking my subject is answered. Just wanted to say, that it is not. Still do not know how to generate the fault from inside the server stubs... Thanks, Flori On Sat, 23 Jun 2007 01:00:12 +0200, Dr. Florian Steinborn [EMAIL PROTECTED] wrote: Hi folks, someone has a code piece that shows how to generate an exception in the AXIS2C server? I can see that code was generated , the files are named axis2_functionFault.[ch.] but I don't know how to use the functions in the modules from inside axis2_svc_skel_service_invoke() function, where the operation is called that has to issue the exception... Thanks, Flori - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [AXIS2C] throwing an exception from the server to the Java-client
hello flori, sry, when i start to write the mail, i took yours to reply but started a new thread - because i was just to lazy to search for the mailinglist-email in my contactlist - sorry about this. to your prob, i don't know if i understand it correctly. do you have the wsdl file for me where you have defined the fault and from which you have generated the file axis2_functionFault.[ch.] ? because in my own examples i havend used a fault till now and i don't know what was generated in this file. i tried to generate code from /test/resources/wsdl/FaultMapping.wsdl, but here 2 other problem came up [1. encoding not supportet] [2. more than one part for message divRequest] if you want to raise an Exception like in java, when you write : throw new java.lang.UnsupportedOperationException(Please implement + this.getClass().getName() + #myOperation); i think you can do it this way in c : axiom_node_t *ret_node = NULL; axiom_soap_envelope_t *soap_envelope = NULL; axiom_soap_body_t *soap_body = NULL; axiom_soap_fault_t *soap_fault = NULL; soap_envelope = axiom_soap_envelope_create_default_soap_envelope( env, AXIOM_SOAP11); soap_body = axiom_soap_body_create_with_parent(env, soap_envelope); soap_fault = axiom_soap_fault_create_default_fault( env, soap_body, fault-code, fault-reason, AXIOM_SOAP11); ret_node = axiom_soap_fault_get_base_node(soap_fault, env); return ret_node; but i think i misunderstood your prob. mfg derMark P.S. sry this time i have to use a webmailer ;-) Dr. Florian Steinborn schrieb: Hello experts, unfortunately Marc replied to my mail with a different contect (at least my mailer shows that) - people could tend to thinking my subject is answered. Just wanted to say, that it is not. Still do not know how to generate the fault from inside the server stubs... Thanks, Flori On Sat, 23 Jun 2007 01:00:12 +0200, Dr. Florian Steinborn [EMAIL PROTECTED] wrote: Hi folks, someone has a code piece that shows how to generate an exception in the AXIS2C server? I can see that code was generated , the files are named axis2_functionFault.[ch.] but I don't know how to use the functions in the modules from inside axis2_svc_skel_service_invoke() function, where the operation is called that has to issue the exception... Thanks, Flori - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --No virus found in this incoming message. Checked by AVG Free Edition.Version: 7.5.472 / Virus Database: 269.9.6/865 - Release Date: 24.06.2007 08:33 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [AXIS2C] throwing an exception from the server to the Java-client
Hi Mark, no problem at all. Attached you find a Fehler.java, that I used to generate the Fehler.wsdl that is attached as well. When you generate c-server stubs you will find the axis2_raiseErrorFault.[ch] files. In my understanding the error should be raised in axis2_skel_Fehler_raiseError() function - that is the place where the business logic registers the error and wants to raise it. This function usually returns an int (as it is defined), but how has it have to look like, when we do not return the int but the fault? The return type of the function is axis2_raiseErrorResponse_t* - sure, you can return a NULL, but what about the raiseErrorFault? Thanks for your patience, Flori Fehler.java Description: Binary data Fehler.wsdl Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Recompile Axis2/C on cygwin
Hi , Is there anyone who is able to compile Axis2/C on cygwin? I tried, but I can not. Can someone help me on this? Thanks in advance. Hailong Wang National Database for Autism Research(NDAR) NIH/CIT/DECA (MOM CONTRACTOR) 9000 Rockville Pike, Bld 12A/Room 2027 Bethesda, MD 20892 Phone: 301-402-3045 Fax: 301-480-0028 Email: [EMAIL PROTECTED] URL: http://ndar.nih.gov
RE: Recompile Axis2/C on cygwin
Dear Dinesh, Thanks very much for you quick reply. I created a issue(AXIS2C-627) for this new feature. I appreciate your help to solve this problem. But could you shorten the time, because I run out of time. Can make it work within 3 days? Thanks again. Hailong -Original Message- From: Dinesh Premalal [mailto:[EMAIL PROTECTED] Sent: Monday, June 25, 2007 10:35 AM To: axis-c-user@ws.apache.org Subject: Re: Recompile Axis2/C on cygwin Hi Hailong, Wang, Hailong (NIH/CIT) [C] [EMAIL PROTECTED] writes: Hi , Is there anyone who is able to compile Axis2/C on cygwin? I tried, but I can not. Can someone help me on this? Thanks in advance. AFAIK, we didn't try to install in Cygwin. There maybe users who tried to install on Cygwin. BTW I think its worth to shape our build system install on Cygwin. Give us sometime (3-4 days :))we will get back to you. If you could raise a jira issue with whatever information (errors, logs) you have that will be helpful. thanks, Dinesh -- Dinesh Premalal http://feeds.feedburner.com/Dinesh GPG ID : A255955C GPG Key Finger Print : C481 E5D4 C27E DC34 9257 0229 4F44 266E A255 955C - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does Axis2/C client has the ability to set the session management?
Hi Wang, My understanding is that it does not, but facilitates such implementation. Please refer to the following thread [1]. Regards, Dumindu. [1] http://marc.info/?l=axis-c-userm=118224624421829w=2 Wang, Hailong (NIH/CIT) [C] wrote: Hi, I have a web service written in Java and use the soapsession management. Right now I want to create a client using Axis2/C. Is Axis2/C client able to mange session? Thanks in advance. **Hailong Wang** National Database for Autism Research(NDAR) NIH/CIT/DECA (MOM CONTRACTOR) 9000 Rockville Pike, Bld 12A/Room 2027 Bethesda, MD 20892 Phone: 301-402-3045 Fax: 301-480-0028 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] URL: http://ndar.nih.gov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does Axis2/C client has the ability to set the session management?
I have a web service written in Java and use the soapsession management. Right now I want to create a client using Axis2/C. Is Axis2/C client able to mange session? Axis2/C client cannot manage sessions with a Java service :( Samisa... -- Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]