process big XML tree

2009-03-04 Thread Sihem
Hello! I would like to know if there is a method to build programmatically a big XML response quite easily or if I have to add an instruction for each node like: axiom_text_create(env, main_node, tag_value, node1); Thanks ! Sihem

Re: process big XML tree

2009-03-04 Thread Eugen Hermann
Hello, Yes, there is a method for building XML-responses in programmatical way. Recently, I develope a XML-based protocol for creating messages in it. But it's very timeconsuming. Because the memory allocation that was taken through AXIS2C doent work correctly in some cases. I spend a lot of time

Re : process big XML tree

2009-03-04 Thread Sihem
What do you mean by programmatical way ? Is it the use of axiom_text_create for example ? In fact I am developing for the first time a real web service, that means not a HelloService one. And I discovered consequently that the construction of large and complex XML answers is quite heavy. So my

Re: Re : process big XML tree

2009-03-04 Thread Dinesh Premalal
Sihem stfle...@yahoo.fr writes: So my question is : how developers do ? And according to your answer, it might be timeconsuming. http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/test/om/test_om.c?view=markup thanks, Dinesh

Re : Re : process big XML tree

2009-03-04 Thread Sihem
mille mercis! Thanks a lot! Sihem De : Dinesh Premalal xydin...@gmail.com À : axis-c-user@ws.apache.org Envoyé le : Mercredi, 4 Mars 2009, 20h25mn 03s Objet : Re: Re : process big XML tree Sihem stfle...@yahoo.fr writes: So my question is : how developers do

scope=transportsession

2009-03-04 Thread TomazM
Is there any example how the service control that the same (cookie) session client invoke this service. Regards, Tomaz begin:vcard fn:Tomaz Majerhold n:Majerhold;Tomaz org:ARNES, Slovenian NREN;Development team adr:;;Jamova 39;Ljubljana;Ljubljana;1000;Slovenia

How to dynamically configure Axis2's HTTP Transport Sender at Server Side?

2009-03-04 Thread gprovost
Hello, How can we dynamically configure Axis2's HTTP Transport Sender at Server Side ? I have a webservice that uses the ServiceLifeCycle handler. During the start-up phase (startUp(ConfigurationContext context, AxisService service) ), I set the following configuration settings

Re: scope=transportsession

2009-03-04 Thread charitha kankanamge
Hi Tomaz, Please have a look at [1]. [1]http://wso2.org/library/3264 Regards Charitha http://charithaka.blogspot.com TomazM wrote: Is there any example how the service control that the same (cookie) session client invoke this service. Regards, Tomaz

Axis2 Codegen Can not Serialize Policy

2009-03-04 Thread ibrahim demir
Hi All; I have added security policy info to my wsdl and axis2 eclipse codegen throws this exception on the last step can not serialize policy I am using codegen 1.3 .Which can work with no problem. Should I add some jars to the classpath of the plugin. The wsdl is attached also. Thanks.

Re: org.apache.axis2.AxisFault: SOAP header missing

2009-03-04 Thread kevinlampert
Here is the policy I am loading using: _serviceClient.getOptions().setProperty(RampartMessageData.KEY_RAMPART_POLICY, loadPolicy(D:\\PhotoClient\\build\\policy.xml)); wsp:Policy wsu:Id=UTOverTransport xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;

Binary Compatability Migration 1.4 to Axis2

2009-03-04 Thread Willard, Jonathan
Hi all, Can someone provide a clear simple answer about the binary compatability or lack thereof when migrating from Axis1.4 to Axis2? I have searched the archives and read the apache documentation but I am having trouble finding any clear statements about this. I would expect BC to be

Re: org.apache.axis2.AxisFault: SOAP header missing

2009-03-04 Thread kevinlampert
I solved my problem. I removed the sp:IncludeTimestamp/ from the policy.xml. Apparently, this inclusion causes the client to look for a security header in the server response. Once I removed it, the client retrieved my data just fine. kevinlampert wrote: I am writing a java client to

Mapping qname not fond for the package: org.hibernate.collection

2009-03-04 Thread white_bastion
Greetings, I am new to the Web Services(Axis2-1.4.1) and Hibernate(3.2). I am using apache-tomcat-6.0.18 as the container. I am able to persist java objects using Hibernate (REFER : Node.java and nodemapping.hbm) . (I have checked it, it works fine as a standalone stuff : DATA IS INSERTED

Question about exposing a database as a web service...

2009-03-04 Thread riveraej
Hi everyone! I come to you asking for help. I'm trying to mount a web service which consults a MySQL Database. I have already done the consult, but I can show all data contained in the database, or I can show data according to conditions setting these conditions manually in the code of the Java

Mapping qname not fond for the package: org.hibernate.collection

2009-03-04 Thread white_bastion
Greetings, Sorry, for cross posting, but in last message, two files were not attached properly, therefore I am attaching those files (nodemapping.hbm.xml and IATMSD.java) and resending the message, sorry for the trouble. I am new to the Web Services(Axis2-1.4.1) and Hibernate(3.2). I am