Re: axis2_http_server and openssl
On Wed, 2008-05-28 at 11:09 +0100, Frederic Heem wrote: Hi, Does axis2_http_server support openssl or is it supported only for apache and IIS ? To have https support you need Apache as your http server. Simple Axis2 server does not support https. openssl is used in Rampart/C which can be used with both Apache and axis2_http_server. Thanks, -Manjula. Best Regards, Frederic __ --- NOTICE --- This email and any attachments are confidential and are intended for the addressee only. If you have received this message by mistake, please contact us immediately and then delete the message from your system. You must not copy, distribute, disclose or act upon the contents of this email. Personal and corporate data submitted will be used in a correct, transparent and lawful manner. The data collected will be processed in paper or computerized form for the performance of contractual and lawful obligations as well as for the effective management of business relationship. The data processor is Telsey S.p.A. The data subject may exercise all the rights set forth in art. 7 of Law by Decree 30.06.2003 n. 196 as reported in the following url http://www.telsey.com/privacy.asp. __ 798t8RfNa6Dl8Ilf - 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]
Please Help me in Understanding REST implementation in AXIS2/C
Hi All, I read Axis2c handles the REST request aswell by just chaning the config file axis.xml or through the function axis2_options_set_enable_rest(...). 1. Does this tool handles the REST requests? 2. How to test the REST handling? 3. How to compare the SOAP code flow and REST code flow? I tried to figure out the difference in following ways: A. When I tried to see the backtrace (on GDB) of a soap request sample [of Calculator sample] and the rest request sample [echo_rest sample], I got exactly same dump for both the flows. B. When i tried to print out the request message constructed in echo_rest.c it printed me: ns1:echoString xmlns:ns1=http://ws.apache.org/axis2/services/echo;textHello World!/text/ns1:echoString Now I commented the axis2_options_set_enable_rest(...) statement and tried to print the same request message constructed and got the following message printed: soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Header/soapenv:Bodyns1:echoString xmlns:ns1=http://ws.apache.org/axis2/services/echo;textHello World!/text/ns1:echoString/soapenv:Body/soapenv:Envelope Is this what the difference is? Is this the REST request which got printed? FYI: I am using the Axis2/C 1.3.0 version. Eagerly waiting for your response. Thanks Regards, Vamsi Krishna M Vamsi, IIIT-Hyd.
RE: generated C code from choice elements in wsdl
-Original Message- From: Dimuthu Gamage [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 10:03 PM To: Apache AXIS C User List Subject: Re: generated C code from choice elements in wsdl Looks like i can't send the attachment to the list. Please check it from here, http://people.apache.org/~dimuthu/public/case41.zip Thank you for your quick and thorough reply. Note that you have to use either Axis2/Java 1.4 or the latest snapshot. I had generated the problem code using Axis2/Java 1.4, so I'll try the latest snapshot. I'm having trouble reaching http://cvs.apache.org/dist/axis2/nightly now (connection refused). I'll try again later and report my results. Thanks again, Bob Thanks Dimuthu On Wed, May 28, 2008 at 7:14 AM, Dimuthu Gamage [EMAIL PROTECTED] wrote: Hi Bennett, I checked with your WSDL and got everything working as expected. There I send array of mixed of element that has either a type or b type, where as server understand it and deserialize it correctly. Please see the attachment. The problem may be caused by your logic or some special case that I may not have tested. Can you check this again report back with more information. Thanks Dimuthu On Wed, May 28, 2008 at 3:02 AM, Bennett, Robert P [EMAIL PROTECTED] wrote: I have a situation where I am passing a response message that can be one of a set of different complex types. I am using the 'choice' element to indicate this, like the following. When I run the attached wsdl through the wsdl2c utility (from axis2 1.4), the adb C code that is generated (the serialize and deserialize functions) assumes that both A and B elements are present in the message and generates an error (or a null pointer reference) if either is missing. By the way, the flags I used with wsdl2c are -sd -ss -g -d adb -sp -wv 1 -u -f . Am I right to assume that the meaning of 'choice' is that one of the list of elements is present, but not all of them? Thank you, Bob Bennett xsd:element name=inputData xsd:complexType xsd:sequence xsd:element name=AorB type=AorBChoice minOccurs=0 maxOccurs=unbounded/ /xsd:sequence /xsd:complexType /xsd:element xsd:complexType name=AorBChoice xsd:sequence xsd:choice xsd:element name=A type=AType/ xsd:element name=B type=BType/ /xsd:choice /xsd:sequence /xsd:complexType xsd:complexType name=AType xsd:sequence xsd:element name=Afield1 type=xsd:string/ xsd:element name=Afield2 type=xsd:string/ /xsd:sequence /xsd:complexType xsd:complexType name=BType xsd:sequence xsd:element name=Bfield1 type=xsd:string/ xsd:element name=Bfield2 type=xsd:string/ /xsd:sequence /xsd:complexType - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: generated C code from choice elements in wsdl
-Original Message- From: Dimuthu Gamage [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 1:38 PM To: Apache AXIS C User List Subject: Re: generated C code from choice elements in wsdl On Wed, May 28, 2008 at 5:57 PM, Bennett, Robert P [EMAIL PROTECTED] wrote: -Original Message- From: Dimuthu Gamage [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 10:03 PM To: Apache AXIS C User List Subject: Re: generated C code from choice elements in wsdl Looks like i can't send the attachment to the list. Please check it from here, http://people.apache.org/~dimuthu/public/case41.zip Thank you for your quick and thorough reply. Note that you have to use either Axis2/Java 1.4 or the latest snapshot. I had generated the problem code using Axis2/Java 1.4, so I'll try the latest snapshot. I'm having trouble reaching http://cvs.apache.org/dist/axis2/nightly now (connection refused). I'll try again later and report my results. The nightly build URL is http://people.apache.org/dist/axis2/nightly/. Anyway i don't think there is much difference in Axis2/Java 1.4 and the nightly build. Anyway can you check the code i attached your version (should work for 1.4) and make sure it is the same code as the one you generated, if it doesn't work please report back. D'oh!!! I thought I was using 1.4, but it turns out I was using 1.3. NEVER MIND. Looks like 1.4 is generating the correct code after all. Thanks, Bob Thanks Dimuthu Thanks again, Bob Thanks Dimuthu On Wed, May 28, 2008 at 7:14 AM, Dimuthu Gamage [EMAIL PROTECTED] wrote: Hi Bennett, I checked with your WSDL and got everything working as expected. There I send array of mixed of element that has either a type or b type, where as server understand it and deserialize it correctly. Please see the attachment. The problem may be caused by your logic or some special case that I may not have tested. Can you check this again report back with more information. Thanks Dimuthu On Wed, May 28, 2008 at 3:02 AM, Bennett, Robert P [EMAIL PROTECTED] wrote: I have a situation where I am passing a response message that can be one of a set of different complex types. I am using the 'choice' element to indicate this, like the following. When I run the attached wsdl through the wsdl2c utility (from axis2 1.4), the adb C code that is generated (the serialize and deserialize functions) assumes that both A and B elements are present in the message and generates an error (or a null pointer reference) if either is missing. By the way, the flags I used with wsdl2c are -sd -ss -g -d adb -sp -wv 1 -u -f . Am I right to assume that the meaning of 'choice' is that one of the list of elements is present, but not all of them? Thank you, Bob Bennett xsd:element name=inputData xsd:complexType xsd:sequence xsd:element name=AorB type=AorBChoice minOccurs=0 maxOccurs=unbounded/ /xsd:sequence /xsd:complexType /xsd:element xsd:complexType name=AorBChoice xsd:sequence xsd:choice xsd:element name=A type=AType/ xsd:element name=B type=BType/ /xsd:choice /xsd:sequence /xsd:complexType xsd:complexType name=AType xsd:sequence xsd:element name=Afield1 type=xsd:string/ xsd:element name=Afield2 type=xsd:string/ /xsd:sequence /xsd:complexType xsd:complexType name=BType xsd:sequence xsd:element name=Bfield1 type=xsd:string/ xsd:element name=Bfield2 type=xsd:string/ /xsd:sequence /xsd:complexType - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For
Re: axis2_http_server and openssl
Frederic Heem wrote: Hi, Does axis2_http_server support openssl No. or is it supported only for apache and IIS ? Yes. Samisa... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please Help me in Understanding REST implementation in AXIS2/C
vamsi krishna wrote: Hi All, I read Axis2c handles the REST request aswell by just chaning the config file axis.xml or through the function axis2_options_set_enable_rest(...). 1. Does this tool handles the REST requests? Yes. 2. How to test the REST handling? Have a look at echo_rest 3. How to compare the SOAP code flow and REST code flow? What do you mean by compare the flow? Samisa... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]