<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Communication between two web servers with XML data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078761#M431097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can manually build the xml using concatenate statement or use cl_xml_document class to build the xml (search abap forum on cl_xml_document or if_ixml_document  samples should be there)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can either create a webservice out of a RFC or create a bsp page which takes some parameter and process that data and returned the results in xml format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example create a bsp page with following details.  (while creating the page use extension .xml)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page attributes:&lt;/P&gt;&lt;P&gt;airline	TYPE	STRING (with auto check box checked)&lt;/P&gt;&lt;P&gt;xml_out	TYPE	STRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oninitialization&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: flist type standard table of bapisfldat ,
      airline_id type bapisflkey-airlineid ,
      return type standard table of bapiret2 .
clear xml_out .
if not airline is initial .
  clear airline_id .
  move: airline to airline_id .
  call function 'BAPI_FLIGHT_GETLIST'
   exporting
     airline                = airline_id
*   DESTINATION_FROM       =
*   DESTINATION_TO         =
*   MAX_ROWS               =
   tables
*   DATE_RANGE             =
*   EXTENSION_IN           =
     flight_list            = flist
*   EXTENSION_OUT          =
   return                 =  return.
  case sy-subrc .
    when  0 .
      if flist[] is initial .
        call transformation (`ID`)
                    source output = return[]
                    result xml xml_out
                    options
                    data_refs = 'embedded' .
*                    options XML_HEADER = 'NO' .

      else.
        call transformation (`ID`)
                  source output = flist[]
                  result xml xml_out
                  options
                    data_refs = 'embedded' .

*                  options XML_HEADER = 'NO' .

      endif .
    when others .
      concatenate
      `&amp;lt;?xml version="1.0" ?&amp;gt;`
    `&amp;lt;asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;`
    `&amp;lt;error&amp;gt;`
    `Unknown Error`
    `&amp;lt;/error&amp;gt;`
    `&amp;lt;/asx:abap&amp;gt;` into xml_out .

  endcase .

else.
  concatenate
            `&amp;lt;?xml version="1.0" ?&amp;gt;`
          `&amp;lt;asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;`
          `&amp;lt;error&amp;gt;`
          `Enter Airline ID`
          `&amp;lt;/error&amp;gt;`
          `&amp;lt;/asx:abap&amp;gt;` into xml_out .


endif .

call method response-&amp;gt;if_http_entity~set_cdata
  exporting
    data = xml_out.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and clear all codes from layout section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now if you call this page with carrier id as url parameter it will return that carrier relevant data in xml format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the url will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://&amp;lt;abaphost&amp;gt;.domain.com:port/sap/bc/bsp/sap/&amp;lt;your" target="test_blank"&gt;http://&amp;lt;abaphost&amp;gt;.domain.com:port/sap/bc/bsp/sap/&amp;lt;your&lt;/A&gt; bsp application name/pagename.xml?airline=LH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other webserver call call this url to get data from WAS system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Apr 2007 12:22:53 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2007-04-15T12:22:53Z</dc:date>
    <item>
      <title>Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078754#M431090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a requirement . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be two Ticketing tools used for SAP support. &lt;/P&gt;&lt;P&gt;1. On SAP User side (Developed using BSP in WAS).&lt;/P&gt;&lt;P&gt;2. On support Team side (Third party web application).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data between these two should be exchanged with the other server as and when it is updated . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For exaple if a Ticket information in BSP is updated by SAP user , the same should be updated into the third party application and vice versa. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have heard that for data transfer , xml can be used . Could you please help me how can this be achieved ? I am interested in BSP side only and I am new to XML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie...&lt;/P&gt;&lt;P&gt;1. In outbound , BSP should act as a client and send data to Thirdparty web application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.BSP should act as a server when recieving the data sent from Thirdparty web application and update WAS database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be greatful if anyone could help me . Answers would definitely be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman Nayak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 10:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078754#M431090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T10:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078755#M431091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. is BSP should send data or the third party will pull the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. will the third party push the data or BSP should pull the data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if user enter some data in BSP and if you want this to be updated on the third party system, the thrid party system should either provide a webservice or a http service to accept data. once it is there sending data from BSP is simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like wise if the third party wants data from your BSP, it can call a BSP url which can pass data in xml format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 11:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078755#M431091</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-04-15T11:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078756#M431092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply and for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is &lt;/P&gt;&lt;P&gt;1. BSP should push the data to Third party application as and when the data is updated in WAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Third party application should push data to BSP as and when the data is updated in Third Party application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give some more details for the realization of the same . With some code if you have ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman Nayak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 11:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078756#M431092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T11:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078757#M431093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;i&amp;gt;as and when the data is updated in WAS&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you mean that data may be updated by some mechanism (not necessarily user entering data in bsp application and saving it in WAS) and that should trigger data push to thirdparty application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does the other webserver provides webservices? without knowing much about the other webserver, it will be difficult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example some user entered info need to be captured, in such case the other webserver should either provide a webservice to receive this data or they should have a webpage for accepting this info. if its there then wecan push data to that system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 11:35:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078757#M431093</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-04-15T11:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078758#M431094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. User entering data in bsp application and saving it in WAS) and that should trigger data push to thirdparty application. There is no other means by which the data is updated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. provide a webservice to receive this data or they should have a webpage for accepting this info. Which among these two is most simple and which among these is best . I am new to this concept . Could you please explain me little more in detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman Nayak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 11:45:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078758#M431094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T11:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078759#M431095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if they already have a webpage to accept these data then you can use that, else if they have webservices ready you can use that. (if you are on WAS6.40 i would suggest the webservice method)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please keep in mind here we have not talked about authentication. when BSP calls the other webserver, does it require uid/pwd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also when the other webserver calls BSP , that webserver has to pass on WAS authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;I am new to this concept . Could you please explain me little more in detail?&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what details you want, if you can be specific, that will make it easier to answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(dont get confused with XML, you can use other formats as well. and the real question here is not about xml but about communicating between two systems)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 11:53:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078759#M431095</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-04-15T11:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078760#M431096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two questions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If I have to send application data thru XML to third party application considering it has a webservice or a page to accept the data , how can I do it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also for Thrid party to send data to my WAS , what are the things that I should make available to third party application ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman Nayak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 11:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078760#M431096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T11:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078761#M431097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can manually build the xml using concatenate statement or use cl_xml_document class to build the xml (search abap forum on cl_xml_document or if_ixml_document  samples should be there)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can either create a webservice out of a RFC or create a bsp page which takes some parameter and process that data and returned the results in xml format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example create a bsp page with following details.  (while creating the page use extension .xml)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page attributes:&lt;/P&gt;&lt;P&gt;airline	TYPE	STRING (with auto check box checked)&lt;/P&gt;&lt;P&gt;xml_out	TYPE	STRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oninitialization&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: flist type standard table of bapisfldat ,
      airline_id type bapisflkey-airlineid ,
      return type standard table of bapiret2 .
clear xml_out .
if not airline is initial .
  clear airline_id .
  move: airline to airline_id .
  call function 'BAPI_FLIGHT_GETLIST'
   exporting
     airline                = airline_id
*   DESTINATION_FROM       =
*   DESTINATION_TO         =
*   MAX_ROWS               =
   tables
*   DATE_RANGE             =
*   EXTENSION_IN           =
     flight_list            = flist
*   EXTENSION_OUT          =
   return                 =  return.
  case sy-subrc .
    when  0 .
      if flist[] is initial .
        call transformation (`ID`)
                    source output = return[]
                    result xml xml_out
                    options
                    data_refs = 'embedded' .
*                    options XML_HEADER = 'NO' .

      else.
        call transformation (`ID`)
                  source output = flist[]
                  result xml xml_out
                  options
                    data_refs = 'embedded' .

*                  options XML_HEADER = 'NO' .

      endif .
    when others .
      concatenate
      `&amp;lt;?xml version="1.0" ?&amp;gt;`
    `&amp;lt;asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;`
    `&amp;lt;error&amp;gt;`
    `Unknown Error`
    `&amp;lt;/error&amp;gt;`
    `&amp;lt;/asx:abap&amp;gt;` into xml_out .

  endcase .

else.
  concatenate
            `&amp;lt;?xml version="1.0" ?&amp;gt;`
          `&amp;lt;asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;`
          `&amp;lt;error&amp;gt;`
          `Enter Airline ID`
          `&amp;lt;/error&amp;gt;`
          `&amp;lt;/asx:abap&amp;gt;` into xml_out .


endif .

call method response-&amp;gt;if_http_entity~set_cdata
  exporting
    data = xml_out.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and clear all codes from layout section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now if you call this page with carrier id as url parameter it will return that carrier relevant data in xml format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the url will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://&amp;lt;abaphost&amp;gt;.domain.com:port/sap/bc/bsp/sap/&amp;lt;your" target="test_blank"&gt;http://&amp;lt;abaphost&amp;gt;.domain.com:port/sap/bc/bsp/sap/&amp;lt;your&lt;/A&gt; bsp application name/pagename.xml?airline=LH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other webserver call call this url to get data from WAS system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 12:22:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078761#M431097</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-04-15T12:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078762#M431098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the example . But the example looks to me more of pull approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me put my question like this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user in my WAS has updated flight details of airline=LH and if this data has to be pushed to Third party application , then how should be the code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman Nayak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 12:32:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078762#M431098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T12:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078763#M431099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in such a case, the third party system should have a page to update this or a webservice to update this, then we can push data to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 12:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078763#M431099</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-04-15T12:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078764#M431100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose the 3rd party webserver has a Page to update the data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have to trigger a data push from WAS thru a BSP page , then steps would be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Fetch application data . (In our case carrier details).&lt;/P&gt;&lt;P&gt;2. Convert it to XML format using .&lt;/P&gt;&lt;P&gt;        call transformation (`ID`)&lt;/P&gt;&lt;P&gt;                    source output = return[]&lt;/P&gt;&lt;P&gt;                    result xml xml_out&lt;/P&gt;&lt;P&gt;                    options&lt;/P&gt;&lt;P&gt;                    data_refs = 'embedded' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Then send it to 3rd party application page which will post the data in 3rd party application. &lt;/P&gt;&lt;P&gt;Lets say the page in 3rd party application is "http://3rdparty/xml_data_recieve.htm"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then how should we code in WAS to send xml data to page "http://3rdparty/xml_data_recieve.htm" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if my understanding of the concept is wrong .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 12:52:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078764#M431100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T12:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078765#M431101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this example on how data is sent between pages/application over http&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.w3schools.com/tags/tag_form.asp" target="test_blank"&gt;http://www.w3schools.com/tags/tag_form.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your case you have to use xmlHTTPRequest object to send data to other application. check the following weblog where the data is excanged between pages (xml) but the same applies for between different systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/sap.user72/blog/2005/08/15/ajax-and-htmlb--a-sample-bsp-application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(this is one of the ways, you can also use cl_http_client class to do similar stuff check this weblog on the same /people/brian.mckellar/blog/2004/06/25/bsp-programming-rss-httpclient-xml-xslt)&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 13:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078765#M431101</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-04-15T13:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between two web servers with XML data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078766#M431102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Raja .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will go thru the links and revert to you . Thanks for all the time you have spent for me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman Nayak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2007 13:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/communication-between-two-web-servers-with-xml-data/m-p/2078766#M431102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-15T13:14:23Z</dc:date>
    </item>
  </channel>
</rss>

