Re: Semantics

2008-10-05 Thread keith chapman
Hi Martin,

Yes WSO2 WSAS http://wso2.org/projects/wsas[1] offers a complete run time
for your web services which needs enterprise capabilities (and is available
under the Apache License). I'm a bit confused on what you observed. If you
look into the bin directory of WSAS http://wso2.org/projects/wsas you
wouldn't see a script called axis2server.bat rather you would see
wso2wsas.bat. May be you missed something?

Thanks,
Keith.

[1] http://wso2.org/projects/wsas

On Sun, Oct 5, 2008 at 1:52 AM, Martin Gainty [EMAIL PROTECTED] wrote:

  Afternoon Keith and Demetris

 I'm excited about having an all inclusive environment for configuring and
 deploying webservices
 to accomplish one is a feather in your cap
 to accomplish all capabilities deserves everyone's gratitude

- Full support for WS-Security, WS-Trust, WS-Policy and WS-Secure
Conversation and XKMS
- EJB service provider support - Expose your EJBs as services
- Axis1 backward compatibility - Deploy Axis1 services on WSAS  Engage
advanced WS-* protocols in front of legacy services
- JMX  Web interface based monitoring and management
- WS-*  REST support


 I d/l ed ths distro from http://wso2.org/projects/wsas
 and ran axis2server.bat and see this error

 [ERROR] The rampart-1.3.mar module, which is not valid, caused
 org.apache.rampart.Rampart
 org.apache.axis2.deployment.DeploymentException: org.apache.rampart.Rampart

 org.apache.axis2.deployment.DeploymentException: org.apache.rampart.Rampart
 at org.apache.axis2.AxisFault.init(AxisFault.java:259)
 at
 org.apache.axis2.deployment.DeploymentException.init(DeploymentExcepctio)

 //as a double-check I took a look at module.xml contained within
 rampart-1.3.mar
 module name=rampart class=org.apache.rampart.Rampart

 DescriptionThis module provides the WS-Security and
 WS-SecureConversation
 functionalities for Axis2, based on Apache WSS4J, Apache XML-Security
 and Apache Rahas implementations.
 /Description

 InFlow
 handler name=PolicyBasedSecurityInHandler
 class=org.apache.rampart.handler.RampartReceiver
 order phase=Security phaseFirst=true/
 /handler
 handler name=SecurityInHandler
 class=org.apache.rampart.handler.WSDoAllReceiver
 order phase=Security/
 /handler
 /InFlow

 OutFlow
 handler name=SecurityOutHandler
 class=org.apache.rampart.handler.WSDoAllSender
 order phase=Security/
 /handler
 handler name=PolicyBasedSecurityOutHandler
 class=org.apache.rampart.handler.RampartSender
 order phase=Security phaseLast=true/
 /handler
 /OutFlow
 supported-policy-namespaces namespaces=
 http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/
 local-policy-assertions
 rampart:RampartConfig xmlns:rampart=
 http://ws.apache.org/rampart/policy; /
 /local-policy-assertions
 /module

 seems that none of the classes referenced in module.xml made it into the
 rampart-1.3.mar distro
 ?

 Is there a different mar we can use or are the classes contained in a
 separate jar?

 thanks!
 Martin
 __
 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.


  Date: Sat, 4 Oct 2008 15:15:30 -0400
  From: [EMAIL PROTECTED]
  Subject: Re: Semantics
  To: axis-user@ws.apache.org

 
 
  Hi Keith,
 
  that's awesome. So you are saying that the admin service of WSAS
  allows you to query services
  semantically? I guess you have answered my question, I will need to
  write a service to mediate such
  a procedure. Makes sense.
 
  Thanks
 
  keith chapman wrote:
   You could easily write a service (Sort of a admin service) that can be
   used to query details on services deployed. We do this in WSO2 WSAS
   (Web Services Application Server). http://wso2.org/projects/wsas
  
   Thanks,
   Keith.
  
   [1] http://wso2.org/projects/wsas
  
   On Sat, Oct 4, 2008 at 11:36 AM, Demetris G [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] wrote:
  
  
   Or put in a different way - is the only way to ask for a WSDL from
   an Axis / Axis2
   engine to use a URL with the web service name appended to it? Is
   there anyone
   work or anything done on using semantic matching in Axis itself or
   should a separate
   tool be used?
  
   Thanks much
  
   Demetris G wrote:
  
  
   Hi all,
  
   is there an automated tool you know of that can semantically
   query
   Axis engines for services?
  
   Thanks
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   

Re: Semantics

2008-10-05 Thread keith chapman
The admin services deployed on WSAS http://wso2.org/projects/wsas [1] does
not do what you want at the moment. But you can use the same concept to
write a service that does this. Once you have access to the axis
configuration you basically have all details of services on the server.

Thanks,
Keith.

[1] http://wso2.org/projects/wsas

On Sun, Oct 5, 2008 at 9:48 AM, Demetris G [EMAIL PROTECTED] wrote:


 Keith,

   one more Q - where are the service semantic descriptions stored on the
 side of the services container?
 I am assuming that is what happens - the query arrives at the server, the
 query service handles/matches the
 request, and sends back the WSDL of the deployed service.
 I know how the OWL-S/UDDI combination works so I am wondering if this is a
 similar concept?

 Thanks again

 keith chapman wrote:

 You could easily write a service (Sort of a admin service) that can be
 used to query details on services deployed. We do this in WSO2 WSAS (Web
 Services Application Server). http://wso2.org/projects/wsas

 Thanks,
 Keith.

 [1] http://wso2.org/projects/wsas

 On Sat, Oct 4, 2008 at 11:36 AM, Demetris G [EMAIL PROTECTED]mailto:
 [EMAIL PROTECTED] wrote:


Or put in a different way - is the only way to ask for a WSDL from
an Axis / Axis2
engine to use a URL with the web service name appended to it? Is
there anyone
work or anything done on using semantic matching in Axis itself or
should a separate
tool be used?

Thanks much

Demetris G wrote:


Hi all,

  is there an automated tool you know of that can semantically
query
Axis engines for services?

Thanks



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



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




 --
 Keith Chapman
 Senior Software Engineer
 WSO2 Inc.
 Oxygenating the Web Service Platform.
 http://wso2.org/

 blog: http://www.keith-chapman.org


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




-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org


Re: Web Service Parameters

2008-10-05 Thread keith chapman
On Sun, Oct 5, 2008 at 5:16 AM, Bai Shen [EMAIL PROTECTED] wrote:

 Okay, so I'm working on the tutorial located here.

 Eclipse WTP Tutorials - Creating Top Down Web Service via Apache 
 Axis2http://www.eclipse.org/webtools/community/tutorials/TopDownAxis2WebService/td_tutorial.html

 It uses a parameters object to pass the parameters back and forth.  Is that
 an Axis2 thing?  Or is it just for the example?


Using a Parameters object is not mandatory, you can even pass in the
arguments an individual parameters.



 Also, I want to pass an array of objects to and from my web service.
 What's the best way to do that?  I wasn't able to figure out how to create a
 WSDL handling an array when I was working with the WSDL editor in Eclipse.


Are you tring to use a code first approach or a contract first approach?

You can also have a look at [1], that uses an example where I pass in a
array of strings. But it also uses a parameter object (though its not
mandatory to do so)

Thanks,
Keith.

[1] http://wso2.org/library/3726



 Bai Shen




-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org


Re: Kerberos security support for Axis 2

2008-10-05 Thread Nandana Mihindukulasooriya
Hi Anthony,
 Great work, we will be very happy to integrate Kerberos support to
Apache WSS4J/Rampart. Please do create a JIRA and submit a patch. If you can
help to integrate it to the current that would be awesome.

thanks,
nandana

On Sun, Oct 5, 2008 at 11:09 AM, Anthony Bull [EMAIL PROTECTED]wrote:

 Hi, over the last 6 months I've been working on adding Kerberos
 interoperability to Axis 2 1.3/Rampart 1.3 (and WSS4J).  I've released the
 builds of this and a tutorial so anyone who wants Axis 2 web services with
 Kerberos support can download this and use it - this will help me to test
 the code, so that I can eventually get it re-integrated back into the
 projects codebases for a future release of those projects.

 The tutorial and jar files are at:


 http://thejavamonkey.blogspot.com/2008/09/axis-2-kerberos-web-services-featuring.html

 
 Anthony Bull
 021-303-692
 Codec Software Ltd
 www.codec.co.nz

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




Re: Problem with CDATA tags in SOAP message.

2008-10-05 Thread Vinay Cardoza

Hi,
 This is not a bug. This is due to c14n rules. Please refer to the CDATA
information on this page - http://www.w3.org/TR/xml-c14n.html . 

Regards,
Vinay Cardoza



Vinay Cardoza wrote:
 
 Hi,
  I managed to isolate the problem. The problem vanishes when Rampart
 module is not engaged in axis2.xml. I can get the ![CDATA[ ]] intact. 
 
 However, when I engage the rampart module, the CDATA tag  is removed.
 
 I have used Rampart 1.4 , example 04.
 
 The steps to reproduce is shown below.
 
 1. Download Rampart 1.4 from
 http://mirrors.enquira.co.uk/apache/ws/rampart/1_4/rampart-dist-1.4-bin.zip. 
 2. Extract it to d:\
 3. Ensure AXIS2_HOME is set to Axis2 1.4. Mine is d:\axis2-1.4. Ensure
 ANT_HOME and JAVA_HOME is set.
 4. Open a command prompt. 
 
 prompt cd D:\rampart-1.4\samples\ 
 promptant 
 -The above step will copy the rampart jars to AXIS2_HOME
 installation.
 
 prompt cd D:\rampart-1.4\samples\basic
 prompt ant service.04
 
 5. Edit
 D:\rampart-1.4\samples\basic\sample04\src\org\apache\rampart\samples\sample04\Client.java
 Add the imports.
 
 import org.apache.axiom.om.impl.llom.OMTextImpl;
 import javax.xml.stream.XMLStreamConstants;
 
 In getPayload(), replace  
 
 childElem.setText(value);
 
 with 
 
 OMTextImpl omText = (OMTextImpl)
 childElem.getOMFactory().createOMText(childElem,value,XMLStreamConstants.CDATA);
 
 Save the file.
 
 5. Open another DOS prompt.
 prompt  cd D:\rampart-1.4\samples\basic
 prompt ant client.04
 
 Observe the SOAP request using TCP Monitor. 
 
 soapenv:Body
 xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
 wsu:Id=id-22584918
   ns1:echo
 xmlns:ns1=http://sample04.samples.rampart.apache.org;
 param0Hello world/param0
   /ns1:echo
 /soapenv:Body
 
 The CDATA tag is not present.
 
 6. Edit D:\rampart-1.4\samples\basic\sample04\client.axis2.xml. Remove the
 line  module ref=rampart / and save the file. 
 
 7. Repeat the step 5 and observe the SOAPBody in TCP Monitor.
 
 soapenv:Bodyns1:echo
 xmlns:ns1=http://sample04.samples.rampart.apache.org;
param0![CDATA[Hello world]]/param0
 /ns1:echo/soapenv:Body
 
 The CDATA tag is intact.
 
 Please advice.
 
 Regards,
 Vinay Cardoza
 
 Vinay Cardoza wrote:
 
 Hi Saliya,
  I have also tried Axis 1.4.1 and 1.4. The CDATA is always escaped. If
 you can point where is the Axis2 snapshot is located, then I will try
 that.
 
 Regards,
 Vinay Cardoza
 
 
 Saliya Ekanayake wrote:
 
 Hi,
 
 I tested this using Axis2 nightly build but couldn't recreate your
 issue. I
 mean, it works fine. If you can please try with Axis2 Snapshot.
 
 Thanks,
 Saliya
 
 On Wed, Sep 17, 2008 at 9:03 PM, Vinay Cardoza
 [EMAIL PROTECTED]wrote:
 

 Hi,
I am trying to send a SOAP request using Apache Axis 1.3. An element
 in
 the SOAP body requires the text to be wrapped in CDATA element.

 The code snippet is as follows:

 String stringToBeWrapped = A'B'C'D;

 OMElement elementWhichNeedsCData = ;

 TextImpl omText = (TextImpl)
 bodyElement.getOMFactory().createOMText(stringToBeWrapped);
 omText.setType(XMLStreamConstants.CDATA);
 elementWhichNeedsCData.addChild(omText);

 The code compiles without any problems. However the SOAP request is as
 follows:

 soapenv:Body
 xmlns:wsu=
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
 
 wsu:Id=Id-1129
s1:EdiCustomsDeclaration
 xmlns:s1=http://www.examples.com/schemas/custom/edi/v1;
lt;![CDATA[A'B'C'D]]gt;
/s1:EdiCustomsDeclaration
 /soapenv:Body/soapenv:Envelope

 The CDATA text element has gt; and lt; escape characters.

 When I print the omText value, I can see the CDATA construct intact.
 But
 the
 SOAP message shows something else.

 How do I prevent escape characters from appearing in the CDATA
 construct?
 Please help.

 Regards,
 Vinay Cardoza


 --
 View this message in context:
 http://www.nabble.com/Problem-with-CDATA-tags-in-SOAP-message.-tp19534836p19534836.html
 Sent from the Axis - User mailing list archive at Nabble.com.


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


 
 
 -- 
 Saliya Ekanayake
 http://www.esaliya.blogspot.com
 http://www.esaliya.wordpress.com
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-CDATA-tags-in-SOAP-message.-tp19534836p19823664.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



Re: Axis2 - Inbuilt thread support

2008-10-05 Thread Deepal jayasinghe

 Hi All,
 I'm working on an Axis2 Observer. Currently the process inside the
 'serviceUpdate' call back run synchronously by holding the main
 thread. I want to make that process asynchronous by implementing a
 thread model and handover the process to a worker thread.
 Is there an inbuilt thread model in Axis2 that I can take threads from
 a thread pool and release it back ?
Yes , Axis2 uses inbuilt threading model, as I remember correct it is
called Axis2Worker or something and the thread pool is stored in the
configuration context. If I have a chance to dig into the code I will
send you the exact pointer else , you may have to have a look at in the
code.

Btw , what you have found is very good thing .I never thought about that.

-Deepal
 Regards
 Asanka A.


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




-- 
Thank you!


http://blogs.deepal.org


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



Re: Axis2 - Inbuilt thread support

2008-10-05 Thread Andreas Veithen

ConfigurationContext#getThreadPool().

Andreas

On 5 oct. 08, at 15:58, Deepal jayasinghe wrote:




Hi All,
I'm working on an Axis2 Observer. Currently the process inside the
'serviceUpdate' call back run synchronously by holding the main
thread. I want to make that process asynchronous by implementing a
thread model and handover the process to a worker thread.
Is there an inbuilt thread model in Axis2 that I can take threads  
from

a thread pool and release it back ?

Yes , Axis2 uses inbuilt threading model, as I remember correct it is
called Axis2Worker or something and the thread pool is stored in the
configuration context. If I have a chance to dig into the code I will
send you the exact pointer else , you may have to have a look at in  
the

code.

Btw , what you have found is very good thing .I never thought about  
that.


-Deepal

Regards
Asanka A.


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





--
Thank you!


http://blogs.deepal.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]



RE: Axis2 - Inbuilt thread support

2008-10-05 Thread Martin Gainty

took a quick look at the Axis distros and was only able to see tcp_receiver.c
stub function which creates  a thread ( but I cannot determine where this is 
called or referenced..? )
the call is

axis2_status_t AXIS2_CALL axis2_tcp_server_start(axis2_transport_receiver_t * 
server,const axutil_env_t *env)
{
axis2_tcp_server_impl_t *server_impl = NULL;
axis2_tcp_worker_t *worker = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);

server_impl = AXIS2_INTF_TO_IMPL(server);

//create the Thread and assign to server_impl
server_impl-svr_thread = axis2_tcp_svr_thread_create(env,
  server_impl-port);

any pointers/links/documentation as to how axis2_tcp_server_start is invoked is 
appreciated!
Warm Regards
Martin 
__ 
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. 


 Date: Sun, 5 Oct 2008 09:58:59 -0400
 From: [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Subject: Re: Axis2 - Inbuilt thread support
 
 
  Hi All,
  I'm working on an Axis2 Observer. Currently the process inside the
  'serviceUpdate' call back run synchronously by holding the main
  thread. I want to make that process asynchronous by implementing a
  thread model and handover the process to a worker thread.
  Is there an inbuilt thread model in Axis2 that I can take threads from
  a thread pool and release it back ?
 Yes , Axis2 uses inbuilt threading model, as I remember correct it is
 called Axis2Worker or something and the thread pool is stored in the
 configuration context. If I have a chance to dig into the code I will
 send you the exact pointer else , you may have to have a look at in the
 code.
 
 Btw , what you have found is very good thing .I never thought about that.
 
 -Deepal
  Regards
  Asanka A.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -- 
 Thank you!
 
 
 http://blogs.deepal.org
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/

Re: UDP

2008-10-05 Thread Andreas Veithen
There is an UDP transport implementation in Synapse. It's not yet sure  
whether it will remain in Synapse or move to the new WS-Commons  
transport project (Since I wrote it, I guess it's up to me to  
decide ;-).


Andreas

On 5 oct. 08, at 06:46, Sanjiva Weerawarana wrote:


Igor Nogueira wrote:
Guys, Does Axis2 work over UDP? I'm trying to invoke webservices  
form Jgroups and it's defalut protocol stack works with UDP.


There's no UDP transport around right now but there was some  
interest in it due to the device profile using it too.


Interested in helping write it? Should be straightforward ..

Sanjiva.
--
Sanjiva Weerawarana, Ph.D.
Founder  Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman  CEO; WSO2, Inc.; http://www.wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

Blog: http://sanjiva.weerawarana.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]



Re: UDP

2008-10-05 Thread Sanjiva Weerawarana
Please move it - how does it help to have two implementations of a UDP 
transport? That was the whole point of setting up the common transports 
project and I hope Synapse folks also take that seriously and move 
everything to it .. otherwise its a waste of time really.


Sanjiva.

Andreas Veithen wrote:
There is an UDP transport implementation in Synapse. It's not yet sure 
whether it will remain in Synapse or move to the new WS-Commons 
transport project (Since I wrote it, I guess it's up to me to decide ;-).


Andreas

On 5 oct. 08, at 06:46, Sanjiva Weerawarana wrote:


Igor Nogueira wrote:
Guys, Does Axis2 work over UDP? I'm trying to invoke webservices form 
Jgroups and it's defalut protocol stack works with UDP.


There's no UDP transport around right now but there was some interest 
in it due to the device profile using it too.


Interested in helping write it? Should be straightforward ..

Sanjiva.
--
Sanjiva Weerawarana, Ph.D.
Founder  Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman  CEO; WSO2, Inc.; http://www.wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

Blog: http://sanjiva.weerawarana.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]


--
Sanjiva Weerawarana, Ph.D.
Founder  Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman  CEO; WSO2, Inc.; http://www.wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

Blog: http://sanjiva.weerawarana.org/

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



Re: UDP

2008-10-05 Thread Deepal jayasinghe
Andreas Veithen wrote:
 There is an UDP transport implementation in Synapse. It's not yet sure
 whether it will remain in Synapse or move to the new WS-Commons
 transport project (Since I wrote it, I guess it's up to me to decide ;-).
Well  ,as a community we decide to move all the transport into new
module, so as a member of the community you have also agree to do that ;-)

-Deepal

 Andreas

 On 5 oct. 08, at 06:46, Sanjiva Weerawarana wrote:

 Igor Nogueira wrote:
 Guys, Does Axis2 work over UDP? I'm trying to invoke webservices
 form Jgroups and it's defalut protocol stack works with UDP.

 There's no UDP transport around right now but there was some interest
 in it due to the device profile using it too.

 Interested in helping write it? Should be straightforward ..

 Sanjiva.
 -- 
 Sanjiva Weerawarana, Ph.D.
 Founder  Director; Lanka Software Foundation; http://www.opensource.lk/
 Founder, Chairman  CEO; WSO2, Inc.; http://www.wso2.com/
 Member; Apache Software Foundation; http://www.apache.org/
 Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

 Blog: http://sanjiva.weerawarana.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]




-- 
Thank you!


http://blogs.deepal.org


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



Re: UDP

2008-10-05 Thread Andreas Veithen
First, I never said that I'm against moving the UDP transport to WS- 
Commons. Actually I'm in favor of doing this.


Second, if I remember well, the decision was to say that transports  
that are relevant only to Synapse should remain there. This is a  
somewhat vague definition and AFAIK the list of the transports to be  
moved has never been clearly defined and I don't have the slightest  
idea why the list of transport that have been moved up to now is  
limited to mail and JMS.


Finally, I always said that before moving the Synapse transports, we  
should first establish a plan for this. After several months of  
inactivity the code was moved in a hurry without this kind of plan. We  
can see the result now: there are all kinds of discussions that could  
have been settled before the move.


Andreas

On 5 oct. 08, at 20:10, Deepal jayasinghe wrote:


Andreas Veithen wrote:
There is an UDP transport implementation in Synapse. It's not yet  
sure

whether it will remain in Synapse or move to the new WS-Commons
transport project (Since I wrote it, I guess it's up to me to  
decide ;-).

Well  ,as a community we decide to move all the transport into new
module, so as a member of the community you have also agree to do  
that ;-)


-Deepal


Andreas

On 5 oct. 08, at 06:46, Sanjiva Weerawarana wrote:


Igor Nogueira wrote:

Guys, Does Axis2 work over UDP? I'm trying to invoke webservices
form Jgroups and it's defalut protocol stack works with UDP.


There's no UDP transport around right now but there was some  
interest

in it due to the device profile using it too.

Interested in helping write it? Should be straightforward ..

Sanjiva.
--
Sanjiva Weerawarana, Ph.D.
Founder  Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman  CEO; WSO2, Inc.; http://www.wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

Blog: http://sanjiva.weerawarana.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]





--
Thank you!


http://blogs.deepal.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]



Re: UDP

2008-10-05 Thread Asankha C. Perera

Andreas Veithen wrote:
Second, if I remember well, the decision was to say that transports 
that are relevant only to Synapse should remain there. This is a 
somewhat vague definition and AFAIK the list of the transports to be 
moved has never been clearly defined and I don't have the slightest 
idea why the list of transport that have been moved up to now is 
limited to mail and JMS.

See my mail : http://markmail.org/message/giqnd6u4jrxxmkm4

I think this is the process by which we will decide on a case by case 
basis which transports belong where.. so you can move tcp/udp into 
ws-commons since they could be used with just Axis2 as well.


I also remember discussing about the possible use of the Axis2 EJB/CORBA 
transports by Synapse.. so we need some volunteers to move that to 
ws-commons from Axis2, and also check its compatibility with Synapse 
like Axis2 folks are trying out our original mail transport etc now..


asankha

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



Parsing request with axiom

2008-10-05 Thread ibrahim demir
Hi all;

I want to parse the request coming from the clients and generate a container 
object for my applicaion and execute my application.

The request is like that
inBag xmlns=urn:cs.com.tr/banking
booleanParamfalse/booleanParam
currencyParam1233.8/currencyParam
csdateParam20080412/csdateParam
cstimeParam232320/cstimeParam
doubleParam34567/doubleParam
floatParam1234/floatParam
intParam2345/intParam
longParam4567/longParam
stringParamstringParam,/stringParam
inputList
keylistKey1/key
valuelistValue1/value
/inputList
tableParam
namename1/name
age181/age
/tableParam
/inBag


So I want to create an hashtable called inBag and put the elements as keys and 
their values as values like

Hashtable inBag = new Hashtable ();

inBag.put(booleanParam,false);
inBag.put(longParam,4567);

I am confused with axiom and unable to find good tutorials over the net. I will 
be pleased if you show me the way to do it.

Yours



 Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org


  

Re: UDP

2008-10-05 Thread Igor Nogueira
Thanks guys!  And yes, I'm interested! :-)


2008/10/5 Sanjiva Weerawarana [EMAIL PROTECTED]

 Igor Nogueira wrote:

 Guys, Does Axis2 work over UDP? I'm trying to invoke webservices form
 Jgroups and it's defalut protocol stack works with UDP.


 There's no UDP transport around right now but there was some interest in it
 due to the device profile using it too.

 Interested in helping write it? Should be straightforward ..

 Sanjiva.
 --
 Sanjiva Weerawarana, Ph.D.
 Founder  Director; Lanka Software Foundation; http://www.opensource.lk/
 Founder, Chairman  CEO; WSO2, Inc.; http://www.wso2.com/
 Member; Apache Software Foundation; http://www.apache.org/
 Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

 Blog: http://sanjiva.weerawarana.org/

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




Re: UDP

2008-10-05 Thread Igor Nogueira
Thanks Andreas! I'll take a look at this.

2008/10/5 Andreas Veithen [EMAIL PROTECTED]

 There is an UDP transport implementation in Synapse. It's not yet sure
 whether it will remain in Synapse or move to the new WS-Commons transport
 project (Since I wrote it, I guess it's up to me to decide ;-).

 Andreas


 On 5 oct. 08, at 06:46, Sanjiva Weerawarana wrote:

  Igor Nogueira wrote:

 Guys, Does Axis2 work over UDP? I'm trying to invoke webservices form
 Jgroups and it's defalut protocol stack works with UDP.


 There's no UDP transport around right now but there was some interest in
 it due to the device profile using it too.

 Interested in helping write it? Should be straightforward ..

 Sanjiva.
 --
 Sanjiva Weerawarana, Ph.D.
 Founder  Director; Lanka Software Foundation; http://www.opensource.lk/
 Founder, Chairman  CEO; WSO2, Inc.; http://www.wso2.com/
 Member; Apache Software Foundation; http://www.apache.org/
 Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

 Blog: http://sanjiva.weerawarana.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]