0

Trying to use the Service Discovery feature of MobileFirst Platform Studio 7.1.0.00-20160323-1606.

The adapter.xml file that gets generated is for an HTTP adapter, not an SAP adapter.

<wl:adapter xmlns:wl="http://www.ibm.com/mfp/integration" xmlns:http="http://www.ibm.com/mfp/integration/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="SAPGWAdapter1">

That also creates the connectionPolicy tag as <connectionPolicy xsi:type="http:HTTPConnectionPolicyType">

This doesn't allow me to add properties that were included with the xsi:type="nwgateway:NWGatewayHTTPConnectionPolicyType" type definition, like <serviceRootURL> and the <serverIdentity> nodes.

Can I change the adapter type back to SAP, or is HTTP the standard now? If it is, how do I pass in the serverIdentity properties? Trying to test the adapter against a live SAP instance is giving me "Unauthorized" errors (at least, I think that's what it says. It's in German...)

-Paul Horan-

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Paul Horan
  • 66
  • 4

1 Answers1

0

We still offer SAP adapters. Use whichever adapter best fits the task.

Create a new Adapter, if you are using the eclipse plugin then right click on adapters > new > MobileFirst Adapter

Under adapter type you have two options

  • SAP Netweaver Gateway Adapter
  • SAP JCo Adapter

here is our user documentation on SAP adapters

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Chevy Hungerford
  • 1,167
  • 6
  • 19
  • OK - this was totally my mistake... I was getting Authorization Failed errors correctly, as I was passing the wrong parameter value for "sap-client". Once I corrected that mistake, the HTTP adapter works just fine. – Paul Horan Apr 07 '16 at 04:45