Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL To JAVA

 
Arvind Purohit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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






 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic