Re: deploy both client and server in tomcat

2009-04-16 Thread jason zhang
t" Any help on configuring axis2 client in server is really appreciated. thanks -jason jason zhang wrote: Hi, All I am using axis2-1.4. I had the service deployed to tomcat and it is tested. I also developed client using the AXIOM. The client is initialized like this Conf

deploy both client and server in tomcat

2009-04-09 Thread jason zhang
Hi, All I am using axis2-1.4. I had the service deployed to tomcat and it is tested. I also developed client using the AXIOM. The client is initialized like this ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(TestConfig.repo_dir, null); sc = ne

Re: difference in AxisFault handling in server between SOAP 11 and SOAP 12

2008-10-23 Thread jason zhang
], [2] thanks, nandana [1] - https://issues.apache.org/jira/browse/WSCOMMONS-343 [2] - http://issues.apache.org/jira/browse/RAMPART-164 On Thu, Oct 23, 2008 at 12:36 PM, jason zhang <[EMAIL PROTECTED]> wrote: Hi I use AXIOM style client code to invoke service. My serv

difference in AxisFault handling in server between SOAP 11 and SOAP 12

2008-10-22 Thread jason zhang
Hi I use AXIOM style client code to invoke service. My service is implemented using generated stub. It uses policy for security. To test the fault handling, my server code always throws AxisFault. If the client code has this line: "options.setSoapVersionURI(org.apache.axiom.soap.SOAP12Constan

SOAPProcessingException: Only Characters are allowed here for axiom invocation

2008-10-22 Thread jason zhang
Hi, All I have a very strange situation. I have a web service. The web service uses policy for username/password authentication. If I use client stub to invoke the service (adb style), the fault message is reported back correctly to client as SOAP payload. If I use AXIOM to invoke the service

axis2 1.4 maven repository

2008-05-15 Thread jason zhang
Hi, david If I click the URL, I can see the axis 1.4 jar file is there. But if I use Eclipse+Maven plugin in, I could not find the axis2 1.4 related library. I can see axis2 1.3 related library Any suggestion? thanks -jason David Illsley wrote: You've got the wrong groupid. Try [1] David [

Re: axis2 1.4 incorrect wsdl with policy

2008-05-10 Thread jason zhang
cular binding by setting the  identifier attribute of  element to that binding name. It is a limitation we have at the moment. Sanka On Thu, May 8, 2008 at 9:17 PM, jason zhang <[EMAIL PROTECTED]> wrote: Hi, Sanka This does not work. My original wsdl is like this     ...       

Re: axis2 1.4 incorrect wsdl with policy

2008-05-08 Thread jason zhang
004/09/policy">               ...     HTH Sanka On Sun, May 4, 2008 at 2:48 PM, jason zhang <[EMAIL PROTECTED]> wrote: Hi, all I am using axis2 1.4 with rampart 1.4 RC1. M

axis2 1.4 incorrect wsdl with policy

2008-05-04 Thread jason zhang
Hi, all I am using axis2 1.4 with rampart 1.4 RC1. My services.xml is like this -- ... xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; xmlns:wsp="http://schemas.x

rampart and WSPasswordCallback

2008-05-04 Thread jason zhang
Hi, all According to CallbackHandler javadoc(http://java.sun.com/javase/6/docs/technotes/guides/security/jaas/JAASRefGuide.html#CallbackHandler), the CallBackHandler should collect password information from external source(LDAP, database) and set it to Callback. However, in this example( http

Re: Axis2 with rampart sample, username hardcoded

2008-03-31 Thread jason zhang
Hi, Nandana I am using rampart 1.3 and axis 1.3. Is this a bug or is there any error with my code? thanks -jason jason zhang wrote: Hi, Nandana I used this poicy in my service.xml, deployed the service. I then generated stub using wsdl which contains the policy element. My client code is

Re: Axis2 with rampart sample, username hardcoded

2008-03-31 Thread jason zhang
Hi, Nandana I am using axis2-1.3 and rampart 1.3 thanks -jason Nandana Mihindukulasooriya wrote: Hi Jason, What are the Axis2 and Rampart versions that you are using ? thanks, /nandana - To unsubscribe, e-mail: [

Re: Axis2 with rampart sample, username hardcoded

2008-03-30 Thread jason zhang
Hi, Nandana I used this poicy in my service.xml, deployed the service. I then generated stub using wsdl which contains the policy element. My client code is like this ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(repo_dir, null); stub

Re: Using rampart policy for basic authentication

2008-03-29 Thread jason zhang
mas.xmlsoap.org/ws/2005/07/securitypolicy"> Is this what you're looking for? Martin- - Original Message - From: "jason zhang" <[EMAIL PROTECTED]> To: Sent: Saturday, March 29, 2008

Using rampart policy for basic authentication

2008-03-29 Thread jason zhang
Hi, All Is it possible to implement the rampart sample/basic/sample02 with policy? What I want to do just basic username/password authentication with policy. All the examples in policy directory involve encryption or signature. If it is possible, how can I find out in my business method who

Re: Axis2 with rampart sample, username hardcoded

2008-03-28 Thread jason zhang
Hi, nandana Can I use a policy to specify that the server only needs username and password tokens? The server does not need encryption, signature, etc. I used this policy in my server.             xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"  

log4j configuration under tomcat 6

2008-03-23 Thread jason zhang
Hi all I have some trouble in tuning the log4j configuration for axis2 under tomcat. My web application has both web service and other component such as web interface. First, Can I use JDK log instead of log4j log? If I use log4j log, can I specify log information for my own class in the log4j.pro