Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

complextype with Axis2  RSS feed

 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I used Axis2 generated an wsdl file based on few Enum and bean classes.
I am not sure if its content is correct.

Please refer to the following content of my wsdl file for more detail.

Thanks a lot
Sam

 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

To provide further more information. Here is one of the Enum class used in my Service class:

CAR2DialogueCancelReasonEnum.java:



QuestinoSetBean.java:



CAR2ServiceImpl.java:



I use Axis2 generated the wsdl file based on these java classes.

I am wondering whether my wsdl file is generated correctly.

Very appreciate for any suggestion.

Thanks
Sam
 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have re-created the project using Library project in Netbeans, deployed the library to glassfish3.1.
Now when I goes to Axis2 Web Services and test one of its method, it thrown the following exception:



I also enclosed a snapshot of the Netbeans IDE for reference.

Thank you in advance for any suggestion
Thanks
Sam
netbeans-webservice.png
[Thumbnail for netbeans-webservice.png]
 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am not 100% sure a couple of things.
1. I have deployed axis2.war to Glassfish 3.1, do I need to re-deploy Axis2.war file every time when rebuild my web service file? My web service file is a .jar file.
2. what path should I use for "Target Location for Axis2 .aar files" when I define it in Nebeans (Tools->option) page? Currently I am using
C:\Users\sam\.netbeans\7.0rc2\config\GF3\domain1\applications\axis2

Here is the path to *.aar file:



Thanks
Sam
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!