CSS - Inbound (WebServer) request to Outbound content

Hi all,
Is there any simple way of using the Load Balancer (CSS) to accept Inbound Request's to a Content Rule from Server used by another Content Rule ?
For example:
I have Content Rule "WebServer", with Server1, Server2, and Server3.
Each one of this servers is getting information from one other server (ServerX). This information is taken inside the ServerLan.
Beside this ServerX has a Content Rule "XXX" for outside Requests, now that we want to add another Service (ServerY) for this content, we had thought that Server1, Server2 and Server3, should get the information by the Content Rule "XXX", instead the ServerX directly.
Is this achieved with Group's ?
Any simple example ?
Best Regards,
Petrónio

Hi,
There should be no limitations regarding this. Server initiating a connection should be seen as any other client for that XXX content rule.
As a first step, you shoud redirect Server1, Server2 and Server3, to access the VIP address of the Content Rule "XXX", instead the ServerX directly.
I think source groups are not necessary, unles for example, all servers reside in the same subnet. In that case you would have the problem to force return direction of the traffic form serverX to server1 to go trough the CSS. (CSS shoud see both traffic directions to work regularly)
I believe you can use source groups to perform source NAT of Server1 address in that case. (The goal is to make ServerX to return traffic to some address which is routed over CSS.)
If servers 1,2,3 and servers X,Y are by default in different subnets, routed over CSS, you should have no problem for server-to-server load-balancing, and do not need source groups (ServerX can safely see Server1 real address in that case).
Most simple example is:
group
vip address
add service server1
add service server2
add service server3
active
Details can be found in the documentation:
http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v8.20/configuration/content_lb/guide/SGrp.html
Regards,
Jasmina

Similar Messages

  • PO 7.4: NW BPM: HTTP Error response for SOAP request or invalid content-type.HTTP 200 OK

    Hi Experts
    I am trying to call NW BPM scenario(File to BPM) from PI, and using below adapter config.
    I am getting below error.
    Failed to call the endpoint: Error in call over HTTP: HTTP 200 OK
    SOAP: Call failed: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Any idea how to fix this issue?
    Thanks,
    Sandeep Maurya.

    Hi Sandeep,
    Test the URL from your browser and check the proxy settings as well.
    Refer the below links
    SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT
    SOAP: Call failed: java.io.IOException: Failed to get the input stream from socket: java.net.SocketException: Connection…
    Regards
    Bhargava Krishna

  • IDoc type "DELVRY03" for INBOUND delivery confirmation and Outbound Deliver

    Hi ,
    We have a requirement where we have to send Inbound delivery confirmation as well as outbound delivery notification to our same customer. (3PL case)
    We have a EDI partner who is receiving our messages and transforming them before sending it to customer.
    Now my problem is , since I am using same idoc type (DELVRY03) for both cases therefore wondering how my EDI partner will differentiate whether received message is a INBOUND delivery confirmation or OUTBound delivery notification.
    regards
    Shrey

    Thx for your reply ...
    Wondering about the impacts , if I create a new message type like ZDESADV and attach it to DELVRY03.
    In this i could have two message types DESADV and ZDESADV.
    Will it impact anywhere ?
    Regards
    Shrey

  • Post inbound as well as outbound IDOCs through a report

    Hi all,
            I have a specific requirement where i need to post an IDOC through a report which ressemble to WE05. This requirement implies for Inbound as well as Outbound for all message types. Can anyone let me know how can this be achieved. Please let me know if this can be acheived through any FM or method.
    Regards
    Simin.R

    Hi,
    To create a new inbound idoc use the following function module:
    IDOC_INBOUND_SYNCHRONOUS
    To Create a outbound idoc use the function module
    MASTERIDOC_CREATE_* - search and decide based on your requirement.
    Regards,
    Baburaj

  • CSS Inbound and outbound confirmation

    Hi Gilles
    If I NAT the private IP addresses of my backend servers to a public IP address for the servers to access the internet. Can I use the same VIP address for the clients on the internet to access the servers? I suppose that this is possible. Could you please confirm?
    Also would I need to configure separate source groups for this?
    Thank you
    Regards,
    Sanjith

    Sanjith,
    I can confirm the first part.
    You can use the same vip in a content rule and in a group.
    The group applies to all traffic, so TCP, UDP and ICMP will be nated with the same group.
    For the 2nd part, client to server, I made a typo.
    I meant to say, 1-to-1 mapping.
    So, for each server you will need to configure a content and a group each time with a different VIP.
    So for 2 servers, you will get something like this
    owner XYZ
    content SRV-1
    vip x.x.x.x1
    add service SRV1
    active
    content SRV-2
    vip x.x.x.x2
    add service SRV2
    active
    group SRV-1
    vip x.x.x.x1
    add service SRV1
    active
    group SRV-2
    vip x.x.x.x2
    add service SRV2
    active
    As you can see this is a very tedious process.
    So, why not just use the public addresses on the server directly ????
    Or, as you probably have a firewall, why not do the nating on the firewall ???
    These would be much better solution if you need direct access to the server.
    Don't forget that nating is not a security feature !!! You can't consider your network safe because you are nating.
    Gilles.

  • Inbound Adapter / 'Sink' failing for Content Server on Subscription Client

    I am running into an issue in configuring the Outbound - Inbound Adapters for Connection Server / Subscription Client against Content Server. The details are below. Would sincerely appreciate if anyone can help with this.
    I have installed a Oracle UCM setup together with two Content Server instances (Contribution instance and Live instance), a Connection Server and a Subscription Client - all within the same virtual machine on top of Windows XP SP2 OS and Oracle 10g Database.
    I have further configured the Outbound Adapter on the Connection Server and the Inbound Adapter on the Subscription Client. All installation and configuration has been done following the step-by-step process from the relevant installation guides.
    We have tested the connectivity between the Connection Server and the Subscription Client for a simple file-based content source and it works fine - i.e., files added to a directory registered as a source on connection server are retrieved and sent to the subscription client and received there successfully / dropped in the specified target client directory.
    However, this transfer fails for the Content Server Outbound-Inbound Adapter connectivity. We have an Archive in Content Server registered as a "CNSArchive" and exporting successfully to the CNS Server. The registered outbound adapter is successfully able to receive these updates and are visible through the Connection Server
    interface. The subscription client is also apparently able to receive these updates
    correctly and writes them to the specified folder/directory on the client;
    however fails to "batch load" these and reports a failure writing to the
    Content Sink.
    What we would like is for the ability to establish end-to-end connectivity between the contribution content server instance and the live content server using the connection server + outbound adapter on the sending end together with the subscription client + inbound adapter together on the receiving end. This is failing.
    I have double checked the cns.oracle.config (connection server config), siclone.config (subscription client config), and the source content server's configuration (config.cfg), and all seems to be well. Not really sure therefore what is causing this.
    Here is a snippet of the error trace that keeps showing up in the subscription client logs ...
    [May 18 21:18:34] VERBOSE: scheduler: waiting to run job ICE Connection in 0:00:33.000 ...
    [May 18 21:18:34] VERBOSE: replicator: response: 200 OK for Url:http://192.168.131.65:8891/42/E%3a%2fapps%2foracle%2fucm%2fserver%2fweblayout%2fgroups%2fpublic%2fdocuments%2fucmdocs%2fcpseven.pdf
    [May 18 21:18:34] INFO: replicator: opened connection http://192.168.131.65:8891/42/E%3a%2fapps%2foracle%2fucm%2fserver%2fweblayout%2fgroups%2fpublic%2fdocuments%2fucmdocs%2fcpseven.pdf in 0:00:00.130
    [May 18 21:18:34] ERROR: replicator: ContentSink reported failure to add item.
    [May 18 21:18:34] ERROR: replicator: Telling all sinks to rollback changes
    [May 18 21:18:34] ERROR: replicator: crawl failed
    [May 18 21:18:34] VERBOSE: scheduler: job completed:ICE Request: 43

    Don't know if anyone is still having problems with this, but just in case...
    I was getting a similar error. I had an Event Viewer record (It wasn't a Warning or an Error, just an Information) reading:You are running a version of Microsoft SQL Server 2000 or Microsoft SQL Server 2000 Desktop Engine (also called MSDE) that has known security vulnerabilities when used in conjunction with this version of Windows. To reduce your computer's vulnerability to certain virus attacks, the TCP/IP and UDP network ports of Microsoft SQL Server 2000, MSDE, or both have been disabled. To enable these ports, you must install a patch, or the most recent service pack for Microsoft SQL Server 2000 or MSDE from http://www.microsoft.com/sql/downloads/default.asp
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    I installed SQL SP4 and it corrected the problem

  • Have the party checked to receive 997, they send me 997 for inbound in the same outbound I pick up 944/945 I create a 997 for a 997... Whaaaaat???

    Me again, I have a process it's been running for a while with 18 other partner. We started (at the request of the partner) without 997 (when I started this I knew nothing of BT/EDI, I still know pretty much the same).
    A new partner demanded 997's, so I switched the checkbox on the party and it generates the 997 when a 944/945 is received but the problem is that they send everything from one /outbound/ folder in which are also sitting 997's they are sending me for 856/940's
    that I sent previously to an /inbound/ folder.
    Please point me to some link that talks about this????
    Thanks
    Bico Bielich

    that part is fine, I pick up a 944 and generate a 997 ... perfect .... only that 997's and 856's and 940's I send to an /inbound/ folder - I pickup 944's and 945's from an /outbound/ folder (at the van) ...
    The partner, when they pickup their 856's and 940's from the /inbound/ folder send a 997 in the outbound folder,
    so, when I am picking up 944's and 945's there are also 997's from the inbound process ... this is the punchline ... those 997's generate more 997's to be sent back to the partner and here I give up, I am going to have to strip 997's from the transmission
    before they get to my 944/945 process. 
    Bico Bielich

  • CSS 11506 page requests not directed properly

    CSS 11506 sitting in front of mainframe and
    two Windows 2003 servers
    content rule3056gif
    add service web1
    add service web2
    vip address 10.10.200.252
    balance aca
    url "/IMAGE_DIRECTORY_NAME/*.gif"
    port 3056
    active
    A small number of page requests, that do not match the above pattern, are passing to the content servers web1 or web2 instead of the mainframe.
    Any ideas appreciated.

    when a connection comes in and matches the rule above, a flow is created to switch all traffic between client and server.
    If inside this same flow a new request comes in for a different content rule, the flow needs to be remapped to the new server.
    This works fine except when the flow stays idle.
    A flow that was idle can't be remapped.
    All new requests will be sent to the current/last server even if the request does not match the rule.
    The solution is to increase the idle timeout.
    You can do this with a 'flow-timeout-multiplier'.
    A large value will reduce a lot the chance to see the problem but it also means the amount of resources being used will increase as each flow will remain longer in memory.
    It's up to you to find the right balance.
    You can do a 'flow stat' from llama mode to see number of free flows and active flows.
    I would say you start with a flow-timeout-multiplier of 100 and reduce or increase it if necessary.
    Regards,
    Gilles.
    - please take a moment of your time to rate this answer.

  • Css excessive arp requests

    Hello all,
    my CSS 11150 with WebNS 5.00 does excessive arp requests on its interfaces (up to 100 arps per second). The box seems to arp EVERYTHING especially in the 10.147.0.0 /16 subnet even if it is not used at all. My config is as follows:
    ip no-implicit-service
    ip opportunistic disable
    ip route 0.0.0.0 0.0.0.0 10.147.1.1 1
    circuit VLAN1
    ip address 10.147.248.10 255.255.0.0
    circuit VLAN2
    ip address 10.145.45.254 255.255.255.128
    service sunbl3s6-443
    ip address 10.145.45.136
    protocol tcp
    port 443
    keepalive type tcp
    keepalive port 443
    active
    service sunbl3s6-80
    ip address 10.145.45.136
    protocol tcp
    port 80
    keepalive type tcp
    keepalive port 80
    active
    service sunbl3s7-443
    ip address 10.145.45.137
    protocol tcp
    port 443
    keepalive type tcp
    keepalive port 443
    active
    service sunbl3s7-80
    ip address 10.145.45.137
    protocol tcp
    port 80
    keepalive type tcp
    keepalive port 80
    active
    owner unix-systems
    content vrp-test-443
    vip address 10.145.45.253
    protocol tcp
    port 443
    balance aca
    add service sunbl3s6-443
    add service sunbl3s7-443
    active
    content vrp-test-80
    vip address 10.145.45.253
    protocol tcp
    port 80
    balance aca
    add service sunbl3s6-80
    add service sunbl3s7-80
    active
    group vrp-test
    vip address 10.145.45.253
    add destination service sunbl3s6-80
    add destination service sunbl3s6-443
    add destination service sunbl3s7-80
    add destination service sunbl3s7-443
    active
    Does anybody have any hints?
    Many thanks in advance
    Uli

    Hi,
    I did a software upgrade yesterday and put ap0610405.adi.gz on the box. But the behaviour didn't change. We also checked the cabling for loops, that's also fine.
    We have observed some further things:
    The broadcasts are only on the 10.147.0.0 /16 subnet. As this is our local lan backbone we can't change it, I could only shift the frontend into another subnet and route it towards the backbone.
    We have another two boxes (CSS11503 with 7.4) with a similar configuration - they also do excessive arp requests in the same subnet, the primary as well as the secondary. But the addresses being arped for are not necessarily the same.
    I took some packet traces looking for broadcasts and multicasts that could inspire the boxes to arp for every address they see - nothing, the addresses being arped for are not seen in the seconds before the CSS arp request.
    What could trigger arp requests for machines which never accessed or used the CSS services / rules??? I've never seen such a behaviour before...
    Best Regards
    Uli

  • .css and .js file with dynamic content

    Hi all !
    I would need to move all my javascript and css code from the JSP to separate files and then just include them to the page.
    This is of course just standard html code so no probs. there. The little twist is though that both the stylesheet and javascript content should be a bit different depending on the request parameters from the user.
    For example the css contains a few images that would need to be used and the paths and names of these images are defined by a custom taglibrary.
    The questions would then be: What is the preferred strategy to handle this? Is there a way to actually change the content of those files dynamically or is it just better to leave the dynamic parts on the page.
    Of course I can always create a separate servlet that generates them on the fly but that is not the way I would like to go...

    if you include your css like
    <LINK HREF=\"/application/css.jsp\" REL=\"stylesheet\" TYPE=\"text/css\">");
    then make sure your jsp has <%@ page contentType="text/css" %> set and you can make that css.jsp be dynamic and give you the css you need.
    SAme applies to javascript with <%@ page contentType="application/x-javascript" %>

  • Creation of Inbound Idoc for the Outbound Idoc in same client

    Hi,
    My requirement:
    Whenver an PO is created an Outbound IDOC is generated in system ABC with client 100.I want to pass this IDOC data to create an Inbound Idoc for Sales Order(SO) in the same client.
    It would be helpful if anyone can answer on how to Transfer the Outbound Idoc after it crosses the port.
    I found there is a field for function module in WE21,can this be used to get the requirement done.
    Please suggest.
    Regards,
    Amar

    Example of a program that create and post an inbound idoc....maybe that will help you:
    report  zzinbound_idoc.
    data: g_idoc_control_record like edi_dc40 occurs 0 with header line.
    data: g_edidd like edi_dd40 occurs 0 with header line.
    data: g_e1bpache09 like e1bpache09.
    parameter: mode type c default 'A'.
    refresh: g_idoc_control_record, g_edidd.
    clear:   g_idoc_control_record, g_edidd.
    *-Build Control Record -*
    g_idoc_control_record-mestyp  = 'ACC_DOCUMENT'.   "Message type
    g_idoc_control_record-idoctyp = 'ACC_DOCUMENT03'. "IDOC type
    g_idoc_control_record-direct  = '2'.              "Direction
    * Receiver
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-rcvpor = 'SAPDE2'.     "Port
        g_idoc_control_record-rcvprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-rcvprt = 'LS'.             "Partner type
    g_idoc_control_record-rcvpfc = ''.               "Partner function
    * Sender
    g_idoc_control_record-sndpor = 'A000000002'.      "tRFC Port
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-sndprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-sndprt = 'LS'.             "Partner type
    g_idoc_control_record-sndpfc = ''.               "Partner function
    g_idoc_control_record-refmes = 'Customer clearing'.
    append g_idoc_control_record.
    *-Build Idoc Segments -*
    *---E1KOMG
    clear g_edidd.
    clear g_e1bpache09.
    g_edidd-segnam               = 'E1BPACHE09'.
    g_edidd-segnum               = 1.
    move g_e1bpache09 to g_edidd-sdata.
    append g_edidd.
    *-Create idoc -*
    *-Syncronous
    if mode = 'S'.
      call function 'IDOC_INBOUND_SINGLE'
        exporting
          pi_idoc_control_rec_40              = g_idoc_control_record
    *     PI_DO_COMMIT                        = 'X'
    *   IMPORTING
    *     PE_IDOC_NUMBER                      =
    *     PE_ERROR_PRIOR_TO_APPLICATION       =
        tables
          pt_idoc_data_records_40             = g_edidd
        exceptions
          idoc_not_saved                      = 1
          others                              = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *-Asynchronus
    else.
      call function 'IDOC_INBOUND_ASYNCHRONOUS'
        in background task as separate unit
        tables
          idoc_control_rec_40 = g_idoc_control_record
          idoc_data_rec_40    = g_edidd.
      commit work.
    endif.
    write: / 'Well done!'.

  • 415 Unsupported Media Type - Inbound HTTP request

    Hi All,
      mY scanario is
      HTTP Request --> XI ---> FTP ( Without any IR objects..Just a file transfer )
    Whenever our partner is trying to post a file pI, they are gettig 415 unsupported type. They are using content type as application/text and we tried with as text/xml as well. No luck.
    Please adviice

    Rajesh,
    The error definitely says request sent by the client especially the content-type header is not a valid one. Check this trace and ask them to change accordingly:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/2f2c4142aef623e10000000a155106/content.htm
    Regards,
    ---Satish

  • POST http(s) request with xml content in Power Query

    I have a POST http request which works good in HttpRequester (Firefox plugin). I know that it is possible to call POST request in Power Query but cannot find working solution. Here is the original request:
    POST https://svcs.ebay.com/FeedbackService
    X-EBAY-SOA-OPERATION-NAME: createDSRSummaryByPeriod
    X-EBAY-SOA-SERVICE-VERSION: 1.0.0
    X-EBAY-SOA-SERVICE-NAME: FeedbackService
    X-EBAY-SOA-APP-NAME: ***
    X-EBAY-SOA-SITEID: 0
    X-EBAY-SOA-SECURITY-TOKEN: ***
    Content-Type: text/xml
    <?xml version="1.0" encoding="UTF-8"?>
    <createDSRSummaryByPeriodRequest xmlns="http://www.ebay.com/marketplace/services">
    <dateRange>
    <dateFrom>2013-12-01T00:00:00.000Z</dateFrom>
    <dateTo>2013-12-31T23:59:59.999Z</dateTo>
    </dateRange>
    <dateRangeEventType>ListingDate</dateRangeEventType>
    </createDSRSummaryByPeriodRequest>
    Power Query WebContent() function is capable to handle headers and xml content, however, there is no any documentation about its syntax.
    In Power Query I use this request:
    = Xml.Tables(Web.Contents(“https://svcs.ebay.com/FeedbackService”,
    [Headers =[" X-EBAY-SOA-OPERATION-NAME"= "createDSRSummaryByPeriod",
    "X-EBAY-SOA-SERVICE-VERSION="1.0.0",
    "X-EBAY-SOA-SERVICE-NAME"="FeedbackService",
    "X-EBAY-SOA-APP-NAME"="***","X-EBAY-SOA-SITEID"="0",
    "X-EBAY-SOA-SECURITY-TOKEN"="***"],
    Content=["<?xml version="1.0" encoding="UTF-8"?>
    <createDSRSummaryByPeriodRequest xmlns="http://www.ebay.com/marketplace/services">
    <dateRange>
    <dateFrom>2013-12-01T00:00:00.000Z</dateFrom>
    <dateTo>2013-12-31T23:59:59.999Z</dateTo>
    </dateRange>
    <dateRangeEventType>ListingDate</dateRangeEventType>
    </createDSRSummaryByPeriodRequest>"]]))
    However, it returns "Expression.SyntaxError: Invalid identifier." Maybe anyone has at least examples of analogous working syntax?

    Task is solved. First of all I updated PowerQuery since previous version does not support Headers option for Web.Contents function. Here is a correct syntax:
    =Xml.Document(Web.Contents("https://api.ebay.com/ws/api.dll",[Headers=[#"X-EBAY-API-COMPATIBILITY-LEVEL"= "871",#"X-EBAY-API-SITEID"="0",#"X-EBAY-API-CALL-NAME"="GetMyeBaySelling",#"CONTENT-TYPE"="text/xml"], Content=Text.ToBinary("<?xml version="&Character.FromNumber(34)&"1.0"&Character.FromNumber(34)&" encoding="&Character.FromNumber(34)&"utf-8"&Character.FromNumber(34)&"?>
    <GetMyeBaySellingRequest xmlns="&Character.FromNumber(34)&"urn:ebay:apis:eBLBaseComponents"&Character.FromNumber(34)&">
    <RequesterCredentials><eBayAuthToken>***</eBayAuthToken></RequesterCredentials><SoldList><DurationInDays>60</DurationInDays><Pagination><EntriesPerPage>100</EntriesPerPage><PageNumber>1</PageNumber></Pagination></SoldList></GetMyeBaySellingRequest>")]))

  • Mailbox Export Request using multiple content filters

    I've been reviewing the forums for help using the -ContentFilter switch for a mailbox export request but I can't seem to find a solution to my requirements.
    I'm looking for a way to use ContentFilter to export 90 days-worth of Inbox and Sent Items, but I also want all Calendar and Contact items.
    As an example, I was trying to use [(Received -ge "06/01/2014") -and (Sent -ge "06/01/2014)}, which works ok for Inbox and Sent Items. However, for Calendar items, if a future meeting was created before June 1, it won't be exports. Similar
    thing happens to Contacts. If any Contact Item was create prior to June 1, it's not included.
    Then I tried {(Received -ge "06/01/2014") -and (Sent -ge "06/01/2014) -and (MessageKind -eq 'Contact') -and (Received -ge "01/01/1980")}, but no matter how I tried to use my brackets and parenthesis, I ended up with various errors.
    Also, if I combine -ContentFilter with -IncludeFolders, like {(Received -ge "06/01/2014") -and (Sent -ge "06/01/2014")} -includefolders "contacts","calendar" -excludedumpster, I don't get items to export.
    If anyone has any suggestions about using a multi-part content filter or combining the switches, please let me know. I wonder if these conditions are not allowed in a single export job.
    Thanks

    Hi,
    From your description, I recommend you export Inbox and Sent Items at first. And then export Calendar items and Contacts. In this way, you can specify a different time period.
    Here is a thread for your reference:
    Export-Mailbox
    http://technet.microsoft.com/en-us/library/aa998579(v=exchg.80).aspx
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Synchronous Inbound Proxy: Request Responce Type

    Hi,
    I am new to ABAP and i have to work on a inbound proxy which is synchronous
    ie a request-responce scenario has to be implemented.
    Can some one guide me how to initiate.
    Regards,
    vickey
    Any replys will be highly appreciated and rewarded.

    hi
    check with this wiki page:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/09/19/request-responseSCENARIOININBOUNDPROXY 
    If there is a scenario in which the request coming from the other system and based on that request, a response is to be send from ABAP to that system, inbound proxy with Synchronous method is used.
    The class is created by the XI and in the method execute_synchronous, the ABAP code is written.
    The XI provides the input and output structures.
    The ABAP side receives the request from the input structure and sends back the response to the output structure. We will go through these steps one by one. If clearly understood the whole concept is very easy.
    Step1: To declare the internal table/work area of the type of input structure:
            wa_input like input-mt_get_notification-message_payload.
    (Here we have given the whole path as highlighted through ovals in the figure above)
    Step2:  To move the data coming from the input structure to the defined workarea/internal table:
           move input-mt_get_notification-message_payload to wa_input.
    Now the input data is in the desired internal table /work area which can be used to fetch the desired values and send the result back to XI through output structure.
    2) To send the data to XI through output structure.
    Step1: Like input structure, the naming convention for output structure also follows the
    whole path
    call method me->get_notif_or_task_details
            exporting
              p_input         = wa_input
            importing
              p_output        =
           output-mt_notification_response-message_payload-sapresponse
            changing
              it_l_bapiret2   = it_bapiret2
            exceptions
              errors_occurred = 1
              others          = 2
          if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          endif.
    (Code Snippet for Method)
    Here this method fetches the required data in the table p_output and assign it to the internal table
    SAPRESPONCE of the output structure which goes to XI.
    In this way, the synchronous method can be used for inbound proxy in case of request-response scenario.
    regards
    Manish

Maybe you are looking for

  • File data copying problem

    Hi, Im trying to copy the contents fron one file(say abc.txt) to another file(say def.txt)....Whats wrong in the below code... package com.home.practise.streams; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; impor

  • Just installed 4.0.1 and now "offline" appears and I can't connect at all

    When I click on Firefox, the dialog box says: Offline mode/ Firefox is currently in offline mode and can't browse the Web. Uncheck the "Work Offline" menu item, then try again. I am sending this on Safari, the only browser working on my computer now.

  • IPod Touch Video Conversion

    Although I use H.264 video encoding in Lightroom 3b, importing the resulting video into iTunes 9 gives me a message, "Sorry, iPod touch can't read this format." At the Genius Bar in an Apple store, I was told thru a messenger, "That's because of how

  • Can't upgrade V245 to Solaris 10 5/09

    Hi! We have a *{color:#800000}V245{color}* running Solaris 10 8/07 with the following firmware: SC Version v1.6 SC Bootmon Version v1.6.1 Firmware version 1.18.05.00 My /etc/vfstab shows a mirrored drive (I didn't set it up) h4. /dev/md/dsk/d10 /dev/

  • Please delete my User!

    Dear, please delete my user [email protected] (e-Mail has changed). Thank you.