cancel
Showing results for 
Search instead for 
Did you mean: 

Portal Service from XI WSDL Error in NWDS Plugin

Former Member
0 Kudos

Hi,

I am trying to create a new portal service based on a WSDL file that has been generated for me out of XI. However when running the "create portal serivce from WSDL - Client-side" wizard I get the error <b>"Error reading the Wsdl File"</b>. The following error is then seen in the Workbench log...

[code]java.lang.NullPointerException

at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.webwsdl.WebWsdlMethodPage.createPartControl(WebWsdlMethodPage.java:409)

at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.webwsdl.WebWsdlMethodPage.createControl(WebWsdlMethodPage.java:145)

at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:948)

at org.eclipse.jface.wizard.WizardDialog.access$1(WizardDialog.java:940)

at org.eclipse.jface.wizard.WizardDialog$3.run(WizardDialog.java:929)

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

at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:927)

at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:684)

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 org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:136)

at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)

at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)

at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)

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]

Has anyone come across this before? The WSDL in question is below. I have a feeling it is an error in the plugin wizard when it tries to create the next screen which is supposed to show the available methods in the WSDL,(I am running NWDS SP15) but I can't seem to get past it.

Thanks in advance,

Simon

[code]

<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions name="updateFavs_1_param2" targetNamespace="http://sap.com/xi/XI/Mail/30" xmlns:p1="http://sap.com/xi/XI/Mail/30" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><wsdl:types><xsd:schema targetNamespace="http://sap.com/xi/XI/Mail/30" xmlns="http://sap.com/xi/XI/Mail/30" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:element name="updateFavs_1_param2" type="updateFavs_1_param2" /><xsd:complexType name="updateFavs_1_param2"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">2d246d30d91a11dabfbcc4170a11c246</xsd:appinfo></xsd:annotation><xsd:sequence><xsd:element name="CounterLink" type="xsd:string"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">1f465110d91a11daa4b6c4170a11c246</xsd:appinfo></xsd:annotation></xsd:element><xsd:element name="ContentType" type="xsd:string"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">1f465111d91a11dab28fc4170a11c246</xsd:appinfo></xsd:annotation></xsd:element><xsd:element name="DisplayName" type="xsd:string"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">1f465112d91a11da824cc4170a11c246</xsd:appinfo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType></xsd:schema></wsdl:types><wsdl:message name="updateFavs_1_param2"><wsdl:part name="updateFavs_1_param2" element="p1:updateFavs_1_param2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" /></wsdl:message><wsdl:portType name="updateFavs_1_param2"><wsdl:operation name="updateFavs_1_param2"><wsdl:input message="p1:updateFavs_1_param2" /></wsdl:operation></wsdl:portType><wsdl:binding name="updateFavs_1_param2Binding" type="p1:updateFavs_1_param2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /><wsdl:operation name="updateFavs_1_param2"><soap:operation soapAction="http://sap.com/xi/WebService/soap1.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /><wsdl:input><soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /></wsdl:input></wsdl:operation></wsdl:binding><wsdl:service name="updateFavs_1_param2Service"><wsdl:port name="updateFavs_1_param2Port" binding="p1:updateFavs_1_param2Binding" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><soap:address location="http://machinename:8000/sap/xi/engine?type=entry&amp;version=3.0&amp;Sender.Service=jdbcRequestResponse&amp;Interface=http%3A%2F%2Fsap.com%2Fxi%2FXI%2FMail%2F30%5EupdateFavs_1_param2" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /></wsdl:port></wsdl:service></wsdl:definitions>

[/code]

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

FYI... the wizard only likes syncronous calls, e.g. ones that have output aswell as input. If you try to use a WSDL that does not return anything you get a problem.... go figure