| Author |
WSDL To JAVA
|
Arvind Purohit
Ranch Hand
Joined: Jun 18, 2010
Posts: 43
|
|
Hi All
I have generated java code from wsdl file using eclipse axis2 plugin
i.e client side code, server side code, test client also
my question is how will i implement the method of service, i am confused
i am editing SimpleServiceSkeleton.java
it is saying "cannot cast String to sayHelloResponse"
i want to know
1. how i will implement myservice
2. to use this service how will generate .aar file
3. how to deploy it in local machine in tomcat
4. how will i test it
5. how will i write wsdl file which return array of my custom object ( eg array of Employee Class object )
The auto generated files are
1. ExtensionMapper.java
2. SayHelloRequest.java
3. SayHelloResponse
4. SimpleService
5. SimpleServiceCallbackHandler
6. SimpleServiceMessageReceiverInOut
7. SimpleServiceSkeleton
8. SimpleServiceSkeletonInterface
9. SimpleServiceStub
10. SimpleServiceTest
And also
services.xml
SimpleService.wsdl
build.xml
if you require i will send you code of this files
THANKING YOU
ARVIND
|
 |
Bogumil Zebek
Greenhorn
Joined: Dec 23, 2010
Posts: 3
|
|
Hi,
all answers you can find in below tutorials:
http://www.tidytutorials.com/2009/02/web-services-example-using-axis-2-and.html
http://people.apache.org/~ruchithf/hw-axis2/
http://www.tidytutorials.com/2009/02/setting-up-axis2-with-tomcat-6.html
|
Best regards
Bogumil
|
 |
 |
|
|
subject: WSDL To JAVA
|
|
|