Unable to import SAP-PI wsdl file in intelliJ ultimate edidtion

Answered

Hi Folks,

When I am trying to import wsdl file in intelliJ ultimate edition, it is generating desired file but 1 java file is missing.

For ex:- 

The same wsdl file generates 9 files in Eclipse but in intelliJ ultimate edition it is generating only 8 files.

Any suggestions will be appreciated.

0
4 comments

What file is missing? Can you provide a sample to take a look? Are there any errors (including in log)? Do you use the same library versions for files generation?

0
Avatar
Permanently deleted user

Our version of PI doesn't support REST web services, so we consume their SOAP web services and provide rest web service to provide REST web service support to the external entities. I have SAP-PI WSDL file which we used to import in Eclipse that generates 9 java class files

DT_XXXX_XXXXXXXX_RQ
DT_XXXX_XXXXXXXX_RQRecordset
DT_XXXX_XXXXXXXX_RS
DT_XXXX_XXXXXXXX_RSRecordset
SI_XXXX_XXXXXXXX_OUT
SI_XXXX_XXXXXXXX_OUTBindingStub
SI_XXXX_XXXXXXXX_OUTProxy
SI_XXXX_XXXXXXXX_OUTService
SI_XXXX_XXXXXXXX_OUTServiceLocator

but when I import that WSDL file in IntelliJ it is not generating 1 java class file.

SI_XXXX_XXXXXXXX_OUTProxy

0
Avatar
Permanently deleted user

Can you please provide correct steps to import SAP-PI WSDL in IntelliJ because in 1 project I am able to import but in another project, I am unable to import WSDL.
Error: Could not find or load main class org.apache.axis.wsdl.WSDL2Java

0

The steps are described here: Generating WSDL Document from Java Code.

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

Looks like https://youtrack.jetbrains.com/issue/IDEA-149480. What external engine do you specify in Preferences | Tools | Web Services? What is the engine version? Try if it helps to add Axis 1 version as a module dependency in project.
0

Please sign in to leave a comment.