Hello,
We’re trying to connect to a web service created with SAP PI. Since the endpoint is an HTTP address instead of an HTTPS we try to connect to the web service through an Adapter Datastore instead of a Web service Datastore.
In SoapUI, we can use both the WSDL and the URL of the WSDL to send a request to the web service and get a response. This can be done from the laptop where the Designer resides as well as from the server where the JobServer is installed.
In our environment, the DS web server (r3adqta1) is separated from the JobServer (rsadqt01).
In the Data Services Management Console, we created a web service Adapter.
In the Designer, we created a Adapter Datastore, selected our JobServer and the newly created Adapter and entered the user name and password.
Data Services accepts the URL for the WSDL, but when we try to open the Datastore, we get an error: “Cannot browse external metadata for adapter instance at r3adqt01:3500”.
When we open the same URL in a browser, it shows the expected WSDL.
When we create an Adapter Datastore and use the direct location of the WSDL (a copy, stored on the file system where it can be reached by the JobServer), we can open the Datastore and see the metadata.
But when we try to import the method, we again get an error: “<unable to connect socket for URL ‘http://r3adqt01:8080/webservice/SIOS_OphalenkvkDaaServicesSios_OphalenkvkDatap2.kvkGetDossierRequest0.xsd’ ”
The name of the xsd seems odd, but is equal to the xsd that is created on my local machine in the folder <LINK_DIR>\ext\webservice. However, the server address is wrong, since it points to the JobServer instead of the DS web server.
On my local machine, we’ve copied the DataServices.html file from the DS web server and placed it in <LINK_DIR>\ext. IT contains:
<META HTTP-EQUIV=Refresh CONTENT= "0; URL= http://r3adqta1:8080/DataServices/">
We also had a look on the axis2.xml file, but nothing was configured there.
It seems that the JobServer is being referenced where the DS web server should have been, but we don’t know where that information should be stored.
Can anybody tell us what’s going wrong and how we can configure/manipulate our environment in order to be able to connect to the web service?
Kind regards,
Gerald
PS. We’re running Designer version 14.0.2.322 and JobServer version 14.0.2.462.
GeraldKeizer (BOB member since 2008-02-14)