• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WSDL To JAVA

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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






 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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





 
reply
    Bookmark Topic Watch Topic
  • New Topic