File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes complextype with Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "complextype with Axis2" Watch "complextype with Axis2" New topic
Author

complextype with Axis2

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
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

Joined: Feb 18, 2011
Posts: 208
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

Joined: Feb 18, 2011
Posts: 208
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


[Thumbnail for netbeans-webservice.png]

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: complextype with Axis2