RE: Returning arrayList

2007-05-07 Thread Hickman, Craig
, Kencana Hickman, Craig wrote: Hope the below will provide you an example If I read this correctly your user is calling the service and your are returning a collection of objects as in your example. I do this with a list sequence using the Object Model and returning

RE: Returning arrayList

2007-05-04 Thread Hickman, Craig
Hope the below will provide you an example If I read this correctly your user is calling the service and your are returning a collection of objects as in your example. I do this with a list sequence using the Object Model and returning a org.apache.axiom.soap.SOAPEnvelope envelope: 1. Build the

RE: Appropriate place for transaction code?

2007-05-04 Thread Hickman, Craig
One way you could do this is to just use Spring's api, or you could inject it yourself as in: Now for specific injection (unrelated to above) of SessionFactory: ?xml version=1.0 encoding=UTF-8? beans bean id=your name class=org.example.impl.HibernateExample property

RE: Invoke Axis2 Web Service from Non JVM Client?

2007-05-04 Thread Hickman, Craig
No problem with that at all. As long as the client is SOAP or REST or other supported protocols you're fine. I have parts of the company using Cold Fusion Clients, C clients, etc. Only the service is in java, but the clients accessing it don't matter as long as they can understand the protocol

RE: Question on getFirstChildWithName(qName) within an iterator?

2007-05-02 Thread Hickman, Craig
Thanks, but I resolved the issue: see code below* Craig Hickman, Sr. Architect ADP Working with the previous Axis1 I was able to write a very easy implementaion for a ServiceRouter and ServiceProcessor that worked for exposing all my services through a properties lookup and hiding the Axis1

Question on getFirstChildWithName(qName) within an iterator?

2007-05-01 Thread Hickman, Craig
Working for a company that wants to hide much of the complexity of the Axis2 api. I've been building some helper methods to allow the ability to use a set of beans to manipulate and bind the xml to the POJO's without the need for using the code generation tools, which is something the developers

RE: Service path

2007-04-27 Thread Hickman, Craig
I think the easiest path is to use Spring to expose you Service and include Axis2 within your application rather than your app within Axis2. Add the proper axix2 libs to your applications lib directory. Add the current version of spring.jar from the Spring Framework Site:

RE: Generating fixed value for complex type element

2007-04-27 Thread Hickman, Craig
Why do you need the 'fixed' attribute? Wouldn't something along these lines work: wsdl:types .. xs:element name=myComplexType xs:complexType xs:sequence

RE: axis2: classpath and jars in an aar?

2007-04-27 Thread Hickman, Craig
You shouldn't need to do this. Just add the hibernate.jar to the classpath of your container. What about using Spring for the injection: http://ws.apache.org/axis2/1_1_1/spring.html The Axis2 classloader strategy by default does not permit Spring to run inside the AAR. To allow Spring to run

RE: [ANN][Axis2]Axis2 1.2 Released

2007-04-27 Thread Hickman, Craig
Seems to be a problem with the download.cgi ? -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Friday, April 27, 2007 10:30 AM To: axis-user@ws.apache.org Subject: [ANN][Axis2]Axis2 1.2 Released -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just over 4