cancel
Showing results for 
Search instead for 
Did you mean: 

SAP XI Error - Failed to call the endpoint: HTTP 200 OK

former_member562530
Active Participant
0 Kudos

Hello everyone,

I am actually configuring a scenario in SAP XI 3.0 as described below:

SAP 4/3 4.6C (RFC adapter) -> XI (SOAP adapter) -> BANK

This scenario is configured in synchronous mode and the request (when SAP is sending data through the SAP XI to the Bank) is working fine, but unfortunately when the bank sent the response back to the XI, the following error occurs:

"com.sap.aii.af.ra.ms.api.DeliveryException: Failed to call the endpoint: HTTP 200 OK"

We are currently using a WSDL file in order to convert data from SAP to SOAP, we find this file is Ok because the request in SOAP format is reaching the Bank server without problems.

I deleted all objects and created again, trying to solve this problems, but I got the same result.

Someone has any idea what can I do to identify the origin of this error?

Here is the WSDL generated by the bank in order to convert values to SOAP format:

<?xml version="1.0" encoding="ISO-8859-1"?>

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://produbanco.com/">

<wsdl:types>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://produbanco.com/" targetNamespace="http://produbanco.com/" elementFormDefault="qualified">

<xsd:element name="CrearOperacionLCC">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="tabSolicitud" type="dtSolicitud" minOccurs="0" />

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="CrearOperacionLCCResponse">

<xsd:complexType />

</xsd:element>

<xsd:element name="ConfirmarOperacionLCC">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="tabConfirmacion" type="dtConfirmacion" minOccurs="0" />

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="ConfirmarOperacionLCCResponse">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="ConfirmarOperacionLCCResult" type="xsd:string" minOccurs="0" />

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:complexType name="dtSolicitud">

<xsd:sequence>

<xsd:element name="strEmpresa" type="xsd:string" minOccurs="0" />

<xsd:element name="strIdMaquina" type="xsd:string" minOccurs="0" />

<xsd:element name="strTipoTransaccion" type="xsd:string" minOccurs="0" />

<xsd:element name="strEstablecimiento" type="xsd:string" minOccurs="0" />

<xsd:element name="strLineaProducto" type="xsd:string" minOccurs="0" />

<xsd:element name="strSecuencial" type="xsd:string" minOccurs="0" />

<xsd:element name="strTarjeta" type="xsd:string" minOccurs="0" />

<xsd:element name="strMontoCompra" type="xsd:string" minOccurs="0" />

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="dtConfirmacion">

<xsd:sequence>

<xsd:element name="strEmpresa" type="xsd:string" minOccurs="0" />

<xsd:element name="strIdMaquina" type="xsd:string" minOccurs="0" />

<xsd:element name="strTarjeta" type="xsd:string" minOccurs="0" />

<xsd:element name="strValorAutorizado" type="xsd:string" minOccurs="0" />

<xsd:element name="strNumeroAutorizacion" type="xsd:string" minOccurs="0" />

<xsd:element name="strNumeroPedido" type="xsd:string" minOccurs="0" />

<xsd:element name="strNumeroFacturaSRI" type="xsd:string" minOccurs="0" />

<xsd:element name="strMontoFactura" type="xsd:string" minOccurs="0" />

<xsd:element name="strBaseRetencion" type="xsd:string" minOccurs="0" />

<xsd:element name="strPorcentajeRetencion" type="xsd:string" minOccurs="0" />

<xsd:element name="strValorRetencion" type="xsd:string" minOccurs="0" />

<xsd:element name="strRucCliente" type="xsd:string" minOccurs="0" />

<xsd:element name="strFechaFactura" type="xsd:string" minOccurs="0" />

</xsd:sequence>

</xsd:complexType>

</xsd:schema>

</wsdl:types>

<wsdl:message name="CrearOperacionLCCSoapOut">

<wsdl:part xmlns:generateduniqueprefix22="http://produbanco.com/" name="parameters" element="generateduniqueprefix22:CrearOperacionLCCResponse" />

</wsdl:message>

<wsdl:message name="ConfirmarOperacionLCCSoapOut">

<wsdl:part xmlns:generateduniqueprefix23="http://produbanco.com/" name="parameters" element="generateduniqueprefix23:ConfirmarOperacionLCCResponse" />

</wsdl:message>

<wsdl:message name="ConfirmarOperacionLCCSoapIn">

<wsdl:part xmlns:generateduniqueprefix24="http://produbanco.com/" name="parameters" element="generateduniqueprefix24:ConfirmarOperacionLCC" />

</wsdl:message>

<wsdl:message name="CrearOperacionLCCSoapIn">

<wsdl:part xmlns:generateduniqueprefix25="http://produbanco.com/" name="parameters" element="generateduniqueprefix25:CrearOperacionLCC" />

</wsdl:message>

</wsdl:definitions>

And right below is the reponse sent by the bank:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

<soap:Header>

<wsa:Action>http://produbanco.com/ConfirmarOperacionLCCResponse</wsa:Action>

<wsa:MessageID>urn:uuid:78e90a1b-9b9d-4b8b-b564-ddecbe4bbcfa</wsa:MessageID>

<wsa:RelatesTo>urn:uuid:ea647745-5b27-4805-b811-fe1b41df496b</wsa:RelatesTo>

<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>

<wsse:Security>

<wsu:Timestamp wsu:Id="Timestamp-189ef039-7195-41e1-a35f-41b09d012ae1">

<wsu:Created>2006-07-13T15:18:08Z</wsu:Created>

<wsu:Expires>2006-07-13T15:23:08Z</wsu:Expires>

</wsu:Timestamp>

</wsse:Security>

</soap:Header>

<soap:Body>

<ConfirmarOperacionLCCResponse xmlns="http://produbanco.com/">

<ConfirmarOperacionLCCResult>13</ConfirmarOperacionLCCResult>

</ConfirmarOperacionLCCResponse>

</soap:Body>

</soap:Envelope>

Thank you for the attention

Best Regards,

Gabriel Santana

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

Hi,

Probably problem with the response . Check the Response mapping , structure once again. Test the mapping in the Repository with the live data from SXMB_MONI

Have a look into this SAP Note -871959

Regards,

moorthy

former_member562530
Active Participant
0 Kudos

Hi Krishna

I checked the response mapping and it seems to be OK.

I deleted and created again all objects in Integration Builder...

I am currently trying to simulate a response from bank using SAP Soap Client Tool.

Regards,

Gabriel

Answers (0)