• 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

complextype with Axis2

 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic