Re: About ws-policy, when mulitple policy alternative is supported in axis2?

2007-10-22 Thread Wenshuang Sun
Thanks, I will try it.

2007/10/22, Upul Godage [EMAIL PROTECTED]:
 May be you can use Apache Synapse (http://ws.apache.org/synapse/) for the
 single endpoint problem.

 There will be a single proxy service endpoint for the user.  In Synapse
 configuration you can check for incoming messages to the proxy service
 whether security headers exist.  If exist send to security enabled endpoint
 otherwise send to no-security endpoint.


 Upul



 On 10/22/07, Wenshuang Sun [EMAIL PROTECTED] wrote:
  Hi Sanka,
 
  Thanks. While I want to use ws-securitypolicy to support security
  settings and no security settings, so I use the ws-policy multiple
  policy alternative. From rampart-dev advice, the two endpoints(one
  supports security and the other support no-security) are set in axis2,
  the problem will be rosovled, but I think it isn't fit my request, I
  want to use one endpoint to resovle the problem.
 
  Best regards.
 
  2007/10/19, Sanka Samaranayke [EMAIL PROTECTED]:
   Hi,
  
   Supporting multiple policy alternatives is on TODOs list but AFAIK,
 nobody in actively involved in getting it implemented at the moment.
  
   We can certainly think of getting it implemented at least to some extend
 if can focus on few useful scenarios and narrow the scope of
   implementation.
  
   Do you guys have any useful scenarios of the application of multiple
 policy alternative that we can look into ?
  
   Cheers,
   Sanka
  
  
  
   Wenshuang Sun wrote:
Hi,
   
About ws-policy, when mulitple policy alternative is supported in
 axis2?
   
Thanks.
   
   
 -
To unsubscribe, e-mail:
 [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
   
  
  
   --
   Sanka Samaranayake
   WSO2 Inc.
  
   http://www.bloglines.com/blog/sanka
   http://www.wso2.org/
  
  
  
 -
   To unsubscribe, e-mail:
 [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 -
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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



Re: About ws-policy, when mulitple policy alternative is supported in axis2?

2007-10-21 Thread Wenshuang Sun
Hi Sanka,

Thanks. While I want to use ws-securitypolicy to support security
settings and no security settings, so I use the ws-policy multiple
policy alternative. From rampart-dev advice, the two endpoints(one
supports security and the other support no-security) are set in axis2,
the problem will be rosovled, but I think it isn't fit my request, I
want to use one endpoint to resovle the problem.

Best regards.

2007/10/19, Sanka Samaranayke [EMAIL PROTECTED]:
 Hi,

 Supporting multiple policy alternatives is on TODOs list but AFAIK, nobody in 
 actively involved in getting it implemented at the moment.

 We can certainly think of getting it implemented at least to some extend if 
 can focus on few useful scenarios and narrow the scope of
 implementation.

 Do you guys have any useful scenarios of the application of multiple policy 
 alternative that we can look into ?

 Cheers,
 Sanka



 Wenshuang Sun wrote:
  Hi,
 
  About ws-policy, when mulitple policy alternative is supported in axis2?
 
  Thanks.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


 --
 Sanka Samaranayake
 WSO2 Inc.

 http://www.bloglines.com/blog/sanka
 http://www.wso2.org/


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



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



How to use WSDL to validate soap message?

2007-10-21 Thread Wenshuang Sun
Hi,

How to use WSDL to validate the soap message in axis2, is the API
about the function  provided?

Thanks.

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



Re: How to use WSDL to validate soap message?

2007-10-21 Thread Wenshuang Sun
Hi,
Thanks. what's the version of axis2 that support what you said? 1.2 or 1.3?

Best Regards.

Wenshuang

2007/10/22, keith chapman [EMAIL PROTECTED]:



 On 10/22/07, Wenshuang Sun [EMAIL PROTECTED] wrote:
  Hi,
 
  How to use WSDL to validate the soap message in axis2, is the API
  about the function  provided?

 Axis2 validates your SOAP message according  to the  schema defined in your
 WSDL. This is done by default hence you dont need to do anything
 specifically to get this done.

 Thanks,
 Keith.

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



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

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



Re: How to use WSDL to validate soap message?

2007-10-21 Thread Wenshuang Sun
Thank you very much.

2007/10/22, Anne Thomas Manes [EMAIL PROTECTED]:
 Actually, that's not quite accurate. Axis2 does not automatically
 validate messages -- at least not from a true schema validation
 perspective. If are using a data binding framework, then the data
 binding framework will generate errors if required elements are
 missing or the element content doesn't conform to the expected schema
 type. But that's not the same as schema validation. If you have
 constraints on an element (patterns, occurrence, referential
 integrity, etc), the data binding framework won't catch them. And, if
 you aren't using a data binding framework, then Axis2 won't do any
 type of message validation.

 If you really want to validate messages before or after processing,
 you should engage a module to validate the messages using schema
 validation. Please bear in mind, though, that schema validation is a
 very expensive process, so use this option with discretion.

 Anne

 On 10/22/07, Lahiru Sandakith [EMAIL PROTECTED] wrote:
  Its a core feature hence Do in both,
  but always better to use the latest (1.3)
 
  Thanks
  Lahiru
 
 
  On 10/22/07, Wenshuang Sun  [EMAIL PROTECTED] wrote:
   Hi,
   Thanks. what's the version of axis2 that support what you said? 1.2 or
  1.3?
  
   Best Regards.
  
   Wenshuang
  
   2007/10/22, keith chapman [EMAIL PROTECTED]:
   
   
   
On 10/22/07, Wenshuang Sun  [EMAIL PROTECTED] wrote:
 Hi,

 How to use WSDL to validate the soap message in axis2, is the API
 about the function  provided?
   
Axis2 validates your SOAP message according  to the  schema defined in
  your
WSDL. This is done by default hence you dont need to do anything
specifically to get this done.
   
Thanks,
Keith.
   
 Thanks.


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


   
   
   
--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/
  
  
  -
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 
  --
  Thanks
  Lahiru Sandakith
 
  http://sandakith.wordpress.com/
  GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F

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



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



About ws-policy, when mulitple policy alternative is supported in axis2?

2007-10-19 Thread Wenshuang Sun
Hi,

About ws-policy, when mulitple policy alternative is supported in axis2?

Thanks.

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



About MTOM+Rampart

2007-09-23 Thread Wenshuang SUN

Hello,

While I use the Axis2+Rampart to send binary data by MTOM, There are some
problems, there is the detail information in the attachment file,Please give
me some advise.

Thanks. 
attachment: MTOM_Security_Problem.PNG-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]