Re: Applying Nonce and Created to PasswordText UsernameToken and then Encrypting UsernameToken

2009-07-29 Thread Uthaiyashankar
On Wed, Jul 29, 2009 at 6:29 AM, Doughty, Michaelmichael_doug...@bmc.com wrote: I am attempting to use Axis2/C with Rampart/C to talk to a Web service which requires the following to be done on input: (1) Include a UsernameToken in PasswordText encoding.  Even though it is in

RE: Applying Nonce and Created to PasswordText UsernameToken and then Encrypting UsernameToken

2009-07-29 Thread Doughty, Michael
Responses below marked with [mdoughty]: -Original Message- From: uthaiyashan...@gmail.com [mailto:uthaiyashan...@gmail.com] On Behalf Of Uthaiyashankar Sent: Wednesday, July 29, 2009 1:50 AM To: Apache AXIS C User List Subject: Re: Applying Nonce and Created to PasswordText UsernameToken

MTOM Problem With generated code

2009-07-29 Thread Yuanfeng Zhang
HI I have a question about MTOM feature with generated code. I have to generate client stub code from my wsdl, and the service is used to upload and download files, photos, so i want to use WSDL2C tool to generate client stub, I want to know whether I can transfer binary data with the generated

Re: MTOM Problem With generated code

2009-07-29 Thread Dimuthu Gamage
Hi, Still you can not use adb (The data model generated by code generator) to generate messages with MTOM encoded binary. You have to generate the code without adb support (with -d none option) and write the code to build xml (using axiom) manually with an axiom_data_handler. Thanks Dimuthu On

Re: axis2 + Spring2.5+Hibernate

2009-07-29 Thread Sagara Gunathunga
Hi, I have noticed following problems with your approach. 1.) You have placed service.xml file in a wrong place , it should be like this /mysite/META-INF/services/services.xml . ( refer [1] to get familiar with correct directory structure ) 2.)As a suggestion in DataSetServiceEnquiry class you

RE: Axis 1.4 SocketTimeoutException

2009-07-29 Thread Chohan, Dharmesh
Thanks for your response. I am not using Axis2 so could not use the Options class. However, I have managed to fix the problem. It was the web proxy which was not closing the socket connection and hence the socket timeout. From: Betts, Hendry

Re: Help with Deserialization of complex object with Java Webservice

2009-07-29 Thread Carmelo
Probably you have to write a metod in your client to deserialize that object, and you need to do your class Alert implementing serializable. ES: public class Alert implements serializable{ attributes... public Allert(){} } Remember you have to do a class with an empty constructor. Then befor you

RE: axis2 with spring

2009-07-29 Thread Caristi, Joe
Look at this thread: http://www.nabble.com/Newbie-question%3A-how-to-plug-axis2-engine-into-existing-web-application-running-in-weblogic-td23411717.html#a23412081 Then this one:

Re: Help with Deserialization of complex object with Java Webservice

2009-07-29 Thread guitarro17
Thank you! But, in J2ME, What I need to do? Same? In my client I have this: public void testWebService() throws Exception { SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); SoapObject

Error handling for WS-Security enabled services

2009-07-29 Thread Chinmoy Chakraborty
Hi All, I am using rampart 1.4 and Axis2 1.4. I have parameterbased ws-security enabled services. In normal cases when there is no error at the time of invocation (invocation of business logic) of the service, it works fine. Following is the SOAP is returned by axis2 (captured in TCPMon): *Good

RE: Help with Deserialization of complex object with Java Webservice

2009-07-29 Thread Martin Gainty
complex return types such as Vector would need to be defined in the WSDL e.g. schema targetNamespace=http://xml.apache.org/xml-soap; xmlns=http://www.w3.org/2001/XMLSchema; import namespace=http://DefaultNamespace/ import namespace=http://schemas.xmlsoap.org/soap/encoding//

Re: Error handling for WS-Security enabled services

2009-07-29 Thread Axis PC
Chinmoy, When an exception occurs on the server end...and if you know the kind of exception...try wrapping it as a fault. In most cases it has worked for me as expected. Preetham On Wed, Jul 29, 2009 at 9:14 AM, Chinmoy Chakraborty cch...@gmail.comwrote: Hi All, I am using rampart 1.4 and

RE: Help with Deserialization of complex object with Java Webservice

2009-07-29 Thread guitarro17
Actually i'm returning an array. The method in webservice is something like this: public Alert[] getAlerts(){ ... } And I'm using the NetBeans plugin for axis2 webservice, so, the WSDL is automatically generated... When the webservice returns a Alert[], how can I take this array on my

Re: Help with Deserialization of complex object with Java Webservice

2009-07-29 Thread Carmelo
Sorry, i don't know. Il giorno mer, 29/07/2009 alle 06.07 -0700, guitarro17 ha scritto: Thank you! But, in J2ME, What I need to do? Same? In my client I have this: public void testWebService() throws Exception { SoapSerializationEnvelope envelope = new

HELP - ConcurrentModificationException: concurrent access to HashMap -- inside Axis1.x

2009-07-29 Thread Gary Yue
Hi all,   I am geting the following exception periodically when axis server tries to deserialize incoming requests. It happens at a relatively low rate (20 times a day out of heavy load traffic, like 5M calls). From the code, it looks like TypeDesc class is not thread-safe, as inside

Re: HELP - ConcurrentModificationException: concurrent access to HashMap -- inside Axis1.x

2009-07-29 Thread Davanum Srinivas
Hey Gary, Do you want to try switching it to ConcurrentHashMap? thanks, dims On 07/29/2009 06:27 PM, Gary Yue wrote: Hi all, I am geting the following exception periodically when axis server tries to deserialize incoming requests. It happens at a relatively low rate (20 times a day out of