Hosting and scheduling a webservice code

Hi
I need to write code that will generate tasks in Oracle CRM On Demand for new opportunities. Workflow is not sufficient for this specific job, so I am thinking of a webservice that will login every X minutes, collect the relevant data and will create the necessary tasks (activities) accordingly. Assuming we can handle the syntax, we are still not sure about the best way to host this code and how to schedule it. Any recommendations?
Thanks,
Boaz

Hi !
This task has to be developed with CRM OnDemand WebServices, whatever the technology (PHP, Java, .NET...). And you'll have to host this kind of program somewhere in your information system. Then, with the Windows OS, just create a new Scheduled Task thqt will run your program when you want. With Mac OS, you'll have to use cron jobs.
Your program will look like :
1 - CRMOD login
2 - OpportunityQueryPage with your parameters
3 - For each opportunity, ActivityInsert with your parameters
4 - CRMOD logoff
Hope this will help, feel free to ask more !
Max

Similar Messages

  • XLReporter and scheduled task error code (2)

    Hello Experts,
    After upgrading from 2007A to 8.8.1 PL4 all XL Reporter jobs stoped working. So i've recreated scheduled tasks. But after this tasks still not working. In tasks log all tasks return code 2.
    Example below:
    Finished 5/5/2011 5:00:07 PM
    Result: The task completed with an exit code of (2).
    When I run job manually from XL Reporter it works fine. When run manually from Scheduled tasks it gives error 2
    What else can be done, checked?

    Hi bets,
    Please refer to the thread below:
    Creative Cloud desktop failed to update.(Error code: 2)
    Regards,
    Sheena

  • Question regarding SAP note 765494 and Scheduling agreements

    In a SAP ECC 6.0 environment has anybody dealt with note 765494? It appears that the changes allow the user to change shipping data on stock transfer scheduling purchase orders using the ME22N screen (Enjoy) but not the ME32L scheduling agreement change screen. Does anybody know of a work around to change shipping data on a stock transfer scheduling agreement?

    Hi Mahesh,
    A contract is a type of outline purchase agreement against which release orders (releases) can be issued for agreed materials or services as and when required during a certain overall time-frame.
    Contracts are of two types:
    1. Quantity contracts - Use this type of contract if the total quantity to be ordered during the validity period of the contract is
    known in advance.
    2. Value contracts - Use this type of contract if the total value of all release orders issued against the contract is not to exceed a certain predefined value.
    But a scheduling agreement is a  form of outline purchase agreement under which materials are procured on predetermined dates within a certain time period.  A scheduling agreement consists of a number of items, for each of which a procurement type is defined. The
    The following are the procurement types:
    - Standard
    - Subcontracting
    - Consignment
    - Stock transfer
    Delivery of the total quantity of material specified in a scheduling agreement item is spread over a certain period in a delivery schedule, consisting of lines indicating the individual quantities with their corresponding planned delivery dates.
    Contracts and Scheduling Agreement transaction codes:
    Transaction codes:
    Contracts: ME31K to ME35K
    Scheduling agreements: ME31L to ME35L.
    Please award if helps!
    Thanks!
    preethi.

  • Regarding : Contracts and Scheduling Agreements

    Hi All SAP Proffessionals,
    Can anybody tell me what do we mean by Contracts/Scheduling Agreements?

    Hi Mahesh,
    A contract is a type of outline purchase agreement against which release orders (releases) can be issued for agreed materials or services as and when required during a certain overall time-frame.
    Contracts are of two types:
    1. Quantity contracts - Use this type of contract if the total quantity to be ordered during the validity period of the contract is
    known in advance.
    2. Value contracts - Use this type of contract if the total value of all release orders issued against the contract is not to exceed a certain predefined value.
    But a scheduling agreement is a  form of outline purchase agreement under which materials are procured on predetermined dates within a certain time period.  A scheduling agreement consists of a number of items, for each of which a procurement type is defined. The
    The following are the procurement types:
    - Standard
    - Subcontracting
    - Consignment
    - Stock transfer
    Delivery of the total quantity of material specified in a scheduling agreement item is spread over a certain period in a delivery schedule, consisting of lines indicating the individual quantities with their corresponding planned delivery dates.
    Contracts and Scheduling Agreement transaction codes:
    Transaction codes:
    Contracts: ME31K to ME35K
    Scheduling agreements: ME31L to ME35L.
    Please award if helps!
    Thanks!
    preethi.

  • Sending email to 10,000 addresses without knowing Host and Protocols!!

    Context:
    I am building an "eMail Marketing Campaign" application which takes a list of email addresses (unlimited) and sends an eMail to all of them.
    My servlet creates an instance of "MyMailHandler.java/class" and passes a list of addresses.
    Problem:
    If I want to send email to different user, do I need to know about everyOne's HOST and PROTOCOL. My application recieves list of addresses from a remote server of a data-selling-company so they don't have that info.
    Following is the code (hardCode!) of MyMailHandler.
    properties.put("mail.smtp.host", "MAIL.DMCDATABASE.COM");
    properties.put("mail.transport.protocol", "IMAP");
    Question:
    How do I send emails to receivers without knowing everyOne's host and Protocol?????? (new to JavaMail)

    No, you only need to know the name of your own mail host. It will send the e-mails to those 10,000 addresses for you. And the protocol for sending mail is SMTP, that's all you need to know to send mail. IMAP and POP are protocols for storing received mail messages and so are not relevant to your task.

  • Creating a job and scheduling a job error in OEM

    Hi, Everyone,
    I am trying to create and schedule a job thru OEM. In the the pl/sql block provide i have given my code like this
    begin
    SET SERVEROUTPUT ON;
    SPOOL C:\RFV_PROFILE_REPORT.LOG APPEND;
    SELECT TO_CHAR(SYSDATE, 'DD/MM/YY HH24:MI:SS') FROM DUAL;
    EXEC PAC_RFV_PROFILE_REPORT.CALL_ALL (200910);
    SELECT TO_CHAR(SYSDATE, 'DD/MM/YY HH24:MI:SS') FROM DUAL;
    SPOOL OFF;
    end;
    i have created the job and scheduled it but i am getting this error:
    Error # 6550
    Details ORA-06550: line 2, column 5: PL/SQL: ORA-00922: missing or invalid option ORA-06550: line 2, column 1: PL/SQL: SQL Statement ignored ORA-06550: line 3, column 7: PLS-00103: Encountered the symbol "C" when expecting one of the following: := . ( @ % ;
    could anyone pls help as this is very urgent.
    Thanks in advance

    Ah, the problem is you are confusing SQLPlus commands with PL/SQL.
    SET SERVEROUTPUT ON; -- This is a SQLPlus command, not necessary here.
    SPOOL C:\RFV_PROFILE_REPORT.LOG APPEND; -- This is a SQLPlus command, in PL/SQL to write out to a file you will need to call the UTL_FILE package to open a file for writing to. Except that the file you write to will appear on the database server, not your workstation, when the scheduled job runs.
    SELECT TO_CHAR(SYSDATE, 'DD/MM/YY HH24:MI:SS') FROM DUAL; -- In PL/SQL you need to SELECT columns INTO variables FROM tables. But in fact I guess you want to write the time to file using UTL_FILE again. However, you don't really need to do this, since scheduler will log the start time and run duration itself.
    EXEC PAC_RFV_PROFILE_REPORT.CALL_ALL (200910); -- This is the SQLPlus equivalent of the PL/SQL command:
    BEGIN
    PAC_RFV_PROFILE_REPORT.CALL_ALL (200910);
    END;
    SPOOL OFF; -- This is a SQLPlus command, not necessary here.
    So to summarise, all you really need is:
    BEGIN
    PAC_RFV_PROFILE_REPORT.CALL_ALL (200910);
    END;
    And the scheduled job will log the start time and duration in the database, which you can find here:
    SELECT * FROM USER_SCHEDULER_JOB_RUN_DETAILS

  • The essential guide to DW cs4... by D. Powers: when from wamp to xampp+virtual host and having problems :(

    Following the book in chapter 2 I think Ivé followed everything correctly, but have encluded all the things I've edited below.
    I was using wamp with no problems but after trying to set up a virtual host and now using xampp im abit lost its probabsomething stupid but I can find the prob.
    (This post is abit long and dragged out so I used some colour to try ease the reading..)
    When I try to view a dynamic page in live view or in firefox I get the following error:
    **when using:
    <VirtualHost *:80>
    DocumentRoot c:/xampp/htdocs
    ServerName localhost
    </VirtualHost>
    result:
    Access forbidden!
    You don't have permission to access the requested object.     It is either read-protected or not readable by the server.
    If you think this is a server error, please contact the webmaster.
    Error 403
    thegoodlife
    2009/10/13 12:47:48 PM
    Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
    *when using:
    <VirtualHost *:80>
    DocumentRoot c:/htdocs
    ServerName localhost
    </VirtualHost>
    result:
    Object not found!
    The requested URL was not found on this server.          If you entered the URL manually please check your     spelling and try again.
    If you think this is a server error, please contact the webmaster.
    Error 404
    thegoodlife
    2009/10/13 12:32:58 PM
    Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
    This is what I've done, blue indicating where I have or was meant to edit, red being the relivant context. (hope it helps )
    1. Created a new folder called htdocs (C:\htdocs)
    2. Changed the pathname to:
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "C:/htdocs"
    and
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "C:/htdocs">
    3. Created vhosts folder; with a sub-folder called thegoodlife (C:\vhosts)
    4. entered new vhost:
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    127.0.0.1 localhost
    127.0.0.1 dwcs4
    127.0.0.1 thegoodlife
    127.0.0.1 bin.errorprotector.com ## added by CiD
    5.It says uncomment the command by removing the #, (Supplemental configuation.), but this is the origional file; already uncommented?
    # Real-time info on requests and configuration
    Include "conf/extra/httpd-info.conf"
    # Virtual hosts
    Include "conf/extra/httpd-vhosts.conf"
    # Distributed authoring and versioning (WebDAV)
    Include "conf/extra/httpd-dav.conf"
    6.Set the permissions and changed the code as instructed, unsing (c:/xampp/htdocs) as advised.
    # You may use the command line option '-S' to verify your virtual host
    # configuration.
    <Directory C:/vhosts>
      Order Deny,Allow
      Allow from all
    </Directory>
    # Use name-based virtual hosting.
    ##NameVirtualHost *:80
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    # The first VirtualHost section is used for all requests that do not
    # match a ServerName or ServerAlias in any <VirtualHost> block.
    <VirtualHost *:80>
    DocumentRoot c:/xampp/htdocs
    ServerName localhost
    </VirtualHost>
    <VirtualHost *:80>
    DocumentRoot c:/vhosts/dwcs4
    ServerName dwcs4
    </VirtualHost>
    <VirtualHost *:80>
    DocumentRoot c:/vhosts/thegoodlife
    ServerName thegoodlife
    </VirtualHost>
    Then creating the site definition:
    local root forlder: C:\htdocs\thegoodlife\
    testing server folder: C:\vhosts\thegoodlife\
    URL prefix: http://thegoodlife/
    hope i've covered all area's where I could have gone wrong

    Just one more thing - the description of what i did while first Kernel appeared:
    Happened 2 days ago. Wasn't turning it off for like a day, only sleep mode by closing it. Worked fine all day, wasn't doing anything, except for checking mail 2-3 times and having windows 7 virtual machine opened but doing nothing, everything was going fine. Then closed it without turning off.
    Opened 3-4 hours later, everything was working fine for 30 minutes of checking mail, then Kernel appeared. After that pretty much everything i did is described in part 1-5.
    Note: all the time MBP was connected to internet via wifi, so updates to both MBP and virtual machine of all programs were possible.
    I only shared downloads and desktop folders, so windows couldn't have access to system folder of Mac Os.
    Hope this might help...Thanks again.

  • BPM Worklist Problem After Setting Frontend Host and Port

    Hi all,
    I was following the EDG for SOA 11.1.1.5 and was encountering a problem with the BPM Worklist after setting the Frontend Host and Port. We have a topology that includes a load balancer that terminates SSL, two OHS instances, and two SOA instances on separate VMs. When BPM Worklist was loading, it was calling webservices internally through the load balancer, but WebLogic was expecting them as http://. It was not able to resolve the HTTPS port that was being sent from the load balancer through the 80 to 443 redirect.
    What the current EDG does not tell you, is that you have to also turn on "Enable Weblogic Plug-In" for WebLogic to use the OHS plug-in. I did it at the domain level, as all traffic will go through the load balancer. This essentially tells WebLogic that all URLs are https://
    Here is an exerpt from the SOA.out log file:
    <Sep 8, 2011 9:32:06 PM PDT> <Error> <oracle.soa.services.workflow.worklist> <BEA-000000> <<.> Service error.
    Internal Error; Service error occurs in IdentityService in method lookupUser.
    Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
    ORABPEL-10585
    Service error.
    Internal Error; Service error occurs in IdentityService in method lookupUser.
    Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
    Caused By: javax.xml.soap.SOAPException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=UTF-8
    What it is also missing, is that you should also set the SOA Infrastructure ServerURL mbean for the load balancer, to match the frontend host and port. Do this through Fusion Middleware Contol. Otherwise, you could encounter URL mismatches.
    I hope this helps someone else.
    I've asked Oracle to add this to the EDG for SOA. It's in the IDM guide, but not in any other EDGs.

    Thanks Josh. It helped me infact in 11.1.1.4 Enable Weblogic Plug-In is not required. But 11.1.1.5 I thing it is mandatory. Oracle should have a clear documentaion.

  • Settings of Mail Host and Mail Port in transaction: SCOT for the node: SMTP

    Hi,
    Could anyone please explain me the significance of Mail Host and Mail Port for the SMTP node in transaction: SCOT.
    It says Mail Server to which outbound mails can be passed.
    Can i specify my GMAIL ID in the field Mail Host and left blank the Mail Port so that the mail can be sent to my GMAIL Account.
    Please let me know if further details are required from my side.
    Thanks & Regards,
    Goutham.

    the below are the step to  configure  your  mail server  of anhy type ....
    Steps to perform in SAP:
    1. Transaction SM59 – Setup an RFC Destination for the execution of the email transfer
    a. Name: Internet Mail Gateway
    b. Connection Type: T
    c. Description: Internet Mail Gateway
    d. Activation Type: Start
    e. Explicit host:
    i. Program: c:<dir>mlunxsnd (I used c:sapmail)
    ii. Target Host: <Server_Name>
    f. (MENU) Destination -> Gateway Options
    i. Gateway Host: < Server_Name>
    ii. Gateway Service: sapgw00
    iii.<OK>
    g. SAVE
    2. Transaction SCOT – Setup a default domain for your system
    a. (MENU) Settings -> Default Domain
    i. <Default_domain> (i.e. [email protected], Domain – company.com)
    ii. This setting gives a default to any user who does not have their email address maintained in the system. <user_name>@<default_domain>
    3. Transaction SCOT – Setup of the Node for queuing the emails before transfer to Exchange
    a. Click on “INT” -> Create button
    b. Give Default name (I choose EXCHG, as this was the node type for the Exchange Connector)
    c. Give Description
    d. Assign the RFC Destination previously created (Internet Mail Gateway)
    e. Node: “Internet”
    f. Address area: *
    g. Supported address Types:
    i. All formats except the fllw
    ii. ALI, OBJ, OTF, SCR, URL
    h. Choose Ok and Save
    4. Transaction SCOT – Setup a job to execute the send process on the queue.
    a. (MENU) View -> Jobs
    i. Select the Create Button
    ii. Job Name: SAPConnect
    iii. Put Cursor on Variant: SAP&CONNECTINT *As you created an INT Node, you need to run the variant for all of the INT sending. You can select SAP&CONNECTALL, but if you are not using any other node types, you can run with SAP&CONNECTINT.
    iv. Select: Schedule Job Button
    v. Schedule job for a periodic run – approx. every 15 minutes
    vi. Save
    5. Transaction SU01 – Maintain each user’s email address
    a. Select users who require the ability to email from SAP
    b. Under the address tab, in SU01, maintain their email address.
    Steps to perform on the SAP system (operating System):
    1. Create a directory for the SAP programs.
    a. Create directory c:sapmail (Directory can be anything)
    b. Unpack the ML*.CAR file from SAP’s website
    c. Alternatively, copy the ML* files from /usr/sap/../run/ directory. This ensures version compatibility with your SAP instance.
    2. Create the directories for your “sendmail” program
    a. http://emailrelay.sourceforge.net/
    i. Download the emailrelay program
    b. Create directory c:winntspoolemailrelay
    i. Unpack the contents of the emailrelay zip into this directory
    c. create Directory c:reskit (Used to make the emailrelay program run as a service
    i. http://www.tacktech.com/display.cfm?ttid=197
    1. www.tacktech.com had some great instructions for creating a service on the NT side. (Thank you Tacktech)
    2. Use SRVANY to create the services, as documented below.
    d. Open command prompt
    e. Follow instructions for creating a service
    i. cd reskit
    ii. execute c:reskitinstsrv.exe "<SERVICE_NAME_Engine>" c:reskitsrvany.exe
    1. This service is the “engine”
    iii. execute c:reskitinstsrv.exe "<SERVICE_NAME_Send_Process>" c:reskitsrvany.exe
    1. This service is the “send process”
    iv. Modify the registry to represent the two new services
    v. View instructions for Parameters and Application Creation under the services in the registry
    vi. Command lines should be as follows:
    1. <SERVICE_NAME_Engine> - c:winntspoolemailrelayemailrelay.exe --as-server --no-daemon
    2. <SERVICE_NAME_Send_Process> - c:winntspoolemailrelayemailrelay.exe --no-daemon –-hidden --forward-to (your_mailhost):SMTP --poll 5
    vii. Start the services using service mgr.
    f. cmd prompt cd sapmail
    g. mlsomadm c:sapmailmailgw.ini (see below)
    3. Create a mailgw.ini file (This file is used by the mlunxsnd program)
    a. Open a command prompt
    b. Change to the directory c:sapmail
    c. Run command mlsomadm c:sapmailmailgw.ini
    i. This creates the parameter file for the send process.
    d. MAILGW.INI entries
    i. System Name: [SID]
    ii. Client: [000]
    iii. Username: [MAILADM] – no user required, as this is not being used for your connection
    iv. Password: [*******] – leave empty
    v. Language: [E]
    vi. Load Balancing: [N]
    vii. Hostname: [app_server_name]
    viii. System Number: [00]
    ix. Gateway Hostname: [ ] – you do not have to specify, it will use the default
    x. Gateway Service: [ ] – default will be used
    xi. Use SAP Router: [N]
    xii. Set Bcc Flag on Env..: [N]
    xiii. Trace Level <In..>: 1
    xiv. Trace file <In..> c:sapmailtracein.txt - Can be where ever you want
    xv. Sendmail Command: c:winntspoolemailrelaysubmit -–from <SENDER_ADDRESS>
    xvi. A warning may come up that says to not use the “–t” flag. IGNORE
    xvii. Codepage: [ISO-8859-1]
    xviii. Generate Notificat..: [N]
    xix. Trace Level <Out..: [1]
    xx. Trace File <Out..>: c:sapmailtraceout.txt - Can be where ever you want
    xxi. Update File c:sapmailmailgw.ini [Y]
    Steps to perform on the Microsoft Exchange System
    1. Allow the SAP systems to enter on port 25 to send mails using Microsoft Exchange (SMTP Communication)
    reward  points ....
    Girish

  • How to add Import PO condition types in PO and Scheduling Agreements

    Dear Friends,
    Pl tell me the procedure of adding Import PO condition types in PO and Scheduling agreement as these are not visible in the condition drop down list in ME21N and ME31L transaction. In pricing procedure theses conditions are available.
    Conditions are as follows:
    JCDB     IN Basic customs
    JCV1     IN CVD
    JECV     Ed.Cess on CVD
    J1CV     H.Ed.Cess on CVD
    JSDB     Ecess on BCD
    JEDB     Sec Ecess on BCD
    JADC     Addl.Customs Duty 4%
    Regards,
    ASK

    Hi
    1) please maintain tax code 0 on invoice tab
    2) check condition record for these condition through mek1/mek2
    3) check your defaulit condition in taxinn
    spro-logistic general-tax on good movement-india -basic setting-determination of excise duty-maintain excise defult
    Regards
    Kailas

  • I have just uploaded my iWeb site to a FTP host and most of the site is ok however a lot of the text has gone very strange!  How can i get it to publish the same as I designed it?  Thanks in advance....

    Please help!  I have just uploaded my iweb site to a FTP Host and most of the site is ok however a lot of the text has gone wrong!  Many thanks...

    Maybe you could let me know which hosting service you are using so that I can add them to my list of those NOT recommended for iWeb users!
    I just dealt with one today who claimed the iWeb sites were incompatible and that the first line of code should be deleted from every HTML file before upload to their server.
    They didn't even offer the information that it would be a lot easier to modify the .htaccess file never mind offer to do it for a customer.
    Nobody should expect to pay for service like this and the answer is to dump them and go to a company that gives you some value and support for your money. If the ones on this page don't meet your requirements for cost and service...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    ... search this forum for those recommended by other users. There's a long list of them.
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Tariff #, Commodity #,  HTS # and Schedule B # all are same.

    My understanding is  Tariff #, Commodity #,  HTS # and Schedule B # all are same.  Meaning, you apply and assign same 10 digit numbering scheme for the given parts.    When you import you call it HTS# or Tariff #. When you export the part # it is called  Commodity # or
    Schedule B #.
    Please correct my understanding.
    thanks
    siva

    Hi Siva,
    The Harmonized System (HS) u2013 HS Codes
    The World Customs Organization (WCO) developed the Harmonized Commodity Description and Coding System, to describe products for customs purposes. HS codes are descriptions of products specific to 2, 4, 6, 8, or 10 digit levels. The Harmonized System is recognized in 179 countries, and trade based on its classifications represents 98 percent of world trade.
    Schedule B Commodity Codes u2013 Schedule B numbers
    Schedule B commodity codes are 10-digit numeric codes used to identify products that are exported from the U.S. to other countries. They are similar to 10-digit Harmonized Tariff System (HTS) codes (the import codes) in that the groups are the same up to the 6-digit level.
    For more information on HS codes and Schedule B code listings please refer to the following resources.
    This Export America Article on Product Classification article helps to answer basic questions about HS codes and classification. It also provides resources for further assistance and links to U.S. tariff schedules.
    http://www.ita.doc.gov/exportamerica/Volume 2/April 2001/ta_asktic.htm
    U.S. International Trade Commission u2013 HS Codes Information offers information about HS codes and tariff rate information.
    http://www.usitc.gov/tata/index.htm
    The U.S. Census Bureau Foreign Trade Statistics is a U.S. government search engine of U.S. Schedule B classification codes.
    http://www.census.gov/foreign-trade/schedules/b/index.html
    Tariff and Tax information
    http://www.export.gov/logistics/country_tariff_info.asp
    Thanks,
    Prarit

  • HTTP Proxy: My grogram runs even I put a wrong proxy host and port

    I'm new to network programming, so I just use System.setProperty() for easy. But I don't know why this piece of code runs with whatever proxy I set:
    (I download a file and display in a in JTextArea, this is the ActionListener for 'Download' button)
         private class GetFileListener implements ActionListener
              public void actionPerformed(ActionEvent event)
                   if (completeRadioButton.isSelected())
                       try
                            viewFileTextArea.setText("");
                        System.setProperty("http.proxyHost", "http://123.123.123.123");
                        System.setProperty("http.proxyPort", "123");
                        System.setProperty("proxySet", "true");
                           URL url = new URL(completeURLTextField.getText());
                           BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
                           String str;
                           while ((str = in.readLine()) != null)
                               viewFileTextArea.append(str + "\n");
                           in.close();
                       catch (MalformedURLException e)
                            viewFileTextArea.setText("URL not found!");
                       catch (IOException e)
         }Please help! Thank you very much!

    This is the new version:
         private class GetFileListener implements ActionListener
              public void actionPerformed(ActionEvent event)
                   if (completeRadioButton.isSelected())
                       try
                            viewFileTextArea.setText("");
                        SocketAddress addr = new InetSocketAddress("123.123.123.123", 123);
                        Proxy proxy = new Proxy(Proxy.Type.HTTP, addr);
                        URL url = new URL(completeURLTextField.getText());
                        URLConnection conn = url.openConnection(proxy);
                           BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
                           String str;
                           while ((str = in.readLine()) != null)
                               viewFileTextArea.append(str + "\n");
                           in.close();
                       catch (MalformedURLException e)
                            viewFileTextArea.setText("URL not found!");
                       catch (IOException e)
         }but it still runs regardless of what proxy host and port I set in InetSocketAddress. Did I wrongly use Proxy class in the code above?

  • WebEx Named Host and Port Options

    Hello,
    Whats he diffrence between WEBEX NAMED HOST and WEBEX PORT OPTION. And do they requrie any hardware to function with?
    a documetation with explanations will help more.
    Regards,
    Peter.

    Named Host is where you specify which users can host a meeting. Those people are the only ones who can schedule/create meetings but they can transfer the host role to another person after the meeting has started. Ports on the other hand only limit the total meeting participants across all hosts (the host also consumes a port). You can create as many hosts as you need but total attendance at any one time cannot exceed your ports. There are also per-minute options and active host options where only an unnamed percentage of the organization is assumed to be a host and you true-up if real usage exceeds that percentage.
    It's probably best to speak with a Cisco or WebEx AM over the options. Different usage styles lend themselves to different licensing options. Here's a data sheet though:
    http://www.cisco.com/en/US/prod/collateral/ps10352/ps10362/ps10409/cisco_webex_meeting_center_on_the_gpl_and_wpl.pdf
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Dynamic Host and Port for Web Proxy

    hi,
    When I create a web proxy in JDev I supply the hostname and the port for the web service. The code is then compiled and then deployed. However I want the host and port to be dynamic (kept in a varaible) so when I move my deployment from Development to Test server I just need to change a value in a database or text file. I don't want to re-compile and deploy the code when I move servers. Is there any way to do this??
    Thanks
    Stephen

    Hi,
    not so in the WSDL file that is created. If from the client side access, then WS poxy classes allow you to do this
    Frank

Maybe you are looking for

  • Service Contracts  with billing plan not updating debit memo request in ECC

    For service contracts with billing plan, we cancel the line items and set the user status at header to "cancelled" and also set the cancellation date (under Cancellation Tab) at the header as well as item level which delete all items in the “DMR” in

  • Dynamic creation of context nodes and ui elements

    Hi, I have created context nodes dynamically. And i also want to create UI elements dynamically wherein i want to bind the attribute from the context node to it. For example i want to create a drop down by index and bind one of the attributes in the

  • What To Do With An Encrypted HD With No Password!!

    Hello Everyone.  A couple weeks ago I encrypted an external hard drive from the mac desktop by right clicking to encrypt. I put a password and then decided to see what happened when I press that little key symbol beside the password (Im Curious Georg

  • Spry Alignment and Positioning Problem in Internet Explorer 6 and 7

    I am designing a website at http://atoment.007gb.com, and neither me, nor my partner can figure out why the Spry Horizontal Menu Bar is loading the way it is in Internet Explorer.  We are doing this for a school project, and eye appeal and workabilit

  • Passing values tofield catalog

    Hi all,    I have dynamically created a structure based on my requirement and assigned to field symbols as well. But i dont know how to assign the values to the column fields of that Field Symbols. Consider the dynamic structure of the field symbol i