Dynamic URL using HTTP sender

Hi All,
I am working on a HTTP-Proxy scenario wherin I have to use Dynamic URLs on the HTTP(sender) side.Can any one help me getting this done

YOu cannot pick File using URL. There is only to possibilities with the help of which you can pick the file like:
Reading or Writing file from XI directory. (NFS)
Reading or Writing file from FTP Server. (FTP)
You can mention any URL in File adapter and tell it to pick the file from particular URL.
<b>Bottom line : The file adapter is use to read or write the file at the Operating System(OS) level.</b>. File adapter can also act as a FTP client means it can put
or get the file from FTP server.
Thanks
Farooq.

Similar Messages

  • Dynamic URL for HTTP receiver adapter

    Hi all,
    when the XI send the http request to the target system, the format maybe like this:
    header + body the body is including: Prolog, payload and Epilog
    here is about the target system have a 'input' parameter(maybe string type)
    is it possible to pass the 'head + body' these value(or maybe the whole http request message) into input
    i mean is it possible to set the dynamic URL for http receiver adapter like this:
    http://host:port/path?input=<the header and body>
    i have searched the blog Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
    Link:[/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping]
    and the similar threads in the forum
    please give me some advice
    thanks in advance

    When a HTTP server requests the whole message as URL parameters, then I assume that the server also requests an HTTP GET, which is not supported by XI.
    Could you check this?
    Regards
    Stefan

  • Accessing External Url using Http Utility | Error when using from Weblogic on Solaris

    We are using Http Utility (http://jakarta.apache.org/commons/httpclient/) from
    Apache for accessing external URL. A XML string is sent as POST parameter to the
    URL and the response is also an XML string. The URL is accessed over HTTPS protocol.
    I am setting the following parameters in the java class:
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    // set the property
    System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
    The java class written to access the external URL using Http Utility works perfectly
    fine when it is run from either the command line (of Windows or Solaris using
    main() ) or from weblogic on windows. The same java class throws an exception
    when run from Solaris instance of Weblogic
    2003-09-30 11:02:12,411 FATAL [com.bp.beyondbp.presentation.userregistration.action.LloydsValidator]
    EXCEPTION: com.bp.beyondbp.presentation.userregistration.exception.LlyodsValidationFailedException,
    MESSAGE: Write Channel Closed, possible SSL handshaking or trust failure;
    CAUSE: (java.io.IOException: Write Channel Closed, possible SSL handshaking or
    trust failure)
    at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.postXMLtoLloyd(LloydsValidator.java:243)
    at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.validateLlyodsForNewUser(LloydsValidator.java:95)
    at com.bp.beyondbp.presentation.userregistration.action.PreferencesActionForm.validate(PreferencesActionForm.java:326)
    at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    java.io.IOException: Write Channel Closed, possible SSL handshaking or trust failure
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown
    Source)
    at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown
    Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
    Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1344)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:67)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:125)
    at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:779)
    at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2179)
    at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2534)
    I tried to debug the problem by looking at system properties on windows and solaris,
    the difference that I found was
    On Windows
    [exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol
    On Solaris
    [exec] tModelInstanceInfo_description : weblogic.utils|weblogic.tils|weblogic.net|weblogic.management
    After this I changed the startWLS.sh on Solaris and set
    -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol in java options.
    On looking the system properties again, the output was
    [exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol|weblogic.utils|weblogic.utils|weblogic.net|weblogic.management
    But still the error is same. Can somebody help me out here as to what is going
    wrong? Please find the java class attached for reference, please have a look at
    postXMLtoLloyd() method in the class file..
    [LloydsValidator.java]

    We are using Http Utility (http://jakarta.apache.org/commons/httpclient/) from
    Apache for accessing external URL. A XML string is sent as POST parameter to the
    URL and the response is also an XML string. The URL is accessed over HTTPS protocol.
    I am setting the following parameters in the java class:
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    // set the property
    System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
    The java class written to access the external URL using Http Utility works perfectly
    fine when it is run from either the command line (of Windows or Solaris using
    main() ) or from weblogic on windows. The same java class throws an exception
    when run from Solaris instance of Weblogic
    2003-09-30 11:02:12,411 FATAL [com.bp.beyondbp.presentation.userregistration.action.LloydsValidator]
    EXCEPTION: com.bp.beyondbp.presentation.userregistration.exception.LlyodsValidationFailedException,
    MESSAGE: Write Channel Closed, possible SSL handshaking or trust failure;
    CAUSE: (java.io.IOException: Write Channel Closed, possible SSL handshaking or
    trust failure)
    at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.postXMLtoLloyd(LloydsValidator.java:243)
    at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.validateLlyodsForNewUser(LloydsValidator.java:95)
    at com.bp.beyondbp.presentation.userregistration.action.PreferencesActionForm.validate(PreferencesActionForm.java:326)
    at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    java.io.IOException: Write Channel Closed, possible SSL handshaking or trust failure
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown
    Source)
    at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown
    Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
    Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1344)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:67)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:125)
    at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:779)
    at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2179)
    at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2534)
    I tried to debug the problem by looking at system properties on windows and solaris,
    the difference that I found was
    On Windows
    [exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol
    On Solaris
    [exec] tModelInstanceInfo_description : weblogic.utils|weblogic.tils|weblogic.net|weblogic.management
    After this I changed the startWLS.sh on Solaris and set
    -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol in java options.
    On looking the system properties again, the output was
    [exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol|weblogic.utils|weblogic.utils|weblogic.net|weblogic.management
    But still the error is same. Can somebody help me out here as to what is going
    wrong? Please find the java class attached for reference, please have a look at
    postXMLtoLloyd() method in the class file..
    [LloydsValidator.java]

  • Dynamic URLs using c:import

    I am trying to bring up dynamic pages using c:import from the JSTL 1.0.
    Here is the syntax:
         <c:import url="${retailerPropertiesViewProcess.shippingAndTaxText}" />
    I have also tried:
         <c:import url="${<%=retailerPropertiesViewProcess.getShippingAndTaxText()}" />
    I have even tried using c_rt:import with out any luck.
    any suggestions are welcomed, moving to a different servlet container is out of the question due to multiple customer environments.
    thanks,
    Chuck

    ok, i found a posting that says to use the run time tag, it works now.
    here is the taglib declaration:
    <%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt" %>
    here is the code:
    <c_rt:import url="<%=viewProcess.getShippingAndTaxText()%>" />
    thanks all
    Chuck

  • URL in HTTP sender adapter

    Hi,
    I have a scenario where I want to configure a HTTP sender adapter.
    I have a HTTP PUT url of a 3rd party application from where the HTTP adapter should poll and pull the files into PI.
    Is this possible? If yes, where and how do I mentioon the URL?
    Please help!
    Thanks,
    Pratibha.

    Hi,
    That means, the sender aplication has to write a http://<hostname:port>/<path>?<query-string> type query?
    Is there no other option?
    Is it not possible with the SOAP sender adapter also?
    Thanks,
    Pratibha.

  • [HTTP Sender]How to send different XML using static URL

    Hi all,
    I have a problem, my legacy system send XML messages to SAP XI by HTTP, I know that I need to use HTTP Sender adapter, the problem is that legacy system support only a static URL. I have more than one interface, how could I fix this problem?
    Can I send the XML message to SAP XI without define INTERFACE on URL? How can I handle this?
    Thank in advance,
    Daniel Torres

    Hi Srinivas,
    The legacy system is a java application, that send XML messages to SAP XI server using HTTP protocol. So I just ask to legacy system team to change the application to add <b>server</b>, <b>namespace</b> and <b>interface</b> attributes to the URL querystring.
    So for each XML message you should especify mesage interface that it belongs to. You do it by especifying on URL as message atribute for exemple:
    HTTP://[SAPXISERVER]:80[SYSTEM ID]/sap/xi/adapter_plain?service=[BS SERVICE]&namespace=[MESSAGE INTERFACE NAMESPACE]&interface=[MESSAGE INTERFACE]
    So if you have for example information belows:
    <b>MESSAGE INTERFACE</b> = MI_MYMESSAGEINTERFACE_IB
    <b>MESSAGE INTERFACE NAMESPACE</b> = urn:teste:mymessageinterface
    <b>SERVICE</b> = MY_LEGACY
    <b>SYSTEM ID</b> = 10
    <b>SAPXISERVER</b> = MYSAPXI
    Your url should looks like: http://MYSAPXI:8010/sap/xi/apadter_plain?service=MY_LEGACY&namespace=urn:teste:mymessageinterface &interface=MI_MYMESSAGEINTERFACE_IB
    You should have a different message interface for each XML that you send to SAP XI.
    Message was edited by:
            Daniel Torres
    Message was edited by:
            Daniel Torres

  • Post an XML on HTTPS URL using XI

    Hi All,
    My scenario is SAP SRM - XI - HTTP, where I am posting an XML message from XI to HTTPS URL using HTTP receiver adapter.
    Can you tell me what all step needs to be done to configure HTTP receiver adapter in this case. Also, since I have to post an XML message on HTTPS URL (Which is outside the domain), do I need to apply SSL certificates as well?
    Appreciate your help!!!
    Thanks & Regards,
    Amit

    Hi Amit
    regarding HTTP URl  just check these
    You can use the HTTP adapter. Refer to following SDN TV demo of the HHTP adapter for details steps involved into it.
    https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
    HTTPS using XMLSPY
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    The HTTPS configuration data of the Adapter Engines has to be configured in the SLD.
    More Information in the "SAP Security Guide XI"
    http://help.sap.com/saphelp_nw04/helpdata/de/f7/c2953fc405330ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    Under Security Check for Inbound Messages, you can specify which HTTP Security Level is to be assumed for incoming messages. You can choose from the following security levels:
    &#9675; HTTP (default value)
    &#9675; HTTPS without client authentication
    &#9675; HTTPS with client authentication
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    <b>Pls reward if useful </b>

  • HTTP Sender to File

    Hi all!
    I have a scenario like this:
    <b>HTML page(http adapter)->SAP XI->(File Adapter)D:\somedir</b>
    I will send a file from some HTML page, for that iam using HTTP sender adapter.It will reach to SAP XI. From there i will post the file to some physical location in my machine. For this am using File adapter.
    I dont know what to give in Integration Directory(For HTTP)->Communication channel->Address Type,Target Host, Service Number.........
    Please help me what to be done further.
    Thanks in advance!

    check http logs in SMICM and SICF
    ''a vb script to send a file
    option explicit
    '' Makes a httpcall binary clean, and sends data from a file
    '' Author: Otto Frost
    '' Copyright: Otto Frost
    Dim url    ' url to send to
    Dim file   ' file to send, UNC path
    ''You must code special characters such as forward slash (/), hyphen , period (.), or colon ( with escape characters
    ''(for example, %2F for /, %2D for -, %2E for .,and %3A for :).
    url = "http://XIDEV:8000/sap/xi/adapter_plain?service=SE1CLNT500"
    url = url & "&namespace=urn%3Axxx%2Dse%3ACREDIT%3ADECISION"
    url = url & "&interface=MI_SOAP_OUTBOUND"
    url = url & "&sap%2Dclient=100"
    url = url & "&sap%2Duser=httpuser&sap%2Dpassword=123456&sap%2Dlanguage=EN"
    ''&qos=EO&msgguid=3C61F6C12F1E2DD1E10000000A1145AB
    ''urn:trema-com:trema:trema
    file = "utf8.txt"
    ''file = "xx.zip"
    ''file = "yy.txt"
    file = "test.xml"
    file = "soap20051208.151353.0.xml"
    file = "soap_request20051219.155753.0.xml"
    ' should not have to change anything below this line
    Dim strm
    Set strm = CreateObject("ADODB.Stream")
    'Dim IE As SHDocVw.InternetExplorer
    Dim g_oIE 'As InternetExplorer ' Global reference to an
                                        ' instance of IE
    Set g_oIE = CreateObject("InternetExplorer.Application")
    g_oIE.Visible = True
    'Private Sub cmdSubmit_Click()
    Dim edtPostData
    ''edtPostData.Text = ""  ' Initialize an edit box for testing
    Dim aByte
    ''ReDim aByte(0) 'As Byte ' Array of bytes to hold data to post
          ' Extract the URL encoded data from the UI,
          ' and pack it into an array of bytes
    ''cFlavor = "Orange"
    ''cParamName = "FName="
    ''cParamFlavor = "Flavor="
    ''cSeparator = "&"
    ''cPostData = cParamName & "F1" & cSeparator & cParamFlavor & cFlavor
    ''PackBytes aByte, cPostData
    strm.Type = 1
    strm.Open
    strm.Type = 1
    strm.LoadFromFile file
    ''strm.WriteText cPostData
    strm.Position = 0
    strm.Type = 1
    aByte = strm.Read
          ' For testing, rebuild the POST data and stuff
          ' it into an edit box
    ''For i = LBound(aByte) To UBound(aByte)
    ''          edtPostData = edtPostData + Chr(aByte(i))
    ''Next
    Dim vPost 'As Variant
    vPost = aByte ' Assign the byte array to a VARIANT
    Dim vFlags 'As Variant
    Dim vTarget 'As Variant
    Dim vHeaders 'As Variant
    vHeaders = "Content-Type: application/x-www-form-urlencoded" + Chr(10) + Chr(13)
    vHeaders = "content-type: text/plain; charset=UTF-8" + Chr(10) + Chr(13)
    vHeaders = "content-type: text/plain;UTF-8" + Chr(10) + Chr(13)
    ''vHeaders = "content-type:application/octet-stream" + Chr(10) + Chr(13)
    vHeaders = "content-type: application/octet-stream" + Chr(10) + Chr(13)
    vHeaders = ""
    vHeaders = vHeaders & "SOAPAction: None" & Chr(10) & Chr(13)
    vHeaders = vHeaders & "Content-Type: text/xml" & Chr(10) & Chr(13)
    ''Content-Length: nnnn
    ''Content-Encoding: gzip
    ''Content-Type: image/gif
    ''Content-Type: text/html; charset=ISO-8859-4
    ''Transfer-Encoding: chunked
          ' You're done. Now call Navigate
          ' Note: modify path to server as appropriate
    g_oIE.Navigate url, vFlags, vTarget, vPost, vHeaders
    '      Private Sub Form_Load()
          ' Create an instance of IE
    '      Set g_oIE = New InternetExplorer
    '      g_oIE.Visible = True
          ' Populate a combobox with some flavor choices
    '      cboFlavor.List(0) = "Vanilla"
    '      cboFlavor.List(1) = "Chocolate"
    '      cboFlavor.List(2) = "Strawberry"
    '      cboFlavor.ListIndex = 0 ' The default choice
    '      End Sub
          ' Utility function to pack the data to post into an array of bytes
    'Sub PackBytes(ByteArray() As Byte, ByVal PostData As String)
    Sub PackBytes(ByteArray() , ByVal PostData )
          iNewBytes = Len(PostData) - 1   ' Get rid of the null termination
          If iNewBytes < 0 Then
           Exit Sub
          End If
          ReDim ByteArray(iNewBytes)
          For i = 0 To iNewBytes
           ch = Mid(PostData, i + 1, 1)
           If ch = Space(1) Then
              ch = "+"
           End If
           ByteArray(i) = Asc(ch)
          Next
    End Sub
    Message was edited by: Otto Frost
    Message was edited by: Otto Frost

  • Http sender adapater

    Hi All
    when I am trying to send request through url for http sender adapter configuration between CLM(E-sourcing) system and PI, I am getting the following error.
    Can any body help me out to resolve this issue.
    The scenario is CLM - PI - SRM (HTTP - RFC scenario). CLM is the sender system and SRM is the receiver system.
    I have checked each and every parameter in the url.
    URL:
    http://usaoadbld004:50000/sap/xi/adapter_plain?namespace=http://frictionless.esource.com/v2.0&interface=MI_ESI_OA&service=CLM_BUSINESS_COMPONENT&QOS=BE&sap-user=PIAPPLUSER&sap-password=&sap-client=001&sap-language=EN.
    Error:
    E-Sourcing was unable to publish Red Book Agreement to SRM. class java.io.IOException Server returned HTTP response code: 500 for URL: 
    Thanks & Regards
    MGREDDY

    Can u check following:-
    1. URL used for sending message to PI.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm
    2. check HTTP port from SMICM tcode - Go- Services and use the same one.
    chirag

  • HTTP Sender and HTTP Receiver adapter. Pls advice urgent

    Hi All,
    There is one Third Party that wants to send XML data and receive XML data with XI.
    Please let me know can I use HTTP for that.
    How to use HTTP Sender part?
    How to use HTTP Receiver Adapter?
    Pls send blogs/doc for that
    Thanks and Regards

    hi.,
    Check this thread for the code for a HTTP Client,
    /message/266750#266750 [original link is broken]
    Also, check these blogs. They use HTTP adapters for their configuration,
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    Check these links for the configuration part.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    Weblog :
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - although this weblog is
    aimed at explaining the sync-async bridge.. Sriram has taken http-to-file scenario as the example
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • BI 7 Portal - BEx Web Analyzer- URL used is not fully qualified.

    Hi folks,
    I have a problem while accessing BEx Web Analyzer on BI 7 Portal. When I select "Business Intelligence"  ->  "BEx Web Analyzer". This is ending up with a 500 Internal Server Error
    Error Description
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: URL +used, "http://sdndevsap01:51200", is not fully qualified. +
    A fully-qualified URL has a schema with the format "<protocol>://server.company.com:<port>". URLs with the format "<protocol>://server:<port>" or "<protocol>://<ip address>:<port>" are not fully qualified. See SAP Notes 581329, 596698 and 654326
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest
    +(Page.java:2535) at + com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:978)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:864)
    Pls Note:
    -The parameter "icm/host_name_full" is already set with full hostname with domain. (Hostname.domain)
    -I have also checked the SAP notes mentioned in the error and did not find any answer from them.
    As per my understanding there should be a parameter which holds the portal link in JAVA Engine.(http://hostname.domain:50000/)
    Pls help me in finding answer to this.
    Thanks
    James.
    Edited by: James Best on Mar 5, 2008 8:13 AM

    ur questions 1 and 2 should be directed to portal administrator at ur firm..
    as u r trying to change the lay out when user presses New analysis.
    again in 2 u want to default the saving to favourites folders.
    3. if u save a view and later u try to open or run another query ..
    for e.g. in ur saved view of query1 the time period is 1/07-12/07
    now u r running some query x which has time 1/08-4/08
    and now if u try to open ur view of query-1 then it will take the time period of 1.08---4.08
    but if u open bookmark it will bring it to u the xact screen and xact time variables with which u save query1

  • Need to post to HTTP destination with a dynamic URL

    I have a working interface that posts to a static URL using an HTTP via an SM59 connection.
    however i now need to do something similar, but use a dynamic field from the data to post as part of the url...
    so it will be something like...
    http://host.fqdn:port/path/goes/boldfield1bold/here/to/remove
    field1 being a variable in my xml.
    i guess i post to a URL with URL Address instead of HTTP destination, and i can use the header fields in adapter specific message attributes... however i do not want to send the xml....  so do i have to map just the single field to my target xml?  how do i not send the xml as it is integrated within the URL?
    how do i add the field1 within the path:   /path/goes/boldfield1bold/here/to/remove into the options within the communication channel?
    does that make sense?

    Hi Barry,
    If I understood well, and you have one part of the target URL fixed, and the other one is going to be dynamic.
    You can use, as you said, the ASMA for HTTP adapter, and in the middle of the mapping you can create a simple UDF to create the URL. But as the result of that UDF, you just return the same value that you'd map if the UDF didn't exist.
    For example you can use a funcion "setURL" and you can have 2 inputs: "url" and "companyname", but you just return "companyname" that is the value that really has to be mapped.
    I hope this helps you.
    Juan.

  • HTTP Sender - how to read URL Parameter USER id into Mapping

    Hi,
    My scenario is HTTP - XI - ABAP Proxy.
    I wanted to capture USER id of the person who posted(HTTP) into XI(Mapping). How to read/evaluate the value of sap-user from querystring of URL ?
    http://HOST:8008/sap/xi/adapter_plain?namespace=http%3A//abc.com/sales_oa&interface=MI_sales_OA&service=DEV_D&party=&agency=&scheme=&QOS=EO&<b>sap-user=SM9999</b>&sap-password=xxxxx&sap-client=001&sap-language=EN
    please help.

    Mallik,
    Try  URL Parameters in HTTP sender communication channel.
    In the sender communication channel set Adapter Specific Message Attributes. Click on Apply URL Parameters. In Parameter1 put sap-user (U can query any URL parameter by giving its name as in the HTTP URL).
    Now in SXMB_MONI, in inbound payload SOAP Header, under Dynamic configuration u can see the value of the user. Query the same in Mapping using Dynamic Configuration using keyName as UrlParamOne.
    Regards,
    Sudharshan N A
    Message was edited by:
            Sudharshan Aravamudan

  • HTTP Adapter with dynamic URL

    Hi all
    Could you please to help. I need to use receiver with HTTP adapter which in this adapter that I need to pass dynamic URL into this. I had try follow this document
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    but when I test it I got this error
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER"><b>ATTRIBUTE_MISSING_URL</b></SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Dynamic Header - Missing Message Attributes: URL/HTTP Destination</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    I think my XML source message format that is incorrect. This is my XML source message
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_OB xmlns:ns0="http://xxxx.com:db6">
       <type>
          <TargetURL>http://xx.xx.xx.xx</TargetURL>
       </type>
    </ns0:MT_OB>
    Could you please to suggest.
    Thanks
    Park

    Hi,
    Use the UDF in mapping to create the dynamic URL.
    DynamicConfigurationKey keyURL =  DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", <b>XXXXX</b>);
    // access dynamic configuration
    DynamicConfiguration conf = (DynamicConfiguration) param.get (StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    // set value
    conf.put(keyURL, url);
    See the belowlinks
    dynamic URL - adapter specific properties (http receiver adapter)
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    Regards
    Chilla

  • How to use the http sender adapter

    Hi,
    I'm trying to use the http sender adapter but not getting the result.
    1)  I've created the commnunication channel in Integration Directory.
    2)  I have my url:
    http://<server>:56000/sap/xi/adapter_plain?service=BS&namespace=urn%3Acompany%3Apoc&interface=interface
    3)  When i copy that url in a browser i get a login prompt. When i log in i get a message that navigation is cancelled.
    What steps do i need to do to use this url to send my xml message to the adapter engine. Do i need a special system user for this? Any other tools required? (i have httpclient but using that doesnt send messages to the adapter_plain; i think)
    I feel i'm just missing one little thing, but what is it.
    kr
    Robert

    Hello Team,
    I added the user name & pwd to query string & trying to access from IE and still getting blank page.
    Is this what is expected or there is something wrong in URL. I am able to send the XML from HTTP Test tool.
    My URL is :
    http://abc:50000/sap/xi/adapter_plain?namespace=urn:xyz.com:A_To_ERP_Payment_balance_Request&interface=SI_A_CHK_balance_OUT&service=BC_XX_XXX&sap-user=myuser&sap-password=mypassword&sap-client=001&sap-language=EN
    Please advice.

Maybe you are looking for

  • ICloud notes on ipad but not on iphone using same account

    Hello, My notes on my iMac XOS 10.9.1 works perfectly from iCloud to my iPad 7.0.4 using the same iCloud account. But doing the same thing on my iPhone 4 with latest 7.0.4 show nothing on notes. But all contacts are fine??? I have tried clearing my i

  • Acrobat Form visibility

    Good morning. I hope this is the correct area. I have just created a form in Acrobat XI Pro. Form works great. I have added a "Clear Form" (reset a form) function, and also a "Submit form". Both buttons are set to "Visible but doesn't print". These b

  • E71: annoying confirm connection question before s...

    hello how can I disable the confirm question before a synchronization? I'm synchronizing over a bluetooth connection. The user guide tells me to click on authorize but I can't find the opportunity to choose this option. Is this done on the E71 or in

  • Counting records in text file using utl_file

    Hi i have an input file as below 0010 asp 0020 fdp 0030 hfg 0030 hfg 0040 fdh 0050 dfh 0010 sjh 0020 hjd 0030 feh 0030 jhj 0030 seb 0040 jnj 0050 njj each group starts with 0010 & ends with 0050. I have to count the no. of 0030 records in each group.

  • Empieza en arranque seguro sin ningun problema en permisos ni en disco, start in safe mode without  some problem in disk or permissions

    Mac Mini 2.4GHz Dual Core,  8Gb Ram 1067MHz, hard disk 320Gb, with Mac OS X 10.8.4: Starts at start without any problem or disk permissions, i did the search for errors in the system for the disk utility application and did not get any, usually 5 tim