on 11-03-2015 11:45 AM
Hi,
We are using SAP PO single stack and got interface HTTP_AAE to RFC. We are using GET for HTTP adapter and when sending any data using url getting error as:
In channel configuration we have given Main payload parameter name as api_key. Can anyone please look into the error and tell ho to proceed with testing.. At sender side client is using API and they can not send the data. Can anyone help on how to GET the data from Sender to PI.
Thanks,
Swapnashree
Hello Swapnashree,
1. You must be using GET in message protocol.
2. This GET parameter is supposed to fetch the payload from a specific URL.
So question : Have you specified the URL Path by choosing the addressing mode as URL ?
In the Path you need to maintain the path.
If you have done the above then you can check if the certificate has expired or not (which you will get in NWA under configuration in Certificates and Keys in Trusted CAs).
Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My input Datatype structure is:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:matw.com:xi:tre:g_oandaexchangerates:100" targetNamespace="urn:matw.com:xi:tre:g_oandaexchangerates:100">
<xsd:complexType name="DT_ExchangeRates">
<xsd:sequence>
<xsd:element name="base_currency" type="xsd:string" />
<xsd:element name="meta">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="effective_params">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="data_set" type="xsd:string" />
<xsd:element name="date" type="xsd:date" />
<xsd:element name="decimal_places" type="xsd:int" />
<xsd:element name="fields">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="quote_currencies">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="currency" type="xsd:string" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="request_time" type="xsd:string" />
<xsd:element name="skipped_currencies" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="quotes">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="quote" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ask" type="xsd:double" />
<xsd:element name="bid" type="xsd:double" />
<xsd:element name="currency" type="xsd:string" />
<xsd:element name="date" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>stucture
and the source is
<response><base_currency>USD</base_currency><meta><effective_params><data_set>oanda</data_set><date>2015-11-17</date><decimal_places>5</decimal_places><fields><field>averages</field></fields><quote_currencies><currency>CAD</currency></quote_currencies></effective_params><request_time>2015-11-17T14:44:42+0000</request_time><skipped_currencies>
</skipped_currencies></meta><quotes><quote><ask>1.33244</ask><bid>1.33219</bid><currency>CAD</currency><date>2015-11-16T21:00:00+0000</date></quote></quotes></response>
Seems it is due to different structure issue. But I have to modify the input xsd file to use in PI.
Try as per below link Swapna.Face the same issue I guess
Please see if the below helps you in some direction
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Swapnashree,
I doubt HTTP adapter can poll from the webservice.use a soap adapter with rest protocol.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried using SOAP Axis sender adapter and updated the URL. But when I am trying to send request from sender API data not coming to PI.Is there any other setting to be done? I followed the below doc.
Try as per below link
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.