Skip to Content
author's profile photo Former Member
Former Member

Error in loading the WSDL file. Check the error log for more details?

Hi All, I am trying to import a WSDL using "Import Adaptive Webservice model" in NWDS. But, i am getting the following message: <b>"Error in loading the WSDL file. Check the error log for more details".</b>

Where is this error log located?

I am on <b>NWDS 7.0.11</b> & <b>j2sdk1.4.2_12</b>

I am also unable to import the Models from the Webdynpro examples section.

Is this is a problem with NWDS version or Java version ??

I have also seen the link: Import Adaptive Web Service Modul: "Error in loading the WSDL file." regarding this.

Plz help & suggest.

Regards,

SK

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 01:16 PM

    To see the error log, Go to Windows > show view > Others > PDE Run time > Error Log. It will add Error Log window at the bottom where you see Deployment output view, J2ee Engine etc.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Firasath, Thanks for the reply.

      I have changed to jdk1.4.2_14 and tried again .. but no use [:(] I am still getting the same error.

      The following is the error log:

      [code]

      Error Mon Sep 10 16:06:13 CEST 2007 Sep 10, 2007 4:06:13 PM com.sap.ide.webdynpro.ui.service.ServicesUI [Thread[main,5,main]] Error: Internal error

      Plugin name: Web Dynpro Model Editor

      Plugin ID : com.sap.ide.webdynpro.modeleditor

      Class : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS

      Method : loadNameSpacesAndModelClasses

      Message : Cannot load NameSpaces and ModelClasses

      Class Path: C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;

      java.home: C:\j2sdk1.4.2_14

      proxyHost:

      proxyPort:

      nonProxyHosts:

      Temporary Directory: C:\DOCUME1\SAIKRI1.TAD\LOCALS~1\Temp\

      WSDL URL: C:\sk_project\XOptimizerService.wsdl

      Exception : java.lang.NullPointerException: null

      java.lang.NullPointerException

      at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.initParameters_DocumentStyle(DOperationImpl.java:59)

      at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.initParameters(DOperationImpl.java:46)

      at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.<init>(DOperationImpl.java:40)

      at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceImpl.initOperationNameToOperationMapping(DInterfaceImpl.java:150)

      at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceImpl.<init>(DInterfaceImpl.java:55)

      at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.initPortNameToInterfaceMapping(DGenericServiceImpl.java:79)

      at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:51)

      at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)

      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)

      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)

      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)

      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:306)

      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:316)

      at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)

      at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)

      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)

      at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)

      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

      at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)

      at org.eclipse.jface.window.Window.open(Window.java:563)

      at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)

      at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)

      at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)

      at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)

      at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)

      at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)

      at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)

      at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)

      at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)

      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)

      at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)

      at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)

      at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)

      at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)

      at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)

      at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)

      at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)

      at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)

      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

      at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)

      at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)

      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

      at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

      at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

      at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

      at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

      at com.sap.ide.eclipse.startup.Main.run(Main.java:789)

      at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

      [/code]

      It says "Cannot load NameSpaces and ModelClasses Class" & gives "java.lang.NullPointerException: null" in the log.

      i wonder why NullPointerException is coming.

      Can any1 help me please? Thanx alot!

      Regards,

      SK.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 03:05 PM

    Whic of the 3 options did you select while creating the adaptive webservice model? Also your wsdl is local on your machine or it is on a webserver and you have a URL for the wsdl?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.