Re: I don't understand what is going on with memory control in a client.

2008-03-30 Thread Manjula Peiris
On Fri, 2008-03-28 at 15:20 -0400, Alex Bolgarov wrote: I tried with the echo sample - compiled both service and client from the source code. All worked OK, without crashes in both cases - when the request is successful and when the request fails because I did not start the service. And I run

Re: Header parameters being ignored

2008-03-30 Thread Dimuthu Gamage
Hi Sérgio, I just resolved the issue on SOAP headers in both client and server side[1]. You can try the svn or just wait for the today nightly build. http://people.apache.org/dist/axis2/nightly. I attached the stub code for your wsdl here[1]. You can get an idea on how to use the API with the

Re: Using rampart policy for basic authentication

2008-03-30 Thread Nandana Mihindukulasooriya
Hi Jason, Is it possible to implement the rampart sample/basic/sample02 with policy? Even though this is not recommended ( sending the UT in plain text over HTTP), this is possible with Rampart. Policy for your scenario is wsp:Policy wsu:Id=UToverHTTP

Re: Axis2 with rampart sample, username hardcoded

2008-03-30 Thread Nandana Mihindukulasooriya
Hi Jason, You need to have that Username Token assertion inside a supporting token assertion. wsp:Policy wsu:Id=UToverHTTP xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;

[Axis2] 1.4 RC3

2008-03-30 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I've posted the RC3 here: http://people.apache.org/~dims/axis2-1.4/RC3/ Notes: - - There's a text file with revision numbers that i used for all the SNAPSHOTS - - There's a m2-repo.zip with all the m2 artifacts - - There's an online repo as

Rampart/Secureconv JaxenException

2008-03-30 Thread mikle
I am getting a JaxenException in the client stub on _operationClient.execute(true); I started getting this exception after i setup the client to use rampart. ConfigurationContext context = ConfigurationContextFactory.createConfigurationContextFromFileSystem(repository); ClearingHouseServiceStub

Re: Element is referenced but not defined

2008-03-30 Thread sh_santosh
Hi all, I want to generate wsdl2java for Document literal web services for Axis, java. I am using this command to generate wsdl 2 java : -o . -d Session -s -S true -Nurn:TestSearchEngine webservices.wsdoclittest.wstemp src/webservices/wsdoclittest/wstemp/TestServices.wsdl But i got

Re: soapenv:Server.userException - SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize

2008-03-30 Thread sh_santosh
Hi Anne, while i generate wsdl2java i got this exception : java.io.IOException: Type {urn:TestSearchEngine}searchTestResponse is referenced but not defined. at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:665) at

Re: Rampart/Secureconv JaxenException

2008-03-30 Thread Nandana Mihindukulasooriya
Hi Michael, Configuration seems ok. Can you post the WSDL and the stack trace of the Exception ? thanks, /nandana On 3/30/08, mikle [EMAIL PROTECTED] wrote: I am getting a JaxenException in the client stub on _operationClient.execute(true); I started getting this exception after i

Re: Rampart/Secureconv JaxenException

2008-03-30 Thread mikle
I am using the signonly/secureconv policy template provided in WSAS... I added the policy to the WSDL and inserted a policy reference to the binding element.. I also tried removing the policy from the WSDL and saving the policy into an xml file..like in the rampart samples.. but i got the same

Re: Interop WCF Service/Axis2 Client and Stream

2008-03-30 Thread Thilina Gunarathne
Hi, It looks like a bug in Axis2 Data binding, in the simple type restriction... Please log a JIRA[1] with your wsdl's and the message traces.. thanks, Thilina [1]https://issues.apache.org/jira/browse/AXIS2 On Fri, Mar 28, 2008 at 8:31 AM, Andreas Necker [EMAIL PROTECTED] wrote: Hi,

Re: Rampart/Secureconv JaxenException

2008-03-30 Thread mikle
Here's the stack trace: Exception in thread main java.lang.NoClassDefFoundError: org/jaxen/JaxenException at org.apache.rampart.builder.BindingBuilder.addTimestamp(BindingBuilder.java:86) at org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:68)

Re: Rampart/Secureconv JaxenException

2008-03-30 Thread mikle
ok i think its ok now.. jaxen was not referenced!! -- View this message in context: http://www.nabble.com/Rampart-Secureconv-%3E-JaxenException-tp16380606p16382737.html Sent from the Axis - User mailing list archive at Nabble.com.

Re: Rampart/Secureconv JaxenException

2008-03-30 Thread mikle
Not sure if its against the mailing list rules... another q... what is the difference between these to methods of adding a policy? service._getServiceClient().getAxisService().getPolicyInclude().addPolicyElement(PolicyInclude.SERVICE_POLICY, rampConfigPolicy);

axisFault error in extracting message properties with SecureConv-SignOnly/WSO2 WSAS 2.2.1

2008-03-30 Thread mikle
I am getting the following error on the WSAS console: INFO [2008-03-30 18:35:49,484] Verification successful for URI #Id-4339206 INFO [2008-03-30 18:35:49,484] Verification successful for URI #Timestamp-32207230 INFO [2008-03-30 18:35:49,500] org.apache.axis2.AxisFault: Error in extracting

Re: Problem with xs:pattern and IsBasicLatin

2008-03-30 Thread Andreas Veithen
Andreas, The problem comes from the fact that in the XML Schema specification, Unicode character blocks are matched by \p{Is...} [1], whereas Java expects \p{In...} [2]. Replacing your pattern by [\p{InBasicLatin}\p{InLatin-1Supplement}]+ should work, but then your XSD is no longer

Re: Rampart/Secureconv JaxenException

2008-03-30 Thread Nandana Mihindukulasooriya
Hi Micheal, what is the difference between these to methods of adding a policy? service._getServiceClient().getAxisService().getPolicyInclude().addPolicyElement(PolicyInclude.SERVICE_POLICY, rampConfigPolicy); If you set the policy like this, it will add the assertions to the existing

Re: add get parameter from context in servicegroup

2008-03-30 Thread Deepal jayasinghe
Michelantonio Trizio wrote: Hello, I'm just working with Servicegroup. But I can't get parameter that I have had to the same contextgroup. I'd like to do something like this: On service1 AxisServiceGroup asg=MessageContext.getCurrentMessageContext().getAxisServiceGroup();

Re: Documentation tuning Axis2 webservices?

2008-03-30 Thread Deepal jayasinghe
Is there any documentation on how to tune Axis2 webservices, Well not at Apache Axis2 level , but I can point you to some other open source project which does that using Axis2 [1] [1] : http://wso2.org/projects/commons/throttle Thank you! Deepal e.g. if we have 2 we