SOAP request to XI via external application

Hi,
We have the following scenario:
there is 3rd party application (Sending SOAP Request)->SAP XI->IDOC
We are using sender SOAP Adapter,we have done the following:
->We have generated WSDL by using define webservice from Integration Directory.
->We have provided wsdl to 3rd party.
->We have a question
3rd Party application is a java based application based on OAS(Oracle Application Server).
The application,  should  act as a SOAP Client sending a SOAP request to XI. 
Would this be possible?  The XI version which is being used here is XI 7.0 SP 18.
Regards,
Harleen Kaur Chadha

Hey,
>The application, should act as a SOAP Client sending a SOAP request to XI.
>Would this be possible?
Yes, it is Possible.
Cheers
Agasthuri Doss

Similar Messages

  • How do you harness URL external application in a JSP?

    I have successfully deployed the Yahoo Finance sample URL External Application. However, I do not understand how to utilize the URL classes (in the pdkjava.jar) to harness the external application information once a user has authenticated. I am building a JSP portlet that displays and applet, however the applet requires a username and password. I need to get the Username and Password from external application, which it gets from the user via External Application. How do I get these values in my JSP (that is defined in my provider.xml)? I keep seeing documentation regarding the ExternalPrincipal object however I don't understand how to utilize this object in my JSP. I beleive the ExternalPrincipal object is what I need in my JSP, seeing that it has the methods for getting the user and password. Unless is there a better way of achieving this, can anyone shed some light on getting the ExternalPrincipal object for an External Application session?
    Thanks,
    Laith E.H.

    Thanks for the example. I have a better understanding now, however I'm still having trying to comprehend the flow of executing in this portal model.
    I have a problem with:
    PortletRenderRequest pr = (PortletRenderRequest) request.getAttribute("oracle.portal.PortletRenderRequest");
    ProviderUser prUser = pr.getUser();
    ProviderSession pSession = prUser.getSession(true);
    I get a NullPointerException on the second line when trying to getUser(). I'm not sure where the problem could be. In the provider.xml, my ExternalProviderInstance, or the JSP itself? I have another JSP portlet on the same page that calls the same method with success.
    Thanks,
    Laith E.H.
    provider.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
         <providerInstanceClass>com.cox.portal.provider.ExternalProviderInstance</providerInstanceClass>
         <session>true</session>
         <authentication class="oracle.portal.provider.v2.security.Authentication">
              <authType>ExternalApp</authType>
              <userFieldName>Username</userFieldName>
              <userPwdName>Password</userPwdName>
              <errorPageMessages>Invalid ID,Invalid Password</errorPageMessages>
         </authentication>
         <portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
         <id>1</id>
         <name>ExternalAnalyzer</name>
         <title>Main Analyzer</title>
         <description>This portlet logs into analyzer</description>
         <timeout>100</timeout>
         <timeoutMessage>analyzer timed out</timeoutMessage>
              <showEdit>false</showEdit>
              <showEditDefault>false</showEditDefault>
              <showPreview>false</showPreview>
              <showDetails>false</showDetails>
              <hasHelp>false</hasHelp>
              <hasAbout>false</hasAbout>
              <acceptContentType>text/html</acceptContentType>
              <registrationPortlet>false</registrationPortlet>
              <accessControl>registered</accessControl>
              <renderer class="oracle.portal.provider.v2.render.RenderManager">
                   <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
                        <pageUrl>http://catl0dv31.corp.cox.com/bic/analyzerIFrame.jsp?ap_doc=analyzer&amp;ap_id=105</pageUrl>
                        <contentType>text/html</contentType>
                   </showPage>
              </renderer>
              <securityManager class="oracle.portal.provider.v2.security.URLSecurityManager">
                   <authorizType>registered</authorizType>
              </securityManager>
         </portlet>
    </provider>
    ExternalProviderInstance:
    package com.cox.portal.provider;
    import oracle.portal.provider.v2.*;
    import oracle.portal.provider.v2.http.*;
    import oracle.portal.provider.v2.externalApp.*;
    public class ExternalProviderInstance extends URLProviderInstance
    public static final String EXTERNAL_APP = "externalapp.object.key";
    ProviderSession pSession = null;
    public Object[] initSession(ProviderUser user, ExternalPrincipal externalApp)
    throws ProviderException {
    //UrlServicesUtils.logMessage("BasicURLProvider : Entering initSession.", getDebugLevel());
    //Create/Retrieve provider user session.
    if (mProviderDefinition.getHasSession()) {
    // Create the session if it doesn't already exist.
    pSession = user.getSession(true);
    // Store external app in provider session so that other modules
    // can extract it later.
    if (pSession != null) {
    pSession.setAttribute(EXTERNAL_APP, externalApp);
    // Get javax.servlet.http.Cookie[] from user
    javax.servlet.http.Cookie[] cookies = ((ServletProviderUser)user).getCookies();
    if(cookies != null)
    return cookies;
    else
    return null;

  • Problem with Web Clipping and External Application

    When I use Web clipping with INLINE rendering on usual sites I can move under links, not leaving a portal.
    But if I try to make it via the self-made provider with External Application then links do not work.
    I press them and it appear in the same place!
    Authorization via External Application passes successfully, that is the page is displayed correctly.
    But links do not work.
    In what there can be a problem?
    Oracle Application Server 10g Release 2 (10.1.2)

    In order to prevent some urls and internal websites from being cached use url bypassing. This way these urls will not be cached and the users can directly use them without being asked to log in.
    To enable transparent error handling and dynamic authentication bypass, and to configure static bypass lists, use the bypass global configuration command. To disable the bypass feature, use the no form of the command.

  • SOAP Request by OdiInvokeWebService with WebSphereMQ

    Hello,
    I'm refering the OdiInvokeWebService manual, and noticed that ODI can communicate with SOAP by OdiInvokeWebService. Can the OdiInvokeWebService receive SOAP request from WebSphereMQ via SOAP? Has anyone tried it?
    Regards,

    HI,
    OdiInvokeWebService is a dynamic SOAP web services client. It could invoke all SOAP web services including Websphere webservices.
    OdiInvokeWebService isn't a webservices server, it can receive SOAP request, maybe you would talk about Odi Public Web Services or Odi data services ?
    regards,
    Arnaud

  • Web Service posting via SOAP.request - Security settings prevent access...

    I'm trying to call a web service via the SOAP.request object in javascript embedded into my Interactive Form.  I've successfully done this with SAP NetWeaver 7.0 trial version however now I'm having this issue on a production setup.  The PDF generates fine and I can fill out the form and everything.  I checked the properties of both PDF documents (one that works from the trial and one that doesn't from the prod box) and they are the same, expect the one that works is PDF Version 1.6, and the one that doesn't is PDF Version 1.7.
    Here's the client-side error:
    Acrobat EScript Built-in Functions Version 8.0
    Acrobat Annotations / Collaboration Built-in Functions Version 8.0
    Acrobat Annotations / Collaboration Built-in Wizard Functions Version 8.0
    Acrobat Multimedia Version 8.0
    Acrobat SOAP 8.0
    NotAllowedError: Security settings prevent access to this property or method.
    SOAP.request:31:XFA:data[0]:mainform[0]:btnRelease[0]:click
    Here's the snippet of JavaScript code:
    var response = SOAP.request();
    Here are the security properties of the malfunctioning PDF:
    Security Method: No Security
    Can be Opened By: All versions of Acrobat
    Printing: Allowed
    Document Assembly: Not Allowed
    Content Copying: Allowed
    Content Copying for Accessibility: Allowed
    Page Extraction: Not Allowed
    Commenting: Allowed
    Filling of form fields: Allowed
    Signing: Allowed
    Creation of Template Pages: Allowed
    How do I determine what the culprit is?

    Michael,
    PDF Version 1.6 means Adobe Reader 7.0.x family and PDF version 1.7 means Adobe Reader 8.0.x or 9.0.x if I am not wrong.
    Also if you check LiveCycle Designer Help (Using LiveCycle Designer ES > Working with Data Sources > About data sources > Working with data connections) it clearly says that with LiveCycle Designer 8.0 secured web services are not supported and there are additional security settings for Reader 8.0 onwards, that may be causing the issue.
    Chintan

  • How to get Soap Request xml in application.cfc

    Hi
    if api getting soap request using cfhttp like below:
    <cfxml variable="mydata">
    <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Header />
       <soapenv:Body>
           <ns:service_soap_call soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
            <login>test</login>
            <password>test</password>
          </ns:service_soap_call>
       </soapenv:Body>
    </soapenv:Envelope>
    </cfxml>
      <cfhttp url="http://sm.iclp-dubai.ae/research/wsdl/MyPointsBank.cfc?wsdl" method="post" charset="utf-8" result="myresult">
           type" value="text/xml">
            <cfhttpparam type="header" name="SOAPAction" value="">
           <cfhttpparam name="soapInput" type="xml" value="#trim(mydata)#"/>
    </cfhttp>
    then how to get Soap Request in application cfc.
    like :
    <cfif IsSOAPRequest() >
      <cfset soapreq = GetSOAPRequest() />
    </cfif>
    I want to validate the soap xml Request before calling targeted CFC.
    Any suggestion!.

    Let me see whether I understand. Are you attempting to achieve something like this:
    test.cfc
    <cfcomponent output="no">
    <cffunction name="testFunction" returntype="any" access="remote">
    <cfargument name="soapInput">
    <cfset var inputXML = arguments.soapInput>
    <cfset var soapBodyText="">
    <cfset var noBodyTextError="">
    <cftry>
        <cfset soapBodyText = xmlSearch(inputXML,"//soapenv:Body/text()")[1].xmlValue>
        <cfsavecontent variable="noBodyTextError"><?xml version="1.0" encoding="utf-8"?><soapenv:Envelope     xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>java.lang.Exception: Body not found.</faultstring></cfsavecontent>
        <cfif trim(soapBodyText) is "">
        <cfthrow>
        </cfif>
        <cfreturn inputXML>
    <cfcatch type="any">
    <cfreturn noBodyTextError>
    </cfcatch>
    </cftry>
    </cffunction>
    </cfcomponent>
    tester.cfm
    <cfxml variable="mydata">
            <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wor="https://www.worldmilesafrica.com">
       <soapenv:Header/>
       <soapenv:Body>
       </soapenv:Body>
    </soapenv:Envelope>
    </cfxml>
    <cfinvoke webservice = "http://127.0.0.1:8500/workspace/wsTest/test.cfc?wsdl"
              method = "testFunction"
               returnVariable = "result">
           <cfinvokeargument name="soapInput" value="#trim(mydata)#" >
    </cfinvoke>
    <cfdump var="#result#">

  • WS Addressing elements in a SOAP request sent via SOAP sender adapter

    Hi guys,
    I have a requirement (Proxy->PI->SOAP) for sending a soap request using the WS addressing elements in the request header. As I went through a documentation to SOAP sender adpter there is no option for this. WS-A is supported in the WS adapter, but the target web service does not support WS-RM, so this is not an option.
    Do you have any hint?
    Thanks,
    Peter

    You can create your own SOAP header in mapping or use Axis framework for this.
    Regards
    Stefan

  • Updating external application password via API?

    Gurus,
    I may happen that someone else did ask that question before, but I could'nt find an answer within the last few weeks.
    The question is if there's a away to update the lightweight user's preferences for an external application? The background is that we need to set up password changes for External applications automatically.
    Thanks for your help!!

    Detlef, it's officially not supported, but take a look at sso/ssopsex.pks

  • Extract data from BW ODS to external application

    Hello,
    We have the following interface challenge:
    We need to interface data from an ODS to an external application. The request for this data comes from the external application and contains selection parameters.
    The datasets are small and the responses need to be fast.
    How to do this?
    We do not want to use Query_data_view, it is not performing and contains too much meta data
    Preferably we define a webservice either in BW or XI/PI that receives the request and send back the answer.
    What are the possibilities/best practices?
    Brokered or non-Brokered?(using XI or PI or just using an BW webservice)
    Do we need to publish the webservice to an UDDI?
    How do we extract the data from the ODS, via a Function module? If so i guess that FM can be made externally available and callable from XI/PI.
    Does ehp1 provide more fucntionalities in this area than 7.00?
    Does PI provide more functionalities than XI in this area?
    Do we need proxies for this?
    Thanks for any insights

    Tom,
    How to do this?
    External application (SOAP request) <-> PI <-> SAP BW (ABAP Proxy response). Make both - web service and proxy - sync.
    Preferably we define a webservice either in BW or XI/PI that receives the request and send back the answer.
    What are the possibilities/best practices?
    Web service will be defined in external application, proxy will be created in BW. Search on SDN for the detailed steps.
    Brokered or non-Brokered?(using XI or PI or just using an BW webservice)
    If you have PI as the integration hub, then prefer using PI.
    Do we need to publish the webservice to an UDDI?
    Not required.
    How do we extract the data from the ODS, via a Function module? If so i guess that FM can be made externally available and callable from XI/PI.
    Call the function module / any other extraction program from the proxy. No need to make FM externally available.
    Does ehp1 provide more fucntionalities in this area than 7.00?
    Does PI provide more functionalities than XI in this area?
    Do we need proxies for this?
    PI 7.1 EhP1 SP 6 is the latest, so it will definitely provide more functionality over older versions.
    Yes, use proxy at BW side.
    Hope this answers all your questions.
    Regards,
    Neetesh

  • SSO and external applications

    Hello folks,
    Due to my inexperience with PS6, I'm looking for some high-level outline that will help me look in the right places and understand things better here.
    I have an external application that requires authentication via a web form (or by attaching the username and password on the URL as parameters).
    What I want to do is have a channel of this application and utilize information from the SSO mechanism to redirect the request to that remote app and provide the credentials for a transparent login.
    From what I understand this can be done by having a servlet in that channel to retrieve the credentials of the user for that remote application from the SSO and then redirect to the external application, attaching the credentials to the URL.
    Is the above correct? I would appreciate any pointers or considerations since my experience with PS is minimal.
    Thanks in advance,
    Manos

    I don't see a way to that servlet to retrieve a password for the user - it's not stored in the session.
    There are following options:
    1. OpenText LiveLink way: You have some "hidden" password for every user (based on user's ID and a shared key) known only to your server and this servlet. Servlet will supply this password.
    2. Normal way - web server: Implement login module to this application, which will trust REMOTE_USER variable provided by the agent on the web server.
    3. Normal way - standalone app: Implement login module to this application which will validate DSAME session cookie on the DSAME server. You can use example code in the SUNWam/samples/ of your server.

  • Publish Sharepoint 2013 via Web Application Proxy and Kerberos Authentication

    This is similar to
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/66c23aae-8774-4257-b9f9-b796e69b0318/action?threadDisplayName=publishing-sharepoint-2010-using-web-application-proxy
    However I have tried his resolution to no avail.
    I am trying to publish a SharePoint 2013 website via web application proxy. SharePoint 2013 is using negotiate (Kerberos) as its authentication provider. When trying to browse to the site externally via the WAP I get an http error 500 internal server error.
    In the web application proxy's event viewer I find the following two entries every time I try to browse the site.
    event ID 13019
    level: warning
    Web Application Proxy cannot retrieve a Kerberos ticket on behalf of the user because of the following general API error: No credentials are available in the security package
    (0x8009030e).
    Details:
    Transaction ID: {5672be45-a4b8-0005-58ff-7256b8a4cf01}
    Session ID: {5672be45-a4b8-0000-3909-7356b8a4cf01}
    Published Application Name: sharepoint
    Published Application ID: ****
    Published Application External URL: https://sharepoint.domain.com
    Published Backend URL: https://sharepoint.domain.com
    User: [email protected]
    User-Agent: Mozilla/5.0 (Windows NT 6.2; ARM; Trident/7.0; Touch; rv:11.0; WPDesktop; NOKIA; Lumia 920) like Gecko
    Device ID: <Not Applicable>
    Token State: OK
    Cookie State: NotFound
    Client Request URL:
    https://sharepoint.domain.com/home?authToken=****client-request-id=****
    Backend Request URL: <Not Applicable>
    Preauthentication Flow: PreAuthBrowser
    Backend Server Authentication Mode: WIA
    State Machine State: BackendRequestProcessing_Pending
    Response Code to Client: <Not Applicable>
    Response Message to Client: <Not Applicable>
    Client Certificate Issuer: <Not Found>"
    And
    event ID 12027
    level: error
    Web Application Proxy encountered an unexpected error while processing the request.
    Error: No credentials are available in the security package
    (0x8009030e).
    Details:
    Transaction ID: ****
    Session ID: ****
    Published Application Name: Sharepoint
    Published Application ID: ****
    Published Application External URL: https://sharepoint.domain.com/
    Published Backend URL: https://sharepoint.domain.com/
    User: [email protected]
    User-Agent: Mozilla/5.0 (Windows NT 6.2; ARM; Trident/7.0; Touch; rv:11.0; WPDesktop; NOKIA; Lumia 920) like Gecko
    Device ID: <Not Applicable>
    Token State: OK
    Cookie State: NotFound
    Client Request URL:
    https://gateway.dcsch.co.uk/home?authToken=****client-request-id=****
    Backend Request URL: <Not Applicable>
    Preauthentication Flow: PreAuthBrowser
    Backend Server Authentication Mode: WIA
    State Machine State: OuOfOrderFEHeadersWriting
    Response Code to Client: 500
    Response Message to Client: <Not Applicable>
    Client Certificate Issuer: <Not Found>"
    I have tried everything I have seen in many posts and the one linked above but cannot get this working. It does work fine internally.

    And within the next 10 minutes I found this
    http://technet.microsoft.com/en-us/library/dn308246.aspx#Kerberos
    Needed to set up delegation to ANY service in the Web application proxy

  • Sending SOAP request from XI and writing a scheduler for this

    Dear XI Experts,
    My scenario is as follows.
    We have two landscapes
    1)     XI, R/3
    2)     Client System(Remote, Other than SAP)
    Now we have to pull the data from client system using WSDL (There will be one method for pulling the data in the WSDL file). The WSDL is provided by the client. We are importing that WSDL as external definition in Integration Repository and implementing the scenario “SOAP to XI to RFC” and configuring it Integration Directory.
    Remember the client will not send the data to XI. Only we have to pull the data as mentioned above.
    Problems:-
    (i)     How to send SOAP request to the client using XI only?
    (ii)     How to write a scheduler for this?
    please help us.
    Thanks...
    Praveen Gujjeti

    Ur Suggestion
    "My proposition looks like that. in R/3 you have scheduled RFC call in some program. This RFC calls XI and XI is calling using SOAP adapter your client. Then response go back to your RFC and you can handle this data."
    As you mentioned, I am not scheduling any RFC call in R/3. If you go through my first query u can find two points where I am having some doubts......
    How to send SOAP request to the client using XI only? Is it possible to send a SOAP request from XI?
    If so,
    (ii) How to write a scheduler for this? So that it will invoke the webservice and get the data from client application(system)

  • SOA Soap request

    Hi Friends,
    Newer to soa suite 11g
    1>I have craated small soa 11g app. i send small xml request in EM and I get xml response in EM TESTER. so far good (This is NOT how internet websites work. They work in HTML rendered in browser for Request and Response)
    My question is, how does this behave in REAL world. Meaning, a website has a form that user would fill - in and submit. Then, what happens ? "Who and How" does those submitted form values get converted into XML format (ofcourse adhering to XSD) for my soa application to consume ? and How would the XML response coming from soa application again get converted into HTML so that the website user can view it in browser ?
    2> Second, if I want to collect the submitted user values and create a XML, is it sufficient to use just XML (without referring to any XSD) and let it talk to the soa application (that talks to external webservice and gets the response). If not using any xsd then how do i MAP incoming request values to reference exposed webservice WSDL ? OR is it that XSD is must for the incoming SOAP request so that data mapping can be done with the referenced WSDL ?
    thx
    pp

    Hi,
    Regarding your first question, there are two ways to achieve your desired behaviour. The first one is to create a proxy, using that proxy to create a data control using the web service you have created, and then using an adf form, create a form, that you take care of the submission. In a similar way, you can capture the response back and display it as you would like.
    You could create your own input form, and then create your xml request message (based on the web service schema) and submit it. Popular techniques include JAX-RPC, REST Services, etc. I believe this answers your second question. Calling synchronous web services is quite easy, as your just wait for a response. Calling asynchronous web services is a bit tricky if implemented programmatically.
    Antonis

  • Displaying OBIEE content inside a Div (part of HTML) of an external application/Web page

    We are able  get the particular catalog item say a Report/ Chart when a OBIEE go URL launched in a browser.
    But what is the way to displaying the same chart/report content in my external application. I want display the OBIEE chart/report content as a part of my application web page on load?
    How can i achieve that?
    loading the content in an IFrame using Go URL didn't work? Im also  dont want to that.
    I tried sending request to the GO URL via jQuery AJAX. But it didnt Help.
    I have tried also sending request to GO URL via Apache HTTP client to get the response content. But OBIEE server returned the following response
    "Your browser is not supported by Oracle BI Presentation Services"
    Any Help in this is appreciated?

    The service WCM_PLACEHOLDER can not use JSPX templates (because it can only evaluate them as UCM can evaluate and UCM cannot evaluate the JSPX version SSXA is using).
    WCM_PLACEHOLDER can work if you create an HCSP template but then you only have access to Idoc Script and not JSPX.
    This is my understanding. Someone please correct me if I am wrong.
    Jonathan

  • Adding an External Application that uses J2EE Form Based Security

    I'm trying to add an External application that uses the J2EE Form based security. i.e. uses j_username, j_password and posts to j_security_check.
    I don't really see how Oracle SSO will support this. The container needs to take control of a clients request and determines when the "Login" page is presented to establish credentials. Posting directly to j_security_check isn't working for me.
    I'm using Sybase EAServer 4.12 as the external application.
    Is this supported in Oracle SSO?
    Do I need to provide a different mechanism for logging user's in?
    Also, can someone explain what the benefit would be if I configured the EAServer app as a "Partner" app? I would still have to provide an interface for login. The input would be different but the end result would be the same I guess. What advantages does a Partner app have?
    Lastly, is there an NNTP server for these forums?
    Thanks.
    Darrell

    The cure for the symtops described below was to simply add a welcome-file-list
    element with appropriate welcome pages to the web.xml descriptor. It makes sense
    now that I have worked it out.
    Todd
    "Todd Gould" <[email protected]> wrote:
    >
    I have an application comprised of several JSPs that are protected via
    Form based
    security and enforce an SSL connection via the appropriate declarations
    in the
    web.xml. This aspect of the application seems to be working with the
    exception
    of one small quirk.
    If a user presses that back button until such time as the receive the
    container
    provided login page once again, and subsequently provide a valid user
    id and password,
    they are NOT successfully logged in. Rather, they receive the ugly 403
    Forbidden
    error that states that the server understood the request, but is refusing
    to fufill
    it. This only seems to happen given the above course of events involving
    the
    use of a back button in the browser (or selection of an item from the
    history
    list). I suspect that this has something to do with the session id being
    cached
    or something, but I'm not sure? Can anyone offer any assistance on this
    one?
    Also, does anyone know of a way of preventing the user from bookmarking
    this container
    provided login page as this also seems to be causing problems for users.
    If they
    bookmark the first protected page of the application all is fine, but
    if they
    bookmark the login page they receive the 403 error.
    Thanks in advance!

Maybe you are looking for