Re: Download latest bin file of Axis C++

2007-08-13 Thread Nadir Amra
There is no nightly builds done for Axis C++. you will have to download 
from SVN and build it yourself.

Nadir K. Amra


Velesevich Ilya [EMAIL PROTECTED] wrote on 08/13/2007 05:31:24 AM:

 Hi...
 
 I want download latest bin file of Axis C++ from SVN - http://svn.
 apache.org/repos/asf/webservices/axis/trunk/c/bin/ 
 but instead bin-file this catalog contain README.txt only.
 
 How I can get latest bin file of Axis C++??
 
 Thanks! 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Download latest bin file of Axis C++

2007-08-13 Thread Shailesh Srivastava
Hi,

 

You need to download the Latest Sources from the SVN and then build it
locally using ANT to get the bin files.

 

Hope it helps,

 

Regds,

-Shailesh

 



From: Velesevich Ilya [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 13, 2007 4:01 PM
To: axis-c-user@ws.apache.org
Subject: Download latest bin file of Axis C++

 

Hi...

I want download latest bin file of Axis C++ from SVN -
http://svn.apache.org/repos/asf/webservices/axis/trunk/c/bin/ 
but instead bin-file this catalog contain README.txt only.

How I can get latest bin file of Axis C++??

Thanks! 

** Message from InterScan VirusWall 6 **

** No virus found in attached file noname.htm
** No virus found in attached file noname.htm

The information contained in this e-mail message and in any 
attachments/annexure/appendices is confidential to the recipient and may 
contain privileged information. If you are not the intended recipient, please 
notify the sender and delete the message along with any 
attachments/annexure/appendices. You should not disclose, copy or otherwise use 
the information contained in the message or any annexure. Any views expressed 
in this e-mail are those of the individual sender except where the sender 
specifically states them to be the views of Toshiba Embedded Software India 
Pvt. Ltd. (TESI),Bangalore.
* End of message ***


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: WS-Addressing : Adding reference parameters?

2007-08-13 Thread Jamie Lyon
Okay, this now works fine for adding parameters for things such as
replyto, however does Axis2/C support binding message address
properties, as per the spec below?
http://www.w3.org/TR/ws-addr-soap/#bindrefp

I've tried doing the following:
axiom_node_t* node = NULL;
axiom_namespace_t* ns = axiom_namespace_create( this-axisEnv,
http://nsuri;, prefix );
axiom_element_t* element = axiom_element_create( this-axisEnv, NULL,
EleName, ns, node );
axiom_element_set_text( element, this-axisEnv, sometext, node );

axis2_endpoint_ref_t* endpointRef = axis2_endpoint_ref_create(
this-axisEnv, this-endpoint.c_str() );
axis2_endpoint_ref_add_ref_param( endpointRef, this-axisEnv, node );
axis2_options_set_to( options, this-axisEnv, endpointRef );

But no reference parameters are added.

Any suggestions?

Thanks,
Jamie

 -Original Message-
 From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED]
 Sent: 13 August 2007 06:07
 To: Apache AXIS C User List
 Subject: Re: WS-Addressing : Adding reference parameters?
 
 Jamie Lyon wrote:
 
  Hi,
 
  Is there anything special you need to do to add a reference
parameter
  other than what's contained in the following block?
 
  
 
  axiom_node_t* node = NULL;
 
  axiom_namespace_t* namespace = axiom_namespace_create(
this-axisEnv,
  http://url/;, prefix );
 
  axiom_element_t* element = axiom_element_create( this-axisEnv,
NULL,
  ConversationID, namespace, node );
 
  axiom_element_set_text( element, this-axisEnv, some text, node );
 
  axis2_options_add_reference_parameter( options, this-axisEnv, node
);
 
  
 
  I do this just before sending the message using
  axis2_svc_client_send_receive. All other ws-addressing elements are
  present (To, Action, MessageID), plus ws-security, just not the
  reference parameter I just created.
 
 In the addressing spec, as I understand, the reference parameters are
 sent associated to the addressing elements such as RplyTo.
 Hence you have to do something like:
 endpoint_ref = axis2_endpoint_ref_create(env,

http://localhost:6060/axis2/services/__ANONYMOUS_SERVICE__/__OPERATION_
OU
 T_IN__);
 axis2_endpoint_ref_add_ref_param(endpoint_ref, env, node);
 axis2_options_set_reply_to(options, env, endpoint_ref);
 
 This will ensure that the given node is sent as a ref param in the
 replyTo headrer. This was done in sync with the test cases given here:
 http://www.w3.org/2002/ws/addr/testsuite/testcases/
 
 axis2_options_add_reference_parameter in-fact is an outdated method,
and
 really does nothing. It is a bug to have that in the header and should
 be removed.
 
 Thanks,
 Samisa...
 
  Any ideas?
 
  Thanks,
 
  Jamie
 
 
 
 --
 Samisa Abeysinghe : WSO2 WSF/C

http://wso2.org/projects/wsf/c?WSO2nbsp;Webnbsp;Servicesnbsp;Framewo
rk
 /Cnbsp;-

nbsp;Opennbsp;sourcenbsp;Cnbsp;librarynbsp;fornbsp;providingnbsp;
an
 dnbsp;consumingnbsp;Webnbsp;services
 
 
 -
 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]



Download latest bin file of Axis C++

2007-08-13 Thread Velesevich Ilya
Hi...

I want download latest bin file of Axis C++ from SVN -
http://svn.apache.org/repos/asf/webservices/axis/trunk/c/bin/
but instead bin-file this catalog contain README.txt only.

How I can get latest bin file of Axis C++??

Thanks!


Re: Axiom Questions

2007-08-13 Thread Subra A Narayanan
Hey Samisa,

With regards to my second question:

I am not talking about reading part of the attachment. What I am asking is
can I read part of the file from the disk and attach it to the message?
'axiom_data_handler_create' takes in a file name but no offset. I can read a
part of the file using pread, but but do I convert the void *buff in to a
data handler?

Subra

On 8/13/07, Samisa Abeysinghe [EMAIL PROTECTED] wrote:

 Subra A Narayanan wrote:
  Hello everyone,
 
  Its Monday morning and I am back with my questions. :-)
 
  Not sure if these questions belong here but will ask anyways. Please
  let me know if I should be sending this mail to some other mailing list.
 
  I am using Axis2 and have 2 basic questions about Axiom. I did some
  searching on the web and tried looking through the Axis2/C source code
  but don't have my answer. Here it goes:
 
  Q1) I have a web service with 4 operations. The first 3 parameters are
  the same for all the 4 operations. In other words, the first 3 child
  elements inside the SoapBodyOperation Name/Operation
  Name/SoapBody are the same for the 4 operations. So I created a
  function, called ReadFirst3Params which gets called from all the 4
  operations. Since, Axiom is based on a pull parser, I know I have to
  have a reference to the 3rd parameter node to be able to read the 4th
  parameter. Now my question is, do I need to return a reference to the
  3rd parameter node from my ReadFirst3Params function so that I can
  continue reading the other params in the operation.
 Not really, one can read the rest of the OM tree the way they want, as
 an example, using the qname (see axiom_element_get_children_with_qname).

  Or is there any other way of doing this. For e.g. an internal pointer
  that Axiom maintains which will tell me the position with in the XML
  document. (I hope my question makes sense)
 
  Q2) One of the operation returns an attachment to the client as an
  mtom attachment. I use axiom_data_handler_create to read in the binary
  file. I have a requirement to be able to read in a part of the file
  rather than the whole file. Just like pread function in 'C' where I
  can specify an offset and the file is read from the beginning to the
  offset. Is there a function in axiom to be able to do that? If not,
  how do I solve the above problem?
 We do not have provision to read part of the attachment as of now. Is
 there any way you can break the attachment to multiple parts and send
 that in the SOAP message. If you can do that, then you can read only the
 first attachment and forget about the rest and pass it on, I hope.

 Samisa...
 
 
  Thanks again for ur help!
 
 
  Subra
 
 
 


 --
 Samisa Abeysinghe : WSO2 WSF/C
 
 http://wso2.org/projects/wsf/c?WSO2nbsp;Webnbsp;Servicesnbsp;Framework/Cnbsp;-nbsp;Opennbsp;sourcenbsp;Cnbsp;librarynbsp;fornbsp;providingnbsp;andnbsp;consumingnbsp;Webnbsp;services
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Axis2/C - USERNAME and PASSWORD

2007-08-13 Thread Michael Mole
That's great news!  Is there a version where I should be able to pick up 
those changes?

Thanks,
Mike

Michael J Molé
Software Engineer
IBM Software Group - Rational
(781)676-2710



Dumindu Pallewela [EMAIL PROTECTED] 
08/13/2007 07:38 AM
Please respond to
Apache AXIS C User List axis-c-user@ws.apache.org


To
Apache AXIS C User List axis-c-user@ws.apache.org
cc
Michael Mole/Lexington/[EMAIL PROTECTED]
Subject
Re: Axis2/C - USERNAME and PASSWORD






Michael Mole wrote:
 
 I'm looking for more information about AXIS2_USER_NAME and 
 AXIS2_PASSWORD in axis2_const.h.  What are they used for, and how are 
 they used?  I'm still trying to solve my issue of using Basic http 
 Authentication with my web services, and these look like they may be the 

 key.  Any help is greatly appreciated.


We have added HTTP basic authentication support for axis2/c client. All 
you have to do is to set the two properties HTTP_AUTH_USERNAME and 
HTTP_AUTH_PASSWD in your client code.

Please refer to echo.c [1] for a sample of its usage.

I propose that we remove the AXIS2_USER_NAME and AXIS2_PASSWORD 
declarations as they are not being used. HTTP authentication related 
declarations can be found in axis2_http_transport.h.

Regards,
Dumindu.

[1] 
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/echo/echo.c?view=markup


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Download latest bin file of Axis C++

2007-08-13 Thread Velesevich Ilya
I download from
http://svn.apache.org/repos/asf/webservices/axis/trunk/c/vc/project
files.
From http://svn.apache.org/repos/asf/webservices/axis/trunk/c/src/ - source
files.
Open with Visual Studio 2003: AxisDevelopment.sln file path to *.cpp in this
solution don't match with file path in src directory.
For example in AxisDevelopment.sln
 AxisTransportLibrary/AxisTransport.cpp full path - d:\download\axis
c++\src\transport\axis\AxisTransport.cpp
 But in src directory this file not exist generally.

I don't understand why path not match.
Please answer: how I can build source file??( may be exist another way???)


2007/8/13, Velesevich Ilya [EMAIL PROTECTED]:

 Hi...

 I want download latest bin file of Axis C++ from SVN - 
 http://svn.apache.org/repos/asf/webservices/axis/trunk/c/bin/

 but instead bin-file this catalog contain README.txt only.

 How I can get latest bin file of Axis C++??

 Thanks!


Re: Download latest bin file of Axis C++

2007-08-13 Thread Nadir Amra
Try ant...http://ws.apache.org/axis/cpp/antbuild-guide.html

Nadir K. Amra


Velesevich Ilya [EMAIL PROTECTED] wrote on 08/13/2007 07:43:39 AM:

 I download from 
http://svn.apache.org/repos/asf/webservices/axis/trunk/c/vc/
 project files.
 From http://svn.apache.org/repos/asf/webservices/axis/trunk/c/src/ -
 source files.
 Open with Visual Studio 2003: AxisDevelopment.sln file path to *.cpp
 in this solution don't match with file path in src directory.
 For example in AxisDevelopment.sln
  AxisTransportLibrary/AxisTransp
 ort.cpp full path - d:\download\axis 
c++\src\transport\axis\AxisTransport.cpp
  But in src directory this file not exist generally. 
 
 I don't understand why path not match. 
 Please answer: how I can build source file??( may be exist another 
way???)
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2/C - USERNAME and PASSWORD

2007-08-13 Thread Dumindu Pallewela
We have not released Axis2/C after HTTP Authentication was added. You 
may use the current svn trunk [1] if you prefer.


-Dumindu.

[1] https://svn.apache.org/repos/asf/webservices/axis2/trunk/c

Michael Mole wrote:


That's great news!  Is there a version where I should be able to pick up 
those changes?


Thanks,
Mike

Michael J Molé
Software Engineer
IBM Software Group - Rational
(781)676-2710


*Dumindu Pallewela [EMAIL PROTECTED]*

08/13/2007 07:38 AM
Please respond to
Apache AXIS C User List axis-c-user@ws.apache.org



To
Apache AXIS C User List axis-c-user@ws.apache.org
cc
Michael Mole/Lexington/[EMAIL PROTECTED]
Subject
Re: Axis2/C - USERNAME and PASSWORD








Michael Mole wrote:
 
  I'm looking for more information about AXIS2_USER_NAME and
  AXIS2_PASSWORD in axis2_const.h.  What are they used for, and how are
  they used?  I'm still trying to solve my issue of using Basic http
  Authentication with my web services, and these look like they may be the
  key.  Any help is greatly appreciated.
 

We have added HTTP basic authentication support for axis2/c client. All
you have to do is to set the two properties HTTP_AUTH_USERNAME and
HTTP_AUTH_PASSWD in your client code.

Please refer to echo.c [1] for a sample of its usage.

I propose that we remove the AXIS2_USER_NAME and AXIS2_PASSWORD
declarations as they are not being used. HTTP authentication related
declarations can be found in axis2_http_transport.h.

Regards,
Dumindu.

[1]
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/echo/echo.c?view=markup

-
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: |AXIS2] [AXIS2C] c-stubs: memset in axis2_TYPE_create missing

2007-08-13 Thread Dr. Florian Steinborn
On Wed, 08 Aug 2007 11:30:23 +0200, Samisa Abeysinghe [EMAIL PROTECTED]  
wrote:


Fixed in  
modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl


Samisa...



Great thing! I can see it in the SVN but when I download the

axis2-1.3-SNAPSHOT-src.zip  13-Aug-2007 03:40

the CADBBeanTemplateSource.xsl source dates July 25th. Why? Shouldn't it  
include your change?


Thanks,
Flori

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Rampart/C | Neethi/C] Possible to get the current x509 security certificate from a policy?

2007-08-13 Thread Jamie Lyon
Hi,

 

Is it possible to get the OpenSSL construct (or some other form) of
policy out of the current neethi policy?

 

I don't mind whether it's done directly via neethi, or via some other
interface once that policy has been applied to a client using
axis2_svc_client_set_policy.

 

I'm basically trying to get the subjectDN and base64 encoded cert to
include in my message. I can encode the data to a base64 string from a
char array, so no worries there, so long as I can somehow access the
data.

 

Any suggestions are highly welcome.

 

Cheers,
Jamie



Re: [Axis2/C]: SOAP request with line breaks fails

2007-08-13 Thread Subra A Narayanan
Samisa,

Its still the same case. Request with line breaks fails, without the line
breaks works fine.
I started the simple axis server with gdb. I didnt get a backtrace at all.
See the text below


[EMAIL PROTECTED] bin]# gdb ./axis2_http_server
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as x86_64-unknown-linux-gnu...Using host
libthread_db library /lib64/tls/libthread_db.so.1.

(gdb) run -p 80
Starting program: /usr/local/axis2c/bin/axis2_http_server -p 80
AXIS2C_HOME is not set - log is written to . dir
Started Simple Axis2 HTTP Server ...

Program terminated with signal SIGTRAP, Trace/breakpoint trap.
The program no longer exists.
(gdb) bt
No stack.
(gdb)



This is my dev set up:

64 bit Linux
Axis2/C - server
Ruby Client


Subra




On 8/12/07, Subra A Narayanan [EMAIL PROTECTED] wrote:

 Thanks Samisa..I will run axis http server with gdb and send u the
 trace.



 On 8/9/07, Samisa Abeysinghe  [EMAIL PROTECTED] wrote:
 
  Samisa Abeysinghe wrote:
   Subra A Narayanan wrote:
   Hey Samisa,
  
   It still doesn't work. Anything else that I can do to solve this
   problem?
   I tested it on my machine, with newlines in the payload, and it works
   with the latest svn. I tested with a PHP client and echo service.
   You seem to have tested with SOAP 1.1 in place. I am not sure if this
   is related to SOAP version. I tested with SOAP 1.2, I will test with
   SOAP 1.1 and let you know.
  I tested with SOAP 1.1 as well, and it seems to work fine with the
  latest svn when there are newlines in the payload.
  To help solve the problem, what you can do is to run Axis2/C server with
  gdb and send us the back trace of the crash point.
 
  Thanks,
  Samisa...
 
  --
  Samisa Abeysinghe : a href=http://wso2.org/projects/wsf/c;WSO2 Web
  Services Framework/C - Open source C library for providing and consuming Web
  services/a
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



Re: Axiom Questions

2007-08-13 Thread Subra A Narayanan
I think thats what I was looking for. I will try it out and let you know.

Thanks!!

On 8/13/07, Kaushalye Kapuruge [EMAIL PROTECTED] wrote:

 Subra A Narayanan wrote:
  Hey Samisa,
 
  With regards to my second question:
 
  I am not talking about reading part of the attachment. What I am
  asking is can I read part of the file from the disk and attach it to
  the message? 'axiom_data_handler_create' takes in a file name but no
  offset. I can read a part of the file using pread, but but do I
  convert the void *buff in to a data handler?
 Have you tried this?
 axiom_data_handler_set_binary_data(data_handler, env, ip_stream, len);
 First of all you'll have to keep you data(i.e. ip_stream) using
 axis2_byte_t*.

 Cheers,
 Kaushalye
 
  Subra
 
  On 8/13/07, *Samisa Abeysinghe* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  Subra A Narayanan wrote:
   Hello everyone,
  
   Its Monday morning and I am back with my questions. :-)
  
   Not sure if these questions belong here but will ask anyways.
 Please
   let me know if I should be sending this mail to some other
  mailing list.
  
   I am using Axis2 and have 2 basic questions about Axiom. I did
 some
   searching on the web and tried looking through the Axis2/C
  source code
   but don't have my answer. Here it goes:
  
   Q1) I have a web service with 4 operations. The first 3
  parameters are
   the same for all the 4 operations. In other words, the first 3
 child
   elements inside the SoapBodyOperation Name/Operation
   Name/SoapBody are the same for the 4 operations. So I created a
   function, called ReadFirst3Params which gets called from all the 4
   operations. Since, Axiom is based on a pull parser, I know I
  have to
   have a reference to the 3rd parameter node to be able to read
  the 4th
   parameter. Now my question is, do I need to return a reference
  to the
   3rd parameter node from my ReadFirst3Params function so that I can
   continue reading the other params in the operation.
  Not really, one can read the rest of the OM tree the way they want,
 as
  an example, using the qname (see
  axiom_element_get_children_with_qname).
 
   Or is there any other way of doing this. For e.g. an internal
  pointer
   that Axiom maintains which will tell me the position with in the
 XML
   document. (I hope my question makes sense)
  
   Q2) One of the operation returns an attachment to the client as an
   mtom attachment. I use axiom_data_handler_create to read in the
  binary
   file. I have a requirement to be able to read in a part of the
 file
   rather than the whole file. Just like pread function in 'C' where
 I
   can specify an offset and the file is read from the beginning to
 the
   offset. Is there a function in axiom to be able to do that? If
 not,
   how do I solve the above problem?
  We do not have provision to read part of the attachment as of now.
 Is
  there any way you can break the attachment to multiple parts and
 send
  that in the SOAP message. If you can do that, then you can read
  only the
  first attachment and forget about the rest and pass it on, I hope.
 
  Samisa...
  
  
   Thanks again for ur help!
  
  
   Subra
  
  
  
 
 
  --
  Samisa Abeysinghe : WSO2 WSF/C
  
 
 http://wso2.org/projects/wsf/c?WSO2nbsp;Webnbsp;Servicesnbsp;Framework/Cnbsp;-nbsp;Opennbsp;sourcenbsp;Cnbsp;librarynbsp;fornbsp;providingnbsp;andnbsp;consumingnbsp;Webnbsp;services
  
 http://wso2.org/projects/wsf/c?WSO2nbsp;Webnbsp;Servicesnbsp;Framework/Cnbsp;-nbsp;Opennbsp;sourcenbsp;Cnbsp;librarynbsp;fornbsp;providingnbsp;andnbsp;consumingnbsp;Webnbsp;services
 
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 
 


 --
 http://kaushalye.blogspot.com/
 http://wso2.org/


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: |AXIS2] [AXIS2C] c-stubs: memset in axis2_TYPE_create missing

2007-08-13 Thread Samisa Abeysinghe

Dr. Florian Steinborn wrote:
On Wed, 08 Aug 2007 11:30:23 +0200, Samisa Abeysinghe 
[EMAIL PROTECTED] wrote:


Fixed in 
modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl 



Samisa...



Great thing! I can see it in the SVN but when I download the

axis2-1.3-SNAPSHOT-src.zip  13-Aug-2007 03:40

the CADBBeanTemplateSource.xsl source dates July 25th. Why? Shouldn't 
it include your change?
This is because the snapshots are created using the 1.3 Axis2/Java 
branch, and I commited the patch to the svn head.
Now that 1.3 release of Axis2/Java is done, they will hopefully change 
to svn head for the nightly builds. If not, I can post a snapshot for 
you for the time being.


Samisa...


Thanks,
Flori

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Samisa Abeysinghe : WSO2 WSF/C
http://wso2.org/projects/wsf/c?WSO2nbsp;Webnbsp;Servicesnbsp;Framework/Cnbsp;-nbsp;Opennbsp;sourcenbsp;Cnbsp;librarynbsp;fornbsp;providingnbsp;andnbsp;consumingnbsp;Webnbsp;services;


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2/C - USERNAME and PASSWORD

2007-08-13 Thread Samisa Abeysinghe

Dumindu Pallewela wrote:
We have not released Axis2/C after HTTP Authentication was added. You 
may use the current svn trunk [1] if you prefer.
Lets pack a nightly build so that they could pick up the source. I can 
even do an RC1 of 1.1 today.


Samisa...



-Dumindu.

[1] https://svn.apache.org/repos/asf/webservices/axis2/trunk/c

Michael Mole wrote:


That's great news!  Is there a version where I should be able to pick 
up those changes?


Thanks,
Mike

Michael J Molé
Software Engineer
IBM Software Group - Rational
(781)676-2710


*Dumindu Pallewela [EMAIL PROTECTED]*

08/13/2007 07:38 AM
Please respond to
Apache AXIS C User List axis-c-user@ws.apache.org



To

Apache AXIS C User List axis-c-user@ws.apache.org
cc
Michael Mole/Lexington/[EMAIL PROTECTED]
Subject
Re: Axis2/C - USERNAME and PASSWORD









Michael Mole wrote:
 
  I'm looking for more information about AXIS2_USER_NAME and
  AXIS2_PASSWORD in axis2_const.h.  What are they used for, and how are
  they used?  I'm still trying to solve my issue of using Basic http
  Authentication with my web services, and these look like they may 
be the

  key.  Any help is greatly appreciated.
 

We have added HTTP basic authentication support for axis2/c client. All
you have to do is to set the two properties HTTP_AUTH_USERNAME and
HTTP_AUTH_PASSWD in your client code.

Please refer to echo.c [1] for a sample of its usage.

I propose that we remove the AXIS2_USER_NAME and AXIS2_PASSWORD
declarations as they are not being used. HTTP authentication related
declarations can be found in axis2_http_transport.h.

Regards,
Dumindu.

[1]
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/echo/echo.c?view=markup 



-
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]





--
Samisa Abeysinghe : WSO2 WSF/C
http://wso2.org/projects/wsf/c?WSO2nbsp;Webnbsp;Servicesnbsp;Framework/Cnbsp;-nbsp;Opennbsp;sourcenbsp;Cnbsp;librarynbsp;fornbsp;providingnbsp;andnbsp;consumingnbsp;Webnbsp;services;


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2/C]: SOAP request with line breaks fails

2007-08-13 Thread Samisa Abeysinghe

Subra A Narayanan wrote:

Samisa,

Its still the same case. Request with line breaks fails, without the 
line breaks works fine.
I started the simple axis server with gdb. I didnt get a backtrace at 
all. See the text below
hmmm. Looking at the gdb output, I cannot think of any possible reason 
why it is crashing.


Would it be possible for you to send me the exact payload send by the 
client, including http headers (you can capture this using tcpmon Java tool)
and send it to the list, so that I could try and replay it with the 
server and see what is going wrong on my machine.


Also, I hope that you are using the latest svn head, if not, i plan to 
post an RC1 of 1.1 release today, so that you can try with that.


Thanks,
Samisa...




[EMAIL PROTECTED] bin]# gdb ./axis2_http_server
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and 
you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for 
details.
This GDB was configured as x86_64-unknown-linux-gnu...Using host 
libthread_db library /lib64/tls/libthread_db.so.1.


(gdb) run -p 80
Starting program: /usr/local/axis2c/bin/axis2_http_server -p 80
AXIS2C_HOME is not set - log is written to . dir
Started Simple Axis2 HTTP Server ...

Program terminated with signal SIGTRAP, Trace/breakpoint trap.
The program no longer exists.
(gdb) bt
No stack.
(gdb)



This is my dev set up:

64 bit Linux
Axis2/C - server
Ruby Client


Subra




On 8/12/07, * Subra A Narayanan* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Thanks Samisa..I will run axis http server with gdb and send u
the trace.




On 8/9/07, *Samisa Abeysinghe *  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

Samisa Abeysinghe wrote:
 Subra A Narayanan wrote:
 Hey Samisa,

 It still doesn't work. Anything else that I can do to solve this
 problem?
 I tested it on my machine, with newlines in the payload, and
it works
 with the latest svn. I tested with a PHP client and echo
service.
 You seem to have tested with SOAP 1.1 in place. I am not sure
if this
 is related to SOAP version. I tested with SOAP 1.2, I will
test with
 SOAP 1.1 and let you know.
I tested with SOAP 1.1 as well, and it seems to work fine with
the
latest svn when there are newlines in the payload.
To help solve the problem, what you can do is to run Axis2/C
server with
gdb and send us the back trace of the crash point.

Thanks,
Samisa...

-- 
Samisa Abeysinghe : a

href=http://wso2.org/projects/wsf/c;WSO2 Web Services
Framework/C - Open source C library for providing and
consuming Web services/a


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]






--
Samisa Abeysinghe : WSO2 WSF/C
http://wso2.org/projects/wsf/c?WSO2nbsp;Webnbsp;Servicesnbsp;Framework/Cnbsp;-nbsp;Opennbsp;sourcenbsp;Cnbsp;librarynbsp;fornbsp;providingnbsp;andnbsp;consumingnbsp;Webnbsp;services;


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WS-Addressing : Adding reference parameters?

2007-08-13 Thread Samisa Abeysinghe

Jamie Lyon wrote:

How easy would it be to implement adding reference params to the 'to'
header?



I have created a JIRA with a possible patch at:
http://issues.apache.org/jira/browse/AXIS2C-668

The code is working fine for my requirements, but may need slight
modification before inclusion into the trunk.
  

Cool, I will have a look into the patch and try and apply that to the trunk.

Thanks,
Samisa...


--
Samisa Abeysinghe : WSO2 WSF/C
http://wso2.org/projects/wsf/c?WSO2nbsp;Webnbsp;Servicesnbsp;Framework/Cnbsp;-nbsp;Opennbsp;sourcenbsp;Cnbsp;librarynbsp;fornbsp;providingnbsp;andnbsp;consumingnbsp;Webnbsp;services;


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Rampart/C | Neethi/C] Possible to get the current x509 security certificate from a policy?

2007-08-13 Thread Manjula Peiris
Hi Jamie,

Please see my comments inline. BTW Your requirement is not very clear.
Can you please emphasize more on this.


On Mon, 2007-08-13 at 16:51 +0100, Jamie Lyon wrote:
 Hi,
 
  
 
 Is it possible to get the OpenSSL construct (or some other form) of
 policy out of the current neethi policy?
OpenSSL functions are called from Rampart/C, not through Neethi. Here
what do You mean by OpenSSL construct of policy?


 I’m basically trying to get the subjectDN and base64 encoded cert to
 include in my message. I can encode the data to a base64 string from a
 char array, so no worries there, so long as I can somehow access the
 data.
If you have the buffer containing the base64 string of the key you can
attached it to the message by setting it in the rampart_context. You can
use the following functions,

rampart_context_set_certificate() and
rampart_context_set_certificate_type. 

But to do this you need to create a rampart_context outside of rampart
and set it as a value in a axis2_parameter called RAMPART_CONFIGURATION.
Otherwise you need to change the code.

-Manjula
 
  
 
 Any suggestions are highly welcome.
 
  
 
 Cheers,
 Jamie
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2/C - USERNAME and PASSWORD

2007-08-13 Thread Dumindu Pallewela

Samisa Abeysinghe wrote:

Dumindu Pallewela wrote:
We have not released Axis2/C after HTTP Authentication was added. You 
may use the current svn trunk [1] if you prefer.
Lets pack a nightly build so that they could pick up the source. I can 
even do an RC1 of 1.1 today.


+1

-Dumindu.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]