How to call .aspx URL  from OSB

Hi
can any one please suggest how I need to call .aspx from OSB
eg: http://<host>/ExternalServices/Customer/xyz/Posto.aspx
Regards,
Lavanya Sarma

The service could have been a WSDL based web service or a normal XML/HTTP or SOAP/HTTP service without a WSDL definition.
If its a WSDL based service you need a WSDL(along with any referenced XML schemas) and if its a XML/HTTP service then you need XML Schemas
First of all you need to identify which one it is. To do that:
1. Ask the team who has provided you the endpoint! If its a WSDL based service, ask them for the WSDL file along with referenced schemas. If its a XML/HTTP service ask them for XML schemas.
2. If you are not able to contact them right away, Try accessing the URL in a browser:
Open following URLs in a Browser:
http://<host>/ExternalServices/Customer/xyz/Posto.aspx?wsdl
http://<host>/ExternalServices/Customer/xyz/Posto.aspx
Do you see any WSDL coming up in Browser? If yes then copy the content of the WSDL, also open the URLs of any imported schemas in the WSDL content in browser and copy their content as well. The idea is to have all the WSDLs and Schemas on your local machine,
Once you get the WSDL files and XML schemas here is what you need to do:
For WSDL based target servce
1. Save the contents of any referenced schemas as XML Schema resources in OSB
2. Save the content of WSDL as a WSDL resource in OSB
3. Create a new business service, select WSDL based service types and select a port or binding from the WSDL resource you created in step 2
4. Provide transport as HTTP and add http://<host>/ExternalServices/Customer/xyz/Posto.aspx as the endpoint
5. Save this service and now you can call this business service from any Proxy Service in OSB
If its a XML/HTTP service, then you can create business service with following types:
1. XML HTTP with no specific XML schema - Choose ANY XML service type
2. SOAP/HTTP with no specific XML schema - Choose ANY SOAP service type
3. XML/HTTP with a specific request and response schema - Choose Message service type and select the request and (optionally) a response message type from an existing XML schema resource

Similar Messages

  • How to call a URL from forms ?

    Dear All,
    I would like to invoke / call a URL from forms. I know we can make a call Using Web.show_document. But this will execute in a browser.
    What i need to do is, i have to send a request to by calling an URL, that should not visible to any body.
    This is my requirement, please help if you know.
    Thanks
    Balaji

    hi,
    here is a quick example : (data from url returns as a clob. you need to write it at db. and call from forms.)
    FUNCTION Get_DataFromUrl(pUrl IN VARCHAR2,pProxy IN VARCHAR2,pData IN OUT CLOB) RETURN NUMBER IS
    vRcv UTL_HTTP.HTML_PIECES;
    vData CLOB;
    eNoDataReceived EXCEPTION;
    BEGIN
    UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(TRUE);
    -- Get data pieces from Url
    vRcv := UTL_HTTP.REQUEST_PIECES(pUrl,Proxy => pProxy);
    IF vRcv.COUNT < 1 THEN
    RAISE eNoDataReceived;
    ELSE
    -- Append varchar2 table data into clob variable
    DBMS_LOB.CreateTemporary(vData,FALSE,DBMS_LOB.CALL);
    FOR i IN 1..vRcv.COUNT LOOP
    DBMS_LOB.WriteAppend(vData,LENGTH(vRcv(i)),vRcv(i));
    END LOOP;
    -- Copy local data into return variable
    DBMS_LOB.Copy(pData,vData,DBMS_LOB.GetLength(vData));
    DBMS_LOB.FreeTemporary(vData);
    END IF;
    RETURN SUCCESS;
    EXCEPTION
    WHEN eNoDataReceived THEN
    RETURN FAILURE;
    WHEN UTL_HTTP.INIT_FAILED THEN
    RETURN FAILURE;
    WHEN UTL_HTTP.Request_Failed THEN
    RETURN FAILURE;
    WHEN OTHERS THEN
    RETURN FAILURE;
    END Get_DataFromUrl;
    hope this helps.
    Engin.

  • How to call a URL from a button

    Hi Experts,
    In my requirement I have to  call a URL in the same page,through a button,
    so please tell me how to acheive this.
    Regards
    Upendra

    Hi,
    use the below code to call the URL onAction of the Button,
    IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(
    "<place URL here example http:www.sdn.sap.com>",
    "<description about the URL >",
    false);
    window.open();
    Regards,
    ramesh

  • How to call https service from OSB

    hi
    I need to call thirt party https service. Its a secured service with authentication.
    I have Imported ssl certificate in keystore.
    It's one way ssl with authentication and I need to pass wsse token (username/password) from Business service to invoke third party service.
    What steps do I need to follow to call this service?
    I have gone through all other
    Thanks
    Vibhor

    Below note gives the high level steps to be performed for implementing different security requirements with OSB
    OSB - Proxy Service HTTPS one way
    Configure Identity & Trust Keystore
    OSB - Proxy Service HTTPS 2 way     
    Configure Identity Assertion Provider to support X509
    Configure user mapper class for default identity assertion provider
    Change 2 way Client Cert behaviour from default
    ('Client Certificate Not requested”) to “Client Certificate requested but not enforced”
    OSB - Business Service HTTPS one way     
    Add root & intermediate CA certificates of the server to the trust keystore
    OSB - Business Service HTTPS 2 way          
    Add root & intermediate CA certificates of the server to the trust keystore
    Configure PKI Credential Provider containing the client certificate
    Configure a Service Key provider with SSL Client Authentication key
    Associate the service key provider to the proxy service which invokes the business service
    OSB - Proxy Service WS-Security User Name Token     
    Configure Auth.xml or custom username token WS-Security Policy
    OSB - Proxy Service WS-Security X509 Token
    Configure Auth.xml and Sign.xml Policy
    Change UseX509ForIdentity attribute in domain → WS Security → Inbound Mbean Token handlers Page to true
    Ensure Certificate passed by client is present in certificate registry or the root CA in trust keystore depending upon weblogic certification path provider configuration
    Configure Identity Assertion Provider and Username mapper class.
    OSB - Business Service WS-Security User Name Token
    Configure Auth or custom username token WS-Security Policy
    Configure Service account for username provider
    OSB - Business Service WS-Security X509 Token
    Configure Sign.xml and Auth.xml policy ( or custom signing and username token policies) in the business service
    Configure a PKI credential provider and service key provider containing the certificate to be used for signing and authentication
    Associate the service key provider to the proxy service which invokes the business service.
    *OSB - Proxy Service Digital Signature     [ Request Only]*
    Configure Sign.xml or a custom signing policy to the proxy service
    Ensure Certificate passed by client is present in certificate registry or the root CA in trust keystore depending upon weblogic certification path provider configuration
    *OSB – Business Service Digital Signature     [ Request Only]*
    Configure Sign.xml policy ( or custom signing policy) in the business service
    Configure a PKI credential provider and service key provider containing the certificate to be used for signing
    Associate the service key provider to the proxy service which invokes the business service.
    Edited by: atheek1 on Aug 26, 2010 5:17 AM
    Edited by: atheek1 on Aug 26, 2010 8:20 AM

  • How to call an URL from ABAP

    Hi,
    When an user clicks on a document display link in a SAP tranasction(for example FB02),an URL has to be called in the background(by ABAP) and the details of the URL should be displayed in a browser.
    What are the possilbe options available in SAP4.7 to meet the above requirement?
    Thanks in advance,
    Leo

    hi,
    you can use call browser function
    data url(200) type c.
    url = 'your_url'.
    CALL FUNCTION 'CALL_BROWSER'
      EXPORTING
        URL                          = url
       WINDOW_NAME                  = ' '
       NEW_WINDOW                   = ' '
       BROWSER_TYPE                 =
       CONTEXTSTRING                =
    EXCEPTIONS
       FRONTEND_NOT_SUPPORTED       = 1
       FRONTEND_ERROR               = 2
       PROG_NOT_FOUND               = 3
       NO_BATCH                     = 4
       UNSPECIFIED_ERROR            = 5
       OTHERS                       = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    for this you have to enable SSO on your server.
    hope this helps you, else revert back.
    regards,
    Hemendra

  • How to call business service from xquery transformation in OSB ??

    Hi All,
    How to call business service from xquery transformation in OSB ??
    I need to assign the response variable of Business Service to a target element in XQuery Transformation Mapper file.
    It's urgent.
    Regards,
    Jyoti Nayak

    Transformation is to mapping the source and target of 2 different schemas.
    In your case you should have a XQuery transformation between, your Business Service output schema and the target schema.
    Thanks,
    Vijay

  • RRI?  How to call ITS URL and pass field value from Bex Query.

    I am doing RRI from query to webaddress,
    i have defined jump(report type: webaddress and reicver report as url) from shopping cart bex query(SRM ) to webaddres.
    here url is SRM ITS base link for monitoring shoppingcart(http://(hostname):(SRM port)/sap/bc/gui/sap/its/bbp_mon_sc?sap-client=200&sap-language=EN).
    jump is working from portal(from bex query ivew).
    but i want to pass value(shopping cart value) to above url and want to skip first screen.
    i have maintained assignment detail by assigning field name against shopping cart infoobject with type url parameter, but its not directly call reciver url with given input field.
    i tried the diffrent combination of url and field assignment as like below:
    1: web address url:http://(hostname):(SRM port)/sap/bc/gui/sap/its/bbp_mon_sc?sap-client=200&sap-language=EN
    assigned field: GS_HEADER-OBJECT_ID
    but when we call reciver url from portal bex ivew, only initial screen come with page url as below:
    http://(hostname):(SRM port)/sap/bc/gui/sap/its/bbp_mon_sc?sap-client=200&sap-language=EN?GS_HEADER-OBJECT_ID='selected number value'
    2: web address url:http://(hostname):(SRM port)/sap(cz1TSUQlM2FBTk9OJTNhc3JtZGV2X0lTRF8wMCUzYUdxdFNqdWdMS2xyTEFEelFTNFlWTnJXRjEzdy05UnhTWXl4TW03c3AtQVRU)/bc/gui/sap/its/bbp_mon_sc/~flNUQVRFPTgzMTcuMDAyLjAxLjAx====#jump_to_selected_sc
    assigned field: flNUQVRFPTgzMTcuMDAyLjAxLjAx
    but when we call reciver url from portal bex ivew, only initial screen come with page url as below:
    http://(hostname):(SRM port)/sap(cz1TSUQlM2FBTk9OJTNhc3JtZGV2X0lTRF8wMCUzYUdxdFNqdWdMS2xyTEFEelFTNFlWTnJXRjEzdy05UnhTWXl4TW03c3AtQVRU)/bc/gui/sap/its/bbp_mon_sc/~flNUQVRFPTgzMTcuMDAyLjAxLjAx====#jump_to_selected_sc?flNUQVRFPTgzMTcuMDAyLjAxLjAx='selected number value'
    I have seen the source code of that url(inital screen and after entring the value to that screen) too.
    how to call webadress(SRM ITS base shopping cart URL) with passing the one of field value of that url screen?
    Thanks and regards,
    Dushyant.

    Declare the gv_orderid in modulepool program.
    And Declare the parameter as import parameter in smartform.
    CALL FUNCTION  lv_form
       EXPORTING
    *   ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
    *   CONTROL_PARAMETERS         =
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
    *   OUTPUT_OPTIONS             =
    *   USER_SETTINGS              = 'X'
         i_input                    =  gv_orderid
    * IMPORTING
    *   DOCUMENT_OUTPUT_INFO       =
    *   JOB_OUTPUT_INFO            =
    *   JOB_OUTPUT_OPTIONS         =
    * EXCEPTIONS
    *   FORMATTING_ERROR           = 1
    *   INTERNAL_ERROR             = 2
    *   SEND_ERROR                 = 3
    *   USER_CANCELED              = 4
    *   OTHERS                     = 5

  • Calling a URL from WD for ABAP 2004s

    Hi,
    In our scenario we would like to call workflow items from a web dynpro for abap application. We do not use a portal.
    I have build an alv from where the user can select his workflow tasks. A button then calls a method to trigger workflow. Within the method I have te workitem and the correct url available.
    Please let me know how to call the url and if possible let the url start the session in the current browser window (the window from where I started the url).
    Message was edited by: Raymond Does
    Solved it. Solution can be found in the Quiz example.
    Message was edited by: Raymond Does

    Hi Yash,
    There is the code :-)
    <Field name='fieldname'>
    <Display class='Link'>
    <Property name='name' value='link to launch jsp'/>
    <Property name='URL' value='http://localhost:8080/idm/output?param="hello"'/>
    </Display>
    </Field>
    thanx
    Shant

  • How to call a xmlform from KM doc iview

    hi all ,
    can any one explain how to call the xmlform from KM document iview . and my document is in content management ->document ->folder ->app.xml.

    Hi,
    If you want to look at XML form like the are designed in your form builder you need to work with a navigation iview to the folder that contains you XML forms. You need to set the layout of the navigation iview to Newsbrowser or NewsExplorer or a derived layout.
    From here the form is renderer as a form.
    If you only want to show this one form I would suggest to open it in this last view in the described navigation iview and use the url in for example an url iview. This will be the quickest.
    Kind,
    Frederik

  • How to call SOAP API from JavaScript

    Hi,
    I'm trying to call the SOAP API to get statistics about emails. Are there any examples on how to call the API from JavaScript?
    Here is a link to my original question about using the REST API. REST API URL for email statistics
    Thanks,
    Tim

    Tim,
    In order to consume a SOAP API I recommend you use something other than JavaScript.
    Any platform can offer you a good SOAP client should be OK. (.Net, Java, php, Ruby, python).
    I didn't see anyone successfully used javascript and consume the Eloqua SOAP API.
    I know you can create a SOAP client in Java script but it will be too much work to handle the Eloqua response in some cases.
    Regards,
    Daniel

  • How to call a view from Interface view

    Folks,
    How to call a view from interface view (onPlugDefault method) . I was trying to set context of controller but it is not working . What is the work around.
    Manish

    Hi Manish,
    An interface view is created for each window that you have, which in-turn has views embedded, one of which is default. If you want to pass data which you have in your interface view, do the following
    - Add your component controller in your interface view properties
    - In the onPlugDefault method(I assume this is where you have the data available through URL parameters),set the component controller context variables like
    wdThis.wdGetComContr.wdGetContext().currentContextElement().setName("John");
    -Access these context variables in your view as well by adding the component controller as the required controller
    Your default view will appear automatically when you call the application.
    Regards,
    LM

  • How to call a Applet from a servlet and vice versa...?

    Hi all
    Can anyone help me how to call a applet from a servlet and vice versa. When the applet is called it should contact the database (oracle8i) and get the data. When i submit the applet form the data in the applet should be saved in the database.
    Thanks in advance
    Kamalakannan

    Sweep is correct about requestDispatcher being another approach for inter-servlet delegation; the only issue that i recall with this approach is that it defaults the method of the destination servlet to the one it was called from...for example, calling servlet2 from within servlet1.post() resulted in the dispatcher attempting to utilize servlet2.post() - i believe that i searched for a parameterize solution to no avail :( (ended up handling the request by placing a "fake" doPost() in servlet2 that simply called servlet2.doGet())
    however, if your application is functioning correctly on your pc/webserver then the problem may be external to servlet communication (e.g. client webserver's ports not configured or blocked, missing runtime classes, etc.)
    my suggestion would be to set aside the programmatic concerns for the moment - what is the response if you open a browser on a client's machine and access the URL in question (i.e. http://clientserver:port/stefanoServlet)? If it will not respond to access in this manner then it certainly won't when your application calls for it.
    It's possible that there is a coding error but, given the info supplied, i'd start examining the environment, first. Let us know if you have any luck with the test i recommended or not (please provide abundant detail). Or, if you've found the solution then you may want to post back with a quick blub so the next person knows how to escape the trap.
    D

  • How to call a form from report? in 6i

    How to call a Form from Report? In Developer 6i of oracle. Plz tell me tex.

    try this
    declare
       AppID PLS_INTEGER;
    begin
         AppID := DDE.App_Begin('ifrun60 module=myform.fmx userid=scott/tiger@mydb maximize=no', DDE.App_Mode_Maximized);
    exception when others then
          srw.message(1,'Errror');
    end;Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

    Hello,
    What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
    Or do you want to execute a procedure when something happens on the page, like clicking a button?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to call  java program from ABAP

    Hi Experts,
         My requirement is to call java programs from ABAP. For that i have set up SAP JCO connection by using this link http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/739. [original link is broken] [original link is broken] [original link is broken] Connection gets sucessfully. After this how to call java program from ABAP as per our requirement. Please help me out.
      Also i tried this way also.. but while executing the DOS Command line appear & disappear in few seconds. So couldnt see the JAVA output. Please help me out to call java programs in ABAP..
    DATA:command TYPE string VALUE 'D:Javajdk1.6.0_20 injavac',
    parameter TYPE string VALUE 'D:java MyFirstProgram'.
    CALL METHOD cl_gui_frontend_services=>execute
    EXPORTING
    application = command
    parameter = parameter
    OPERATION = 'OPEN'
    EXCEPTIONS
    cntl_error = 1
    error_no_gui = 2
    bad_parameter = 3
    file_not_found = 4
    path_not_found = 5
    file_extension_unknown = 6
    error_execute_failed = 7
    OTHERS = 8.
    Thanks.

    This depends on the version of your Netweaver Java AS. If you are running 7.0, you will have to use the Jco framework. The Jco framework is deprecated since 7.1 though. If you want to build a RFC server in 7.1 or higher, it is adviced that you set it up through JRA.
    Implement an RFC server in 7.0:
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/frameset.htm
    Implement an RFC server in 7.1 or higher:
    http://help.sap.com/saphelp_nwce72/helpdata/en/43/fd063b1f497063e10000000a1553f6/frameset.htm

Maybe you are looking for