Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

Jayachandra
2012-08-31 10:49:54

Hi all,


When we importing the WSDL file ,the following error occured

org.eclipse.core.runtime.CoreException: WDSL creation failed
    at org.talend.repository.services.ui.OpenWSDLPage$4.throwCoreException(OpenWSDLPage.java:320)
    at org.talend.repository.services.ui.OpenWSDLPage$4.run(OpenWSDLPage.java:298)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    at org.talend.repository.services.ui.OpenWSDLPage.finish(OpenWSDLPage.java:330)
    at org.talend.repository.services.ui.ESBWizard.performFinish(ESBWizard.java:141)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.talend.repository.services.action.CreateESBAction.doRun(CreateESBAction.java:134)
    at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:595)
    at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:84)
    at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:217)
    at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:2751)
    at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:1882)
    at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:601)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.talend.rcp.intro.Application.start(Application.java:126)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: org.talend.commons.exception.SystemException: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'file:/C:/Talend/5.1.1/cmdline/studio/workspace/NEW_DEMO/services/Sampl_0.1.wsdl'.: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    at org.talend.repository.services.ui.OpenWSDLPage.populateModelFromWsdl(OpenWSDLPage.java:403)
    at org.talend.repository.services.ui.OpenWSDLPage.access$11(OpenWSDLPage.java:367)
    at org.talend.repository.services.ui.OpenWSDLPage$4.run(OpenWSDLPage.java:295)
    ... 48 more
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'file:/C:/Talend/5.1.1/cmdline/studio/workspace/NEW_DEMO/services/Sampl_0.1.wsdl'.: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
    at org.talend.repository.services.ui.OpenWSDLPage.populateModelFromWsdl(OpenWSDLPage.java:374)
    ... 50 more
Caused by: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
    ... 54 more

shong
2012-05-23 13:21:09

Hi
Currently, Talend ESB don't support the deployment of services on the application server such as Tomcat. You need to export the job as OSGI bundle as ESB and deploy it into Talend Runtime. To do so:
1. Right click on the job name in Repository and select 'Export job' option to export the job. (see pic1)
2. In the next window, select the export type as 'OSGI bundle as ESB' and browse an archive file path. eg: D:/RestDemo-0.1.jar (see pic2)
3. Go to <Talend ESB Runtime install dir>/container/bin, launch Talend runtime by executing the trun.bat file on Windows system (or trun.sh on Linux system).
4. Execute the following command to install the bundle. (see pic3)
5. Now, the bundle is installed completely in Talend ESB runtime, and it's time to call the webservice, access the url defined on tRESTRequest component, for example in this case: http://localhost:8081/dir on browser, the webservice is called and the response is output on browser.

Best regards
Shong

uwaechte
2012-05-22 17:30:19

Hi,
I set up a simple job with a tRESTRequest and tRESTResponse.
In the eclipseenviroment the job works as wanted.
When I export the job as axis webservice and deploy it to a tomcat webserver the webservice don't work.

I hope somebody can help me.

regards Uwe

Board footer

Powered by FluxBB