Re: [Carbon-dev] Packs available [was Fwd: WSO2 Carbon Continuous Build was SUCCESSFUL

2011-01-28 Thread Krishantha Samaraweera
Hi G-Reg Team,

Please fix the G-Reg version as well.

Thanks,
Krishantha.

On Thu, Jan 27, 2011 at 1:41 PM, Charitha Kankanamge chari...@wso2.com wrote:
 AS folks,

 Appserver version of these packs are wso2appserver-4.0.0-SNAPSHOT which we
 have already released during 3.1.0 chunk1 release. What will be the correct
 version?

 Regards
 Charitha


 On Thu, Jan 27, 2011 at 1:18 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Finally, we have the packs from trunk
 available: http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/

 -- Forwarded message --
 From: WSO2 Builder buil...@wso2.org
 Date: Thu, Jan 27, 2011 at 12:21 PM
 Subject: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL
 To: carbon-dev@wso2.org


 Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
 System is offline.

 Try downloading the file manually from the project website.

 Then, install it using the command:
    mvn install:install-file -DgroupId=org.wso2.esb
 -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
 -Dpackaging=zip -Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file
 there:
    mvn deploy:deploy-file -DgroupId=org.wso2.esb
 -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT



        at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:203)
        at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
        at
 org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
        ... 21 more
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] ERROR

 System is offline.

 Try downloading the file manually from the project website.

 Then, install it using the command:
    mvn install:install-file -DgroupId=org.wso2.esb
 -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
 -Dpackaging=zip -Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file
 there:
    mvn deploy:deploy-file -DgroupId=org.wso2.esb
 -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT



 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 10 seconds
 [INFO] Finished at: Thu Jan 27 12:21:56 IST 2011
 [INFO] Final Memory: 21M/981M
 [INFO]
 
 cp: cannot stat `target/p2-repo': No such file or directory
 2011-01-27_12-21-35
 Carbon  packs are available at :
 http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/
 tail -n50 $STRATOS_SRC_HOME/build.log
 ___
 Carbon-dev mailing list
 carbon-...@lists.wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



 ___
 Carbon-dev mailing list
 carbon-...@lists.wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 carbon-...@lists.wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Kudos: WS-Discovery Discovery UI implementation

2011-01-28 Thread Prabath Siriwardana
On Fri, Jan 28, 2011 at 1:36 AM, Afkham Azeez az...@wso2.com wrote:

 Hiranya et. al,
 you guys have done a tremendous job in making this work without any issues
 out of the box, and the UI is also very intuitive. I could publish the
 endpoints to G-Reg, discover them from the ESB without any problem, and then
 point and click the endpoints and create a proxy service, without any
 hassle.



+1. I too share the same experience

Thanks  regards,
-Prabath



 Good job!

 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Thanks  Regards,
Prabath

http://blog.facilelogin.com
http://RampartFAQ.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Packs available [was Fwd: WSO2 Carbon Continuous Build was SUCCESSFUL

2011-01-28 Thread Krishantha Samaraweera
Hi,

Please fix the following issues at G-Reg server startup.

1. Exception in thread Thread-8 java.lang.NullPointerException
at 
org.wso2.carbon.registry.indexing.IndexingManager.run(IndexingManager.java:151)
at java.lang.Thread.run(Thread.java:619)

2. [2011-01-28 13:51:40,532] ERROR
{org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error
building service from bundle : Symbolic Name:
org.wso2.carbon.event.broker,Bundle Version: 3.2.0.SNAPSHOT, ID: 120
org.apache.axis2.AxisFault: Two services cannot have same name.  A
service with the BrokerSecurityManager [null] name already exists in
the system

For more details, please refer to [1]

Thanks,
Krishantha

[1]http://pastebin.com/eJ6dQxe3

On Thu, Jan 27, 2011 at 1:18 PM, Samisa Abeysinghe sam...@wso2.com wrote:
 Finally, we have the packs from trunk
 available: http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Adding two new filtered properties into Carbon core axis2.xml

2011-01-28 Thread Isuru Suriarachchi
Hi all,

I've added the following Axis2 related properties into the Carbon core
axis2.xml which should be filtered at product level.

1. parameter
name=EnableChildFirstClassLoading${childfirstCL}/parameter

This is a very important property when deploying complex services which
contains libraries in the lib folder of the service archive. I've added this
parameter and set the value as a property to be filtered at product level.
Default value for this should be 'false' and if the user wants to use it, he
has to set it to 'true'. But only for G-Reg, I had to make it 'true' by
default because they are going to ship a JAX-WS service for UDDI
implementation.

2. parameter name=useGeneratedWSDLinJAXWS${jaxwsparam}/parameter

This property specifies whether the WSDL for a JAX-WS service is generated
at deployment time or it is generated only if someone calls ?wsdl. Default
value for this property in AppServer is 'true'. But for G-Reg I've set this
to 'false' as it is not a must for it's JUDDI servie to generated WSDL at
deployment time.

Please use proper filter values at product levels.

Thanks,
~Isuru

-- 
Isuru Suriarachchi
Technical Lead  Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] AXIOM build failure - cannot be referenced from a static context

2011-01-28 Thread Sumedha Rubasinghe
I am on latest revision.
/sumedha

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/document/TestGetXMLStreamReader.java:[29,31]
cannot find symbol
symbol  : class RootWhitespaceFilter
location: package org.apache.axiom.om.impl

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildren.java:[36,40]
non-static method
getTestResourceAsElement(org.apache.axiom.om.OMMetaFactory,java.lang.String)
cannot be referenced from a static context

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java:[55,41]
non-static method getTestResource(java.lang.String) cannot be referenced
from a static context

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/ConformanceTestCase.java:[42,31]
non-static method getTestResource(java.lang.String) cannot be referenced
from a static context

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/document/TestGetXMLStreamReader.java:[55,54]
cannot find symbol
symbol  : class RootWhitespaceFilter
location: class org.apache.axiom.ts.om.document.TestGetXMLStreamReader

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/document/TestGetXMLStreamReader.java:[56,32]
cannot find symbol
symbol  : class RootWhitespaceFilter
location: class org.apache.axiom.ts.om.document.TestGetXMLStreamReader

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildrenRemove3.java:[36,40]
non-static method
getTestResourceAsElement(org.apache.axiom.om.OMMetaFactory,java.lang.String)
cannot be referenced from a static context

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildrenRemove4.java:[36,40]
non-static method
getTestResourceAsElement(org.apache.axiom.om.OMMetaFactory,java.lang.String)
cannot be referenced from a static context

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildrenRemove1.java:[36,40]
non-static method
getTestResourceAsElement(org.apache.axiom.om.OMMetaFactory,java.lang.String)
cannot be referenced from a static context

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildElements.java:[37,40]
non-static method
getTestResourceAsElement(org.apache.axiom.om.OMMetaFactory,java.lang.String)
cannot be referenced from a static context

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildrenWithName.java:[40,40]
non-static method
getTestResourceAsElement(org.apache.axiom.om.OMMetaFactory,java.lang.String)
cannot be referenced from a static context

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildrenWithLocalName.java:[38,40]
non-static method
getTestResourceAsElement(org.apache.axiom.om.OMMetaFactory,java.lang.String)
cannot be referenced from a static context

/Users/sumedha/projects/carbon/trunk/dependencies/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetChildrenRemove2.java:[36,40]
non-static method
getTestResourceAsElement(org.apache.axiom.om.OMMetaFactory,java.lang.String)
cannot be referenced from a static context
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Invitation: AS Test Review 1 @ Fri Jan 28 4pm - 5pm (carbon-dev@wso2.org)

2011-01-28 Thread Charitha Kankanamge
Here are the notes taken during Axis2 Services test review. We should thank
Amila and Isuru for reviewing tests and providing a valuable feedback.

- It does not make sense to test useOriginalwsdl with pojos, test it only
with contract first

- Test dual channel invocation and check whether the client is not blocked

 - Custom fault - Check with both pojos and contract first services. Also,
test with in-only and in-out meps

- Codegen with different data binding frameworks is important - Jaxbri,
jax-ws, jibx (not that used)

 -  Raw XML message receiver should also be tested (in only/in-out)

  - Both contract first services and pojos should be tested for performance.
For example, deploy a pojo and run a load test against that. Capture the
results. Then, generate server side code with the same service with MRs and
run the same load test. Compare the results. The second approach will
produce much better performance. Now, repeat the same test with each release
and do comparison.

 - different type of pojos
 input params - complex type, simple type, complex types within complex
types, array types, extensions etc
Have a single large service with all these and use that for testing.

- Do interop tests

- JSON testing becomes important since we will use it heavily in near future

- RESTful service testing

Regards
Charitha

On Thu, Jan 27, 2011 at 11:04 AM, Charitha Kankanamge chari...@wso2.comwrote:


 We are planning to go through the following Axis2Services test scenario
 list [1] and find out missing cases and improve test coverage, discuss the
 priority of test scenarios and find out most important use cases etc..

 [1]
 https://spreadsheets.google.com/a/wso2.com/ccc?hl=enkey=tCcYvafwCjZwaHYp9bA7TSAhl=en#gid=0


 On Thu, Jan 27, 2011 at 10:32 AM, Charitha Kankanamge 
 chari...@wso2.comwrote:

  more details 
 »https://www.google.com/calendar/event?action=VIEWeid=azQ1czFpaWZnYzMxZmdiNjg4MzQ2MzFmYWcgY2FyYm9uLWRldkB3c28yLm9yZwtok=MTcjY2hhcml0aGFAd3NvMi5jb20yYTdlNmE4ZGJkMjE5ZWY3N2I4NGI3ODFjNzcyMGFkNDdiNGFjZjY3ctz=Asia%2FColombohl=en
 AS Test Review 1
 This will be the first AS test review. We will go through the features and
 find out test coverage and missing test scenarios. Plan to start with
 Axis2Services.
 *When*
 Fri Jan 28 4pm – 5pm Colombo
 *Where*
 2nd floor conf room 
 (maphttp://maps.google.com/maps?q=2nd+floor+conf+roomhl=en
 )
 *Calendar*
 carbon-dev@wso2.org
 *Who*
 •
 Charitha Kankanamge - organizer
 •
 Tharinda Liyanage
 •
 Evanthika Amarasiri
 •
 Ishani Ratenayake
 •
 Pavithra Madurangi
 •
 Chamara Ariyarathne
 •
 Supun Malinga
 •
 Isuru Suriarachchi
 •
 carbon-dev@wso2.org
 •
 Krishantha Samaraweera

 Going?   
 *Yeshttps://www.google.com/calendar/event?action=RESPONDeid=azQ1czFpaWZnYzMxZmdiNjg4MzQ2MzFmYWcgY2FyYm9uLWRldkB3c28yLm9yZwrst=1tok=MTcjY2hhcml0aGFAd3NvMi5jb20yYTdlNmE4ZGJkMjE5ZWY3N2I4NGI3ODFjNzcyMGFkNDdiNGFjZjY3ctz=Asia%2FColombohl=en-
 Maybehttps://www.google.com/calendar/event?action=RESPONDeid=azQ1czFpaWZnYzMxZmdiNjg4MzQ2MzFmYWcgY2FyYm9uLWRldkB3c28yLm9yZwrst=3tok=MTcjY2hhcml0aGFAd3NvMi5jb20yYTdlNmE4ZGJkMjE5ZWY3N2I4NGI3ODFjNzcyMGFkNDdiNGFjZjY3ctz=Asia%2FColombohl=en-
 Nohttps://www.google.com/calendar/event?action=RESPONDeid=azQ1czFpaWZnYzMxZmdiNjg4MzQ2MzFmYWcgY2FyYm9uLWRldkB3c28yLm9yZwrst=2tok=MTcjY2hhcml0aGFAd3NvMi5jb20yYTdlNmE4ZGJkMjE5ZWY3N2I4NGI3ODFjNzcyMGFkNDdiNGFjZjY3ctz=Asia%2FColombohl=en
 *more options 
 »https://www.google.com/calendar/event?action=VIEWeid=azQ1czFpaWZnYzMxZmdiNjg4MzQ2MzFmYWcgY2FyYm9uLWRldkB3c28yLm9yZwtok=MTcjY2hhcml0aGFAd3NvMi5jb20yYTdlNmE4ZGJkMjE5ZWY3N2I4NGI3ODFjNzcyMGFkNDdiNGFjZjY3ctz=Asia%2FColombohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this courtesy email at the account 
 carbon-dev@wso2.orgbecause you are an attendee of this event.

 To stop receiving future notifications for this event, decline this event.
 Alternatively you can sign up for a Google account at
 https://www.google.com/calendar/ and control your notification settings
 for your entire calendar.

 ___
 Carbon-dev mailing list
 carbon-...@lists.wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev



___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] DS Fault Message: Error in 'CallQuery.extractParams', cannot find Param

2011-01-28 Thread Jorge Infante Osorio
Hi.
Anyone can help me? I want to know if this can be made.

Jorge.

-Mensaje original-
De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Jorge Infante Osorio
Enviado el: jueves, 27 de enero de 2011 15:35
Para: carbon-dev@wso2.org
Asunto: [Carbon-dev] DS Fault Message: Error in 'CallQuery.extractParams',
cannot find Param

Hi all.
I use a Dataservice that have 2 incoming parameters and when I pass two
values the service work fine, but when I pass only one parameter the service
fail.

I want to know if this is the normal behavior and if I can configure the
service to accept only one parameter of two.

This is the service:
data name=Inmueble enableBatchRequests=false enableBoxcarring=false
serviceStatus=active 
   description/description 
   config id=bbb  
  property name=carbon_datasource_namebbb/property 
   /config 
   query id=obtenerDatosInmueble useConfig=bbb  
  sqlSELECT * from datos.fn_datos_inmueble(?,?)/sql

  result element=inmuebles rowName=inmueble

 element name=numero_matriculacion column=numero_matriculacion
xsdType=xs:string /   
  ..
  /result  
  param name=nmatriculacion paramType=SCALAR sqlType=STRING
type=IN ordinal=1 /  
  param name=ncatastral paramType=SCALAR sqlType=STRING type=IN
ordinal=2 / 
   /query 
   operation name=obtenerDatosInmueble  
  description/description  
  call-query href=obtenerDatosInmueble   
 with-param name=nmatriculacion query-param=nmatriculacion /

 with-param name=ncatastral query-param=ncatastral /

  /call-query 
   /operation
/data

When I only pass  nmatriculacion  or ncatastral the service fail with this
error:

[2011-01-27 15:27:41,336] ERROR -  Error in in-out message receiver
{org.wso2.carbon.dataservices.core.DBInOutMessageReceiver}
DS Fault Message: Error in pre-fetching data Nested Exception:-
javax.xml.stream.XMLStreamException: DS Fault Message: Error in
'CallQuery.extractParams', cannot find Param with type:query-param
name:ncatastral Source Data Service:-
Name: Inmueble
Location:
/opt/wso2wsas-3.2.1/repository/deployment/server/dataservices/Inmueble.dbs
Description: 
Default Namespace: http://ws.wso2.org/dataservice Current Request Name:
obtenerDatosInmueble Current Params: {}

Jorge.

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] DS Fault Message: Error in 'CallQuery.extractParams', cannot find Param

2011-01-28 Thread Prabath Abeysekera
Hi Jorge,

On Fri, Jan 28, 2011 at 2:05 AM, Jorge Infante Osorio jorg...@uci.cuwrote:

 Hi all.
 I use a Dataservice that have 2 incoming parameters and when I pass two
 values the service work fine, but when I pass only one parameter the
 service
 fail.

 I want to know if this is the normal behavior and if I can configure the
 service to accept only one parameter of two.


If you've declared two input mappings against two fields in your sql query,
yes you need to pass values to both of them.



 This is the service:
 data name=Inmueble enableBatchRequests=false enableBoxcarring=false
 serviceStatus=active
   description/description
   config id=bbb
  property name=carbon_datasource_namebbb/property
   /config
   query id=obtenerDatosInmueble useConfig=bbb
  sqlSELECT * from datos.fn_datos_inmueble(?,?)/sql

  result element=inmuebles rowName=inmueble

 element name=numero_matriculacion column=numero_matriculacion
 xsdType=xs:string /
  ……
  /result
  param name=nmatriculacion paramType=SCALAR sqlType=STRING
 type=IN ordinal=1 /
  param name=ncatastral paramType=SCALAR sqlType=STRING type=IN
 ordinal=2 /
   /query
   operation name=obtenerDatosInmueble
  description/description
  call-query href=obtenerDatosInmueble
 with-param name=nmatriculacion query-param=nmatriculacion /

 with-param name=ncatastral query-param=ncatastral /

  /call-query
   /operation
 /data

 When I only pass  nmatriculacion  or ncatastral the service fail with this
 error:

 [2011-01-27 15:27:41,336] ERROR -  Error in in-out message receiver
 {org.wso2.carbon.dataservices.core.DBInOutMessageReceiver}
 DS Fault Message: Error in pre-fetching data
 Nested Exception:-
 javax.xml.stream.XMLStreamException: DS Fault Message: Error in
 'CallQuery.extractParams', cannot find Param with type:query-param
 name:ncatastral
 Source Data Service:-
 Name: Inmueble
 Location:
 /opt/wso2wsas-3.2.1/repository/deployment/server/dataservices/Inmueble.dbs
 Description: Brinda los datos que describen a un inmueble. Proporciona una
 información actualizada y precisa a todos los entes autorizados a
 consultarla.
 Default Namespace: http://ws.wso2.org/dataservice
 Current Request Name: obtenerDatosInmueble
 Current Params: {}

 Jorge.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



Regards,
-- 
Prabath Abeysekara
Software Engineer
WSO2 Inc.
Email: praba...@wso2.com harsha...@wso2.com
Mobile: +94718124514

http://harshana05.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Kudos: WS-Discovery Discovery UI implementation

2011-01-28 Thread Afkham Azeez
On Thu, Jan 27, 2011 at 9:14 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Fri, Jan 28, 2011 at 1:36 AM, Afkham Azeez az...@wso2.com wrote:

 Hiranya et. al,
 you guys have done a tremendous job in making this work without any issues
 out of the box, and the UI is also very intuitive. I could publish the
 endpoints to G-Reg, discover them from the ESB without any problem, and then
 point and click the endpoints and create a proxy service, without any
 hassle.

 Good job!


 Thanks Azeez. Still there are small things to improve in this area, like
 how we enable the user to secure WS-D messages etc. Will be looking into
 those in the coming releases.


Yes, there were a few missing features. However, what is impressive is, the
existing features are solid, and work perfectly. This is something that
other component authors can learn from.




 -Hiranya



 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Senior Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Kudos: WS-Discovery Discovery UI implementation

2011-01-28 Thread Paul Fremantle
Now its working so well - is it worth adding UDP support for peer-to-peer?
Might make a nice demo :-)

Paul

On 28 January 2011 14:10, Afkham Azeez az...@wso2.com wrote:



 On Thu, Jan 27, 2011 at 9:14 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Fri, Jan 28, 2011 at 1:36 AM, Afkham Azeez az...@wso2.com wrote:

 Hiranya et. al,
 you guys have done a tremendous job in making this work without any
 issues out of the box, and the UI is also very intuitive. I could publish
 the endpoints to G-Reg, discover them from the ESB without any problem, and
 then point and click the endpoints and create a proxy service, without any
 hassle.

 Good job!


 Thanks Azeez. Still there are small things to improve in this area, like
 how we enable the user to secure WS-D messages etc. Will be looking into
 those in the coming releases.


 Yes, there were a few missing features. However, what is impressive is, the
 existing features are solid, and work perfectly. This is something that
 other component authors can learn from.




 -Hiranya



 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com
 ,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Senior Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair, VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
twitter.com/pzfreo
p...@wso2.com

wso2.com Lean Enterprise Middleware

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
retransmit, disseminate, or otherwise use the information contained in this
communication. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Kudos: WS-Discovery Discovery UI implementation

2011-01-28 Thread Paul Fremantle
PS Thanks Azeez - we need the praise when things are done right as well as
the blame when things aren't!!!

On 28 January 2011 14:15, Paul Fremantle p...@wso2.com wrote:

 Now its working so well - is it worth adding UDP support for peer-to-peer?
 Might make a nice demo :-)

 Paul


 On 28 January 2011 14:10, Afkham Azeez az...@wso2.com wrote:



 On Thu, Jan 27, 2011 at 9:14 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Fri, Jan 28, 2011 at 1:36 AM, Afkham Azeez az...@wso2.com wrote:

 Hiranya et. al,
 you guys have done a tremendous job in making this work without any
 issues out of the box, and the UI is also very intuitive. I could publish
 the endpoints to G-Reg, discover them from the ESB without any problem, and
 then point and click the endpoints and create a proxy service, without any
 hassle.

 Good job!


 Thanks Azeez. Still there are small things to improve in this area, like
 how we enable the user to secure WS-D messages etc. Will be looking into
 those in the coming releases.


 Yes, there were a few missing features. However, what is impressive is,
 the existing features are solid, and work perfectly. This is something that
 other component authors can learn from.




 -Hiranya



 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com
 ,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Senior Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Paul Fremantle
 CTO and Co-Founder, WSO2
 OASIS WS-RX TC Co-chair, VP, Apache Synapse

 Office: +44 844 484 8143
 Cell: +44 798 447 4618

 blog: http://pzf.fremantle.org
 twitter.com/pzfreo
 p...@wso2.com

 wso2.com Lean Enterprise Middleware

 Disclaimer: This communication may contain privileged or other confidential
 information and is intended exclusively for the addressee/s. If you are not
 the intended recipient/s, or believe that you may have received this
 communication in error, please reply to the sender indicating that fact and
 delete the copy you received and in addition, you should not print, copy,
 retransmit, disseminate, or otherwise use the information contained in this
 communication. Internet communications cannot be guaranteed to be timely,
 secure, error or virus-free. The sender does not accept liability for any
 errors or omissions.




-- 
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair, VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
twitter.com/pzfreo
p...@wso2.com

wso2.com Lean Enterprise Middleware

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
retransmit, disseminate, or otherwise use the information contained in this
communication. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Kudos: WS-Discovery Discovery UI implementation

2011-01-28 Thread Hiranya Jayathilaka
On Fri, Jan 28, 2011 at 7:45 PM, Paul Fremantle p...@wso2.com wrote:

 Now its working so well - is it worth adding UDP support for peer-to-peer?
 Might make a nice demo :-)


That's my plan too. I've been working on implementing multicast support for
the Axis2 UDP transport as a first step.

Thanks,
Hiranya



 Paul


 On 28 January 2011 14:10, Afkham Azeez az...@wso2.com wrote:



 On Thu, Jan 27, 2011 at 9:14 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Fri, Jan 28, 2011 at 1:36 AM, Afkham Azeez az...@wso2.com wrote:

 Hiranya et. al,
 you guys have done a tremendous job in making this work without any
 issues out of the box, and the UI is also very intuitive. I could publish
 the endpoints to G-Reg, discover them from the ESB without any problem, and
 then point and click the endpoints and create a proxy service, without any
 hassle.

 Good job!


 Thanks Azeez. Still there are small things to improve in this area, like
 how we enable the user to secure WS-D messages etc. Will be looking into
 those in the coming releases.


 Yes, there were a few missing features. However, what is impressive is,
 the existing features are solid, and work perfectly. This is something that
 other component authors can learn from.




 -Hiranya



 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com
 ,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Senior Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Paul Fremantle
 CTO and Co-Founder, WSO2
 OASIS WS-RX TC Co-chair, VP, Apache Synapse

 Office: +44 844 484 8143
 Cell: +44 798 447 4618

 blog: http://pzf.fremantle.org
 twitter.com/pzfreo
 p...@wso2.com

 wso2.com Lean Enterprise Middleware

 Disclaimer: This communication may contain privileged or other confidential
 information and is intended exclusively for the addressee/s. If you are not
 the intended recipient/s, or believe that you may have received this
 communication in error, please reply to the sender indicating that fact and
 delete the copy you received and in addition, you should not print, copy,
 retransmit, disseminate, or otherwise use the information contained in this
 communication. Internet communications cannot be guaranteed to be timely,
 secure, error or virus-free. The sender does not accept liability for any
 errors or omissions.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Kudos: Entitlement mediator UI + XACML policy editor

2011-01-28 Thread Afkham Azeez
The above combined with the samples from Prabath's blog [1] make is very
easy for anybody to configure entitlement from the ESB. While there are some
more feature improvements to be made, what works, works solidly, and is user
friendly. Once the XACML policy editor is in place, this will be a killer
feature. It would be also nice to be able to have this as an entitlement
module in AppServer, DS etc. since it is a very powerful way of doing fine
grained access control.

1. http://blog.facilelogin.com/search/label/XACML

-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] DS Fault Message: Error in 'CallQuery.extractParams', cannot find Param

2011-01-28 Thread Jorge Infante Osorio
Hi Prabath.

De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Prabath Abeysekera
Enviado el: viernes, 28 de enero de 2011 8:44
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] DS Fault Message: Error in
'CallQuery.extractParams', cannot find Param

Hi Jorge,
On Fri, Jan 28, 2011 at 2:05 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi all.
I use a Dataservice that have 2 incoming parameters and when I pass two
values the service work fine, but when I pass only one parameter the service
fail.

I want to know if this is the normal behavior and if I can configure the
service to accept only one parameter of two.

If you've declared two input mappings against two fields in your sql query,
yes you need to pass values to both of them.

In which way I can specified that it's not necessary to pass the two
values?? 

Part of WSDL types:
xs:element minOccurs=0 name=pnombre nillable=true type=xs:string/
xs:element minOccurs=0 name=snombre nillable=true type=xs:string/
xs:element minOccurs=0 name=papellido nillable=true
type=xs:string/
xs:element minOccurs=0 name=sapellido nillable=true
type=xs:string/
xs:element minOccurs=0 name=lnacimiento nillable=true
type=xs:string/
xs:element minOccurs=0 name=fecha_nac nillable=true type=xs:date/ 

Jorge.


This is the service:
data name=Inmueble enableBatchRequests=false enableBoxcarring=false
serviceStatus=active
  description/description
  config id=bbb
     property name=carbon_datasource_namebbb/property
  /config
  query id=obtenerDatosInmueble useConfig=bbb
     sqlSELECT * from datos.fn_datos_inmueble(?,?)/sql

     result element=inmuebles rowName=inmueble

        element name=numero_matriculacion column=numero_matriculacion
xsdType=xs:string /
         ……
     /result
     param name=nmatriculacion paramType=SCALAR sqlType=STRING
type=IN ordinal=1 /
     param name=ncatastral paramType=SCALAR sqlType=STRING type=IN
ordinal=2 /
  /query
  operation name=obtenerDatosInmueble
     description/description
     call-query href=obtenerDatosInmueble
        with-param name=nmatriculacion query-param=nmatriculacion /

        with-param name=ncatastral query-param=ncatastral /

     /call-query
  /operation
/data

When I only pass  nmatriculacion  or ncatastral the service fail with this
error:

[2011-01-27 15:27:41,336] ERROR -  Error in in-out message receiver
{org.wso2.carbon.dataservices.core.DBInOutMessageReceiver}
DS Fault Message: Error in pre-fetching data
Nested Exception:-
javax.xml.stream.XMLStreamException: DS Fault Message: Error in
'CallQuery.extractParams', cannot find Param with type:query-param
name:ncatastral
Source Data Service:-
Name: Inmueble
Location:
/opt/wso2wsas-3.2.1/repository/deployment/server/dataservices/Inmueble.dbs
Description: Brinda los datos que describen a un inmueble. Proporciona una
información actualizada y precisa a todos los entes autorizados a
consultarla.
Default Namespace: http://ws.wso2.org/dataservice
Current Request Name: obtenerDatosInmueble
Current Params: {}

Jorge.

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Regards,
-- 
Prabath Abeysekara
Software Engineer
WSO2 Inc. 
Email: praba...@wso2.com
Mobile: +94718124514



___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Kudos: Entitlement mediator UI + XACML policy editor

2011-01-28 Thread Afkham Azeez
XACML policy based access control for webapps would make a very compelling
story IMO. This would be one of the major edges we would have over regular
Tomcat.

Azeez

On Fri, Jan 28, 2011 at 7:37 AM, Afkham Azeez az...@wso2.com wrote:

 The above combined with the samples from Prabath's blog [1] make is very
 easy for anybody to configure entitlement from the ESB. While there are some
 more feature improvements to be made, what works, works solidly, and is user
 friendly. Once the XACML policy editor is in place, this will be a killer
 feature. It would be also nice to be able to have this as an entitlement
 module in AppServer, DS etc. since it is a very powerful way of doing fine
 grained access control.

 1. http://blog.facilelogin.com/search/label/XACML

 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Kudos: Entitlement mediator UI + XACML policy editor

2011-01-28 Thread Prabath Siriwardana
On Fri, Jan 28, 2011 at 8:34 PM, Afkham Azeez az...@wso2.com wrote:
 XACML policy based access control for webapps would make a very compelling
 story IMO. This would be one of the major edges we would have over regular
 Tomcat.

+1 . This is available with the current release - will blog on that.
Anyway will make sure this is available out of box with the very next
release - with no custom code..

Also - Asela is working the XACML UI editor and the first cut for demo
will be ready by next Tuesday..

Thanks  regards,
-Prabath

 Azeez

 On Fri, Jan 28, 2011 at 7:37 AM, Afkham Azeez az...@wso2.com wrote:

 The above combined with the samples from Prabath's blog [1] make is very
 easy for anybody to configure entitlement from the ESB. While there are some
 more feature improvements to be made, what works, works solidly, and is user
 friendly. Once the XACML policy editor is in place, this will be a killer
 feature. It would be also nice to be able to have this as an entitlement
 module in AppServer, DS etc. since it is a very powerful way of doing fine
 grained access control.
 1. http://blog.facilelogin.com/search/label/XACML

 --
 Afkham Azeez
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,

 Member; Apache Software Foundation; http://www.apache.org/
 email: az...@wso2.com cell: +94 77 3320919
 blog: http://blog.afkham.org
 twitter: http://twitter.com/afkham_azeez
 linked-in: http://lk.linkedin.com/in/afkhamazeez

 Lean . Enterprise . Middleware



 --
 Afkham Azeez
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,

 Member; Apache Software Foundation; http://www.apache.org/
 email: az...@wso2.com cell: +94 77 3320919
 blog: http://blog.afkham.org
 twitter: http://twitter.com/afkham_azeez
 linked-in: http://lk.linkedin.com/in/afkhamazeez

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





-- 
Thanks  Regards,
Prabath

http://blog.facilelogin.com
http://RampartFAQ.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Adding two new filtered properties into Carbon core axis2.xml

2011-01-28 Thread Afkham Azeez
On Fri, Jan 28, 2011 at 3:01 AM, Isuru Suriarachchi is...@wso2.com wrote:

 Hi all,

 I've added the following Axis2 related properties into the Carbon core
 axis2.xml which should be filtered at product level.

 1. parameter
 name=EnableChildFirstClassLoading${childfirstCL}/parameter


Shouldn't this default to true? If a user includes the same JARs in his
deployment artifact, it essentially means that he wants those JARs to get
precedence. Also, you should think about the MT case when adding such params
to axis2.xml




 This is a very important property when deploying complex services which
 contains libraries in the lib folder of the service archive. I've added this
 parameter and set the value as a property to be filtered at product level.
 Default value for this should be 'false' and if the user wants to use it, he
 has to set it to 'true'. But only for G-Reg, I had to make it 'true' by
 default because they are going to ship a JAX-WS service for UDDI
 implementation.


Why shouldn't this be set to true for AS?



 2. parameter name=useGeneratedWSDLinJAXWS${jaxwsparam}/parameter


Again, you must think about MT here. Also, if there is a service out there,
the expectation is people would call ?wsdl. Why cannot we simply have the
WSDL geenrated at deployment time and have it ready? Why do we need this
additional complexity for JAXWS services?


 This property specifies whether the WSDL for a JAX-WS service is generated
 at deployment time or it is generated only if someone calls ?wsdl. Default
 value for this property in AppServer is 'true'. But for G-Reg I've set this
 to 'false' as it is not a must for it's JUDDI servie to generated WSDL at
 deployment time.

 Please use proper filter values at product levels.

 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Data services UI - needs improvement

2011-01-28 Thread Afkham Azeez
When it comes to a wizard, there is an expected flow. You should be able to
move forward or back, and screen that take you out of the wizard should be
avoided. Those are something you should avoid according to the wizard
paradigm. If you go through the DS wizard, it is obvious to the developers
who wrote it, not to the users. One way in which people improve usability is
give a set of things to be done by new users, and watch what they do.
Perhaps you guys can watch me doing something and learn from the mistakes I
make.

Thanks
Azeez



On Fri, Jan 28, 2011 at 11:48 AM, Anjana Fernando anj...@wso2.com wrote:

 Hi Azeez,

 On Fri, Jan 28, 2011 at 1:34 AM, Afkham Azeez az...@wso2.com wrote:
  The wizard is not really a wizard since it does not necessarily follow a
  flow. Also, if you do things in the wrong order, bad things happen  NPEs
  fly. These things normally happen at the wrong time; during demos :)

 I do agree on the UI issues, the DSS UI is very fragile, and we've
 been planning on rewriting the DSS UI soon. As in, some validations
 are missing I guess, for instance, if you just enter an url of a
 specific page by hand - something in the middle of the wizard, most
 probably it'll give some unexpected errors.

 But, when you said, 'not following a flow', can you elaborate on that
 a bit more? .. Because, I was having the impression, the current DS
 wizard is pretty simple in a way that, it follows the below flow for
 the normal service creation.

 Start Service Creation - Create Data Source(s) - Create Queries -
 Create Operation(s) / Resource(s).

 What kind of a flow are you suggesting? ..

 Cheers,
 Anjana.

 
  --
  Afkham Azeez
  Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 
  Member; Apache Software Foundation; http://www.apache.org/
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 



 --
 Anjana Fernando
 Software Engineer
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Data services UI - needs improvement

2011-01-28 Thread Anjana Fernando
Hi Azeez,

I think it actually does have the ability to go forward and back :) ..
And, sorry if I've overlooked some part, but where do we take you out
of the wizard? ..

And, also we actually have two ways of creating data services now. It
will be basically for two modes of operation. The new functionality is
the DB-DS generation. Here, when you point to a database it
automatically creates the basic CRUD operations of the selected
tables, and make a data service out of it. This can be seen as a data
first approach, where we start by the data and create the data
service, and then, we edit the data service to our needs. We hope to
improve this more to include other types of data sources and so on.

Then there maybe the need for some users to have that fine grained
control from the very start, which data sources to create, what are
the exact data service queries and so on. This is where the already
existing typical wizard comes into play. Because, most of the time,
users will ultimately want to create their own custom queries, and the
existing wizard will provide that. In the upcoming release, you will
seen many new improvements for this typical wizard to make it more
easy to do complex tasks.

If you compare DSS to some other large data integration products which
has a richer UI, you will notice that DSS have the most simple UI,
which provides the most functionality/customisability. Hope you wont
see this as me giving excuses for not making the current UI better :),
rather, we will definitely look into your ideas and consider the
improvements.

Thanks and Regards,
Anjana.

On Sat, Jan 29, 2011 at 12:24 AM, Afkham Azeez az...@wso2.com wrote:
 When it comes to a wizard, there is an expected flow. You should be able to
 move forward or back, and screen that take you out of the wizard should be
 avoided. Those are something you should avoid according to the wizard
 paradigm. If you go through the DS wizard, it is obvious to the developers
 who wrote it, not to the users. One way in which people improve usability is
 give a set of things to be done by new users, and watch what they do.
 Perhaps you guys can watch me doing something and learn from the mistakes I
 make.
 Thanks
 Azeez



 On Fri, Jan 28, 2011 at 11:48 AM, Anjana Fernando anj...@wso2.com wrote:

 Hi Azeez,

 On Fri, Jan 28, 2011 at 1:34 AM, Afkham Azeez az...@wso2.com wrote:
  The wizard is not really a wizard since it does not necessarily follow a
  flow. Also, if you do things in the wrong order, bad things happen 
  NPEs
  fly. These things normally happen at the wrong time; during demos :)

 I do agree on the UI issues, the DSS UI is very fragile, and we've
 been planning on rewriting the DSS UI soon. As in, some validations
 are missing I guess, for instance, if you just enter an url of a
 specific page by hand - something in the middle of the wizard, most
 probably it'll give some unexpected errors.

 But, when you said, 'not following a flow', can you elaborate on that
 a bit more? .. Because, I was having the impression, the current DS
 wizard is pretty simple in a way that, it follows the below flow for
 the normal service creation.

 Start Service Creation - Create Data Source(s) - Create Queries -
 Create Operation(s) / Resource(s).

 What kind of a flow are you suggesting? ..

 Cheers,
 Anjana.

 
  --
  Afkham Azeez
  Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 
  Member; Apache Software Foundation; http://www.apache.org/
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 



 --
 Anjana Fernando
 Software Engineer
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 --
 Afkham Azeez
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,

 Member; Apache Software Foundation; http://www.apache.org/
 email: az...@wso2.com cell: +94 77 3320919
 blog: http://blog.afkham.org
 twitter: http://twitter.com/afkham_azeez
 linked-in: http://lk.linkedin.com/in/afkhamazeez

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





-- 
Anjana Fernando
Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-01-28 Thread WSO2 Builder
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable 
to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command: 
mvn install:install-file -DgroupId=org.wso2.esb 
-DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT 
-Dpackaging=zip -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: 
mvn deploy:deploy-file -DgroupId=org.wso2.esb 
-DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT 
-Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT

from the specified remote repositories:
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)


at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
at 
org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
... 21 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
download the artifact from any repository
at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:349)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
... 23 more
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] ERROR

Unable to download the artifact from any repository
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 1 second
[INFO] Finished at: Sat Jan 29 01:47:05 IST 2011
[INFO] Final Memory: 22M/981M
[INFO] 
cp: cannot stat `target/p2-repo': No such file or directory
2011-01-29_01-46-03
cp: cannot create regular file 
`/home/carbon/public_html/releases/carbon/3.2.0/2011-01-29_01-46-03': No such 
file or directory
Carbon  packs are available at : 
http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
tail -n50 $STRATOS_SRC_HOME/build.log
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] DS Fault Message: Error in 'CallQuery.extractParams', cannot find Param

2011-01-28 Thread Anjana Fernando
Hi Jorge,

It is not the clear what your intention is. As I see, you've defined
an SQL query which requires two parameters. So why would you need to
pass only one parameter? .. If you're meaning you're only passing an
actual value on one parameter and passing null or an empty string to
another, then it will work - but not in tryit. If you used the try-it
tool to test this, when the input fields of the try it is not given
values (kept empty), tryit treats that fields as simply not given (the
SOAP message will not have that specific element), and not an empty
string, as you would expect for an string type parameter. So simply it
is not possible to give an empty string or a null value using tryit.
For that, you should code-gen a stub and invoke the operation.

Cheers,
Anjana.

On Fri, Jan 28, 2011 at 8:33 PM, Jorge Infante Osorio jorg...@uci.cu wrote:
 Hi Prabath.

 De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
 nombre de Prabath Abeysekera
 Enviado el: viernes, 28 de enero de 2011 8:44
 Para: carbon-dev@wso2.org
 Asunto: Re: [Carbon-dev] DS Fault Message: Error in
 'CallQuery.extractParams', cannot find Param

 Hi Jorge,
 On Fri, Jan 28, 2011 at 2:05 AM, Jorge Infante Osorio jorg...@uci.cu
 wrote:
 Hi all.
 I use a Dataservice that have 2 incoming parameters and when I pass two
 values the service work fine, but when I pass only one parameter the service
 fail.

 I want to know if this is the normal behavior and if I can configure the
 service to accept only one parameter of two.

 If you've declared two input mappings against two fields in your sql query,
 yes you need to pass values to both of them.

 In which way I can specified that it's not necessary to pass the two
 values??

 Part of WSDL types:
 xs:element minOccurs=0 name=pnombre nillable=true type=xs:string/
 xs:element minOccurs=0 name=snombre nillable=true type=xs:string/
 xs:element minOccurs=0 name=papellido nillable=true
 type=xs:string/
 xs:element minOccurs=0 name=sapellido nillable=true
 type=xs:string/
 xs:element minOccurs=0 name=lnacimiento nillable=true
 type=xs:string/
 xs:element minOccurs=0 name=fecha_nac nillable=true type=xs:date/

 Jorge.


 This is the service:
 data name=Inmueble enableBatchRequests=false enableBoxcarring=false
 serviceStatus=active
   description/description
   config id=bbb
      property name=carbon_datasource_namebbb/property
   /config
   query id=obtenerDatosInmueble useConfig=bbb
      sqlSELECT * from datos.fn_datos_inmueble(?,?)/sql

      result element=inmuebles rowName=inmueble

         element name=numero_matriculacion column=numero_matriculacion
 xsdType=xs:string /
          ……
      /result
      param name=nmatriculacion paramType=SCALAR sqlType=STRING
 type=IN ordinal=1 /
      param name=ncatastral paramType=SCALAR sqlType=STRING type=IN
 ordinal=2 /
   /query
   operation name=obtenerDatosInmueble
      description/description
      call-query href=obtenerDatosInmueble
         with-param name=nmatriculacion query-param=nmatriculacion /

         with-param name=ncatastral query-param=ncatastral /

      /call-query
   /operation
 /data

 When I only pass  nmatriculacion  or ncatastral the service fail with this
 error:

 [2011-01-27 15:27:41,336] ERROR -  Error in in-out message receiver
 {org.wso2.carbon.dataservices.core.DBInOutMessageReceiver}
 DS Fault Message: Error in pre-fetching data
 Nested Exception:-
 javax.xml.stream.XMLStreamException: DS Fault Message: Error in
 'CallQuery.extractParams', cannot find Param with type:query-param
 name:ncatastral
 Source Data Service:-
 Name: Inmueble
 Location:
 /opt/wso2wsas-3.2.1/repository/deployment/server/dataservices/Inmueble.dbs
 Description: Brinda los datos que describen a un inmueble. Proporciona una
 información actualizada y precisa a todos los entes autorizados a
 consultarla.
 Default Namespace: http://ws.wso2.org/dataservice
 Current Request Name: obtenerDatosInmueble
 Current Params: {}

 Jorge.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


 Regards,
 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94718124514



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Anjana Fernando
Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Data services UI - needs improvement

2011-01-28 Thread Afkham Azeez
I will show you what can be improved once I get back to SL.

On Fri, Jan 28, 2011 at 12:38 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Azeez,

 I think it actually does have the ability to go forward and back :) ..
 And, sorry if I've overlooked some part, but where do we take you out
 of the wizard? ..

 And, also we actually have two ways of creating data services now. It
 will be basically for two modes of operation. The new functionality is
 the DB-DS generation. Here, when you point to a database it
 automatically creates the basic CRUD operations of the selected
 tables, and make a data service out of it. This can be seen as a data
 first approach, where we start by the data and create the data
 service, and then, we edit the data service to our needs. We hope to
 improve this more to include other types of data sources and so on.

 Then there maybe the need for some users to have that fine grained
 control from the very start, which data sources to create, what are
 the exact data service queries and so on. This is where the already
 existing typical wizard comes into play. Because, most of the time,
 users will ultimately want to create their own custom queries, and the
 existing wizard will provide that. In the upcoming release, you will
 seen many new improvements for this typical wizard to make it more
 easy to do complex tasks.

 If you compare DSS to some other large data integration products which
 has a richer UI, you will notice that DSS have the most simple UI,
 which provides the most functionality/customisability.


At WSO2 that is not a good answer. We are striving to be the best, so just
because some products do it in a sub-optimal manner, we cannot be happy with
what we have.


 Hope you wont
 see this as me giving excuses for not making the current UI better :),
 rather, we will definitely look into your ideas and consider the
 improvements.

 Thanks and Regards,
 Anjana.

 On Sat, Jan 29, 2011 at 12:24 AM, Afkham Azeez az...@wso2.com wrote:
  When it comes to a wizard, there is an expected flow. You should be able
 to
  move forward or back, and screen that take you out of the wizard should
 be
  avoided. Those are something you should avoid according to the wizard
  paradigm. If you go through the DS wizard, it is obvious to the
 developers
  who wrote it, not to the users. One way in which people improve usability
 is
  give a set of things to be done by new users, and watch what they do.
  Perhaps you guys can watch me doing something and learn from the mistakes
 I
  make.
  Thanks
  Azeez
 
 
 
  On Fri, Jan 28, 2011 at 11:48 AM, Anjana Fernando anj...@wso2.com
 wrote:
 
  Hi Azeez,
 
  On Fri, Jan 28, 2011 at 1:34 AM, Afkham Azeez az...@wso2.com wrote:
   The wizard is not really a wizard since it does not necessarily follow
 a
   flow. Also, if you do things in the wrong order, bad things happen 
   NPEs
   fly. These things normally happen at the wrong time; during demos :)
 
  I do agree on the UI issues, the DSS UI is very fragile, and we've
  been planning on rewriting the DSS UI soon. As in, some validations
  are missing I guess, for instance, if you just enter an url of a
  specific page by hand - something in the middle of the wizard, most
  probably it'll give some unexpected errors.
 
  But, when you said, 'not following a flow', can you elaborate on that
  a bit more? .. Because, I was having the impression, the current DS
  wizard is pretty simple in a way that, it follows the below flow for
  the normal service creation.
 
  Start Service Creation - Create Data Source(s) - Create Queries -
  Create Operation(s) / Resource(s).
 
  What kind of a flow are you suggesting? ..
 
  Cheers,
  Anjana.
 
  
   --
   Afkham Azeez
   Senior Software Architect  Senior Manager; WSO2, Inc.;
 http://wso2.com,
  
   Member; Apache Software Foundation; http://www.apache.org/
   email: az...@wso2.com cell: +94 77 3320919
   blog: http://blog.afkham.org
   twitter: http://twitter.com/afkham_azeez
   linked-in: http://lk.linkedin.com/in/afkhamazeez
  
   Lean . Enterprise . Middleware
  
   ___
   Carbon-dev mailing list
   Carbon-dev@wso2.org
   http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  
  
 
 
 
  --
  Anjana Fernando
  Software Engineer
  WSO2, Inc.; http://wso2.com
  lean.enterprise.middleware
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
  --
  Afkham Azeez
  Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 
  Member; Apache Software Foundation; http://www.apache.org/
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  

Re: [Carbon-dev] Usability improvement::All Carbon Base Product User Interfaces

2011-01-28 Thread Afkham Azeez
This is a great enhancement. Also, will it be possible to somehow highlight
the currently selected menu item so that the user knows where he is?

On Tue, Jan 18, 2011 at 4:26 AM, Chanaka Jayasena chan...@wso2.com wrote:

 Hi all,

 When we are working on any product console, the work area is only 2/3 of
 the entire space. This is when considering a 1024 resolution. I suggest, we
 should give users the ability to show and hide the left menu and header
 section if they want to. I am not suggesting to entirely hiding them, but to
 show a minified version of it.  There are two screen shots attached.

 step1.png
 User click on the yellow button if they want to minify left menu.

 step2.png
 Left menu and header section is minified. User can see the hidden menu by
 clicking on the yellow icon again.
 User can mouse over to a menu heading and system will display a popup menu
 with all the sub menus under it.

 WDYT?

 Thanks,
 Chanaka



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-01-28 Thread Amila Maha Arachchi
Looks like ESB build was unsuccessful.

On Sat, Jan 29, 2011 at 1:47 AM, WSO2 Builder buil...@wso2.org wrote:

 Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
 Unable to download the artifact from any repository

 Try downloading the file manually from the project website.

 Then, install it using the command:
mvn install:install-file -DgroupId=org.wso2.esb
 -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
 -Dpackaging=zip -Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file
 there:
mvn deploy:deploy-file -DgroupId=org.wso2.esb
 -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT

 from the specified remote repositories:
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)


at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
at
 org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
... 21 more
 Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
 download the artifact from any repository
at
 org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:349)
at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
... 23 more
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] ERROR

 Unable to download the artifact from any repository
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 1 minute 1 second
 [INFO] Finished at: Sat Jan 29 01:47:05 IST 2011
 [INFO] Final Memory: 22M/981M
 [INFO]
 
 cp: cannot stat `target/p2-repo': No such file or directory
 2011-01-29_01-46-03
 cp: cannot create regular file
 `/home/carbon/public_html/releases/carbon/3.2.0/2011-01-29_01-46-03': No
 such file or directory
 Carbon  packs are available at :
 http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/http://10.100.1.43/%7Ecarbon/releases/carbon/3.2.0/latest/
 tail -n50 $STRATOS_SRC_HOME/build.log
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Remote user management broken [was WSO2 Carbon Continuous Build has FAILED

2011-01-28 Thread Kathiravelu Pradeeban
On Sat, Jan 29, 2011 at 8:05 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Sat, Jan 29, 2011 at 5:59 AM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Jan 26, 2011 at 7:43 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 Hi,

 I added two empty methods to remote-usermanagement.

 void initializeTheExistingPartitions()


 Don't add 'the' to method names. We don't say, getTheUserName
 ,setTheUserName etc.


 Also, if we are already dealing with the user at class level, then User
 part is also redundant.


I am not much familiar with remote-user-mgt. But since we have firstname,
lastname, along with the username or adminName, in cases like tenant-mgt or
ldap, 'User' part is not redundant. So IMO adding 'User' here does good to
be consistent (?).

Thank you.
Regards,
Pradeeban.




 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Kathiravelu Pradeeban.
Software Engineer.
WSO2 Inc.

Blog: [Llovizna] http://kkpradeeban.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Add the default P2 repo to the Repo manager

2011-01-28 Thread Pradeep Fernando
On Sat, Jan 29, 2011 at 6:04 AM, Afkham Azeez az...@wso2.com wrote:
 Pradeep,
 This is something we have been discussing for sometime. Will it be possible
 to add this easily to each release?
we will add this from 3.2.0 carbon release onwards.

--Pradeep

 Thanks
 Azeez

 --
 Afkham Azeez
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,

 Member; Apache Software Foundation; http://www.apache.org/
 email: az...@wso2.com cell: +94 77 3320919
 blog: http://blog.afkham.org
 twitter: http://twitter.com/afkham_azeez
 linked-in: http://lk.linkedin.com/in/afkhamazeez

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





-- 
Pradeep Fernando
Software Engineer
WSO2 Inc; http://wso2.com/

blog: http://pradeepfernando.blogspot.com/
m: +94776603662
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Authz Manager - How to check if an action is denied?

2011-01-28 Thread Danushka Menikkumbura
How to check if a given action is denied on a given resource using the
Carbon authz manager?.

isAuthorized == false does not necessarily mean it is denied IMO.

The default behaviour is to deny?

Thanks,
Danushka
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Data services UI - needs improvement

2011-01-28 Thread Amila Suriarachchi
On Sat, Jan 29, 2011 at 1:08 AM, Anjana Fernando anj...@wso2.com wrote:

 Hi Azeez,

 I think it actually does have the ability to go forward and back :) ..
 And, sorry if I've overlooked some part, but where do we take you out
 of the wizard? ..


In my experience DSS works fine if I know how to use the product and execute
the normal flow. Even it works fine
with editing the service. So basically it can be used for any reasonably
complex data service.



 And, also we actually have two ways of creating data services now. It
 will be basically for two modes of operation. The new functionality is
 the DB-DS generation. Here, when you point to a database it
 automatically creates the basic CRUD operations of the selected
 tables, and make a data service out of it. This can be seen as a data
 first approach, where we start by the data and create the data
 service, and then, we edit the data service to our needs. We hope to
 improve this more to include other types of data sources and so on.

 Then there maybe the need for some users to have that fine grained
 control from the very start, which data sources to create, what are
 the exact data service queries and so on. This is where the already
 existing typical wizard comes into play. Because, most of the time,
 users will ultimately want to create their own custom queries, and the
 existing wizard will provide that. In the upcoming release, you will
 seen many new improvements for this typical wizard to make it more
 easy to do complex tasks.


This is something I have mentioned earlier as well. I am not sure any one
have paid a real attention to it.

The problem with current DSS is that it try to provide every thing from one
wizard. Rather you can have
different set of menus like data first, data service, contract first etc ..
as a top menu and show only the relevant
things at the wizard which make less confuse to the user.

In CEP also we had a wizard like structure. But what we found there was it
does not show the big picture to the user and
he is lost in going forward and back word. If you can break down the DSS
functionalities in terms of use cases then you can have more compact views
with each use cases rather than long wizards.

thanks,
Amila.


 If you compare DSS to some other large data integration products which
 has a richer UI, you will notice that DSS have the most simple UI,
 which provides the most functionality/customisability. Hope you wont
 see this as me giving excuses for not making the current UI better :),
 rather, we will definitely look into your ideas and consider the
 improvements.

 Thanks and Regards,
 Anjana.

 On Sat, Jan 29, 2011 at 12:24 AM, Afkham Azeez az...@wso2.com wrote:
  When it comes to a wizard, there is an expected flow. You should be able
 to
  move forward or back, and screen that take you out of the wizard should
 be
  avoided. Those are something you should avoid according to the wizard
  paradigm. If you go through the DS wizard, it is obvious to the
 developers
  who wrote it, not to the users. One way in which people improve usability
 is
  give a set of things to be done by new users, and watch what they do.
  Perhaps you guys can watch me doing something and learn from the mistakes
 I
  make.
  Thanks
  Azeez
 
 
 
  On Fri, Jan 28, 2011 at 11:48 AM, Anjana Fernando anj...@wso2.com
 wrote:
 
  Hi Azeez,
 
  On Fri, Jan 28, 2011 at 1:34 AM, Afkham Azeez az...@wso2.com wrote:
   The wizard is not really a wizard since it does not necessarily follow
 a
   flow. Also, if you do things in the wrong order, bad things happen 
   NPEs
   fly. These things normally happen at the wrong time; during demos :)
 
  I do agree on the UI issues, the DSS UI is very fragile, and we've
  been planning on rewriting the DSS UI soon. As in, some validations
  are missing I guess, for instance, if you just enter an url of a
  specific page by hand - something in the middle of the wizard, most
  probably it'll give some unexpected errors.
 
  But, when you said, 'not following a flow', can you elaborate on that
  a bit more? .. Because, I was having the impression, the current DS
  wizard is pretty simple in a way that, it follows the below flow for
  the normal service creation.
 
  Start Service Creation - Create Data Source(s) - Create Queries -
  Create Operation(s) / Resource(s).
 
  What kind of a flow are you suggesting? ..
 
  Cheers,
  Anjana.
 
  
   --
   Afkham Azeez
   Senior Software Architect  Senior Manager; WSO2, Inc.;
 http://wso2.com,
  
   Member; Apache Software Foundation; http://www.apache.org/
   email: az...@wso2.com cell: +94 77 3320919
   blog: http://blog.afkham.org
   twitter: http://twitter.com/afkham_azeez
   linked-in: http://lk.linkedin.com/in/afkhamazeez
  
   Lean . Enterprise . Middleware
  
   ___
   Carbon-dev mailing list
   Carbon-dev@wso2.org
   http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  
  
 
 
 
  --
  Anjana Fernando
  Software 

Re: [Carbon-dev] Remote user management broken [was WSO2 Carbon Continuous Build has FAILED

2011-01-28 Thread Hasini Gunasinghe
On Sat, Jan 29, 2011 at 5:59 AM, Afkham Azeez az...@wso2.com wrote:



 On Wed, Jan 26, 2011 at 7:43 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 I added two empty methods to remote-usermanagement.

 void initializeTheExistingPartitions()


 Don't add 'the' to method names. We don't say, getTheUserName
 ,setTheUserName etc.

Thanks Azeez for pointing it out. Corrected the above method name as
'initializeExistingPartitions()' (r86305 and r86306).

Thanks,
Hasini.





 and

 isBulkImportSupported()

 @Hasini and AmilaJ

 Whenever we add a methods to user core interfaces, let's add the methods
 to it's implementations in registry and remote-usermanagement as well.

 Thanks,
 Dimuthu



 On Thu, Jan 27, 2011 at 8:00 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 [INFO] Compiling 149 source files to

 /home/carbon/stratos/carbon/components/remote-usermgt/org.wso2.carbon.um.ws.api/target/classes
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /home/carbon/stratos/carbon/components/remote-usermgt/org.wso2.carbon.um.ws.api/src/main/java/org/wso2/carbon/um/ws/api/WSUserStoreManager.java:[57,7]
 org.wso2.carbon.um.ws.api.WSUserStoreManager is not abstract and does
 not override abstract method isBulkImportSupported() in
 org.wso2.carbon.user.core.UserStoreManager


 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 346 minutes 59 seconds
 [INFO] Finished at: Thu Jan 27 06:56:14 IST 2011
 [INFO] Final Memory: 1419M/1749M
 [INFO]
 
 ___
 Carbon-dev mailing list
 carbon-...@lists.wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 ___
 Carbon-dev mailing list
 carbon-...@lists.wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 carbon-...@lists.wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
 *
 *
 *Member; Apache Software Foundation; 
 **http://www.apache.org/*http://www.apache.org/
 *
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Kudos: Entitlement mediator UI + XACML policy editor

2011-01-28 Thread Prabath Siriwardana
On Sat, Jan 29, 2011 at 10:46 AM, Amila Suriarachchi am...@wso2.com wrote:


 On Fri, Jan 28, 2011 at 8:07 PM, Afkham Azeez az...@wso2.com wrote:

 The above combined with the samples from Prabath's blog [1] make is very
 easy for anybody to configure entitlement from the ESB. While there are some
 more feature improvements to be made, what works, works solidly, and is user
 friendly. Once the XACML policy editor is in place, this will be a killer
 feature. It would be also nice to be able to have this as an entitlement
 module in AppServer, DS etc. since it is a very powerful way of doing fine
 grained access control.

 +1. It is better to have it as an Axis2 handler as well.

+1

Thanks  regards,
-Prabath


 thanks,
 Amila.

 1. http://blog.facilelogin.com/search/label/XACML

 --
 Afkham Azeez
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,

 Member; Apache Software Foundation; http://www.apache.org/
 email: az...@wso2.com cell: +94 77 3320919
 blog: http://blog.afkham.org
 twitter: http://twitter.com/afkham_azeez
 linked-in: http://lk.linkedin.com/in/afkhamazeez

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





-- 
Thanks  Regards,
Prabath

http://blog.facilelogin.com
http://RampartFAQ.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Authz Manager - How to check if an action is denied?

2011-01-28 Thread Amila Suriarachchi
On Sat, Jan 29, 2011 at 10:32 AM, Danushka Menikkumbura
danus...@wso2.comwrote:

 How to check if a given action is denied on a given resource using the
 Carbon authz manager?.

 isAuthorized == false does not necessarily mean it is denied IMO.


It means action is denied. In security if it is not authorized that means
denied.



 The default behaviour is to deny?


The default behavior is determined by the application it uses. if the
application thinks by default authorize
it has to inform that to authorization manager.

In creating topics, we have to explicitly authorize any role to subscribe
and publish by default.

thanks,
Amila.


 Thanks,
 Danushka

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] DS Fault Message: Error in 'CallQuery.extractParams', cannot find Param

2011-01-28 Thread Anjana Fernando
Hi Jorge,

I understand your requirement. Now I see the WSDL may be confusing for
you, since it does have minOccurs=0 to say its optional. This is
there because, we've an option to give default values [1], in a data
service query. That is, if the operation is not passing in the value
to a data service query, if a default value is specific, it will be
assigned at the parameter into the query. When specifying null as the
default value to a field, please use #{NULL} as the value. So the
ultimate idea is, in data services perspective, if an input mapping is
specified in the data service query, it should somehow get a value to
it, by either directly from the operation or a default value.

The other option you can follow is, when sending the actual SOAP
request, it will have the elements which contain the parameters, but
it will be signalled as a null value, by using xsi:nil=true
attribute (nillable=true is there in the WSDL), so DSS can handle
that as well. So you've to do that properly from the service client
you use. And maybe verify the message using something like tcpmon. For
more info on xsi:nil attribute, refer to [2].

[1] 
http://wso2.org/project/solutions/data-services/java/2.5.0/docs/default_vals.html
[2] http://www.ibm.com/developerworks/xml/library/ws-tip-null.html

Cheers,
Anjana.

On Sat, Jan 29, 2011 at 3:30 AM, Jorge Infante Osorio jorg...@uci.cu wrote:
 Hi Anjana.

 The sql query consult a function in postgresql that accept at least one
 parameter of the 26 that it have.

 I have 26 parameter in an operation that make a search based only in the
 parameters specified, not null or empty. The WSDL types generate by the DS
 look like this:

 xs:element minOccurs=0 name=pnombre nillable=true type=xs:string/
 xs:element minOccurs=0 name=snombre nillable=true type=xs:string/
 xs:element minOccurs=0 name=papellido nillable=true
 type=xs:string/
 xs:element minOccurs=0 name=sapellido nillable=true
 type=xs:string/
 xs:element minOccurs=0 name=lnacimiento nillable=true
 type=xs:string/
 xs:element minOccurs=0 name=fecha_nac nillable=true type=xs:date/
 xs:element minOccurs=0 name=sex nillable=true type=xs:string/
 xs:element minOccurs=0 name=edad nillable=true type=xs:int/
 xs:element minOccurs=0 name=npadre nillable=true type=xs:string/
 xs:element minOccurs=0 name=nmadre nillable=true type=xs:string/
 xs:element minOccurs=0 name=peso nillable=true type=xs:float/
 xs:element minOccurs=0 name=estatura nillable=true type=xs:float/

 My idea is that if I introduce only  pnombre and fecha_nac the operation
 return all the records that match with this  parameters in the database. And
 all the others parameters appears as null or empty in the SOAP.

 This is the SOAP message to the service:
    soapenv:Envelope
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
       soapenv:Body
          ns1:buscarDatosPersona
 xmlns:ns1=http://ws.wso2.org/dataservice;
             ns1:pnombreSamuel/ns1:pnombre
          /ns1:buscarDatosPersona
       /soapenv:Body
    /soapenv:Envelope

 I need that in this incoming SOAP message all the elements appear in NULL or
 empty, but the specified by me in the client. By now only pnombre is there,
 because I put it  in the client.

 And this is the fault SOAP response :
    soapenv:Envelope
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
       soapenv:Header /
       soapenv:Body
          soapenv:Fault
             soapenv:Code
                soapenv:Valuesoapenv:Receiver/soapenv:Value
             /soapenv:Code
             soapenv:Reason
                soapenv:Text xml:lang=en-USDS Fault Message: Error in
 pre-fetching dataNested Exception:-javax.xml.stream.XMLStreamException: DS
 Fault Message: Error in 'CallQuery.extractParams', cannot find Param with
 type:query-param name:sapellidoSource Data Service:-Name: PersonaLocation:
 /opt/wso2wsas-3.2.1/repository/deployment/server/dataservices/Persona.dbsDes
 cription: N/ADefault Namespace: http://ws.wso2.org/dataserviceCurrent
 Request Name: buscarDatosPersonaCurrent Params:
 {pnombre=Samuel}/soapenv:Text
             /soapenv:Reason
             soapenv:Detail
                axis2ns7:DataServiceFault
 xmlns:axis2ns7=http://ws.wso2.org/dataservice;DS Fault Message: Error in
 pre-fetching dataNested Exception:-javax.xml.stream.XMLStreamException: DS
 Fault Message: Error in 'CallQuery.extractParams', cannot find Param with
 type:query-param name:sapellidoSource Data Service:-Name: PersonaLocation:
 /opt/wso2wsas-3.2.1/repository/deployment/server/dataservices/Persona.dbsDes
 cription: N/ADefault Namespace: http://ws.wso2.org/dataserviceCurrent
 Request Name: buscarDatosPersonaCurrent Params:
 {pnombre=Samuel}/axis2ns7:DataServiceFault
             /soapenv:Detail
          /soapenv:Fault
       /soapenv:Body
    /soapenv:Envelope

 I need a way to specified in the incoming SOAP message all the element in
 null or empty.

 Jorge.


 -Mensaje original-
 De: carbon-dev-boun...@wso2.org 

Re: [Carbon-dev] DS Fault Message: Error in 'CallQuery.extractParams', cannot find Param

2011-01-28 Thread Jorge Infante Osorio
Anjana, I appreciate your help. 
I will try your options. Thanks.

Jorge.

-Mensaje original-
De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Anjana Fernando
Enviado el: sábado, 29 de enero de 2011 0:28
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] DS Fault Message: Error in
'CallQuery.extractParams', cannot find Param

Hi Jorge,

I understand your requirement. Now I see the WSDL may be confusing for you,
since it does have minOccurs=0 to say its optional. This is there because,
we've an option to give default values [1], in a data service query. That
is, if the operation is not passing in the value to a data service query, if
a default value is specific, it will be assigned at the parameter into the
query. When specifying null as the default value to a field, please use
#{NULL} as the value. So the ultimate idea is, in data services
perspective, if an input mapping is specified in the data service query, it
should somehow get a value to it, by either directly from the operation or a
default value.

The other option you can follow is, when sending the actual SOAP request, it
will have the elements which contain the parameters, but it will be
signalled as a null value, by using xsi:nil=true
attribute (nillable=true is there in the WSDL), so DSS can handle that as
well. So you've to do that properly from the service client you use. And
maybe verify the message using something like tcpmon. For more info on
xsi:nil attribute, refer to [2].

[1]
http://wso2.org/project/solutions/data-services/java/2.5.0/docs/default_vals
.html
[2] http://www.ibm.com/developerworks/xml/library/ws-tip-null.html

Cheers,
Anjana. 


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Authz Manager - How to check if an action is denied?

2011-01-28 Thread Danushka Menikkumbura

 It means action is denied. In security if it is not authorized that means
 denied.


I do not think so. If the authorisation manager sees that the action is
nether allowed nor denied, then it should abstain from saying anything and
let the application act accordingly.

Thanks,
Danushka
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Kudos: Entitlement mediator UI + XACML policy editor

2011-01-28 Thread Tharindu Mathew
+1 almost everyone is interested in using this for access control  and
is looking forward to having a policy ui. Once that in place this will
no doubt be a star feature, if not already.

Regards,

Tharindu

Sent from my iPhone

On Jan 29, 2011, at 10:50 AM, Prabath Siriwardana prab...@wso2.com wrote:

 On Sat, Jan 29, 2011 at 10:46 AM, Amila Suriarachchi am...@wso2.com wrote:


 On Fri, Jan 28, 2011 at 8:07 PM, Afkham Azeez az...@wso2.com wrote:

 The above combined with the samples from Prabath's blog [1] make is very
 easy for anybody to configure entitlement from the ESB. While there are some
 more feature improvements to be made, what works, works solidly, and is user
 friendly. Once the XACML policy editor is in place, this will be a killer
 feature. It would be also nice to be able to have this as an entitlement
 module in AppServer, DS etc. since it is a very powerful way of doing fine
 grained access control.

 +1. It is better to have it as an Axis2 handler as well.

 +1

 Thanks  regards,
 -Prabath


 thanks,
 Amila.

 1. http://blog.facilelogin.com/search/label/XACML

 --
 Afkham Azeez
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,

 Member; Apache Software Foundation; http://www.apache.org/
 email: az...@wso2.com cell: +94 77 3320919
 blog: http://blog.afkham.org
 twitter: http://twitter.com/afkham_azeez
 linked-in: http://lk.linkedin.com/in/afkhamazeez

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





 --
 Thanks  Regards,
 Prabath

 http://blog.facilelogin.com
 http://RampartFAQ.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Authz Manager - How to check if an action is denied?

2011-01-28 Thread Amila Suriarachchi
On Sat, Jan 29, 2011 at 11:17 AM, Danushka Menikkumbura
danus...@wso2.comwrote:

 It means action is denied. In security if it is not authorized that means
 denied.


 I do not think so. If the authorisation manager sees that the action is
 nether allowed nor denied, then it should abstain from saying anything and
 let the application act accordingly.

Lets take two scenarios.

1. Application has not set the authorizes details
2. Application has set the action to deny.

in both cases authorization manger returns false. (Obviously it can not
return true).

Then how you determine which case has cause authorization manger to return
false?

thanks,
Amila.



 Thanks,
 Danushka


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Authz Manager - How to check if an action is denied?

2011-01-28 Thread Danushka Menikkumbura
 Lets take two scenarios.

 1. Application has not set the authorizes details
 2. Application has set the action to deny.

 in both cases authorization manger returns false. (Obviously it can not
 return true).


We need to have a new method to check denial.

So, (isAuthorized == false) and (isDenied == false) simply means that I have
no idea what this resource means so that am abstaining from saying anything.

Ideally isAuthorized should have returned enum {ALLOWED, DENIED, ABSTAIN}
but we can not afford to do that now.

Thanks,
Danushka
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Kudos: Entitlement mediator UI + XACML policy editor

2011-01-28 Thread Afkham Azeez
There was also a recent user requirement to expose the PDP as an OSGi
service, so that other bundles can directly call this service.

Azeez

On Fri, Jan 28, 2011 at 11:39 PM, Tharindu Mathew thari...@wso2.com wrote:

 +1 almost everyone is interested in using this for access control  and
 is looking forward to having a policy ui. Once that in place this will
 no doubt be a star feature, if not already.

 Regards,

 Tharindu

 Sent from my iPhone

 On Jan 29, 2011, at 10:50 AM, Prabath Siriwardana prab...@wso2.com
 wrote:

  On Sat, Jan 29, 2011 at 10:46 AM, Amila Suriarachchi am...@wso2.com
 wrote:
 
 
  On Fri, Jan 28, 2011 at 8:07 PM, Afkham Azeez az...@wso2.com wrote:
 
  The above combined with the samples from Prabath's blog [1] make is
 very
  easy for anybody to configure entitlement from the ESB. While there are
 some
  more feature improvements to be made, what works, works solidly, and is
 user
  friendly. Once the XACML policy editor is in place, this will be a
 killer
  feature. It would be also nice to be able to have this as an
 entitlement
  module in AppServer, DS etc. since it is a very powerful way of doing
 fine
  grained access control.
 
  +1. It is better to have it as an Axis2 handler as well.
 
  +1
 
  Thanks  regards,
  -Prabath
 
 
  thanks,
  Amila.
 
  1. http://blog.facilelogin.com/search/label/XACML
 
  --
  Afkham Azeez
  Senior Software Architect  Senior Manager; WSO2, Inc.;
 http://wso2.com,
 
  Member; Apache Software Foundation; http://www.apache.org/
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
 
  --
  Thanks  Regards,
  Prabath
 
  http://blog.facilelogin.com
  http://RampartFAQ.com
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*http://www.apache.org/
*
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-01-28 Thread WSO2 Builder
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable 
to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command: 
mvn install:install-file -DgroupId=org.wso2.esb 
-DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT 
-Dpackaging=zip -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: 
mvn deploy:deploy-file -DgroupId=org.wso2.esb 
-DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT 
-Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT

from the specified remote repositories:
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)


at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
at 
org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
... 21 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
download the artifact from any repository
at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:349)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
... 23 more
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] ERROR

Unable to download the artifact from any repository
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 51 seconds
[INFO] Finished at: Sat Jan 29 13:21:59 IST 2011
[INFO] Final Memory: 26M/1187M
[INFO] 
cp: cannot stat `target/p2-repo': No such file or directory
2011-01-29_13-21-06
cp: cannot create regular file 
`/home/carbon/public_html/releases/carbon/3.2.0/2011-01-29_13-21-06': No such 
file or directory
Carbon  packs are available at : 
http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
tail -n50 $STRATOS_SRC_HOME/build.log
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev