Understanding wsdl file to be called from Partner link

Hii All,
I am trying to understand the wsdl file. This file is being called from a partner link. I have understood most of the part of it but could not understand the following:
<jca:operation
LogicalDirectory="inputTriggerDir"
ActivationSpec="oracle.tip.adapter.file.inbound.FileActivationSpec"
IncludeFiles=".*\.trg"
PollingFrequency="10"
MinimumAge="0"
DeleteFile="true"
OpaqueSchema="false" >
</jca:operation>
Would appreciate if you could please help to make me understand this part of wsdl file. I have noticed that if i change the value of LogicalDirectory parameter then the build does not deploy successfully. Somehow it is linked with the bpel.xml...Please suggest me how?
Appreciate your help..
Thanks,
Regards,
AS

This is the operation that will be performed when a file is read.
LogicalDirectory = This is the property you have specified to identify the directory to poll. This is best practice, if you do this then you need to specify a name in the bpel.xml file. This also means you can change the directory on the fly within the BPEL console. If you right-click on the recieve for the partner link there is a property tab add the property inputTriggerDir and give the value of the directory on the server.
ActivationSpec = This is just a pointer to the java code, this is defaulted and should not be changed.
IncludesFiles = in your case you are looking for files with the extension of .trg
PollingFrequency = in your case 10 second interval
MinimumAge = This allows you to put a buffer so if a file takes some time to load you can put a wait until you get the full file.
DeleteFile = Once read it will delete
OpaqueSchema = If true means that you have specified no schema and is read in as binary. This is used for pass through, what you read in is what comes out the other side. Manly used for pdf and images.
cheers
James

Similar Messages

  • "Error attempting to read file" at Webservice call from Adobe Form.

    Hi Experts,
    We have designed a Webservice form a Function Module in ECC 6.0, In the soamanager transaction the webservice works fine. But at the time of call from the Adobe form, it gives an error stating that "Error attempting to read from file" and then the URL of the Webservice to be excuted.
    and if i attempt to open that file, it gives me this error:
    - <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <soap-env:Header />
    - <soap-env:Body>
    - <soap-env:Fault>
      <faultcode>soap-env:Server</faultcode>
      <faultstring xml:lang="en">SRT: Wrong Content-Type and empty HTTP-Body received</faultstring>
    - <detail>
    - <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
      <Host>undefined</Host>
      <Component>COREMSG</Component>
    - <ChainedException>
      <Exception_Name>CX_SOAP_CORE</Exception_Name>
      <Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body received</Exception_Text>
      </ChainedException>
      </ns:SystemFault>
      </detail>
      </soap-env:Fault>
      </soap-env:Body>
      </soap-env:Envelope>
    In case I give my user the "SAP_ALL" role, this all works fine, so i think it is somewhere related to a missing role to be assigned.
    any clues..??
    any help would be appreciated, Please help..
    Thanks,
    Amita

    Hi Juergen,
    I am using it as a WSDL based data connection.
    How do i check this WSDL through a web browser? I have checked it through SICF Transaction code, It gives the output in explorer as given in the first post of this thread..
    Please help me resolving this issue, i feel that this issue is somewhere related to the role assignment of the user as if i provide this user an authorization of SAP_ALL then everything starts working fine, but after removing SAP_ALL this error is encountered, do u hav any pin points on this??
    Thanks
    Amita

  • When i change a location in wsdl file how to call it from client

    for example I want to call a webservice that is located at http://localhost:8090/Axis/services/SimpleServiceSOAP
    and now i changed it to http://localhost:8090/Axis/services/HardServiceSOAP.
    so when a client will call this service he uses the first location only.
    I want to know how to redirect this first address to second address of the webservice.
    please reply asap

    Hi macharla,
    I'm assuming you have changed only the URL of your Web Service and not its content.
    If you've generated your client classes with JAX-WS, the old URL is hard coded in the class which extends Service :
    - in the WebServiceClient annotation (parameter wsdlLocation)
    - in the initialization of the url variable (data type URL)

  • How to run a java program via a batch file,which is called from a webserver

    REM This batch file runs the Spider with the [-v] option.
    REM Lines 51 through 54 are simple DOS commands..they call the Spider
    REM The location of the Spider package is the important piece of information here...
    REM a batch file has access to the whole computer where the server resides.
    setlocal
    set JDK=C:\j2sdk1.4.1_01
    set PATH=%JDK%\bin;.;%PATH%
    CLASSPATH=%JDK%\jre\lib\*.jar;.;%JDK%\jre\lib\ext\*.jar;.;%CLASSPATH%
    java spiderpackage.EntryPoint -v
    endlocal
    I am trying to call this batch file from my web server but I am unable to capture the result.I tried to append the result to a file but It writes nothing to it.What should I do to proceed?

    I am not entirely sure if this is analogous, but I once wrote a PHP script uner Linux that invokes java and returning the output. I found that it was necessary to pipe the output of the Java program from stderr to stdout in order to properly receive it in PHP. The command would be as follows:
    java spiderpackage.EntryPoint -v 2>&1
    The pipe syntax (2>&1) should be exactly the same under MSDOS. So add that, and then continue as normal (appending it to a file or whatever else you want to do). Hope that helps

  • Download File Via JavaScript Calls From Website

    Hello,
    I am currently trying to create a program in c# that will download the file "PracticeProfiles.xls" from this website:
    http://fingertips.phe.org.uk/profile/general-practice/data
    I need to somehow on navigation to this site pass the javascript calls "showExport();exportData();", which will start the download.
    Any help would be greatly appreciated.
    Many Thanks

    The link has a method which apparently works, however I had to modify a few things to make it compile:
    public void DownloadIEFile(Browser browser)
    HwndSource source;
    source = HwndSource.FromHwnd(WatiN.Core.Native.Windows.NativeMethods.GetWindow(browser.hWnd, 5));
    Window windowMain = source.RootVisual as Window;
    System.Windows.Automation.TreeWalker trw = new System.Windows.Automation.TreeWalker(System.Windows.Automation.Condition.TrueCondition);
    System.Windows.Automation.AutomationElement mainWindow = trw.GetParent(System.Windows.Automation.AutomationElement.FromHandle(browser.hWnd));
    source = HwndSource.FromHwnd(WatiN.Core.Native.Windows.NativeMethods.GetWindow(new WindowInteropHelper(windowMain).Handle, 5));
    Window windowDialog = source.RootVisual as Window;
    // if doesn't work try to increase sleep interval or write your own waitUntill method
    Thread.Sleep(1000);
    windowDialog.Activate();
    System.Windows.Automation.AutomationElementCollection amc = System.Windows.Automation.AutomationElement.FromHandle(new WindowInteropHelper(windowDialog).Handle).FindAll(System.Windows.Automation.TreeScope.Children, System.Windows.Automation.Condition.TrueCondition);
    foreach (System.Windows.Automation.AutomationElement element in amc)
    // You can use "Save ", "Open", ''Cancel', or "Close" to find necessary button Or write your own enum
    if (element.Current.Name.Equals("Save"))
    // if doesn't work try to increase sleep interval or write your own waitUntil method
    // WaitUntilButtonExsist(element,100);
    Thread.Sleep(1000);
    System.Windows.Automation.AutomationPattern[] pats = element.GetSupportedPatterns();
    // replace this foreach if you need 'Save as' with code bellow
    foreach (System.Windows.Automation.AutomationPattern pat in pats)
    // '10000' button click event id
    if (pat.Id == 10000)
    System.Windows.Automation.InvokePattern click = (System.Windows.Automation.InvokePattern)element.GetCurrentPattern(pat);
    click.Invoke();
    However I am getting null when I try to get the hwnd source, can't see why?
    Any Suggestions?
    Many Thanks

  • I'm having problems using Firefox when opening up PDF files that are called from jsp.

    I'm trying to open my billing statement in pdf format. When I click on the link, Firefox 4 takes me to the dowload page and starts to download a readPDF.jsp file. How come Firefox is asking for that? When I use IE 7 I get no problems. Please advise on how to get Firefox to open jsp files automatically.

    I have same problem too

  • How do I access a file on my computer from a link on my hosted Website?

    Hi Guys,
    This is my first ever post so please be patient. I am running Windows XP and Dreamweaver CS4. From a hosted Webpage I have am trying to hyperlink to a excel file on my computer.  When I click onto the hyperlink nothing happens.
    The code for the hyperlink looks like this      file:///C|/Users/mckiep/Desktop/9b.xls           Do you have any suggestions on what it is I am doing wrong?

    I don't think you want to expose your local computer to the internet like that - it's a huge security risk.
    However, you could set up a script on the website to make an FTP connection to your local box and grab the file as needed.  Of course, this will require some scripting skill, and will impose restrictions on you as the user of that file - suppose someone tries to get it at the same time as you are making changes?
    Personally, I think it's a very bad idea.
    I think the better way to do it would be to shift your work to a data-driven application on the web.  Then, at least, the security issues would be solved. But you would still need the scripting skills to code the page within which your work is being done....

  • Will a .as file stop a .swf from being linked?

    I have a simple movie that basically has the AS3 code for two
    buttons.
    One button (named videopage_btn) links to another .swf file
    perfectly.
    The other button (named thumbnailgallery1_btn) does not link
    to another .swf file. It gives me an error (TypeError: Error #1009:
    null) when using the same code (attached).
    In my project folder, I have this .swf file, and the other
    .swf file, which has a .as file to go with it.
    When I open the other thumbnailgallery1.swf file alone
    (without a button from the other simple.swf file), it compiles
    correctly. However, when I try to use the button, I get the 1009
    error.
    Can I use some different code to open the
    thumbnailgallery1.swf from the thumbnailgallery1_btn ?
    Yours Sincerely,
    Jntspecialty

    The part of the error message that is displayed in Korean
    says "Attribute of object reference it stands it will not be able
    to access".
    Other than that, the class code was put into an AS file and
    was given the same name as the primary class and the FLA file is in
    the same directory as the AS file and the Properties tab of the
    Property inspector was entered the class name of the primary class
    for the example in the Document class text box .

  • Why can't I download .zip or .xlsx files to my iPad from a link on a webpage?

    I'm building a website and have one file that is available for people to download in two formats -- .zip and .xlsx. When testing the website in Safari on my iPad, I am unable to download either file. I receive an error message that says "Download Failed. Safari cannot download this file." The downloads work fine on my laptop in all browsers, including Safari. I've only encountered this problem on the iPad.
    How can I fix this? I'd like people to be able to download the files even if they are viewing the website on an iPad.
    If you need to see the page in action to try it for yourself, please see http://techtamerclients.com/alcohemy/alcohemy-participant-workbook-delivered
    Thank you!

    Something to try.
    Get the GoodReader app.
    Then in your browser simply type the letter "g" in front of the http and press return.
    The file will be downloaded into the GoodReader app.
    Downloads Lite for iPad
    https://itunes.apple.com/us/app/downloads-lite-for-ipad-download/id383846063?mt= 8
     Cheers, Tom

  • Can I size a pop-up window called from a link from "_blank" in Target Frame

    I would like to size the window smaller then what the default is set to when calling a pop-up window via a link when setting the Target Frame property to _blank.  Is there a way to do this so I have some control of the size of the window?
    Thanks,
    Chris

    As far as I know it is not possible to resize the window that gets opened when target="_blank". Window can be resized only if it is opened only if it is opened using window.open

  • Opening a file in the host from a link in the HTML widget

    Hi,
    I'm trying to create an inDesign panel that opens an inDesign file (.indd or .idml) when I click on a link in an HTML list of files that appears in the HTML widget.
    Can anyone tell me how I can achieve this either width html or javascript/extendscript ?
    What's the best practice?
    Thank you very much for the help.

    Hi,
    In the FM'S u might have declared the import,export,tables parameters.So u have to use these parameters in the source code editor of FM.If u don't use any of these parameters and try to use any other parameters which also not declared in the FM source code,then u will get the error.pz check the parameters u r using in the FM....
    Regards,
    Nagaraj

  • Question about webservice and wsdl file

    Hi All.
    I have this scenario , the customer wants to send some information as they happen
    The customer wants to use a web service to our database(JDBC)
    I understand that from this requirement , I have to develop the Object in PI , and create the wsdl file to send it to the customer , this wsdl file will have the URL and other information for the consuming of the webservice.
    Now the weired thing is the customer insists that we should use their wsdl file , I am confused about this , I understand that when the customer send their wsdl file , it is because they will act as a receiver to our request , right ?
    but if they want to act as sender , then the wsdl file should be sent from PI side based on the configuration.
    My question is it possible to create a scenario based on the cunstomer wsdl file eventhough the customer is the sender .
    if so what and how the URL will be.
    Thanks.

    Malu Mader wrote:
    > Now the weired thing is the customer insists that we should use their wsdl file , I am confused about this , I understand that when the customer send their wsdl file , it is because they will act as a receiver to our request , right ?
    > but if they want to act as sender , then the wsdl file should be sent from PI side based on the configuration.
    refer Walkthrough - SOAP  XI  RFC/BAPI
    your URL will be;
    The inbound address for SOAP messages is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    Under party:service:channel enter the party name, the service name, and the name of the communication channel. If no party has been created, enter the following: channel=:service:channel

  • Can a Quicktime file download from clickable link?

    Quicktime file download to desktop from clickable link?
    I have large movies that I want to make available for direct download to the desktop so people will click download and do something else.
    It is my understanding that you can't provide a quicktime file for download to a desktop because there are PC/MAC and browser issues across platform. But maybe I'm wrong.
    Is it possible to make a web page that allows users to download higher file size videos from a clickable link? The quicktimes are h.264 in SD + HD around 50-100 megs. The files will be so large people won't want to wait so I want it to go directly to the desktop.
    So far I can only find a few similar options
    1) Embed the file in a web page. Provide a download link after the movie loads.
    (This option requires you to load the file into the page. Users may not wait and close it)
    2) Provide a zip file. This allows you to create a clickable link to the zip which begins downloading upon clicking. You then unzip the file. (Some less computer savvy people may get confused by the zip)
    3) Put a raw file on server. This will play the movie in a blank window but can also be right clicked for direct download.

    Welcome to the discussions, jessestudio.
    I've seen a few sites that have a link to the video with instructions to "Right-click to download". Essentially, it's option three with instructions. It seems to be a fairly common way of handling it. (Even for non-QuickTime movies)

  • How to use/read a property in a WSDL file?

    Hello list,
    Does anybody know how to use a property (e.g. myapp.host.name) in a WSDL file to dynamically switch between a certain host through the use of a property file?
    My property file would look like this:
    myapp.host.name=<some-ip-address-or-dns>
    myapp.host.port=1234
    I would save this property file as myapp.properties.
    In a WSDL file that I receive from a 3rd-party I want to remove the hardcoded hostname and replace it with my property. For instance, something like this:
    <port binding="tns:DoSomething" name="DoSomething">
        <soap address location="http://abcdks02:1234/avb_xsd/start.edw?MySource=WebService></soap:address>
    </port>{code}
    should be replaced by this:
    {code}<port binding="tns:DoSomething" name="DoSomething">
        <soap address location="http://${myapp.host.name}:${myapp.host.port}/avb_xsd/start.edw?MySource=WebService></soap:address>
    </port>Is there a fast, efficient and clean way to do this? I do not want to use maven2 filtering, because that forces a new re-deployment every time you change the value of the property. I also want to avoid Spring, because we're trying to get rid of Spring in our project.
    What else can I use? I am sure there is a fast and efficient way to do this.
    Any help is appreciated!
    Thanks,
    Gian

    Hi biblio,
    I have used the method you have mentioned to change the target end point. And that was successful. Thank you. Apart from this I have another issue. I want my web service read some database related values from properties file only when the web service is deployed. Currently the java application read the database related values in a static block. I have made this java application to a web service. I am new to java and thought of there may be something like ServletContextListener where I can read properties file. This allows me to read properties file only when the web application is deployed.

  • Same URL when called from other page when called directly behaves different

    Hi All,
    I am working on SRM 5.0 implementation , the open catalog interface applications are called from a link from the standard ITS  (thses catalog applications are developed in BSP) and then submited back to the ITS application using a URL :
    va r ret_URL = "<% = hook_ur l%>"   <--- this is the return URl to which catalog data is submited
    d ocument.f inal . action = ret_URL;
    d ocument .final .method = " P O S T ";
    d ocument. final. submit ( );
    This application is transfered perfectly if the catalog is called by clicking link on standard ITS application(EBP application) but if i enter the catalog URL(BSP Application URL) directly in the browser and hardcode the value of HOOK_URL (ret_url) in BSP application , the catalog is submited but it shows a blank page with javascript error 'window.opener.isLeanWP' is null or not an object .
    hook_url = http://sapupd.mycompanyname.com:8002/sap/bc/gui/sap/its/bbpsc02/?~OkCode=ADDI&~Target=_top&~Caller=CTLG&~client=200&sap-client=200&~language=EN&~HTTP_CONTENT_CHARSET=utf-8
    Kindly suggest the solution. We need to call the OCI application directly and submit it to ITS application using this hook_url.
    Regards,
    Anubhav

    Please post this question to the Portal Applications forum.
    Thanks,
    Jerry

Maybe you are looking for

  • Error while writing to a .CSV file

    hi, I am writing output from PL/SQL block to a .CSV file. CREATE OR REPLACE PROCEDURE wr_csv AS BEGIN DECLARE abc VARCHAR2(10); file_name VARCHAR2(30); output_file utl_file.file_type; BEGIN SELECT ename INTO abc FROM EMP; file_name :=('Testwriting.CS

  • Exporting to Disk Image Causing HD Issues

    hi all. i've been exporting my dvd's as disk images onto an external hard drive, but every time i do, my internal hd loses a significant amount of memory as well. all project files are also located on the external drive, so there's absolutely no reas

  • Deactivating the select options (strange)

    Hi all, Please tell me how to deactivate the select options arrow.In the screen after select options-high there is an arrow to specify ranges etc.I want to deactivate that arrow.Is it possible?? regards chandu

  • Multiple jars - CLASSPATH - etc. kind of solution.

    Hi all, after long trials I found that before executing packager.exe, if you place the jar files that will be referenced from the JavaBeans class into $Private_JRE\lib\ext (probably C:\j2sdk1.4.2\jre\lib\ext), it can load referenced classes and gener

  • Maverick, screen display on macbook pro corrupts

    I installed Mavericks yesterday. I have a MacBook Pro 15 inch with a display 1680x1050. Since the install I have had problems with the screen display corrupting with sections of the screen covered in linear 'noise'. I rebooted the first time it happe