cancel
Showing results for 
Search instead for 
Did you mean: 

http receiver guide?

Former Member
0 Kudos

Hi,

Can someone help - I need to do a proxy to http. I need some help with the http side. I know I need a target host, service number and a path prefix. Where do I get the receiver definition?

Thanks,

Leanne

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

I am sending data from R/3 via XI to Http. Will I need to upload a definition with methods? Do I get this xsd from the 3rd party?

Regards,

Leanne

Former Member
0 Kudos

Hi,

Will I need to upload a definition with methods? Do I get this xsd from the 3rd party? - You can get an XSD from target application for creating an external definition for the msg structure to post data using reciver HTTP adapter.

Regards,

Rajeev Gupta

Edited by: RAJEEV GUPTA on Mar 23, 2009 9:35 AM

former_member181985
Active Contributor
0 Kudos

For HTTP service there will be no XSD required in general.

However if the partner wants a specific structure XML, then he should provide the schema(XSD).

You can send any data(binary or XML) to HTTP reciever. If no mapping then you can directly start with ID part without using IR. Of course you need to import the RFC or IDOC structure of your interface from R/3 in IR.

Former Member
0 Kudos

Hi,

They say that they can not supply me with an xsd, any other way of asking them for a definition?

Thanks,

Leanne

Former Member
0 Kudos

Hi,

ask them what is the msg structure in which they are wanting the data from XI .....means the node strucutre..........then create the data type in XI according to it.......then msg type and then msg interface... then inform the target application of the msg structure in which XI will send data to them by seeing the target msg interface.

Regards,

Rajeev Gupta

Edited by: RAJEEV GUPTA on Mar 23, 2009 9:47 AM

Former Member
0 Kudos

Hi,

Thanks, an examples? Can they not give me an external definition?

Thanks,

Leanne

Former Member
0 Kudos

Hi

Any examples?

Thanks,

Leanne

Former Member
0 Kudos

Hi,

Example: If they say they want data for 3 things - one integer, two character and they expect a array of this structure............then define a data type like:

DT_test

-- Data 0..unbounded

-


a xsd:integer

-


b xsd:string

-


c xsd:string

Regards,

Rajeev Gupta

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi,

>

> Can someone help - I need to do a proxy to http. I need some help with the http side. I know I need a target host, service number and a path prefix. Where do I get the receiver definition?

>

> Thanks,

>

> Leanne

the information you seek is about the target system. Ideally connectivity details are provided by the system admin/ person responsible for maintaining the system. So in your case get in touch with them and get the specific details.

Note: Not only is this a procedure for HTTP but mostly for most of the adapters say FILE, MAIL etc

former_member181985
Active Contributor
0 Kudos

you will get the information from the client/partner to whom you are sending messages.

Former Member
0 Kudos

Hi,

Configuring the Receiver Plain HTTP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm

Posting and Testing using XI/PI HTTP Adapter

/people/william.li/blog/2007/09/07/posting-and-testing-using-xipi-http-adapter

Regards,

Phani

Former Member
0 Kudos

Hi,

I see there is a limit to the URL length. Sorry I am not very clued up in this area. I have a host, service and path in the communication channel. I have the location (I think this is a method - not sure) and parameters in the data type (loaded from an external definition). What does the limit include i.e. do I count the path and data type, etc. Here is a sample of the payload which should be used for the HTTP.

Thanks,

Leanne

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

- <ns0:Siebel xmlns:ns0="urn:SAPtoSiebel:Customers:Update" location="S/BO/BCX SAP Integration/BCX Account Integration/update">

- <ns0:select>

<ns0:Row_spcId>1-X4NY</ns0:Row_spcId>

</ns0:select>

- <ns0:update>

<ns0:Account_spcStatus>Active</ns0:Account_spcStatus>

<ns0:Customer_spcNumber>0000000002</ns0:Customer_spcNumber>

<ns0:Main_spcPhone_spcNumber>4413111</ns0:Main_spcPhone_spcNumber>

<ns0:Name>Sasol</ns0:Name>

<ns0:Personnel_spcNumber>00132377</ns0:Personnel_spcNumber>

<ns0:Primary_spcIndustry_spcId>0017</ns0:Primary_spcIndustry_spcId>

<ns0:Row_spcId>1-X4NY</ns0:Row_spcId>

<ns0:SAP_spcPhysical_spcCity>Rosebank</ns0:SAP_spcPhysical_spcCity>

<ns0:SAP_spcPhysical_spcPostal_spcCode>2196</ns0:SAP_spcPhysical_spcPostal_spcCode>

<ns0:SAP_spcPhysical_spcProvince>GP</ns0:SAP_spcPhysical_spcProvince>

<ns0:SAP_spcPhysical_spcStreet_spcAddress_spcLine_spc1>Baker St</ns0:SAP_spcPhysical_spcStreet_spcAddress_spcLine_spc1>

<ns0:SAP_spcPostal_spcCity>Johannesburg</ns0:SAP_spcPostal_spcCity>

<ns0:SAP_spcPostal_spcPO_spcBox>5486</ns0:SAP_spcPostal_spcPO_spcBox>

<ns0:SAP_spcPostal_spcPost_spcCode>2000</ns0:SAP_spcPostal_spcPost_spcCode>

<ns0:VAT_spcregistration_spcnumber>4380106734</ns0:VAT_spcregistration_spcnumber>

<ns0:Client_spcEngagement_spcLeadership>Z1</ns0:Client_spcEngagement_spcLeadership>

<ns0:Engagement_spcLayer>10</ns0:Engagement_spcLayer>

</ns0:update>

</ns0:Siebel>

Former Member
0 Kudos

No response.

former_member187339
Active Contributor
0 Kudos

Hi Leanne,

Don't know whether the problem was solved. IF solved you can provide the solution here.

But i will suggest that this not would have been helpful in determining the url length restriction

Note 1105368 - HTTP adapter: Dynamic URL and HTTP parameters

url consists of host, port and path

Regards

Suraj