We have followed the directions on the SAP website to configure the WebServices Adapter on the DI Web Admin Console and it’s started successfully.
Upon creating a datastore of type Adapter, using the WebServices Adapter within the designer, I get the attached / below error.
The client is using DI 11.7.2.0.0. Trace Log:
3/16/10 4:10:22 PM Thread[main,5,main] Create broker client for life-cycle management. Host:port = PSC-BOE-1:4001
3/16/10 4:10:22 PM Thread[main,5,main] Create broker client for data exchange with ASP. Host:port = PSC-BOE-1:4001. Client ID = com.acta.adapter.webservice.adapter.WebServiceAdapter.data_1
3/16/10 4:10:23 PM Thread[Thread-11,5,main] Host and port for the Access Server are not defined in startup configuration. Real-time services are not available.
3/16/10 4:10:23 PM Thread[Thread-11,5,main] Start instance [WS_Adapter] of adapter [com.acta.adapter.webservice.adapter.WebServiceAdapter].
3/16/10 4:10:23 PM Thread[Thread-11,5,main] Register the client ID [com.acta.adapter.webservice.adapter.WebServiceAdapter.data_1] and adapter destination [PSC-BOE-1:4001] with the adapter manager.
3/16/10 4:10:23 PM Thread[Thread-11,5,main] Registration complete.
3/16/10 4:16:09 PM Thread[Thread-10,5,main] Unable to parse WSDL from Web Service. Error: The root element is required in a well-formed document.
3/16/10 4:16:09 PM Thread[Thread-10,5,main] Error browsing root nodes. Xml generated so far: . com.acta.adapter.sdk.AdapterException: Unable to parse WSDL from Web Service. Error: The root element is required in a well-formed document.
at com.acta.adapter.webservice.adapter.WebServiceBrowse.getRootNodes(WebServiceBrowse.java:104)
at com.acta.adapter.sdk.AdapterRunnerImpl.processBrowseRoot(AdapterRunnerImpl.java:2254)
at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:101)
at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:424)
at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:51)
at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1575)
at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:97)
Error Log:
3/16/10 4:16:09 PM Unable to parse WSDL from Web Service. Error: The root element is required in a well-formed document.
3/16/10 4:16:09 PM Error browsing root nodes. Xml generated so far: . com.acta.adapter.sdk.AdapterException: Unable to parse WSDL from Web Service. Error: The root element is required in a well-formed document.
at com.acta.adapter.webservice.adapter.WebServiceBrowse.getRootNodes(WebServiceBrowse.java:104)
at com.acta.adapter.sdk.AdapterRunnerImpl.processBrowseRoot(AdapterRunnerImpl.java:2254)
at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:101)
at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:424)
at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:51)
at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1575)
at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:97)
the error is generic, there is some problem parsing the WSDL
check if WSDL is valid, try to open the WSDL in SoapUI and see if you are able to see the operations, input and output
How are you specifying the target URL ? complete URL as http://… or you are using the file that you have attached ?
the file you have attached is formated XML copied from the browser, it will fail, if you want to save WSDL to file by opening it in Browser then do the following
Open the WSDL in browser
right click and select view source
this will open the WSDL in notepad
save the file to disk
I am able to import the WSDL using Adapter Datastore in 11.7.3.12, also in 12.2 what is the complete version of 11.7 that you are using ?
the URl failed to import but as a file it also failing. could it be because of the tags that are missing this <xs:element where they are absent in the URL and source code test file. system_WSDL.txt (5.0 KB)