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]



Re: Axis2 HttpCoreNIOSSLSender Chunked Transfer Encoding

2007-08-13 Thread wolverine13
dims,

Thanks for your advice, unfortunately the axis1 server is not my own, and I
don't know if I can convince them to switch to another TransoportReceiver.

I think, I'll take the business logic and port the service to axis1, it's
not complex at all.

Thanks,

Vadim Chubarov

 Original-Nachricht 
Datum: Fri, 10 Aug 2007 11:36:19 -0400
Von: Davanum Srinivas [EMAIL PROTECTED]
An: axis-user@ws.apache.org
Betreff: Re: Axis2 HttpCoreNIOSSLSender Chunked Transfer Encoding

 Short term fix, You can configure Axis1 to work with chunked by using
 CommonsHTTPSender.
 
 thanks,
 dims
 
 On 8/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Hi,
 
  I am trying to configure the new Axis2 HttpCoreNIOSSLSender
 TransportSender with axis2-1.3-RC3: chunked transfer encoding is the default.
  So far I haven't found a way to disable it, and axis1 on the other end
 can't parse the messages.
 
  Is it possible to send messages without transfer encoding?
  Or is there any other way to get the SimpleAxisServer to send messages
 with SSL encryption?
 
  Thanks in advance,
 
  Vadim Chubarov
  --
  Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
  Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -- 
 Davanum Srinivas :: http://davanum.wordpress.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Re: Emailing

2007-08-13 Thread keith chapman
You can filter the mails using the to field for the moment though. I use
this method (BTW i havent seem any spasm mails on the axis user or dev list,
so should work).

Thanks,
Keith.

On 8/13/07, Demetris G [EMAIL PROTECTED] wrote:


 Either way I am not really concerned whether it says Axis2 or Axis 1.X
 as long as it says
 Axis. That way my spam filters will not label these emails as spam and
 further more I will
 able to file them automatically in folders for this kind of emails.
 If it is too much work for this to be in place then never mind. And for
 those members of
 the list who actually put the extra effort to add the prefix to their
 titles - KUDOS to you
 and we greatly appreciate it.

 Thanks for the responses Keith.

 keith chapman wrote:
  Nope the mail server does not add it. Most users use it by practice.
  If the question is regarding Axis2 you are advised to add the Axis2
  prefix (not required to). Thats the reason that some mails have the
  prefix and some dont. Nothing to do with the mail server.
 
  May be your point is that you would like that mail server to add a
  Axis prefix. But the list is for both Axis2 and Axis related
 discussions.
 
  Thanks,
  Keith.
 
 
  On 8/13/07, *Demetris G* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
 
  Hey Keith,
 
  but that is what I was asking - in JXTA mailing lists the user
 do
  not have to add that
  prefix in their title - the outgoing mail server takes care of that
  automatically. Does the
  Axis2 ir any axis list do that ? I see some emails in the list
 having
  that and some don't.
 
  Thanks
 
  keith chapman wrote:
   This mailing lists are used both for AXIS discussions and AXIS@
   discussions. Hence if the question is regarding Axis2 its better
 to
   use the [AXIS2] prefix in the subject. This is the reason for some
   mails having the prefix.
  
   Thanks,
   Keith.
  
   On 8/13/07, *Demetris G*  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
  
  
   Sometimes asking a question on the list but not getting back
  an answer
   makes me think that either I have asked an amazingly
  advanced question
   and have baffled the world ( I DOUBT IT !) or a naive one that
   makes me
   think twice next time I do so. But this cannot be that bad -
  should I
   believe
   that no one is taking care of this mailing list? Or is she/he
 on
   vacation
   at a sunny resort while we are pounding away on code? ;)
  (hey good
   for
   them)
   So once again - to the sys admin of this list - can you let
  us know if
   there
   is a remedy to the situation below ?
  
   Many more thanks this time around and cheers
  
   Demetris G wrote:
   
Just a question outside the Axis content -
   
I get emails from various lists and most of them mark their
   title with
the mailing list name - [jxta], [owl-s] etc. I noticed
  that Axis
   mailing
lists sometimes have this sometimes they don't - I get
 emails
   that have
all the signs of spam / malicious and they turn out to be
   someone asking
for help about a bug (and trust me, the titles some of you
  choose to
describe your problem crack me up as they are all but
  friendly ;) )
   
So - is there something that the Axis mailing
  administrators can
   do to
help with this one so that we can configure our spam
  filters to
   help us
a bit more with filtering out garbage ?
   
Much appreciated.
   
   
  
   
  
  
 
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
  
  
  
  
   --
   Keith Chapman
   WSO2 Inc.
   Oxygen for Web Services Developers.
   http://wso2.org/
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 
 
 
 
  --
  Keith Chapman
  WSO2 Inc.
  Oxygen for Web Services Developers.
  http://wso2.org/

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

Re: Emailing

2007-08-13 Thread Demetris G


Sure - that should work for spam control. How about automatic filing? I 
wonder if I can figure something

out through the To: field for automatic filing as well.

Thanks Keith

keith chapman wrote:
You can filter the mails using the to field for the moment though. I 
use this method (BTW i havent seem any spasm mails on the axis user or 
dev list, so should work).


Thanks,
Keith.

On 8/13/07, *Demetris G* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Either way I am not really concerned whether it says Axis2 or Axis 1.X
as long as it says
Axis. That way my spam filters will not label these emails as spam and
further more I will
able to file them automatically in folders for this kind of emails.
If it is too much work for this to be in place then never mind.
And for
those members of
the list who actually put the extra effort to add the prefix to their
titles - KUDOS to you
and we greatly appreciate it.

Thanks for the responses Keith.

keith chapman wrote:
 Nope the mail server does not add it. Most users use it by practice.
 If the question is regarding Axis2 you are advised to add the Axis2
 prefix (not required to). Thats the reason that some mails have the
 prefix and some dont. Nothing to do with the mail server.

 May be your point is that you would like that mail server to add a
 Axis prefix. But the list is for both Axis2 and Axis related
discussions.

 Thanks,
 Keith.


 On 8/13/07, *Demetris G* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


 Hey Keith,

 but that is what I was asking - in JXTA mailing lists
the user do
 not have to add that
 prefix in their title - the outgoing mail server takes care
of that
 automatically. Does the
 Axis2 ir any axis list do that ? I see some emails in the
list having
 that and some don't.

 Thanks

 keith chapman wrote:
  This mailing lists are used both for AXIS discussions and
AXIS@
  discussions. Hence if the question is regarding Axis2 its
better to
  use the [AXIS2] prefix in the subject. This is the reason
for some
  mails having the prefix.
 
  Thanks,
  Keith.
 
  On 8/13/07, *Demetris G*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
 
  Sometimes asking a question on the list but not
getting back
 an answer
  makes me think that either I have asked an amazingly
 advanced question
  and have baffled the world ( I DOUBT IT !) or a naive
one that
  makes me
  think twice next time I do so. But this cannot be that
bad -
 should I
  believe
  that no one is taking care of this mailing list? Or is
she/he on
  vacation
  at a sunny resort while we are pounding away on code? ;)
 (hey good
  for
  them)
  So once again - to the sys admin of this list - can
you let
 us know if
  there
  is a remedy to the situation below ?
 
  Many more thanks this time around and cheers
 
  Demetris G wrote:
  
   Just a question outside the Axis content -
  
   I get emails from various lists and most of them
mark their
  title with
   the mailing list name - [jxta], [owl-s] etc. I noticed
 that Axis
  mailing
   lists sometimes have this sometimes they don't - I
get emails
  that have
   all the signs of spam / malicious and they turn out
to be
  someone asking
   for help about a bug (and trust me, the titles some
of you
 choose to
   describe your problem crack me up as they are all but
 friendly ;) )
  
   So - is there something that the Axis mailing
 administrators can
  do to
   help with this one so that we can configure our spam
 filters to
  help us
   a bit more with filtering out garbage ?
  
   Much appreciated.
  
  
 
  
 
 

-

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

Cannot find WSDL file when using Maven2 WSDL2Code Plug-in

2007-08-13 Thread Sebastien ARBOGAST
I'm trying to integrate WSDL2Code plugin into my Maven2 project, but the
WSDL file I want to use as a source is generated by another module of my
project. So I'm trying to set a relative path in wsdlFile, something like:

wsdlFile

../webservice/target/generated-sources/andromda/WEB-INF/services/webservices/META-INF/myapp.DataImportService.wsdl
/wsdlFile

Unfortunately, I keep getting an error like this:

[INFO] [axis2-wsdl2code:wsdl2code {execution: default}]
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error parsing WSDL

 (No such file or directory)

Isn't it possible to use a relative path like that?

-- 
Sébastien Arbogast

http://www.sebastien-arbogast.com


Val Gamerman is out of the office till 08/20/2007

2007-08-13 Thread GAMERMV

I will be out of the office starting  08/13/2007 and will not return until
08/20/2007.

I will respond to your message when I return. If this is an emergency you
can try to call me on my cel. 216-965-7921.
I will have very limited cell. phone reception.

For THI-RTR Web Service please contact: Chena  Dulla, George Mazelis, Denne
Cunningham, Gabriela Caruso, Michael Anderson.

For PDS-THI issues please contact: Elide Sanchez and Craig Carpenter

For Oracle issues please contact: THI - DBA Help

For ARC questions please send email to: THI - ARC (Architecture Review
Committee)

For Tri-C questions please send email to: THI - Tri-C

For ViperJ questions please send email to: THI - VIPERJ Development

For Web POS questions please send email to: THI - Internet Quoting
Developers

For Web Endorsment questions please send email to: THI - Web Portal
Endorsement Developers

For Web Portal questions please send email to: THI - Web Portal Dev

For PIC questions please send email to: Bob Stoffko

For STAR questions please send email to: Bob Stoffko

For AOA/ANP/-THI bridge questions please contact: George Mazelis, Chenna
Dulla

For Agent Gateway questions please contact: George Mazelis, Chenna Dulla

For Allied bridge questions please contact: George Mazelis, Chenna Dulla

For Credit Score web service questions please contact: Manjula Kalluri,
Chenna Dulla

For EZ-App/EZ-Quote/Prefill/Accelerate web service questions please
contact: Chenna Dulla

For production issues: please contact Help Desk


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



NullPointerException at org.apache.axis.message.SOAPBody.addBodyElement(SOAPBody.java:167)

2007-08-13 Thread Dennis Kieselhorst
Hello,

I have some problems with my webservice application when there is a high
request count. Found the following exception in the logs:

18:16:11 ERROR org.apache.axis.SOAPPart Exception:
java.lang.NullPointerException
at
org.apache.axis.message.SOAPBody.addBodyElement(SOAPBody.java:167)
at
org.apache.axis.message.SOAPEnvelope.addBodyElement(SOAPEnvelope.java:245)
at org.apache.axis.AxisFault.output(AxisFault.java:749)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:301)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.Message.writeTo(Message.java:539)
at
org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902
)
at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:
327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:524)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java
:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)

The client gets HTTP 503 error. After rebooting the tomcat everything is
fine.

Is this a bug or just a subsequent fault?

Environment: Axis 1.4, Tomcat 5.5.20, SunOS 5.8

Regards
Dennis


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



RE: exceptions on init

2007-08-13 Thread Jorge Fernandez
Hi again,

I saw that DependencyManager.initServiceClass is the method that calls init
and all it does with exception is logging them. Is there any way for me to 
destroy the session when an exception was thrown??

Thanks,

Jorge Fernández



Jorge Fernandez [EMAIL PROTECTED] escribió: Hi, 

Can anybody tell me how can I stop service invocation when I get an exception 
in init method? 

Thanks,

Jorge Fernández


  

-

Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden! .


   
-

Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.


[Axis2]Add SOAP header elements in synchronous response

2007-08-13 Thread Andrew Martin
I have a service with this in the services.xml:
service name=Service scope=application
  parameter name=ServiceClassorg.regenstrief.service.Service/parameter
  operation name=handle
messageReceiver
class=org.apache.axis2.receivers.RawXMLINOutMessageReceiver/
  /operation
/service

It invokes this in my Java:
public OMElement handle(OMElement element)

How can I add elements to the response message's SOAP header?
-- 
Andrew Martin
Computer Programmer
Regenstrief Institute, Inc.
410 West 10th Street, Suite 2000
Indianapolis, IN 46202-3012
Phone: (317) 423-5542
Fax: (317) 423-5695
[EMAIL PROTECTED]


Confidentiality Notice: The contents of this message and any files
transmitted with it may contain confidential and/or privileged
information and are intended solely for the use of the named
addressee(s). Additionally, the information contained herein may have
been disclosed to you from medical records with confidentiality
protected by federal and state laws. Federal regulations and State laws
prohibit you from making further disclosure of such information without
the specific written consent of the person to whom the information
pertains or as otherwise permitted by such regulations. A general
authorization for the release of medical or other information is not
sufficient for this purpose.

If you have received this message in error, please notify the sender by
return e-mail and delete the original message. Any retention,
disclosure, copying, distribution or use of this information by anyone
other than the intended recipient is strictly prohibited.

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



Axis2 service not returning SOAP Message

2007-08-13 Thread John Pfeifer
I noticied something bizarre that just started happening with my web service.  
The response returned from Axis2 does not contain the Soap Envelop or Body.  
The only thing that is returned is the XML reponse that my application 
generated.  I can't seem to find a stacktrace anywhere and I'm not sure where 
to look.  Has anyone seen this before?  I haven't modified my axis2 
configuration files or my service.xml recently, but I have been adding removing 
libraries in WEB-INF/lib.

Any ideas?

Thanks,

John


Re: Axis2 service not returning SOAP Message

2007-08-13 Thread keith chapman
What is the version of Axis2? and what is the content-type of the response
message?

Thanks,
Keith.

On 8/13/07, John Pfeifer [EMAIL PROTECTED] wrote:

  I noticied something bizarre that just started happening with my web
 service.  The response returned from Axis2 does not contain the Soap Envelop
 or Body.  The only thing that is returned is the XML reponse that my
 application generated.  I can't seem to find a stacktrace anywhere and I'm
 not sure where to look.  Has anyone seen this before?  I haven't modified my
 axis2 configuration files or my service.xml recently, but I have been
 adding removing libraries in WEB-INF/lib.

 Any ideas?

 Thanks,

 John




-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/


passwordCallbackClass

2007-08-13 Thread Pavan Madiraju
Is there any way that we can configure the client and service policy without
coding the PWCBHandler so that I can keep all the security information in
the policy.

ramp:passwordCallbackClass org.apache.rampart.samples

 .policy.sample02.PWCBHandler/ramp:passwordCallbackClass


Can I complete remove :passwordCallbackClass in the client and server ?

Any ideas ?

Thanks in Advance,
Pavan


null values in attributes (hierarchies with ADB)

2007-08-13 Thread Jorge Fernandez
Hi,

I'm observing that when I have an object  with array attributes, ADB behaves 
different depending on whether that attribute is inherited or not.

If I have an inherited array, and I don't call its set method, that element 
won't appear in the SOAP message. The client will see that the array is null.

If in the same case, I set it to null, the element will appear as nil in the 
SOAP message.  The client sees an array of one null component.

With a non-inherited array, the element will appear as nil if I set it to null 
and if I don't call the method too. The client sees an array of one null 
component.

If I have an attribute that is not an array (ex: a String). Its behaviour is 
the same if it's inherited or not. The element will appear as nil.

My question are: 

Why does it work different for an inherited array??

Why my client sees the array with one null component when the array comes as 
nil?? Shouldn't him see it as a null array??

Why when an attribute is null it appears as nil in the soap message?? Shouldn't 
it be better that the attribute wouldn't appear in the message?

Thanks,

Jorge Fernández



   
-

Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.


RE: Java2WSDL Method translation issue?

2007-08-13 Thread Glenn Williams
Yes it is the same problem. I'm not sure from reading the issue if its going
to be fixed or not. It is only a problem with properties that are all
uppercase, for example getFICO. The get is not uppercase, just the property.
If I change the name to: getFico, it works fine. But that's a limitation I
do not want to enforce. This type of property (getFICO) is supported by the
Java standard.

Thanks.

glenn

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 10, 2007 7:06 PM
To: axis-user@ws.apache.org
Subject: Re: Java2WSDL Method translation issue?

Glenn,

Is your problem similar to this one?
http://issues.apache.org/jira/browse/AXIS2-3017

thanks,
dims

On 8/10/07, Glenn Williams [EMAIL PROTECTED] wrote:




 Hello,



 I have a Java method ( public double getFICO() ) who's body is upper case.
 When converted in the WSDL it looks like this: fICO. When running a query
 against Axis this method cannot be found. If I change the WSDL to this:
 FICO, it works fine. Any ideas on what the problem might be?



 glw


-- 
Davanum Srinivas :: http://davanum.wordpress.com

-
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: returning complex object with Axis2

2007-08-13 Thread feh


Thank you!

I do have a question - the complex object in question is an existing class;
that is, I'm not in a position to generate the code for the class via the
well-known processes.

That being the case, how does Axis know how to generate the response XML?
There isn't any data binding information in this example, that I can see.



Raghu Upadhyayula wrote:
 
 Hi Feh,
 
  
 
  Here is how you return complex object with Axis2 (I'm showing this
 in WSDL 1.1 version).
 
   
 
   For Example:
 
   Say you have the following method.
 
   
 
   public Employee findEmployee (long empId);
 
   
 
   This method is returning an Employee object which is a complex
 object.
 
   
 
   The Employee object looks like this.
 
   
 
   Employee
 
   String empName;
 
   String empDesignation;
 
   intempAge
 
   String empDepartmentName
 
   
 
   In your WSDL you represent this as follows (I'm showing the WSDL
 in document/literal style and I'm showing only the schema definition
 part, not the message, portType, binding  service parts, I hope you can
 handle those).
 
   
 
 definitions targetNamespace=urn:ws.rsys.com 
 
  xmlns=http://schemas.xmlsoap.org/wsdl/; 
 
  xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; 
 
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 
  xmlns:tns=your namespace
 
   types
 
   schema elementFormDefault=qualified
 
   xmlns=http://www.w3.org/2001/XMLSchema; 
 
   targetNamespace=your namespace
 
  
 
   element name=findEmployee
 
   complexType
 
   sequence
 
   element name=empId type=xsd:long/
 
   /sequence
 
   /complexType
 
   /element
 
   
 
   complexType name=Employee
 
   sequence
 
   elemenet name=name type=xsd:string/
 
   elemenet name=designation type=xsd:string/
 
   elemenet name=age type=xsd:int/
 
   elemenet name=departmentName
 type=xsd:string/
 
   /sequence
 
   /complexType
 
   
 
   element name=findEmployeeResponse
 
   complexType
 
   sequence
 
   element name=findEmployeeReturn
 type=tns:Employee/
 
   /sequence
 
   /complexType
 
   /element
 
   /schema
 
   /types
 
   ... message ...
 
   ... portType ...  
 
   ... binding ...
 
   ... service ...
 
 /definitions
 
   
 
 Thanks
 
 Raghu
 
 -Original Message-
 From: feh [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 09, 2007 1:58 PM
 To: axis-user@ws.apache.org
 Subject: returning complex object with Axis2
 
  
 
  
 
 Please bear with me...it's been a few months since I've worked with Axis
 2,
 
 so my description of the situation may not be very clear...
 
  
 
 I've learned just enough about Axis 2 to write a soap service. It is a
 
 little bit unusual, in that the soap service was added to an existing
 web
 
 application, running under Tomcat. From what I remember, Axis 2 was
 designed
 
 to be its own container, so I had to find instructions somewhere on the
 net
 
 (where, I don't remember), which outlined how to incorporate Axis2 into
 an
 
 existing web app. Needless to say, this is probably not a standard
 
 installation.
 
  
 
 Anyway, all my services currently return primitive values (String, int,
 
 int[], etc). I'm wondering how to return complex objects, if it's
 possible. 
 
  
 
 Is there documentation or a howto that covers this situation? In all the
 
 examples I've looked at so far, the service methods all return
 primitives.
 
  
 
 Thanks.
 
 -- 
 
 View this message in context:
 http://www.nabble.com/returning-complex-object-with-Axis2-tf4245196.html
 #a12080657
 
 Sent from the Axis - User mailing list archive at Nabble.com.
 
  
 
  
 
 -
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 
 For additional commands, e-mail: [EMAIL PROTECTED]
 
  
 
 
 

-- 
View this message in context: 
http://www.nabble.com/returning-complex-object-with-Axis2-tf4245196.html#a12128081
Sent from the Axis - User mailing list archive at Nabble.com.


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



1.3 release link broken

2007-08-13 Thread Justin Permar
Hi,

 

I'd like to get the 1.3 release. The link on your website seems to be
temporarily broken:

 

http://ws.apache.org/axis2/download/1_3/download.cgi

 

Please let me know how I can get it (release tag for subversion will
work for me just fine).

 

Thanks much.

 

--

Justin Permar

Research Programmer

Department of Biomedical Informatics

The Ohio State University



Re: exceptions on init

2007-08-13 Thread Deepal jayasinghe
hi Jorge ,
Unfortunately no way to do that. Please create a JIRA so that we can fix
that for 1.4 release.

Thanks
Deepal
 Hi again,

 I saw that DependencyManager.initServiceClass is the method that calls
 init
 and all it does with exception is logging them. Is there any way for
 me to destroy the session when an exception was thrown??

 Thanks,

 Jorge Fernández



 */Jorge Fernandez [EMAIL PROTECTED]/* escribió:

 Hi,

 Can anybody tell me how can I stop service invocation when I get
 an exception in init method?

 Thanks,

 Jorge Fernández


 

 Sé un Mejor Amante del Cine
 ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
 
 http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html.


 

 Sé un Mejor Amante del Cine
 ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
 http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html.



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



Re: 1.3 release link broken

2007-08-13 Thread Deepal jayasinghe
Hi Justin ,
Thanks for finding that , we are in the process of building the site.

Thanks
Deepal

 Hi,

 I’d like to get the 1.3 release. The link on your website seems to be
 temporarily broken:

 http://ws.apache.org/axis2/download/1_3/download.cgi

 Please let me know how I can get it (release tag for subversion will
 work for me just fine).

 Thanks much.

 --

 Justin Permar

 Research Programmer

 Department of Biomedical Informatics

 The Ohio State University



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



Re: 1.3 release link broken

2007-08-13 Thread Rupal Soni
Hi Deepal, 
  Do we know how long can that take. or is there any other alternative to 
download 1.3 version. 

Deepal jayasinghe [EMAIL PROTECTED] wrote:
  Hi Justin ,
Thanks for finding that , we are in the process of building the site.

Thanks
Deepal

 Hi,

 I’d like to get the 1.3 release. The link on your website seems to be
 temporarily broken:

 http://ws.apache.org/axis2/download/1_3/download.cgi

 Please let me know how I can get it (release tag for subversion will
 work for me just fine).

 Thanks much.

 --

 Justin Permar

 Research Programmer

 Department of Biomedical Informatics

 The Ohio State University



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



   
-
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.

Re: 1.3 release link broken

2007-08-13 Thread Deepal jayasinghe
please use
http://ws.apache.org/axis2/download/1_3/download.html

Thanks
Deepal
 Hi Deepal,
 Do we know how long can that take. or is there any other alternative
 to download 1.3 version.

 */Deepal jayasinghe [EMAIL PROTECTED]/* wrote:

 Hi Justin ,
 Thanks for finding that , we are in the process of building the site.

 Thanks
 Deepal
 
  Hi,
 
  I’d like to get the 1.3 release. The link on your website seems
 to be
  temporarily broken:
 
  http://ws.apache.org/axis2/download/1_3/download.cgi
 
  Please let me know how I can get it (release tag for subversion will
  work for me just fine).
 
  Thanks much.
 
  --
 
  Justin Permar
 
  Research Programmer
 
  Department of Biomedical Informatics
 
  The Ohio State University
 


 -
 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: 1.3 release link broken

2007-08-13 Thread David Robertson

Hi Deepal,

The links off of that page don't work yet.

-David Robertson

Deepal jayasinghe wrote:

please use
http://ws.apache.org/axis2/download/1_3/download.html

Thanks
Deepal
  

Hi Deepal,
Do we know how long can that take. or is there any other alternative
to download 1.3 version.

*/Deepal jayasinghe [EMAIL PROTECTED]/* wrote:

Hi Justin ,
Thanks for finding that , we are in the process of building the site.

Thanks
Deepal

 Hi,

 I’d like to get the 1.3 release. The link on your website seems
to be
 temporarily broken:

 http://ws.apache.org/axis2/download/1_3/download.cgi

 Please let me know how I can get it (release tag for subversion will
 work for me just fine).

 Thanks much.

 --

 Justin Permar

 Research Programmer

 Department of Biomedical Informatics

 The Ohio State University



-
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: 1.3 release link broken

2007-08-13 Thread Deepal Jayasinghe
Try the following

http://www.apache.org/dist/ws/axis2/1_3/

Note : it takes at least two hours to update the web site.

Thanks
Deepal

David Robertson wrote:
 Hi Deepal,

 The links off of that page don't work yet.

 -David Robertson

 Deepal jayasinghe wrote:
 please use
 http://ws.apache.org/axis2/download/1_3/download.html

 Thanks
 Deepal
  
 Hi Deepal,
 Do we know how long can that take. or is there any other alternative
 to download 1.3 version.

 */Deepal jayasinghe [EMAIL PROTECTED]/* wrote:

 Hi Justin ,
 Thanks for finding that , we are in the process of building the
 site.

 Thanks
 Deepal
 
  Hi,
 
  I’d like to get the 1.3 release. The link on your website seems
 to be
  temporarily broken:
 
  http://ws.apache.org/axis2/download/1_3/download.cgi
 
  Please let me know how I can get it (release tag for
 subversion will
  work for me just fine).
 
  Thanks much.
 
  --
 
  Justin Permar
 
  Research Programmer
 
  Department of Biomedical Informatics
 
  The Ohio State University
 



 -
 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: 1.3 release link broken

2007-08-13 Thread Rupal Soni
Thanks Deepal. The links to download (e.g ZIP) are not working  on this page.

Deepal jayasinghe [EMAIL PROTECTED] wrote:  please use
http://ws.apache.org/axis2/download/1_3/download.html

Thanks
Deepal
 Hi Deepal,
 Do we know how long can that take. or is there any other alternative
 to download 1.3 version.

 */Deepal jayasinghe /* wrote:

 Hi Justin ,
 Thanks for finding that , we are in the process of building the site.

 Thanks
 Deepal
 
  Hi,
 
  I’d like to get the 1.3 release. The link on your website seems
 to be
  temporarily broken:
 
  http://ws.apache.org/axis2/download/1_3/download.cgi
 
  Please let me know how I can get it (release tag for subversion will
  work for me just fine).
 
  Thanks much.
 
  --
 
  Justin Permar
 
  Research Programmer
 
  Department of Biomedical Informatics
 
  The Ohio State University
 


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



   
-
Need a vacation? Get great deals to amazing places on Yahoo! Travel. 

[AXIS2] Which axis2 1.3 jars to bundle

2007-08-13 Thread Pantvaidya, Vishwajit
Forwarding with [AXIS2] prefix and some updates.

 

I added the following jars:

- axis2-kernel-1.3.jar, axis2-ant-plugin-1.3.jar, axis2-codegen-1.3.jar,
axis2-mtompolicy-1.3.jar, axis2-LICENSE.txt

- activation, commons-codec-1.3.jar, commons-httpclient-3.0.1.jar,
logging and xbean2.2.0 jars

 

What are the following jars for / Do I need them:

- annogen-0.1.0.jar

- axis2-metadata-1.3.jar

- commons-fileupload-1.1.1.jar

- commons-io-1.2.jar

- httpcore-4.0-alpha5.jar

- mex-impl-1.3.jar

 

I did not add wsdl4j-1.6.2.jar, my impression being the
axis2-codegen-1.3 and axis2-ant-plugin jars should be sufficient to add
a wsdl2java task in my buildfile. Is that accurate?

 

 

 



From: Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 10, 2007 2:52 PM
To: axis-user@ws.apache.org
Subject: Which axis 1.3 jars to bundle

 

I am migrating my tomcat based axis1 service to axis2. The axis1 service
used the minimal axis content in an exploded format. So we just had the
axis.jar and axis-ant jars and any dependent jars in the classpath with
the requisite servlet definitions in the web.xml file.

 

With axis2, I see a whole lot of additional jars. Some of those I can
easily discard - but others are questionable. What is the minimal set of
jars to include for migrating the older service and adding MTOM
functionality in the newer service after migration. Is there an axis
dependencies list somewhere that will help me figure out the dependent
jars for my usage?

 

 

 

 



RE: [AXIS2] Which axis2 1.3 jars to bundle

2007-08-13 Thread Pantvaidya, Vishwajit
Saw that doc says codegen also needs wsdl4j-1.6.2 and stax-api jar.
Added them as well.

 



From: Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 13, 2007 10:48 AM
To: axis-user@ws.apache.org
Subject: [AXIS2] Which axis2 1.3 jars to bundle

 

Forwarding with [AXIS2] prefix and some updates.

 

I added the following jars:

- axis2-kernel-1.3.jar, axis2-ant-plugin-1.3.jar, axis2-codegen-1.3.jar,
axis2-mtompolicy-1.3.jar, axis2-LICENSE.txt

- activation, commons-codec-1.3.jar, commons-httpclient-3.0.1.jar,
logging and xbean2.2.0 jars

 

What are the following jars for / Do I need them:

- annogen-0.1.0.jar

- axis2-metadata-1.3.jar

- commons-fileupload-1.1.1.jar

- commons-io-1.2.jar

- httpcore-4.0-alpha5.jar

- mex-impl-1.3.jar

 

I did not add wsdl4j-1.6.2.jar, my impression being the
axis2-codegen-1.3 and axis2-ant-plugin jars should be sufficient to add
a wsdl2java task in my buildfile. Is that accurate?

 

 

 



From: Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 10, 2007 2:52 PM
To: axis-user@ws.apache.org
Subject: Which axis 1.3 jars to bundle

 

I am migrating my tomcat based axis1 service to axis2. The axis1 service
used the minimal axis content in an exploded format. So we just had the
axis.jar and axis-ant jars and any dependent jars in the classpath with
the requisite servlet definitions in the web.xml file.

 

With axis2, I see a whole lot of additional jars. Some of those I can
easily discard - but others are questionable. What is the minimal set of
jars to include for migrating the older service and adding MTOM
functionality in the newer service after migration. Is there an axis
dependencies list somewhere that will help me figure out the dependent
jars for my usage?

 

 

 

 



Axis1.4 client hiting an Axis 2.0 service

2007-08-13 Thread Kandalam, Anjana
Hi,

 

I am using Axis1.4 client to hit an Axis2.0 webservice. I am getting a file
not found exception for the service. I have not upgraded to wsdl2.0. Is this
valid??

 

 

Anjana Kandalam 
Private Client Group - AIG 
Work: 908-679-2608 
Cell: 908-596-0424 

 



Michael Rheinheimer/Austin/IBM is out of the office.

2007-08-13 Thread Michael Rheinheimer

I will be out of the office starting  08/13/2007 and will not return until
08/22/2007.

I'm on paternity leave.

If you need to reach me immediately, please try my personal cell phone at
512-797-6788.

You may also contact Carlton Mason or Ann Robinson, who both know my
backups for all related projects.

Thanks.
Mike

Re: 1.3 release link broken

2007-08-13 Thread Rupal Soni
Hi,
The links for downloading the Code Generator Wizard MyEclipse Plug 
in(http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/tools/1_3/axis2-eclipse-codegen-wizard-1.3.zip)
 and Service archive Wizard dont work. I do have the plug in directories from 
previous releases. Should it be safe to use those?

Deepal Jayasinghe [EMAIL PROTECTED] wrote:
  Try the following

http://www.apache.org/dist/ws/axis2/1_3/

Note : it takes at least two hours to update the web site.

Thanks
Deepal

David Robertson wrote:
 Hi Deepal,

 The links off of that page don't work yet.

 -David Robertson

 Deepal jayasinghe wrote:
 please use
 http://ws.apache.org/axis2/download/1_3/download.html

 Thanks
 Deepal
 
 Hi Deepal,
 Do we know how long can that take. or is there any other alternative
 to download 1.3 version.

 */Deepal jayasinghe /* wrote:

 Hi Justin ,
 Thanks for finding that , we are in the process of building the
 site.

 Thanks
 Deepal
 
  Hi,
 
  I’d like to get the 1.3 release. The link on your website seems
 to be
  temporarily broken:
 
  http://ws.apache.org/axis2/download/1_3/download.cgi
 
  Please let me know how I can get it (release tag for
 subversion will
  work for me just fine).
 
  Thanks much.
 
  --
 
  Justin Permar
 
  Research Programmer
 
  Department of Biomedical Informatics
 
  The Ohio State University
 


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



   
-
Got a little couch potato? 
Check out fun summer activities for kids.

RE: [Axis2][VOTE]Axis2 1.3 release artifacts (#take3)

2007-08-13 Thread Raghu Upadhyayula
+1

Thanks
Raghu

-Original Message-
From: Ruchith Fernando [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 12, 2007 6:51 PM
To: axis-user@ws.apache.org
Cc: [EMAIL PROTECTED]
Subject: Re: [Axis2][VOTE]Axis2 1.3 release artifacts (#take3)

+1

Thanks,
Ruchith

On 8/10/07, Deepal jayasinghe [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi all,

 I have uploaded Axis2 1.3 (take3) into my Apache home location [1]
 again . As a result of we found a few issues in 1.3 take2 I had to
 upload the artifacts again and call for a new vote. I will keep open
 the vote for 72 hrs from now and will do the Axis2 1.3 release on
 Monday 13th Aug 2007.

 You can find both IntelliJ idea and Eclipse plugin artifacts in the
 tools folder [2]

 Please try to cover the following areas when testing.
 - - Code generation
 - - Sessions
 - - Web application
 - - In different application servers
 - - Both JDK 1.5 and JDK 1.4
 - - Java2WSDL
 - - POJOs
 - - And whatever the JIRA we have marked as fixed.

 You can find maven2 repository under my home directory as well [3]. I
 have host the web site for 1.3 in [4] please have a look at that as
well

 I will do the final release on Friday (10th Aug 2007), here is my +1
 for the release date as well as for release artifacts.


 [1] : http://people.apache.org/~deepal/axis2/1.3-take3/
 [2] : http://www-lk.wso2.com/~deepal/1.3-tools/
 [3] : http://people.apache.org/~deepal/axis2/1.3-take3/m2-repo/
 [4] : http://www-lk.wso2.com/~deepal/axis2/


 P.S : Please note that I need to have two more PMC vote to go ahead
 with the release, so please give us the support by voting for the
release.


 Thanks
 Deepal
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.2 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFGvFhvjOGcXNDx0CARAh+4AJ49M1d86/v39C6Z0WnMcxsK5RgF3QCdGD8d
 43gXJ+tvuyHhc/nI1t1u1fw=
 =sqos
 -END PGP SIGNATURE-


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




-- 
www.ruchith.org
www.wso2.org

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



[Axis2]: Problems invoking ServiceClient

2007-08-13 Thread trevor.baden
 
Hi, 

 

I'm basically following the examples given in the userguide, however, it is 
failing with the following stack trace:

 

java.lang.ExceptionInInitializerError

  at 
org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:86)

  at 
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:58)

  at 
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:690)

  at 
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:109)

  at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:61)

  at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:180)

  at 
org.apache.axis2.client.ServiceClient.initializeTransports(ServiceClient.java:189)

  at 
org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:118)

  at org.apache.axis2.client.ServiceClient.init(ServiceClient.java:114)

  at org.apache.axis2.client.ServiceClient.init(ServiceClient.java:207)

 

Any help would be appreciated. 

 

Regards, 

 

Trevor


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



Re: exceptions on init

2007-08-13 Thread Jorge Fernandez
JIRA 3120 created.

Thanks,

Jorge Fernández


Deepal jayasinghe [EMAIL PROTECTED] escribió: hi Jorge ,
Unfortunately no way to do that. Please create a JIRA so that we can fix
that for 1.4 release.

Thanks
Deepal
 Hi again,

 I saw that DependencyManager.initServiceClass is the method that calls
 init
 and all it does with exception is logging them. Is there any way for
 me to destroy the session when an exception was thrown??

 Thanks,

 Jorge Fernández



 */Jorge Fernandez /* escribió:

 Hi,

 Can anybody tell me how can I stop service invocation when I get
 an exception in init method?

 Thanks,

 Jorge Fernández


 

 Sé un Mejor Amante del Cine
 ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
 .


 

 Sé un Mejor Amante del Cine
 ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
 .



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



   
-

Sé un Mejor Viajero
¿Quieres saber cómo? ¡Deja que otras personas te ayuden! .


RE: null values in attributes (hierarchies with ADB)

2007-08-13 Thread Jorge Fernandez
Hola Martin,

See you're back.

I meant setting the whole array to null. When setting one of the elements, 
there's no problem.

For example, If I have a class disc and a class discography that has an array 
of discs as attribute, I can perfectly set any of the components to null.

Also if I set the array to null doing setDiscs(null), there is no problem. The 
element is generated in the message. If I don't call setDiscs(), the element 
will be generated anyway.

But if I create a class Elvis that extends discography and I don't call 
setDiscs(), the element won't be generated in the message. If instead I call 
setDiscs(null), the element will be generated.

It works anyway but the behaviour is different. 
 If element is generated, the client will interpret that discs has one 
component that is null discs[0]=null.
If element is not generated, the client will interpret that discs=null. 

I thought that the correct behaviour should be the second: as the whole array 
is null, it won't generate any element in the message for that and the client 
will interpret that the array is null. Or in the second case, in spite of 
generating the element in the message, the client should interpret that the 
array is null

Thanks,

Jorge Fernández

Martin Gainty [EMAIL PROTECTED] escribió: Jorge

Looking for specifics on what you mean by setting it
do you mean setting the array to null or one of the elements in the array?

NULL is a representation of an uninitialised object
the treatment of this uninitialised object is language dependent
that said

an Array of NULL objects is an allocated array object of uninitialised empty 
objects

so..a java.lang.Arrays is an *allocated object*( which is represented by the 
Javadoc available here
http://java.sun.com/j2se/1.5.0/docs/api/

To add more even more confusion Arrays of primitive types (ints/chars) are 
different than arrays of Objects which are pre-allocated entities
http://java.sun.com/docs/books/jni/html/objtypes.html

An Array of primitive types allocation is dependent on the number of 
elements
BUT
any array of pre-defined size is allocated
http://java.sun.com/docs/books/jni/html/objtypes.html

In JavaScript world the treatment of Arrays is even dependent on the browser 
JavaScript version
e.g.
Mozilla JavaScript1.2 converts an Array object to its length. Mozilla 
JavaScript1.1, JavaScript1.3-JavaScript1.5 converts an empty Array to 0

HTH/
Martin Gainty

__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official 
business of Sender. This transmission is of a confidential nature and Sender 
does not endorse distribution to any party other than intended recipient. 
Sender does not necessarily endorse content contained within this 
transmission.
(mobile) 001-603-438-5053





From: Jorge Fernandez 
Reply-To: [EMAIL PROTECTED]
To: axis-user 
Subject: null values in attributes (hierarchies with ADB)
Date: Mon, 13 Aug 2007 15:40:56 +0200 (CEST)
MIME-Version: 1.0
Received: from mail.apache.org ([140.211.11.2]) by 
bay0-mc3-f7.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 13 
Aug 2007 06:41:37 -0700
Received: (qmail 48452 invoked by uid 500); 13 Aug 2007 13:41:28 -
Received: (qmail 48441 invoked by uid 99); 13 Aug 2007 13:41:28 -
Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 06:41:28 -0700
Received: pass (nike.apache.org: local policy includes SPF record at 
spf.trusted-forwarder.org)
Received: from [217.12.10.88] (HELO web26014.mail.ukl.yahoo.com) 
(217.12.10.88)by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Aug 2007 
13:41:29 +
Received: (qmail 60995 invoked by uid 60001); 13 Aug 2007 13:40:56 -
Received: from [84.78.70.217] by web26014.mail.ukl.yahoo.com via HTTP; Mon, 
13 Aug 2007 15:40:56 CEST
X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
X-Message-Info: 
JGTYoYF78jFqB8E5WzR+LBEQqsj3ei+0NzvpxfbZZbvfB0Vjt9AshFgkMxyC89WmXeUfrIBu53/rR/Zl+gqTSQ==
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
list-help: 
list-unsubscribe: 
List-Post: 
List-Id: 
Delivered-To: mailing list axis-user@ws.apache.org
X-ASF-Spam-Status: No, hits=2.0 required=10.0tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;  s=s1024; d=yahoo.es;  
h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
 
  
b=lnJ74kNrTOROD2njDRpji0jNo8OZWrU5oCV3tSKXUZrfal8CQXF5N+gzoV1nyau8D5f9B0mnDBhDzATJdaAcYEYA9CfZVpwW98NSRVgQygXyctAO1r5iSsmGEyPR5TLY5mrVmDER4TXXKFwkYbjPfkY2xdHrNIDlilnj9LUIggE=;
X-YMail-OSG: 
vQKm5F4VM1knWHtvn4kWcv8_Dn.NmjPxLEPTi601c2yv_cDT5.jefOVFTR38konOQg--
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 13 Aug 2007 13:41:37.0072 (UTC) 
FILETIME=[AB903B00:01C7DDAF]

Hi,

I'm observing that when I 

Re: Parsing Error

2007-08-13 Thread New AxisU
Thanks Keith,

I am not able to see this URL from work, but I will try it from home.


On 8/13/07, keith chapman [EMAIL PROTECTED] wrote:
 You might wanna try this tool available at
 http://tools.wso2.org:19762/wservices/AarValidatorXSL/
  that helps validate your services.xml and your service archive. Its hosted
 by WSO2.

 Thanks,
 Keith.

 On 8/13/07, New AxisU [EMAIL PROTECTED] wrote:
 
  Can anyone tell me which file is bad from looking at this?  I'm thinking
  services.xml but I don't see anything wrong with it.  This output comes
  from asking axis2 about the services that are deployed and it doesn't like
  one of them and when you click on the link you get
 
  Error: org.apache.axis2.deployment.DeploymentException:
  com.ctc.wstx.exc.WstxParsingException: Unexpected close tag ; expected .
  at [row,col {unknown-source}]: [13,9] at
 
 org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(
  ArchiveReader.java:144) at
 
 org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:78)
  at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(
  DeploymentFileData.java:137) at
  org.apache.axis2.deployment.DeploymentEngine.doDeploy (
  DeploymentEngine.java:551) at
  org.apache.axis2.deployment.repository.util.WSInfoList.update(
  WSInfoList.java:135) at
  org.apache.axis2.deployment.RepositoryListener.update(
  RepositoryListener.java:318) at
  org.apache.axis2.deployment.RepositoryListener.checkServices (
  RepositoryListener.java:220) at
  org.apache.axis2.deployment.DeploymentEngine.loadServices(
  DeploymentEngine.java:116) at
  org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(
  WarBasedAxisConfigurator.java:271) at
 
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
  (ConfigurationContextFactory.java:78) at
  org.apache.axis2.transport.http.AxisServlet.initConfigContext(
  AxisServlet.java:494) at org.apache.axis2.transport.http.AxisServlet.init(
  AxisServlet.java:414) at
 
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
  at org.apache.catalina.core.StandardContext.loadOnStartup (
  StandardContext.java:3956) at
  org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
  at org.apache.catalina.core.ContainerBase.addChildInternal(
  ContainerBase.java:760) at
 org.apache.catalina.core.ContainerBase.addChild(
  ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(
  StandardHost.java:544) at
 
 org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
  at org.apache.catalina.startup.HostConfig.deployDirectories (
  HostConfig.java:883) at org.apache.catalina.startup.HostConfig.deployApps(
  HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(
  HostConfig.java:1138) at
  org.apache.catalina.startup.HostConfig.lifecycleEvent
 (HostConfig.java:311)
  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
  LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start
  (ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start (
  StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(
  ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(
  StandardEngine.java:443) at
 org.apache.catalina.core.StandardService.start(
  StandardService.java:448) at org.apache.catalina.core.StandardServer.start
  (StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(
  Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
  Method) at sun.reflect.NativeMethodAccessorImpl.invoke(
  NativeMethodAccessorImpl.java:39) at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(
  DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(
  Method.java:597) at org.apache.catalina.startup.Bootstrap.start(
  Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(
  Bootstrap.java:433) Caused by: org.apache.axiom.om.OMException:
  com.ctc.wstx.exc.WstxParsingException: Unexpected close tag ; expected .
  at [row,col {unknown-source}]: [13,9] at
 
 org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:239)
  at org.apache.axiom.om.impl.llom.OMNodeImpl.build(OMNodeImpl.java:318) at
  org.apache.axiom.om.impl.llom.OMElementImpl.build (OMElementImpl.java:614)
  at org.apache.axis2.deployment.DescriptionBuilder.buildOM(
  DescriptionBuilder.java:97) at
 
 org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup
  (ArchiveReader.java:70) at
 
 org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(
  ArchiveReader.java:137) ... 37 more Caused by:
  com.ctc.wstx.exc.WstxParsingException: Unexpected close tag ; expected .
  at [row,col {unknown-source}]: [13,9] at
 
 com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605)
 at
  

Problems with sendReceiveNonBlocking - NullPointerException

2007-08-13 Thread Andi Waltl
Hi, 

i have a problem with an asynchronous call with two connections. 

My Client looks like this: 
... 
configurationContext = ConfigurationContextFactory
.createConfigurationContextFromFileSystem(repositoryPath, axis2xml); 
serviceClient = new ServiceClient(configurationContext, null); 

serviceClient.engageModule(new QName(
org.apache.axis2.Constants.MODULE_ADDRESSING)); 



 

Options options = new Options(); 
options.setTo(endpointReference); 
options.setUseSeparateListener(true); 
options.setTransportInProtocol(http); 
options.setAction(urn:listenForValues); 
serviceClient.setOptions(options); 


Callback callback = new Callback() { 
public void onComplete(AsyncResult result) { 
System.out .println([WebServiceClient] Receiving…:\n 
+ result.getResponseEnvelope().getBody() 
.getFirstElement()); 
} 
public void onError(Exception e) { 
e.printStackTrace(); 

} 
}; 
OMFactory factory = OMAbstractFactory.getOMFactory(); 
serviceClient.sendReceiveNonBlocking( 
createDummyOMElement(myElement), callback); 

public static OMElement createDummyOMElement(String opName) { 
OMFactory fac = OMAbstractFactory.getOMFactory(); 
OMNamespace omNs = fac.createOMNamespace(http://myns.de;, ns1); 
OMElement method = fac.createOMElement(opName, omNs); 
OMElement value = fac.createOMElement(myValue, omNs); 
value.addChild(fac.createOMText(value, Hello again)); 
method.addChild(value); 
return method; 
} 

Okay, now a service is called and i can watch the first interaction in tcp
monitor with an empty http response body. 

Until now, everything seems to be as it should.
Then my client is starting a SimpleHttpServer on port 8088 (configured in
axis2.xml). 

Then my Service is invoked: 

public OMElement listenForValues(OMElement listenForValuesRequest) { 
return getTestReply(); 

} 

private static OMElement getTestReply() { 
OMFactory factory = OMAbstractFactory.getOMFactory(); 
OMElement element = factory.createOMElement(new QName(testElement)); 
element.setText(TestContent); 
return element; 
} 

And before the service sends a response, an exception is thrown: 
Exception in thread Axis2 Task java.lang.NullPointerException 
at
org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleResult(
AbstractInOutAsyncMessageReceiver.java:39) 
at
org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractI
nOutAsyncMessageReceiver.java:67) 
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
Task(ThreadPoolExecutor.java:665) 
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:690) 
at java.lang.Thread.run(Unknown Source) 

I don´t know what i am doing wrong and unfortunately spent lots of hours on 
this problem. My service is, of course, configured with a
RawXMLINOutAsyncMessageReceiver. But the service itself sends no answer to
the 
callback handler in a second connection. 

Any ideas to solve the problem? 

Thanks in advance! 
Andi



Illegal argument exception Local part can not be null when creating QName

2007-08-13 Thread John Joseph
Hi,
I am new to Axis. I reaaly appreciate if some one can tell me what am I doing 
wrong here!

I get the following error when I deploy the web service using ant task 
axis-admin. Created the wsdd using wdsl2java. I have attached my wsdl too.

C:\Program Files\Active Endpoints\ActiveBPEL Designer\Server\ActiveBPEL_Tomcat\w
ebapps\SampleServiceant deploy
Buildfile: build.xml
deploy:
[axis-admin] - Unable to find required classes (javax.activation.DataHandler and
 javax.mail.internet.MimeMultipart). Attachment support is disabled.
[axis-admin] Processing file C:\Program Files\Active Endpoints\ActiveBPEL Design
er\Server\ActiveBPEL_Tomcat\webapps\SampleService\WEB-INF\classes\com\localhost\
ss\deploy.wsdd
[axis-admin] AxisFault
[axis-admin]  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userE
xception
[axis-admin]  faultSubcode:
[axis-admin]  faultString: java.lang.IllegalArgumentException: local part cannot
 be quot;nullquot; when creating a QName
[axis-admin]  faultActor:
[axis-admin]  faultNode:
[axis-admin]  faultDetail:
[axis-admin]{http://xml.apache.org/axis/}hostname:JoyJoseph
[axis-admin] Running axis-admin with parameters:
[axis-admin]   action:
[axis-admin]   url:http://localhost:8080/active-bpel/servlet/AxisServlet
[axis-admin]   hostname:null
[axis-admin]   port:0
[axis-admin]   servletPath:null
[axis-admin]   fileProtocol:null
[axis-admin]   username:null
[axis-admin]   password:null
[axis-admin]   transportChain:null
[axis-admin]   debug:false

WSDL

?xml version=1.0 encoding=UTF-8?
wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; 
xmlns:tns=http://localhost/ss/; 
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; name=SampleService
targetNamespace=http://localhost/ss/;
wsdl:types
xsd:schema targetNamespace=http://localhost/ss/;
xsd:element name=concatRequest
xsd:complexType
xsd:sequence
xsd:element name=s1 type=xsd:string/xsd:element
xsd:element name=s2 type=xsd:string/xsd:element
/xsd:sequence
/xsd:complexType
/xsd:element
/xsd:schema
/wsdl:types
wsdl:message name=concatRequest
wsdl:part element=tns:concatRequest name=concatRequest/
/wsdl:message
wsdl:message name=concatResponse
wsdl:part type=xsd:string name=concatResponse /
/wsdl:message
wsdl:portType name=SampleService
wsdl:operation name=concat
wsdl:input message=tns:concatRequest/
wsdl:output message=tns:concatResponse/
/wsdl:operation
/wsdl:portType
wsdl:binding name=SampleServiceSOAP type=tns:SampleService
soap:binding style=document 
transport=http://schemas.xmlsoap.org/soap/http/
wsdl:operation name=concat
soap:operation soapAction=http://localhost/ss/concat/
wsdl:input
soap:body parts=concatRequest use=literal/
/wsdl:input
wsdl:output
soap:body parts=concatResponse use=literal/
/wsdl:output
/wsdl:operation
/wsdl:binding
wsdl:service name=SampleService
wsdl:port binding=tns:SampleServiceSOAP name=SampleServiceSOAP
soap:address 
location=http://localhost:8080/active-bpel/services/SampleServiceSOAP/
/wsdl:port
/wsdl:service
/wsdl:definitions

Thanks,
John


   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 

[Axis 2] version 1.3

2007-08-13 Thread Rupal Soni
Is there any documentation on how to build Axis webservice and client in 
MyEclipse 5.5.1 version? I dont want to use ant or maven for my build purpose. 
What is the other way to build axis service and client in MyEclipse environment.
   
   

   
-
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, 
when. 

Re: [AXIS2] Which axis2 1.3 jars to bundle

2007-08-13 Thread Chad La Joie
The following is just a guess from personal experience.  Hopefully some 
of the Axis developers will confirm or correct.


Pantvaidya, Vishwajit wrote:

What are the following jars for / Do I need them:

- annogen-0.1.0.jar


Used for code generation. Probably used, at least, in JSR-181 support on 
client and server side.  Only needed if you're using JSR-181.



- axis2-metadata-1.3.jar


Used in WS-MetadataExchange (MeX) support on both client and server 
side.  Only needed if you're using MeX.



- commons-fileupload-1.1.1.jar


Used for handling multi-part MIME HTTP POSTs.  Probably just needed on 
the server side.



- commons-io-1.2.jar


Helper library for IO abstractions and operations.  Probably needed at 
both the client and server.



- httpcore-4.0-alpha5.jar


HTTP server support for standalone Axis server.  Probably don't need if 
you're embedding the server and probably never on the client.



- mex-impl-1.3.jar


Used in WS-MetadataExchange (MEX) support on both client and server 
side.  Only needed if you're using MeX.


--
Chad La Joie 2052-C Harris Bldg
OIS-Middleware   202.687.0124

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



[RAMPART] Unable to load rampart-1.2-mar in Axis2-1.3

2007-08-13 Thread Alberto Patino
Hello!

I'm trying to run the Rampart 1.2 samples with Axis3 but I got a
service deployment error, if I run the samples with Axis 1.2 there is
no problem.

Also, I tried to download rampart-1.3 module but the link is broken



INFO: Deploying web application archive axis2.war
[INFO] Deploying module: addressing-1.3
[INFO] Deploying module: script-1.3
[INFO] Deploying module: ping-1.3
[INFO] Deploying module: soapmonitor-1.3
[INFO] Deploying module: metadataExchange-1.3
[INFO] script module activated
[INFO] Deploying Web service: version-1.3.aar
Aug 13, 2007 4:46:59 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 13, 2007 4:46:59 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 13, 2007 4:46:59 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/234  config=null
Aug 13, 2007 4:46:59 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 13, 2007 4:46:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6984 ms
org.apache.axis2.deployment.DeploymentException: The rampart module is
not valid or has not been deployed.
 at 
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:144)
at 
org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:78)
at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:137)
at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:571)
at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:141)
at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:318)
at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:220)
at 
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:312)
at 
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:64)
at 
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:71)
at 
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:83)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)


Do I need to wait for the rampart 1.3 release?


Thanks

-- 
Don't be evil!!!

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



Re: [Axis 2] version 1.3

2007-08-13 Thread keith chapman
You can use the eclipse plugins available at
http://ws.apache.org/axis2/tools/index.html to code generate your service
and clients. Each plugin has documentation to go with it available at

http://ws.apache.org/axis2/tools/1_3/eclipse/servicearchiver-plugin.html
http://ws.apache.org/axis2/tools/1_3/eclipse/wsdl2java-plugin.html

Thanks,
Keith.

On 8/14/07, Rupal Soni [EMAIL PROTECTED] wrote:

 Is there any documentation on how to build Axis webservice and client in
 MyEclipse 5.5.1 version? I dont want to use ant or maven for my build
 purpose. What is the other way to build axis service and client in MyEclipse
 environment.



 --
 Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge
 http://us.rd.yahoo.com/evt=47093/*http://tv.yahoo.com/collections/222to
 see what's on, when.




-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/


Re: [RAMPART] Unable to load rampart-1.2-mar in Axis2-1.3

2007-08-13 Thread Ruchith Fernando
Please try the rampart-1.29.mar available in Rampart-1.3-RC1 ...
IMPORTANT - rampart-1.29.mar is not an official release!

Thanks,
Ruchith

On 8/14/07, Alberto Patino [EMAIL PROTECTED] wrote:
 Hello!

 I'm trying to run the Rampart 1.2 samples with Axis3 but I got a
 service deployment error, if I run the samples with Axis 1.2 there is
 no problem.

 Also, I tried to download rampart-1.3 module but the link is broken



 INFO: Deploying web application archive axis2.war
 [INFO] Deploying module: addressing-1.3
 [INFO] Deploying module: script-1.3
 [INFO] Deploying module: ping-1.3
 [INFO] Deploying module: soapmonitor-1.3
 [INFO] Deploying module: metadataExchange-1.3
 [INFO] script module activated
 [INFO] Deploying Web service: version-1.3.aar
 Aug 13, 2007 4:46:59 PM org.apache.coyote.http11.Http11BaseProtocol start
 INFO: Starting Coyote HTTP/1.1 on http-8080
 Aug 13, 2007 4:46:59 PM org.apache.jk.common.ChannelSocket init
 INFO: JK: ajp13 listening on /0.0.0.0:8009
 Aug 13, 2007 4:46:59 PM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=0/234  config=null
 Aug 13, 2007 4:46:59 PM org.apache.catalina.storeconfig.StoreLoader load
 INFO: Find registry server-registry.xml at classpath resource
 Aug 13, 2007 4:46:59 PM org.apache.catalina.startup.Catalina start
 INFO: Server startup in 6984 ms
 org.apache.axis2.deployment.DeploymentException: The rampart module is
 not valid or has not been deployed.
  at 
 org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:144)
 at 
 org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:78)
 at 
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:137)
 at 
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:571)
 at 
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:141)
 at 
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:318)
 at 
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:220)
 at 
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:312)
 at 
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:64)
 at 
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:71)
 at 
 org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:83)
 at java.util.TimerThread.mainLoop(Timer.java:512)
 at java.util.TimerThread.run(Timer.java:462)


 Do I need to wait for the rampart 1.3 release?


 Thanks

 --
 Don't be evil!!!

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




-- 
www.ruchith.org
www.wso2.org

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



Re: [Axis 2] version 1.3

2007-08-13 Thread Lahiru Sandakith
As mentioned in the documentation the plugins can be installed  in eclipse
3.1.x higher core versions. I believe that the version of the MyEclipse
5.5.1 uses the Eclipse Core 3.2.2 so just dropping the plugins in to the
eclipse_home/plugins directory will enable you to use them.

Thanks
Lahiru

On 8/14/07, keith chapman [EMAIL PROTECTED] wrote:

 You can use the eclipse plugins available at
 http://ws.apache.org/axis2/tools/index.html to code generate your service
 and clients. Each plugin has documentation to go with it available at

 http://ws.apache.org/axis2/tools/1_3/eclipse/servicearchiver-plugin.html
 http://ws.apache.org/axis2/tools/1_3/eclipse/wsdl2java-plugin.html

 Thanks,
 Keith.

 On 8/14/07, Rupal Soni  [EMAIL PROTECTED] wrote:
 
  Is there any documentation on how to build Axis webservice and client in
  MyEclipse 5.5.1 version? I dont want to use ant or maven for my build
  purpose. What is the other way to build axis service and client in MyEclipse
  environment.
 
 
 
  --
  Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge
  http://us.rd.yahoo.com/evt=47093/*http://tv.yahoo.com/collections/222to
  see what's on, when.
 
 


 --
 Keith Chapman
 WSO2 Inc.
 Oxygen for Web Services Developers.
 http://wso2.org/




-- 
Thanks
Lahiru Sandakith

http://sandakith.wordpress.com/
GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F


[Axis2] SAML security tokens generation

2007-08-13 Thread Christina Larocca
Hi all Axis2 users:

I have been managing some web services using UsernameTokens (without using
rampart) to convey identities. I've a client that connects to a Token issuer
service that provides it an EndpointReference and the Username token needed
to authenticate. Now I must remodelate the security of the whole model and
instead of that, SAML tokens with encryption of the user name and signature
will be used. The last axis2 version I've been using was the 1.1 and now I'm
thinking about updating to the newest one and start using rampart.

I have read that, unfortunatelly, Rampart itself can't be configured to add
the SAML token to the Security header and that it delegates those functions
to a STS called Rahas. The documentation I found about Rahas is very weak
and despite my experience I don't have a clue about where or how to start.
Could anyone indicate me where to find a good tutorial or use examples? Or,
even better, could anyone show me some code to generate the tokens? If it's
possible, I would prefer to config rahas with code instead of creating text
config files.

Thanks in advance.

Christina.


Re: [Axis2] SAML security tokens generation

2007-08-13 Thread Dimuthu Leelaratne
Hi Christina,

Check the contents under Setting up a Security Token Service
available at [1] if you want to set up Rahas. Another sample is
available at [2].

If you want to supply your own name identifier in the SAML token
please implement the CallbackHanlder like this[3] and specify it in
the saml-config as follows
 
dataCallbackHandlerClassorg.apache.rahas.MySAMLDataProvider/dataCallbackHandlerClass


Whole lot of test cases are available at [4], but I don't know how
reader-friendly they are.

There is also a concept of TokenCallbackHandler. I will check
whether it is possible to add a SAML token using this concept without
using Rahas.

Cheers,
Dimuthu.

[1]http://ws.apache.org/rampart/quick-start.html
[2]https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-samples/policy/sample05/
[3]https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rahas/SAMLDataProvider.java
[3]https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rahas/


On 8/14/07, Christina Larocca [EMAIL PROTECTED] wrote:
 Hi all Axis2 users:

 I have been managing some web services using UsernameTokens (without using
 rampart) to convey identities. I've a client that connects to a Token issuer
 service that provides it an EndpointReference and the Username token needed
 to authenticate. Now I must remodelate the security of the whole model and
 instead of that, SAML tokens with encryption of the user name and signature
 will be used. The last axis2 version I've been using was the 1.1 and now I'm
 thinking about updating to the newest one and start using rampart.

 I have read that, unfortunatelly, Rampart itself can't be configured to add
 the SAML token to the Security header and that it delegates those functions
 to a STS called Rahas. The documentation I found about Rahas is very weak
 and despite my experience I don't have a clue about where or how to start.
 Could anyone indicate me where to find a good tutorial or use examples? Or,
 even better, could anyone show me some code to generate the tokens? If it's
 possible, I would prefer to config rahas with code instead of creating text
 config files.

 Thanks in advance.

 Christina.



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



UDDI v3 useType Deserialization using Axis 1.4

2007-08-13 Thread Shah, Sumit
Hello,

I am trying to de-serialize SOAP response for the Find_binding() API for
UDDI v3. Its failing to deserialize 'useType' attribute of the
'accessPoint' element. 

While trying to get the Type Mapping for 'useType' in
org.apache.axis.encoding.TypeMappingImpl#getTypeQNameExact() it gets the
xmlType QName as '{http://www.w3.org/2000/09/xmldsig#}KeyName' instead
of {urn:uddi-org:api_v3}useType. 

I have tried to register the QName as:

QName v3useTypeQName = new QName(urn:uddi-org:api_v3,useType);

wsifPort.getCall().registerTypeMapping(String.class, v3useTypeQName, new
SimpleSerializerFactory(String.class,v3useTypeQName), new
SimpleDeserializerFactory(String.class,v3useTypeQName));

I am not sure from where and why is it getting xmlType QName as
{http://www.w3.org/2000/09/xmldsig#}KeyName. I would highly appreciate
any help on this. 

Thanks
Sumit

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



Re: Axis1.4 client hiting an Axis 2.0 service

2007-08-13 Thread keith chapman
Axis2 supports both WSDL 1.1 and WSDL 2.0 so not upgrading to WSDL 2.0 is
not a problem. s. Can you be more elaborate as to what your trying to do and
the exception that occur. The StackTrace might be helpful too.

Thanks,
Keith.

On 8/14/07, Kandalam, Anjana [EMAIL PROTECTED] wrote:

  Hi,



 I am using Axis1.4 client to hit an Axis2.0 webservice. I am getting a
 file not found exception for the service. I have not upgraded to wsdl2.0.
 Is this valid??





 Anjana Kandalam
 Private Client Group - AIG
 Work: 908-679-2608
 Cell: 908-596-0424






-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/


Re: passwordCallbackClass

2007-08-13 Thread Dimuthu Leelaratne
Hi Pavan,

As far as I know you cannot completely remove the concept of password
call back handler, if you want to put signature or username token.
However you can programatically create and add RampartConfig. This way
you can get rid of it from the policy.xml file, but still it will
exit.

Regards,
Dimuthu.


On 8/13/07, Pavan Madiraju [EMAIL PROTECTED] wrote:
 Is there any way that we can configure the client and service policy without
 coding the PWCBHandler so that I can keep all the security information in
 the policy.

 ramp:passwordCallbackClass org.apache.rampart.samples
  .policy.sample02.PWCBHandler/ramp:passwordCallbackClass
 

 Can I complete remove :passwordCallbackClass in the client and server ?

 Any ideas ?

 Thanks in Advance,
 Pavan


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



Re: [Axis2] SAML security tokens generation

2007-08-13 Thread Ruchith Fernando
Hi Christina,

Rampart supports adding SAML Tokens to the security header in the
policy based implementation. You can see an example here :

http://marc.info/?l=axis-userm=118665642802630w=2

By the way note that this requires the service to express it
requirements in policy and this sample uses the token acquired from
the Security Token Service to encrypt and sign the message.

I'm not sure what you mean by ...SAML tokens with encryption of the
user name and signature will be used  Please check whether the
above sample fits your requirement.

Thanks,
Ruchith

On 8/14/07, Christina Larocca [EMAIL PROTECTED] wrote:
 Hi all Axis2 users:

 I have been managing some web services using UsernameTokens (without using
 rampart) to convey identities. I've a client that connects to a Token issuer
 service that provides it an EndpointReference and the Username token needed
 to authenticate. Now I must remodelate the security of the whole model and
 instead of that, SAML tokens with encryption of the user name and signature
 will be used. The last axis2 version I've been using was the 1.1 and now I'm
 thinking about updating to the newest one and start using rampart.

 I have read that, unfortunatelly, Rampart itself can't be configured to add
 the SAML token to the Security header and that it delegates those functions
 to a STS called Rahas. The documentation I found about Rahas is very weak
 and despite my experience I don't have a clue about where or how to start.
 Could anyone indicate me where to find a good tutorial or use examples? Or,
 even better, could anyone show me some code to generate the tokens? If it's
 possible, I would prefer to config rahas with code instead of creating text
 config files.

 Thanks in advance.

 Christina.




-- 
www.ruchith.org
www.wso2.org

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



[ANN][Axis2]Axis2 1.3 Released

2007-08-13 Thread Deepal jayasinghe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Just over 4 months since the original 1.2 release, we are very proud
to announce the release of Apache Axis2 version 1.3.

Downloads are available at:
http://ws.apache.org/axis2/download.cgi

Apache Axis2 is a complete re-design and re-write of the widely used
Apache Axis engine and is a more efficient, more scalable, more modular
and more XML-oriented Web services framework. It is carefully designed
to support the easy addition of plug-in modules that extend its
functionality for features such as security and reliability.

Modules supporting WS-Security/Secure-Conversation (Apache Rampart),
WS-Trust (Apache Rahas), WS-Reliable Messaging (Apache Sandesha) and
WS-Eventing (Apache Savan) will be available soon after the Apache
Axis2 1.3 release. Please see these projects' own sites for further
information.

Major Changes Since 1.2:
- - Moved to maven2 from maven1
- - Significantly improved documentation
- - Significantly improved support for POJO services and clients
- - Significantly improved Deployment module and custom deployers
- - Significantly improved support for Spring services
- - Significantly improved Axis Data Binding (ADB) to increase schema
  coverage and overall stability
- - Improved handler and module interfaces
- - Improved Eclipse and Idea plugins
- - Fixed tons of small and not-so-small bugs
- - Major code cleanup and improved exception handling
- - All the asynchronous MessageReceivers have been deprecated
- - Deprecating the introspection to find init()/destroy() methods on
service classes.
- - Deprecated the Callback interface
[http://wiki.apache.org/ws/FrontPage/Axis2/changesfrom1.2to1.3]
- - Added a new phase called Addressing and moved all the addressing
handlers into that phase
- - Name of the wsdl2java generated Exception classes changed.
  Earlier it had the Exception suffix and from Axis2 1.3 it has been
removed
- - Interface changed in ADB Datasource class
- - Classpath module loading support

Known Issues and Limitations in 1.3 Release:
 - Java2WSDL and runtime WSDL generation only support doc-lit/bare and
doc-lit/wrapped
 - Custom deployers only work in file system based repository.
 - POJO does not support HasMap , Hastable and Vectors.
 

Apache Axis2 1.3 is a major new release compared to Axis2 1.2. We are
striving for a simple and happy first time user experience as well as a
satisfying experienced user experience with this release. We welcome any
and all feedback at:
axis-user@ws.apache.org (please include [axis2] in the subject)
[EMAIL PROTECTED] (please include [axis2] in the subject)
http://issues.apache.org/jira/browse/AXIS2

Thank you for your interest in Apache Axis2!

The Axis2 Development Team
http://ws.apache.org/axis2/

-


Features of Apache Axis2:

Programming Model
   - Simple XML-centric client API with full WSDL and policy support
   - Support for easy deployemnt of POJO with or without annotation
   - Support for Spring services and clients
   - Support for any message exchange pattern (MEP)
   - Synchronous and asynchronous programming model (both in client
side and server side)
   - Archived based service deployment model supporting full service
 encapsulation
   - Directory based service deployment support
   - Archived module deployment model supporting controlled
 extensibility with versioning support
   - Hot deployment and Hot update suport for services
   - WS-Policy driven code generation extensions
   - Flexible service life cycle model and session managment
   - Automatic support for POX (REST) style invocation of services
   - Support for querying service's WSDL (with ?wsdl), schema (with
 ?xsd) and policies (with ?policy)
   - Java2WSDL support for both doclit/bare and doclit/wrapped
   - Support for custom deployers
   - Classpath module loading support

Supported Specifications
   - SOAP 1.1 and 1.2
   - Message Transmission Optimization Mechanism (MTOM)
   - XML Optimized Packaging (XOP)
   - SOAP with Attachments
   - WSDL 1.1 and WSDL 2.0, including both SOAP and HTTP bindings
   - WS-Addressing submission and 1.0
   - WS-Policy
   - SAAJ 1.1

Transports
   - HTTP/HTTPS
   - SMTP
   - JMS
   - TCP

Supported Data Bindings
   - Axis Data Binding (ADB)
   - XMLBeans
   - JibX
   - JaxMe (Experimental)
   - JaxBRI (Experimental)

Tools
   - WSDL2Java: Generate Java stubs and skeletons from a WSDL document.
   - Java2WSDL: Generate a WSDL document from a Java class.
   - Eclipse Plugins
   - IntelliJ Idea Plugins
   - Maven2 Plugins
   - Web application for administering Apache Axis2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGwUGCjOGcXNDx0CARAiWUAJ48oq1dh0gyDDpPVRImxRAFbSMVkQCdGVD0
ZT3qzi09JE+PIL8uHrw2WTE=
=gr4M
-END PGP SIGNATURE-