Skip to Content
0
Former Member
Dec 08, 2006 at 04:54 PM

Accessing BAPI web services from CAF External Services

43 Views

We have wsdl files that corresponds to BAPI calls. Using CAF, we want to create an external service using those wsdl files and then create an application service which will be in turn used by web dynpro for developing our composites. We did the following steps:

1. Created a new Composite Application Service project

2. Then right click on the External Services, select import, choose Web service.

3. Select 'Local File System or URL' option. Copy the URL from the wsdl file and pasted the URL in the 'Browse' text field and click Next. Got an error in loading the web service.

4. Removed the Proxy Server settings in Developer Studio but in vain. Tried all possible combinations with the URL also (such as with and without the wsdl key at the end of the URL and using the 'UDDI or URL' option under the Proxy Definition of the External Services Import and also with the Window => Preferences => Proxy settings).

5. Since the above options failed, copied the wsdl files to the local drive and then choose that WSDL from the file system. Able to import.

6. Created the application service and provided the custom code for the request and response.

7. Registered the external service in the CAF browser -> Administrative tools -> External Service Configuration

8. Tested the service through the Developer Studio.

The error I get is: ERROR: IOError while working with the message. Check the nested exception: Connect Refused: connect:

Any idea on what needs to be done to resolve it?