on 08-09-2006 4:02 PM
Hello,
I have a problem that I need some help on.
I am trying to create a new model in SAP Netweaver developer studio from a wsdl file from a webservice running on my local computer.
What ever I try an do I get the following message in the workspace\.metadata\.log file
Plugin name: Web Dynpro Model Editor Services
Plugin ID : com.sap.ide.webdynpro.service.modeleditor
Class : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9
Method : doImportWebServiceModel
Message : Web Service model import failed
Exception : java.lang.NullPointerException: null
!STACK 0
java.lang.NullPointerException
at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:179)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1133)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Before I have to post the actual wsdl is there any likely causes for this error that I can investigate?
Thanks for any help.
Phil
Hi
1.Do You test the Webservice?
2.Try to import the webservice from local server option insted of WSDL file.
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The webservice has been tested and works. Though it is deployed on a local installation of tomcat not through the J2EE engine of SAP (which is install on a server), I don't know if that will make any difference.
The problem I am having is that it generates part of the model then fails with the above error. It shows some of the required model classes but not all of them.
The version of SAP NetWeaver Developer Studio I am using is 7.0.07. I don't know if that will make any difference.
Thanks for the help.
Phil.
Hi,
I've had a similar problem once.
The wsdl file I was trying to import/make a model from referenced another wsdl file for certain types, which were specified there. This worked fine on my server and when testing it, but the importer in NWDS kept failing. When I copied the types from the referenced wsdl file to the other wsdl file I could import it and all classes were generated.
As far as I remember that was how I solved it.
I hope this helps you somehow.
/Rune
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.