,
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
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
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
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
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
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
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:
Why do you need the 'fixed' attribute? Wouldn't something along these lines
work:
wsdl:types
..
xs:element name=myComplexType
xs:complexType
xs:sequence
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
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
10 matches
Mail list logo