Cannot generate web service client from WSDL

Answered

(IntelliJ 2017.1.2) I am trying to follow the following KB instructions:

https://www.jetbrains.com/help/idea/generating-call-to-web-service.html

These menu item are not even available for me:

2. Choose Tools | WebServices | WebServices Client Code on the main menu or WebServices | WebServices Client Code on the context menu.

And if I run wsimport I get the following errors:

Error: Could not find or load main class org.apache.axis.wsdl.WSDL2Java

Any assistance is appreciated.

 

 

 

0
7 comments
Avatar
Permanently deleted user

If I select any other engine in the facet other than Axis I get the following error: Set valid {engine} path int he WebServices plugin settings....

I have no idea what path you are referring to.....

0

Which Axis2 version do you use in Web Services settings? What path is specified?

0
Avatar
Permanently deleted user

I am not using Axis2 I am using Axis. I still do not understand the pointing to some web service engine path. Is there a separate install for each web service engine? Is there a tutorial on how to setup the soap web service engines for IntelliJ?

0
Avatar
Permanently deleted user

I was able to download and setup Axis2, I was able to generate a stub from IntelliJ but I cannot make reference to the stub.

It doesn't show as a standard java class also part of the problem is the shear size of the stub class (9.5 MB). 

0

The following properties may affect it:

#---------------------------------------------------------------------
# Maximum file size (kilobytes) IDE should provide code assistance for.
# The larger file is the slower its editor works and higher overall system memory requirements are
# if code assistance is enabled. Remove this property or set to very large number if you need
# code assistance for any files available regardless their size.
#---------------------------------------------------------------------
idea.max.intellisense.filesize=2500

#---------------------------------------------------------------------
# Maximum file size (kilobytes) IDE is able to open.
#---------------------------------------------------------------------
idea.max.content.load.filesize=20000

Try increasing the values so that your 9.5MB stub fits. Put the modified values in Help | Edit Custom Properties.

0

Please sign in to leave a comment.