Question about soap url

hi all,
In SOAP sender communication channel, the default interface and namespace are defined there. But now I need to use one CC for two interfaces. I followed this how to guide
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
I add some parameter "Interface=xxxx" to the url. But it dosen't work. When I send a message with another interface, the XI still uses the default interface.
What could be wrong? Any idea?
Thanks!
Regards,
Hui

Hi,
First of all refer this thread:
Re: Setting interface name dynamically from client for SOAP Adapter...
You need to:
1) in SOAP sender CC set the following flags:
- Use Encoded Headers
-  Use Query String
2) prepare URL according to the following:
http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>&version=3.0&Interface=http%3A
%2F%2Fsap.com%2Ftest%5ETest
Then you will be able to use one SAOP sender communication channel to call two or more interfaces specified in the URL
Regards,
Jakub

Similar Messages

  • Question about (HttpURLConnection)url.openConnection();

    Greetings Java Experts.
    I have a question about the following code snippet.
    As you can see below this snippet will establish a connection.
    Question how long will it allow for the connection to be established - for example if the web traffic is taking an unusually long period of time can I set it to a higher value ?
    connection = (HttpURLConnection)url.openConnection();
         HttpURLConnection.setFollowRedirects(true);
         connection.setInstanceFollowRedirects(true);
         connection.setUseCaches(false);
    stev

    forever, unless you set SO_TIMEOUT

  • Question about mangled URLs

    Hello,
    I have a load testing app that I'm adapting to work with BSPs and I have a question about the mangled URLs that are used.
    If I record a URL that is mangled, can I save that URL and reuse it during the playback of a session?  From what I understand it includes things like theme, language and such.  But obviously if it includes a session  ID, it won't work.
    Session ID seems to be stored in a cookie.  Can it also be stored in a mangled URL and if so, why the duplication?
    Any help greatly appreciated!
    Thanks!!!

    Those parameters are there for a reason; to pass along information to the page so that the dynamic content can be manipulated based on them. So your question really is: "Can I pass along this information to the page in another way than URL parameters?"
    There are always options, but most of them require work. For example:
    1) use a POST to generate the page
    In a POST request the parameters are part of the request body, so you don't see them. The trouble is that a POST request cannot be created just like that; it requires some sort of form submission behind it. This can be facilitated with javascript (output a form and let the link submit it through an onclick handler), but it is far from a clean solution.
    Added pain: form submits behave badly in combination with the browser back/forward buttons. Also, bookmarking cannot work like this.
    2) "web 2.0". Using Ajax it is possible to do page updates in the background, so you could do the request (with parameters) asynchronously and update the page accordingly.
    Added pain: again back/forward buttons and bookmarking will be broken unless you take very specific steps (that I don't know of myself).
    3) conversation scope technology. Some APIs provide a so called "conversation" scope, which allows you to hold on to certain values across requests until you end the conversation. You could use this to push certain values into the conversation and reuse them in different pages without having to pass along the values as request parameters or in a form. Even without a conversation scope, you could simply abuse the session for this purpose.
    I hope this has given you some idea how to go about implementing your requirement.

  • Question about Facebook URL

    Hey everyone, new here so Im probably doing this completely wrong but please bare with me! I was randomly directed here whilst trying to find out if theres a way of changing my Facebook URL (its already been changed once - not by me)
    I have no idea why the adobe forum section would be interested in that, but the link provided sent me here. I also had no idea what thread to post this in either, so I apologise in advance for probably making a mistake.
    Any help would be greatly appreciated. Thanks guys

    As has been mentioned, this forum is for discussion of the Adobe fora.
    However, very near-by, the Lounge might get some comments on your question. It's for broad-source discussions, not about things Adobe-specific. Lot of people there know FB, so might have some useful thoughts for you.
    Good luck,
    Hunt

  • Question about friendly urls?

    greetings all
    i want to ask about if the following is possible:
    i have a link that look like this:
    http://somewebsite.com/page?param1=value1&param2=value2&param3=value3
    is it possible to make the link that appears in the browser like
    http://something.com/page ,and the parameter values is still there in the browser
    something like the urlrewrite or a filter or somehow i don't know?
    any ideas if it's possible?

    Those parameters are there for a reason; to pass along information to the page so that the dynamic content can be manipulated based on them. So your question really is: "Can I pass along this information to the page in another way than URL parameters?"
    There are always options, but most of them require work. For example:
    1) use a POST to generate the page
    In a POST request the parameters are part of the request body, so you don't see them. The trouble is that a POST request cannot be created just like that; it requires some sort of form submission behind it. This can be facilitated with javascript (output a form and let the link submit it through an onclick handler), but it is far from a clean solution.
    Added pain: form submits behave badly in combination with the browser back/forward buttons. Also, bookmarking cannot work like this.
    2) "web 2.0". Using Ajax it is possible to do page updates in the background, so you could do the request (with parameters) asynchronously and update the page accordingly.
    Added pain: again back/forward buttons and bookmarking will be broken unless you take very specific steps (that I don't know of myself).
    3) conversation scope technology. Some APIs provide a so called "conversation" scope, which allows you to hold on to certain values across requests until you end the conversation. You could use this to push certain values into the conversation and reuse them in different pages without having to pass along the values as request parameters or in a form. Even without a conversation scope, you could simply abuse the session for this purpose.
    I hope this has given you some idea how to go about implementing your requirement.

  • Newbie question about deployment URL

    I created a web service using Web Logic 9's service gen. I then successfully deployed it. When I tried calling it, I get a 404. I'm not sure I'm calling the correct URL and failing, or if I'm not even calling the correct URL.
    My URL is
    localhost:7001/<contextURI>/<serviceURI>?WSDL (values in angle brackets taken from the service gen).
    I always seem to have this trouble when deploying... knowing what the URL should be.
    Any suggestions?

    Answering my own question... whilst I deployed the web service, I had not deployed the context. Doing so sorted out my problem.

  • Question about SOAP function for CDR

    The CDROnDemand wsdl (https://<ip>:8443/CDRonDemandService/services/CDRonDemand?wsdl) uses two functions 1) get_file_list and 2)get_file.  I'm trying to render a file list onto a php page but can't seem to.  For get_file_list, there are three parameters that need to be specified 1) Start Time, 2) End Time, and 3) Where to get files from.  The sample code from Cisco's Serviceability XML Programming document states
    The get_file_list API expects the following parameters:
    • Start Time—Mandatory parameter that specifies the starting time for the search interval. The
    format is a string: YYYYMMDDHHMM. No default value exists.
    • End Time—Mandatory parameter that specifies the ending time for the search interval. The format
    is a string: YYYYMMDDHHMM. No default value exists.
    •Where to get the files from— Mandatory parameter that tells the servlet whether to include those
    files that were successfully sent to the third-party billing servers. The format is boolean.
    – True = Include both files that were sent successfully and files that failed to be sent.
    – False = Send only the files that failed to be sent. Do not include files that were sent successfully.
    I am trying to write this in php but do not seem to be having luck.
    $in0 = '201401011000';
    $in1 = '201401011059';
    $in2 = 'true';
    try
            $soapClient = new SoapClient("https://<ip>:8443/CDRonDemandService/services/CDRonDemand?wsdl",
    array("login" => "XXXX","password"=> "XXXX","trace" => true));
            echo '<pre>';
            print_r($soapClient->__getFunctions());
            $response = $soapClient->__get_file_list($in0, $in1, $in2);
            echo 'Connected!';
            print_r($response);
            echo '</pre>';
    Has anyone here done this in php before?  I would appreciate any help.  Thanks!

    Hi,
    First of all refer this thread:
    Re: Setting interface name dynamically from client for SOAP Adapter...
    You need to:
    1) in SOAP sender CC set the following flags:
    - Use Encoded Headers
    -  Use Query String
    2) prepare URL according to the following:
    http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>&version=3.0&Interface=http%3A
    %2F%2Fsap.com%2Ftest%5ETest
    Then you will be able to use one SAOP sender communication channel to call two or more interfaces specified in the URL
    Regards,
    Jakub

  • Question About Homepage URL

    Hi,
    I have 2 questions
    1.I wanted to know if it was possible to do this. So this is my first pages
    http://www.clementhernandez.com/Clement_Hernandez.html
    Would it be possible for my first page to be under this URL
    http://www.clementhernandez.com/
    2. Why do all the URL pages have to end .HTML
    Example: http://www.clementhernandez.com/News.html
    why cant it be like
    http://www.clementhernandez.com/News
    I have seen all these 2 things in other websites.
    THANK YOU!
    Clement

    ok, first see if name you file index in iWeb then uploading it will allow you to go straight to yoursite.com instead of yoursite.com/yourfirstpage.html if it
    If that works find your HTML file, it will be located both here and here. Depending on where you choose to get the file from you may need to download it. After downloading it right-click the file and open it in your HTML file editor (like Coda or Espresso), if you don't have an HTML file editor Dashcode will work just fine. change the text between <title>index</title> to whatever you like and your good to go!
    Let me know if you have any questions or if that doesn't work
    - Zyber

  • The question about SRM URL

    Hi,My friends:
        1、when I click 'SHOP' in the homepage,the system displays "404   Not Found,The requested resource does not exist." I have configed the table"TWPURLSVR"and publish all services (program:W3_PUBLISH_SERVICES),Why?
        2、When I click 'Test service' on 'bbpsc01'with transaction"SICF",the URL display"www.hostname:port/sap/bc/gui/sap/its/bbpsc01?sap-client=700",I want to know how I can change the URL?
    Best  Regards!

    Hello,
    Use the report SIAC_PUBLISH_ALL_INTERNAL to publish the templates.
    With transaction SMICM, goto to the services and check that the entry in  table twpurlsvr corresponds to the http service.
    Rgds,
    Pierre

  • Question about WEBAPI URL commands

    Hi,
    In Visual Composer I'm making a drilldown from table 1 (output from  BW query 1) to table 2 (output BW query 2, but same filters as query 1). In my first table I have many keyfigures, in my 2nd table I just want to display that keyfigure with more detail based on the selection from query 1.
    Since I can't filter on keyfigure level in VC itself I need one WEBAPI (url command) to do one additional filtering since I don't want to show all keyfigures in query 2 / table 2. I have been testing this first with supplying the WEBAPI string with the fixed (hardcoded) values and this works fine. It looks as follows :
    'FILTER_IOBJNM=44RHE9MINFGXEBEXOI7S7UKE6;FILTER_VALUE=44VSUXQJNO2MG4CLOAF5M503I
    The first string is the name of my keyfigure structure in my query, the 2nd string is the technical name of the keyfigure on which I want to restrict. Like it said, supplying the command url values hardcoded words so I thought i was finished...
    Now I wanted to pass the right selected value from table 1 via the VC in the FILTER_VALUE field.
    It looks as follows now :
    'FILTER_IOBJNM=44RHE9MINFGXEBEXOI7S7UKE6;FILTER_VALUE=@KF_key'
    But this doesn't seem to work although @KF_key contains the right value. KF_KEY should give the right technical keyfigure name.
    Am I using the right syntax in the FILTER_VALUE part ? I have seen some topics on this forum where people also use the & symbol in some parts but I don't get it up and running
    thanks
    Message was edited by:
            Double U

    Suddenly it works.
    The correct syntax :
    'FILTER_IOBJNM=44RHE9MINFGXEBEXOI7S7UKE6;FILTER_VALUE=<b>'&@KF_key&''</b>

  • Questions about Digital Wireless Headphones CB2

    Hi everyone,
    I have a question about the [url="http://nl.europe.creative.com/products/product.asp?category=437&subcategory=438&product=6 44" target=_self>Digital Wireless Headphones CB2530[/url] I've never seen it in a shop here in Holland, so I thought I'll pose my questions here.
    I'm interested in buying one for my Creative Zen Xtra MP3 player.
    My questions are:
    - if it's possible to connect it to the player?
    - can I use it while traveling (can i hear something if I put the player in my bag)?
    - is it a good idea to buy this headphone? (i already have a great headphone by Philips, but am looking for wireless)
    I also have a question concerning a remote control. Is there one for the Creative Zen Xtra?
    I hope so...
    Thanks in advance.
    Greetings,
    Eline

    Eline,
    Yes, you can connect the wireless headphone to the player. Infact you can connect it to any stereo devices with the audio transmitter as long it's using a 3.5mm minijack. It shouldn't be a problem for the audio even if the player is inside the bag. It works about the same way as a mobilephone to a Bluetooth headset. Unfortunately, the Zen Xtra player does not support remote control feature.
    Jason

  • Question about parsing parameters through url

    Hello,
    I have some questions about parsing parameters through a url.
    What I want to build is a page with some text fields and maybe one drop down list. After user enter values into the text fields and select one option in the drop down list, then press the submit button, a report will be opened, which according to the parameters parsed.
    These were what I have done:
    1. create a blank page and a region
    2. create one text field in the region, the name is FIRSTNAME
    3. create one hidden items FN, of which the source value is item FIRSTNAME
    4. create a process. the type is "Set Preference to value of Item" which set PN with the value of FIRSTNAME when the page submitted
    5. create a button "Submit Page and Redirect to URL", in the URL I entered:
    http://dianti.local.net:9704/xmlpserver/~shichao/GuestFolder/orderdetail/orderdetail.xdo?_xpf=&_xpt=0&_xdo=%2F~shichao%2FGuestFolder%2Forderdetail%2Forderdetail.xdo&FIRSTNAME=&FN.&_xt=orderdetail&_xf=pdf&_xmode=4
    My problem is: it seems working for the first time after I entered a value in the FIRSTNAME text field and press submit button, but when I come back to the page (the report was opened in the same page, wondering how to open it in a new window?), the value is saved in the text field and after I enter another value and submit the page again. It still parse the old value to the report. The value of the parameter doesn't change.
    What's the reason? and is this the correct way to build what I want?
    Thank you in advance.
    Best Regards,
    Shichao

    Hi Scott,
    Thank you again for the help.
    But this didn't answer my question exactly. I have tested what you created and the problem remains. When I first time enter a value in the text field and press the button, it goes to page 2, but the parameter didn't parsed. When I go back to page 1 and then click the button again. After that I can see the value I parsed on page 2. Same thing happens when I try to enter a new value. So which means the button has to been pressed twice to parse the parameter.
    Due to the limitation of my knowledge of Apex. I don't know how to fix it. Could you please help me again and hope you understand what the problem is. Thank you very much.
    Shichao

  • Question about autodiscover in case of multiple bound namespace

    Hi Experts,
    I have a question about the autodiscover behaviour. Let's assume we have the below infrastructure:
    SiteA :
    MBX-Server-SiteA : Member of a DAG
    CAS-Server-SiteA : outlook anywhere url = siteA.domain.com
    SiteB :
    MBX-Server-SiteB : Member of a DAG
    CAS-Server-SiteB-1 : outlook anywhere url = siteB-1.domain.com
    CAS-Server-SiteB-2: outlook anywhere url = siteB-2.domain.com
    We have DB-1 and DB-2 that have copies in both MBX servers.
    My question is how does exchange select the access URLs to return in the autodiscover process? I know that it depends on where the mailbox is hosted but can't find details about the process in the technet articles.
    Thanks.

    There's quite a few details that are involved in the Autodiscover process. First of all - probably the most important thing is that there are 2 stages to the whole process.
    In the first stage, the client is simply concerned with getting the address of a CAS server that will help it further. We'll keep things simple and assume your scenario where the client is located inside the network and is domain-joined. The details of the
    LDAP query are detailed in
    this link. (At the time I was investigating this I've actually went ahead and ran the queries using the ldp.exe client against the Configuration partition of the respective AD domain - it's worth seeing the actual responses.) An interesting trick here is
    the 'keywords' attribute that's stamped on those SCP entries. The reason behind it is that you don't want a client located in a site to go half across the globe in order to connect to a CAS server, when there's one available in its own site. One simple way
    to get the 'keywords' attribute stamped is through the Set-ClientAccessServer cmdlet, using the -AutodiscoverSiteScope parameter. In your example, you'd probably want to run it against the CAS server in Site A and specify the name of the corresponding AD site
    ('SiteA') and correspondingly against the 2 CAS servers in Site B (using 'SiteB'). Once the client has got the response to his query, it will attempt to select one server that's handling the site he's in (essentially it will filter the results based on 'keywords'
    -contains <client-site>). Now that we got our endpoint we can go to stage 2.
    In stage 2, the client will actually use EWS in order to query the Autodiscover service itself running on our target server. There are 2 possible interfaces of accessing the Autodiscover service: POX (Plain Old XML) and SOAP. POX will be targeting the ../Autodiscover.xml
    URLS, while the SOAP one will be using ../Autodiscover.svc URLs. Details about this including some hardcoded parts are
    here. What happens next is detailed in point 3, section 2.1 The Autodiscover Process
    here. This last link is the key to the whole process:
    "It provides a list of CAS that has AutodiscoverSiteScope information set for the
    Associated AD site of the Database where the client Mailbox is located."
    In other words, the CAS is smart enough to return the URLs belonging to a CAS server in the AD site where the client's mailbox' database is active.
    My advice is to test this on your scenario. Tests can be done here first-hand: the Outlook's tray icon Test E-Mail AutoConfiguration can be used or alternatively - if you want to see the details in the communication - SoapUI
    for the SOAP access method, for POX there's an extension called 'Postman for Chrome' that can be used. I've used all these in my tests back when I was fighting conflicting results from the articles around the web about Autodiscover.
    That's a long way of saying we get the AutoD URL of a CAS server closest to the workstation, which then provides the configuration to use which are the the URLs closest to the mailbox  :)
    By all means look at the SOAP response, but Outlook will only use POX.  Lync does SOAP along with other 3rd party apps.
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Re: Questions about Plan structure

    Reply-To: "Duncan Kinnear" <[email protected]>
    Q. if you have an Employee class with related EmployeeSubordinate and
    EmployeeSalaryHistory classes, should these all be in the same plan?
    A It is better to have them in the same plan.It depends on the design
    you have
    Q Why should the Managers be separated from their business classes?
    A Managers are usually service objects which might require different
    resources.
    These managers when deployed might be required by several other
    applications.
    Seperating them as a different plan will help in just using one
    installed partition to be
    Used by different applications (refer about Reference Partition)
    Q If you have the Database managers separate, what scope does each DB
    manager cover?
    A It is better to have the DB managers in user scope.
    It depends on the numbers of users, u have for the system.
    Since u are talking about 100 tables. It's a huge system.
    It also depends on the user licenses u have for the backend.
    Take care that u use proper load balancing of DB Managers for the
    system.
    Krishna CVSR
    GoldStone Softech Inc
    >
    Hi there,
    We are in the middle of designing the structure of a new system.
    I have read/heard that it is best to break down the plans into the
    following categories:
    Business Classes
    Managers/Services
    Clients
    I have a few questions about this structure:
    Should related business classes be grouped together in Plans? E.g. if
    you have an Employee class with related EmployeeSubordinate and
    EmployeeSalaryHistory classes, should these all be in the same plan?
    Why should the Managers be separated from their business classes?
    E.g. if there is an EmployeeMgr service which deals with anything to do
    with the Employee business class, why separate them in different
    plans? If you need the manager to access the class, you will always
    need both.
    Some of the Forte documentation talks about "Policy" managers and
    "Database" managers. How do the functions of these managers differ
    for a simple CRUD (Create Read Update Delete) class?
    If you have the Database managers separate, what scope does each
    DB manager cover? I.e. do you have one for the entire database (over
    100 tables in our case), or do you break it down by sub-system?
    Thanks in advance for any answers.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email: [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10 years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Reply-To: "Duncan Kinnear" <[email protected]>
    Q. if you have an Employee class with related EmployeeSubordinate and
    EmployeeSalaryHistory classes, should these all be in the same plan?
    A It is better to have them in the same plan.It depends on the design
    you have
    Q Why should the Managers be separated from their business classes?
    A Managers are usually service objects which might require different
    resources.
    These managers when deployed might be required by several other
    applications.
    Seperating them as a different plan will help in just using one
    installed partition to be
    Used by different applications (refer about Reference Partition)
    Q If you have the Database managers separate, what scope does each DB
    manager cover?
    A It is better to have the DB managers in user scope.
    It depends on the numbers of users, u have for the system.
    Since u are talking about 100 tables. It's a huge system.
    It also depends on the user licenses u have for the backend.
    Take care that u use proper load balancing of DB Managers for the
    system.
    Krishna CVSR
    GoldStone Softech Inc
    >
    Hi there,
    We are in the middle of designing the structure of a new system.
    I have read/heard that it is best to break down the plans into the
    following categories:
    Business Classes
    Managers/Services
    Clients
    I have a few questions about this structure:
    Should related business classes be grouped together in Plans? E.g. if
    you have an Employee class with related EmployeeSubordinate and
    EmployeeSalaryHistory classes, should these all be in the same plan?
    Why should the Managers be separated from their business classes?
    E.g. if there is an EmployeeMgr service which deals with anything to do
    with the Employee business class, why separate them in different
    plans? If you need the manager to access the class, you will always
    need both.
    Some of the Forte documentation talks about "Policy" managers and
    "Database" managers. How do the functions of these managers differ
    for a simple CRUD (Create Read Update Delete) class?
    If you have the Database managers separate, what scope does each
    DB manager cover? I.e. do you have one for the entire database (over
    100 tables in our case), or do you break it down by sub-system?
    Thanks in advance for any answers.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email: [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10 years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Few questions about apex + epg and cookie blocked by IE6

    Hi,
    I would like to ask a few questions about apex and epg.
    I have already installed and configured apex 3.2 on oracle 10g (on my localhost - computer name 'chen_rong', ip address -192.168.88.175 ), and enable anonymous access xdb http server.
    now,
    1. I can access 'http://chen_rong' , 'http://localhost' , 'http://192.168.88.175' without input username / password for realm 'XDB' in IE6;
    2. I can access 'http://localhost/apex/apex_admin' , 'http://192.168.88.175/apex/apex_admin' , and I can be redirected into apex administation page after input admin/<my apex admin password> for realm 'APEX' in IE6;
    3. I can access 'http://chen_rong/apex/apex_admin' in IE6, but after input admin/password , I can not be redirected into administation page, because the cookie was blocked by IE6.
    then, the first question is :
    Q1: What is the difference among 'http://chen_rong' , 'http://localhost' , 'http://192.168.88.175' ? I have already include site 'chen_rong' into my trusted stes! why the cookie was blocked by IE6. I have already tried firefox and google browser, both of them were ok for 'chen_rong', no cookie blocked from site 'chen_rong'!
    and,
    1. I have tried to use the script in attachment to test http authentication and also want to catch the cookie by utl_http .
    2. please review the script for me.
    3. I did:
    SQL> exec show_url('http://localhost/apex/apex_admin/','ADMIN','Passw0rd');
    HTTP response status code: 401
    HTTP response reason phrase: Unauthorized
    Please supplied the required Basic authentication username/password for realm XDB for the Web page.
    Web page http://localhost/apex/apex_admin/ is protected.
    MS-Author-Via: DAV
    DAV: 1,2,<http://www.oracle.com/xdb/webdav/props>
    Server: Oracle XML DB/Oracle Database
    WWW-Authenticate: Basic realm="XDB"
    Date: Tue, 04 Aug 2009 02:25:15 GMT
    Content-Type: text/html; charset=GBK
    Content-Length: 147
    ======================================
    PL/SQL procedure successfully completed
    4. I also did :
    SQL> exec show_url('http://localhost/apex/apex_admin/','ANONYMOUS','ANONYMOUS');
    HTTP response status code: 500
    HTTP response reason phrase: Internal Server Error
    Check if the Web site is up.
    PL/SQL procedure successfully completed
    SQL> exec show_url('http://localhost/apex/apex_admin/','SYSTEM','apexsite');
    HTTP response status code: 401
    HTTP response reason phrase: Unauthorized
    Please supplied the required Basic authentication username/password for realm APEX for the Web page.
    Web page http://localhost/apex/apex_admin/ is protected.
    Content-Type: text/html
    Content-Length: 147
    WWW-Authenticate: Basic realm="APEX"
    ======================================
    PL/SQL procedure successfully completed
    my second questions is :
    Q2: After I entered into realm 'XDB', I still need went into realm'APEX'. how could I change the script show_url to accomplish these two tasks and successfully get the cookie from site.
    the show_url script is as following:
    CREATE OR REPLACE PROCEDURE show_url
    (url IN VARCHAR2,
    username IN VARCHAR2 DEFAULT NULL,
    password IN VARCHAR2 DEFAULT NULL)
    AS
    req UTL_HTTP.REQ;
    resp UTL_HTTP.RESP;
    name VARCHAR2(256);
    value VARCHAR2(1024);
    data VARCHAR2(255);
    my_scheme VARCHAR2(256);
    my_realm VARCHAR2(256);
    my_proxy BOOLEAN;
    cookies UTL_HTTP.COOKIE_TABLE;
    secure VARCHAR2(1);
    BEGIN
    -- When going through a firewall, pass requests through this host.
    -- Specify sites inside the firewall that don't need the proxy host.
    -- UTL_HTTP.SET_PROXY('proxy.example.com', 'corp.example.com');
    -- Ask UTL_HTTP not to raise an exception for 4xx and 5xx status codes,
    -- rather than just returning the text of the error page.
    UTL_HTTP.SET_RESPONSE_ERROR_CHECK(FALSE);
    -- Begin retrieving this Web page.
    req := UTL_HTTP.BEGIN_REQUEST(url);
    -- Identify yourself.
    -- Some sites serve special pages for particular browsers.
    UTL_HTTP.SET_HEADER(req, 'User-Agent', 'Mozilla/4.0');
    -- Specify user ID and password for pages that require them.
    IF (username IS NOT NULL) THEN
    UTL_HTTP.SET_AUTHENTICATION(req, username, password, 'Basic', false);
    END IF;
    -- Start receiving the HTML text.
    resp := UTL_HTTP.GET_RESPONSE(req);
    -- Show status codes and reason phrase of response.
    DBMS_OUTPUT.PUT_LINE('HTTP response status code: ' || resp.status_code);
    DBMS_OUTPUT.PUT_LINE
    ('HTTP response reason phrase: ' || resp.reason_phrase);
    -- Look for client-side error and report it.
    IF (resp.status_code >= 400) AND (resp.status_code <= 499) THEN
    -- Detect whether page is password protected
    -- and you didn't supply the right authorization.
    IF (resp.status_code = UTL_HTTP.HTTP_UNAUTHORIZED) THEN
    UTL_HTTP.GET_AUTHENTICATION(resp, my_scheme, my_realm, my_proxy);
    IF (my_proxy) THEN
    DBMS_OUTPUT.PUT_LINE('Web proxy server is protected.');
    DBMS_OUTPUT.PUT('Please supply the required ' || my_scheme ||
    ' authentication username/password for realm ' || my_realm ||
    ' for the proxy server.');
    ELSE
    DBMS_OUTPUT.PUT_LINE('Please supplied the required ' || my_scheme ||
    ' authentication username/password for realm ' || my_realm ||
    ' for the Web page.');
    DBMS_OUTPUT.PUT_LINE('Web page ' || url || ' is protected.');
    END IF;
    ELSE
    DBMS_OUTPUT.PUT_LINE('Check the URL.');
    END IF;
    -- UTL_HTTP.END_RESPONSE(resp);
    -- RETURN;
    -- Look for server-side error and report it.
    ELSIF (resp.status_code >= 500) AND (resp.status_code <= 599) THEN
    DBMS_OUTPUT.PUT_LINE('Check if the Web site is up.');
    UTL_HTTP.END_RESPONSE(resp);
    RETURN;
    END IF;
    -- HTTP header lines contain information about cookies, character sets,
    -- and other data that client and server can use to customize each
    -- session.
    FOR i IN 1..UTL_HTTP.GET_HEADER_COUNT(resp) LOOP
    UTL_HTTP.GET_HEADER(resp, i, name, value);
    DBMS_OUTPUT.PUT_LINE(name || ': ' || value);
    END LOOP;
    -- Read lines until none are left and an exception is raised.
    --LOOP
    -- UTL_HTTP.READ_LINE(resp, value);
    -- DBMS_OUTPUT.PUT_LINE(value);
    --END LOOP;
    UTL_HTTP.GET_COOKIES(cookies);
    dbms_output.put_line('======================================');
    FOR i in 1..cookies.count LOOP
    IF (cookies(i).secure) THEN
    secure := 'Y';
    ELSE
    secure := 'N';
    END IF;
    -- INSERT INTO my_cookies
    -- VALUES (my_session_id, cookies(i).name, cookies(i).value,
    -- cookies(i).domain,
    -- cookies(i).expire, cookies(i).path, secure, cookies(i).version);
    dbms_output.put_line('site:'||url);
    dbms_output.put_line('cookies:');
    dbms_output.put_line('name:'||cookies(i).name);
    dbms_output.put_line('value:'||cookies(i).value);
    dbms_output.put_line('domain:'||cookies(i).domain);
    dbms_output.put_line('expire:'||cookies(i).expire);
    dbms_output.put_line('path:'||cookies(i).path);
    dbms_output.put_line('secure:'||secure);
    dbms_output.put_line('version:'||cookies(i).version);
    END LOOP;
    UTL_HTTP.END_RESPONSE(resp);
    EXCEPTION
    WHEN UTL_HTTP.END_OF_BODY THEN
    UTL_HTTP.END_RESPONSE(resp);
    END;
    /

    I use oracle database enterprise edtion 10.2.0.3. I have already figured out the epg on 10.2.0.3 to support apex 3.2.
    And as I described above, the apex site works fine for ip address , and localhost. but the cookie will be blocked by IE6, if I want to access the site by 'http://computername:port/apex/apex_admin'. This problem does not occured in firefox and google browser. Could someone give me answer?

Maybe you are looking for

  • Why can't I get the itunes store to open?

    Why won't the itunes store open?  It appears briefly, then the screen goes white. I can still access my music, see my gift card balance, and play my music.  I just can't buy anything new, and it's making me CRAZY.  I've tried everything...please HELP

  • The Operation could not be completed. No other information is available about the problem.

    MAC OSX 10.8.5 Processor 2.7 GHz Memory 4GB1333 MHz DDR3 Logic Pro 9.1.8 (1700.67) 32 BIT "The Operation could not be completed. No other information is available about the problem." Uploaded on google drive a series of project files. downloaded them

  • Oracle SQL Developer installation and Java

    I finished installing Oracle Client without problems. Opened up SQL Developer for the first time and he asks me for the full Java.exe pathname. That's fine, but when I input the java.exe I just get asked again, no errors. Repeat until infinity. I ins

  • CS6 install files

    I have cs6 on my windows xp 32 bit PC.  I have to move up to windows 7 and would prefer 64 bit.  Will my CS6 install files work on a 64 bit OS?

  • Question mark is now a green circle

    Hi all, I am so confused. Somebody started appearing as a question mark, which meant to me that they had unfriended me and possibly also blocked me. I sent them friendship requests and maybe they didnt even see them, as they had unfriended and blocke