cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Adapter: how to specify the SenderInterfaceName?

SergioFerrari
Active Contributor
0 Kudos
110

Hi,

in the configuration file of the SOAP Adapter it is possibile to specify the XMB.SenderInterfaceName.

But is it possible to specify it in the SOAP message?

In the following example:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<SOAP-ENV:Body>

<ns1:method xmlns:ns1="/erptech/labs/xi">

<QueryInfoFlightRequest>

<AIRLINEID>UA</AIRLINEID>

</QueryInfoFlightRequest>

</ns1:method >

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

the ns1:method has no effect at all.

Sergio

Message was edited by: Sergio Ferrari

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Sergio,

You can specify everything in the SOAP header.

Find below a sample message.

Kind regards, Guy Crets

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

<soapenv:Header>

<SAP:MessageHeader

xmlns:SAP="http://sap.com/exchange/MessageFormat"

version="1.0" soapenv:mustUnderstand="1">

<SAP:From>

<SAP:Name>BUSINESS_SYSTEM</SAP:Name>

<SAP:Interface

namespace="my_namespace">MY_INTERFACE

</SAP:Interface>

</SAP:From>

<SAP:MessageId>74D3D940-695F-11D8-B160-D89382906D97</SAP:MessageId>

<SAP:QualityOfService>ExactlyOnce</SAP:QualityOfService>

<SAP:TimeSent>2004-02-27T19:59:31Z</SAP:TimeSent>

<SAP:Direction>Request</SAP:Direction>

</SAP:MessageHeader>

</soapenv:Header>

<soapenv:Body>

<test>

Hello

</test>

</soapenv:Body>

</soapenv:Envelope>

SergioFerrari
Active Contributor
0 Kudos

Perfect!