401 URL status

Hi,
when i am creating java proxy classes form .NET web service using the third party tool apache SOAP Axis tool, i am getting the error as
java.io.IOException: Server returned HTTP response code: 401 for URL: http://10.113.10.78:8080/OracleSPS/Oracle
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)
at java.net.URL.openStream(URL.java:960)
at org.apache.crimson.parser.InputEntity.init(InputEntity.java:209)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:471)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Thread.java:536)
'password' is not recognized as an internal or external command,
operable program or batch file.
i already set the classpath of the reaquired jar files before run the command. and i create the user where i have the web service. i can view that web service with my user. but still it is giving the error. so
could you plz help me, its very urgent for my progress...
i used the command to generate the proxy is
java org.apache.axis.wsdl.WSDL2Java <web service>?WSDL
Thanks

Hi Pradeep,
Have you configured according to below configuration help? check the user have role which mentioned below.
Regards,
Praveen.

Similar Messages

  • Getting 401 URL

    Hi,
    when i am creating the java proxy from the .NET web service using the third party tool apche SOAP Axis tool, and i used the command for this is
    java org.apache.axis.wsdl.WSDL2Java <web service> then
    its giving the error as
    java.io.IOException: Server returned HTTP response code: 401 for URL: http://10.113.10.78:8080/OracleSPS/OracleSPS.asmx?WS
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)
    at java.net.URL.openStream(URL.java:960)
    at org.apache.crimson.parser.InputEntity.init(InputEntity.java:209)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:471)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
    at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
    at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)
    at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
    at java.lang.Thread.run(Thread.java:536)
    i can view the web service with my username and password. and also i set the all jars in classpath. i am not under standing why should getting this error,
    so please help me, its very urgent to my progress...
    Thanks

    Sorry, I have no answer for this, but I am getting a similar problem and would really like an answer. It seems that when communicating between servlets, there needs to be some sort of security setting that will allow one to communicate via http to the other.
    Surely someone has encountered this and knows what needs to be done?

  • URL status

    I have recently noticed an odd issue with the status (blue bar) in my URL line, it never really fully loads or disappears. I am using Safari 3.0.4 on a G3 Powerbook running OS 10.4.11. Pages seem to work properly but wondering why this is occurring. Any insight?????
    Thanks,Steve.

    Hi Steve,
    OK, I've just done a quick download of a page on my iMac G5, and the same thing happened.
    Personally, I don't find it an issue when the page uploads fully before the blue bar completes it's cycle.
    You should only be concerned if you see the rotating beach ball of death. When that spins, then suspect trouble.
    Only the other day, I was flitting back and forth through the pages of a Bank's website, and I kept getting messages that repeated page requests ( use of the back and forward arrows) caused the server to cough up a message on the lines of 'Could not access the page' with an explanation that repeated page searches may have caused the 'back log'.

  • Getting "401 Unauthorized"  status code while calling SSRS 2008

    Hi,
    I am getting this response while calling report server service hosted in other machine where as i got success response if i call SSRS sever hosted in my local:
    This is the code i am using:
    <cfset str = "/test/Report1"/>
    <cfsavecontent variable="soapvar" >
        <cfoutput>
            <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <soap:Body>
                <DeleteItem xmlns="http://www.microsoft.com/sql/ReportingServer">
                    <item>#str#</item>
                </DeleteItem>
            </soap:Body>
        </soap:Envelope>
        </cfoutput>
    </cfsavecontent>
    <cfhttp
        url="http://192.168.10.251/reportserver/reportexecution2005.asmx"
        method="post"
        result="httpResponse"
        username="Domain_name\username"
        password="password"
        getasbinary="yes">
        <cfhttpparam
            type="xml"
            value="#trim( soapvar )#"/>
    </cfhttp>   
    <cfdump var="#httpResponse#">
    Same code is working fine whem i call SSRS server in my local

    Hi,
    I am getting this response while calling report server service hosted in other machine where as i got success response if i call SSRS sever hosted in my local:
    This is the code i am using:
    <cfset str = "/test/Report1"/>
    <cfsavecontent variable="soapvar" >
        <cfoutput>
            <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <soap:Body>
                <DeleteItem xmlns="http://www.microsoft.com/sql/ReportingServer">
                    <item>#str#</item>
                </DeleteItem>
            </soap:Body>
        </soap:Envelope>
        </cfoutput>
    </cfsavecontent>
    <cfhttp
        url="http://192.168.10.251/reportserver/reportexecution2005.asmx"
        method="post"
        result="httpResponse"
        username="Domain_name\username"
        password="password"
        getasbinary="yes">
        <cfhttpparam
            type="xml"
            value="#trim( soapvar )#"/>
    </cfhttp>   
    <cfdump var="#httpResponse#">
    Same code is working fine whem i call SSRS server in my local

  • HTTP Status 401. This request requires HTTP  authentication ()

    Hi!
    Could you please help me with the following problem: i go to Infoview login page using the link: http://mostro-bo-web:8082/InfoViewApp/logon.jsp. When i use the IE there is no problem, i go to login page, but when i use Mozilla browser i have the following error:
    HTTP Status 401 - type Status report
    description This request requires HTTP authentication ().
    Apache Tomcat/5.5.20
    We use SSO for Infoview for domen users, but when i go to login page (http://mostro-bo-web:8082/InfoViewApp/logon.jsp) i'm not in domain (my computer isn't in domain) and when i use IE i go to login page of InfoView, but when i use Firefox i have error above.
    What's the problem?
    Thanks, Viktor

    Hi,
    try the following URL:
    http://YOUR_BO_SERVER:8080/InfoViewApp/logonNoSso.jsp
    Check also SAP Note 1326266 and 1263764
    Regards
    -Seb.

  • EWSeditor:401

    Hi
    I have Exchange 2010
    I am trying to use EWSeditor to connect to my EWS in my exchange but i failed with error 401 as the below
    kindly i need suggestion and work around
    12:06:51.380 |23915,,,CsEws,10,[CsEws/CsEwsClient.cpp:527]: HTTP request failed with error: Bad response from server, HTTP code returned: 401, HTTP status code: 401, for ews URL: https://10.0.0.13/EWS/Exchange.ASMX, verb: POST
    12:06:51.380 |23915,,,CsEws,10,FAILED HTTP Request: 
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    <soap:Header>
    <t:RequestServerVersion Version="Exchange2007_SP1"/>
    <t:ExchangeImpersonation>
    <t:ConnectingSID>
    <t:PrimarySmtpAddress>[email protected]</t:PrimarySmtpAddress>
    </t:ConnectingSID>
    </t:ExchangeImpersonation>
    </soap:Header>
    <soap:Body>
    <GetFolder xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
    xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    <FolderShape>
    <t:BaseShape>Default</t:BaseShape>
    </FolderShape>
    <FolderIds>
    <t:DistinguishedFolderId Id="deleteditems">
    <t:Mailbox>
    <t:EmailAddress>[email protected]</t:EmailAddress>
    </t:Mailbox>
    </t:DistinguishedFolderId>
    </FolderIds>
    </GetFolder>
    </soap:Body>
    </soap:Envelope>
    12:06:51.380 |23915,,,CsEws,10,FAILED HTTP Response: 
    12:08:06.082 |11678,,,CuESD,5,CCsOpenSSLConnector::ConnectSecure BIO_get_fd get file descriptor 323 from connection!
    12:08:12.086 |11678,,,CuESD,5,SendReqToSvrSecure get SSL file descriptor 323
    12:08:46.003 |23915,,,CsEws,10,[CsEws/CsEwsClient.cpp:527]: HTTP request failed with error: Bad response from server, HTTP code returned: 401, HTTP status code: 401, for ews URL: https://10.0.0.10/EWS/Exchange.ASMX, verb: POST
    12:08:46.003 |23915,,,CsEws,10,FAILED HTTP Request: 
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    <soap:Header>
    <t:RequestServerVersion Version="Exchange2007_SP1"/>
    <t:ExchangeImpersonation>
    <t:ConnectingSID>
    <t:PrimarySmtpAddress>[email protected]</t:PrimarySmtpAddress>
    </t:ConnectingSID>
    </t:ExchangeImpersonation>
    </soap:Header>
    <soap:Body>
    <GetFolder xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
    xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    <FolderShape>
    <t:BaseShape>Default</t:BaseShape>
    </FolderShape>
    <FolderIds>
    <t:DistinguishedFolderId Id="deleteditems">
    <t:Mailbox>
    <t:EmailAddress>[email protected]</t:EmailAddress>
    </t:Mailbox>
    </t:DistinguishedFolderId>
    </FolderIds>
    </GetFolder>
    </soap:Body>
    </soap:Envelope>
    12:08:46.003 |23915,,,CsEws,10,FAILED HTTP 
    MCP MCSA MCSE MCT MCTS CCNA

    Look for the requests for Exchange.asmx in the IIS log file.  It should provide a bit more information than there is in that plain 401 message.  In particular, you want the subcode.
    http://blogs.msdn.com/b/david.wang/archive/2005/07/14/howto-diagnose-iis-401-access-denied.aspx
    OWA For SmartPhone
    i am using this tool for testing
    MCP MCSA MCSE MCT MCTS CCNA

  • Bash script for checking link status

    So I'm doing some SEO work I've been tasked with checking a couple hundred thousand back links for quality.  I found myself spending a lot of time navigating to sites that no longer existed.  I figured I would make a bash script that checks if the links are active first.  The problem is my script is slower than evolution.  I'm no bash guru or anything so I figured maybe I would see if there are some optimizations you folks can think of.  Here is what I am working with:
    #!/bin/bash
    while read line
    do
    #pull page source and grep for domain
    curl -s "$line" | grep "example.com"
    if [[ $? -eq 0 ]]
    then
    echo \"$line\",\"link active\" >> csv.csv else
    echo \"$line\",\"REMOVED\" >> csv.csv
    fi
    done < <(cat links.txt)
    Can you guys think of another way of doing this that might be quicker?  I realize the bottleneck is curl (as well as the speed of the remote server/dns servers) and that there isn't really a way around that.  Is there another tool or technique I could use within my script to speed up this process?
    I will still have to go through the active links one by one and analyze by hand but I don't think there is a good way of doing this programmatically that wouldn't consume more time than doing it by hand (if it's even possible).
    Thanks

    I know it's been awhile but I've found myself in need of this yet again.  I've modified Xyne's script a little to work a little more consistently with my data.  The problem I'm running into now is that urllib doesn't accept IRIs.  No surprise there I suppose as it's urllib and not irilib.  Does anyone know of any libraries that will convert an IRI to a URI?  Here is the code I am working with:
    #!/usr/bin/env python3
    from threading import Thread
    from queue import Queue
    from urllib.request import Request, urlopen
    from urllib.error import URLError
    import csv
    import sys
    import argparse
    parser = argparse.ArgumentParser(description='Check list of URLs for existence of link in html')
    parser.add_argument('-d','--domain', help='The domain you would like to search for a link to', required=True)
    parser.add_argument('-i','--input', help='Text file with list of URLs to check', required=True)
    parser.add_argument('-o','--output', help='Named of csv to output results to', required=True)
    parser.add_argument('-v','--verbose', help='Display URLs and statuses in the terminal', required=False, action='store_true')
    ARGS = vars(parser.parse_args())
    INFILE = ARGS['input']
    OUTFILE = ARGS['output']
    DOMAIN = ARGS['domain']
    REMOVED = 'REMOVED'
    EXISTS = 'EXISTS'
    NUMBER_OF_WORKERS = 50
    #Workers
    def worker(input_queue, output_queue):
    while True:
    url = input_queue.get()
    if url is None:
    input_queue.task_done()
    input_queue.put(None)
    break
    request = Request(url)
    try:
    response = urlopen(request)
    html = str(response.read())
    if DOMAIN in html:
    status = EXISTS
    else:
    status = REMOVED
    except URLError:
    status = REMOVED
    output_queue.put((url, status))
    input_queue.task_done()
    #Queues
    input_queue = Queue()
    output_queue = Queue()
    #Create threads
    for i in range(NUMBER_OF_WORKERS):
    t = Thread(target=worker, args=(input_queue, output_queue))
    t.daemon = True
    t.start()
    #Populate input queue
    number_of_urls = 0
    with open(INFILE, 'r') as f:
    for line in f:
    input_queue.put(line.strip())
    number_of_urls += 1
    input_queue.put(None)
    #Write URL and Status to csv file
    with open(OUTFILE, 'a') as f:
    c = csv.writer(f, delimiter=',', quotechar='"')
    for i in range(number_of_urls):
    url, status = output_queue.get()
    if ARGS['verbose']:
    print('{}\n {}'.format(url, status))
    c.writerow((url, status))
    output_queue.task_done()
    input_queue.get()
    input_queue.task_done()
    input_queue.join()
    output_queue.join()
    The problem seems to be when I use urlopen
    response = urlopen(request)
    with a URL like http://www.rafo.co.il/בר-פאלי-p1
    urlopen fails with an error like this:
    Exception in thread Thread-19:
    Traceback (most recent call last):
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/threading.py", line 639, in _bootstrap_inner
    self.run()
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/threading.py", line 596, in run
    self._target(*self._args, **self._kwargs)
    File "./linkcheck.py", line 35, in worker
    response = urlopen(request)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 160, in urlopen
    return opener.open(url, data, timeout)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 473, in open
    response = self._open(req, data)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 491, in _open
    '_open', req)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 451, in _call_chain
    result = func(*args)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 1272, in http_open
    return self.do_open(http.client.HTTPConnection, req)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 1252, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 1049, in request
    self._send_request(method, url, body, headers)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 1077, in _send_request
    self.putrequest(method, url, **skips)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 941, in putrequest
    self._output(request.encode('ascii'))
    UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-8: ordinal not in range(128)
    I'm not too familiar with how character encoding works so I'm not sure where to start.  What would be a quick and dirty way (if one exists) to get URLs like this to play nicely with python's urlopen?

  • How to test file and or URL existence ?

    I have a table with full path and name of a document or a URL.
    Users can now open one of these documents by klicking on a link.
    P:\Document\test.doc
    or
    http://www.nu.nl/
    Some times this document no longer exisits.
    How do I make sure the user gets a correct error message?
    If it is a URL: http://bestaat.niet.nl/
    How do I make sure the user gets a correct error message?

    941318 wrote:
    I have a table with full path and name of a document or a URL.
    Users can now open one of these documents by klicking on a link.
    P:\Document\test.doc
    or
    http://www.nu.nl/
    Some times this document no longer exisits.
    How do I make sure the user gets a correct error message?
    If it is a URL: http://bestaat.niet.nl/
    How do I make sure the user gets a correct error message?Create another column called url_status in your table and when populating data into it include the url status (valid/not valid)

  • Searching from the url address window has stopped working

    If I type a string in the url address bar and touch enter, I now get an error message saying that it's not a valid web address: "The URL is not valid and cannot be loaded." It no longer searches in google for results. I've checked my about:config settings and they seem fine; keyword.url status is "default" and type is "string" with a blank value; for keyword.enabled, the status is "default", type is "boolean", and value is "true".

    Hi,
    You can also check '''browser.search.defaultenginename''' which has to be '''Google''' in this case.
    If problems persist you can use [https://addons.mozilla.org/en-US/firefox/addon/searchreset/ SearchReset].
    [http://kb.mozillazine.org/About:config about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    The [https://services.addons.mozilla.org/en-US/firefox/discovery/addon/config-descriptions/ Config Descriptions] add-on adds helpful source comments in about:config.

  • Flex's HTTPService dispatches a ResultEvent instead of a FaultEvent

    Flex's HTTPService dispatches a ResultEvent instead of a FaultEvent
    I would like to know when does Flex's HTTPService launches a ResultEvent and when does it dispatches a FaultEvent.
    When the servers response contain a 401 http status code error (Unauthorized), the HTTPService is dispatches a ResultEvent instead of a FaultEvent. I would assume that it should dispatch a FaultEvent. Am I correct? If not please tell me.
    The amazing thing is that when I'm running the application under the Flash Builder 4.7's Android Simulator, it does dispatch a FaultEvent, but when I run it on the device, it dispatches the ResultEvent. Why is this happening? Any ideas?

    I created an application to test what happens on both scenarios (Flash Builder's Simulator and Android Device) and compare the results. Next is the code.
    Test application code
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
       <fx:Script>
      <![CDATA[
      import mx.rpc.events.FaultEvent;
      import mx.rpc.events.ResultEvent;
      ///////////////////////////// USING HIGH LEVEL COMPONENT (FLEX) //////////////////////////////////////////
      * Checks if all the necesary data was entered by the user.
      protected function configHandler(event:MouseEvent):void
      textArea.text = "Connecting to server using a high level component";
      configurationService.url = "http://10.0.0.221/api/v1/room/current/";
      configurationService.headers.Accept = "application/json"; 
      configurationService.send();
      textArea.appendText("\n...");
      * Handles the first phase (getting basic application information) of the configuration.
      * Stores the retrieved data from the server and calls the second phase of the process.
      protected function serviceResultHandler(event:ResultEvent):void
      textArea.appendText("\n");
      textArea.appendText("Entering serviceResultHandler \n");
      textArea.appendText(" HTTP status code is: " + event.statusCode);
      * Handles errors within the first phase (getting basic application information) of the configuration process.
      protected function servicefaultHandler(event:FaultEvent):void
      textArea.appendText("\n");
      textArea.appendText("Entering servicefaultHandler \n");
      textArea.appendText("HTTP status code is: " + event.statusCode);
      ///////////////////////////// USING LOW LEVEL COMPONENT (FLASH) //////////////////////////////////////////
      * Checks if all the necesary data was entered by the user.
      protected function config2Handler(event:MouseEvent):void
      textArea.text = "Connecting to server using a low level component \n ...";
      var loader:URLLoader = new URLLoader();
      var request:URLRequest = new URLRequest("http://10.0.0.221/api/v1/room/current/");
      request.requestHeaders = new Array( new URLRequestHeader('Accept','application/json'));
      try {
      loader.load(request);
      } catch (error:Error) {
      trace("Unable to load requested document.");
      loader.addEventListener(Event.COMPLETE, completeHandler);
      loader.addEventListener(Event.OPEN, openHandler);
      loader.addEventListener(ProgressEvent.PROGRESS, progressHandler);
      loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
      loader.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
      loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
      private function completeHandler(event:Event):void {
      var loader:URLLoader = URLLoader(event.target);
      textArea.appendText("\n");
      textArea.appendText("Entering completeHandler \n");
      textArea.appendText("completeHandler: " + loader.data + "\n");
      var vars:URLVariables = new URLVariables(loader.data);
      textArea.appendText("The answer is " + vars.answer);
      private function openHandler(event:Event):void {
      textArea.appendText("\n");
      textArea.appendText("Entering openHandler \n");
      textArea.appendText("openHandler: " + event);
      private function progressHandler(event:ProgressEvent):void {
      textArea.appendText("\n");
      textArea.appendText("Entering progressHandler \n");
      textArea.appendText("progressHandler loaded:" + event.bytesLoaded + " total: " + event.bytesTotal);
      private function securityErrorHandler(event:SecurityErrorEvent):void {
      textArea.appendText("\n");
      textArea.appendText("Entering securityErrorHandler \n");
      textArea.appendText("securityErrorHandler: " + event);
      private function httpStatusHandler(event:HTTPStatusEvent):void {
      textArea.appendText("\n");
      textArea.appendText("Entering httpStatusHandler \n");
      textArea.appendText("httpStatusHandler: " + event);
      private function ioErrorHandler(event:IOErrorEvent):void {
      textArea.appendText("\n");
      textArea.appendText("Entering ioErrorHandler \n");
      textArea.appendText("ioErrorHandler: " + event);
      ]]>
       </fx:Script>
       <fx:Declarations>
       <s:HTTPService id="configurationService"
       result="serviceResultHandler(event)" fault="servicefaultHandler(event)"/>
       </fx:Declarations>
       <s:Button label="High Level" click="configHandler(event)"
       horizontalCenter="100" top="20" />
       <s:Button label="Low Level" click="config2Handler(event)"
       horizontalCenter="-100" top="20"/>
       <s:TextArea id="textArea"
       left="20" right="20" top="{configButton.y + configButton.height + 20}" bottom="20"/>
    </s:View>
    Results on the Flash Builder Simulator
    When pressing the "Low Level" button (URL Loader) the text on the text area was:Connecting to server using a low level component ... Entering openHandler openHandler: [Event type="open" bubbles=false cancelable=false eventPhase=2] Entering httpStatusHandler httpStatusHandler: [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2  status=401 responseURL=null] Entering ioErrorHandler ioErrorHandler: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://10.0.0.221/api/v1/room/current/" errorID=2032]
    When pressing the "High Level" button (HTTPService) the text on the text area was:Connecting to server using a high level component ... Entering servicefaultHandler HTTP status code is: 401
    Results on the Android device
    When pressing the "Low Level" button (URL Loader) the text on the text area was:Connecting to server using a low level component ... Entering openHandler openHandler: [Event type="open" bubbles=false cancelable=false eventPhase=2] Entering httpStatusHandler httpStatusHandler: [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2  status=401 redirected=false responseURL=null] Entering completeHandler completeHandler:
    When pressing the "High Level" button (HTTPService) the text on the text area was:Connecting to server using a high level component ... Entering serviceResultHandler HTTP status code is: 401
    When I ran the app on the Flash Builder's Simulator, both components worked as expected, meaning that they dispatched a FaultEvent and an IOErrorEvent. On the Android device each component misbehaived, the first dispatching a ResultEvent and the second one an Event.COMPLETE event.
    Notice that on both scenarios, both components percieve the correct HTTP status code.
    I would assume that there is a problem with the runtime, right? I'd appreciate your comments on the matter.

  • Unity Connection 8.5 single inbox with Exchange 2003 - Access denied

    Hi,
    I'm using CUCMBE 8.5.1.12900-7 Unrestricted. i'm following Unified Messaging Guide for Cisco Unity Connection Release 8.5 and Later for configuring single inbox. I have successfully setup and tested unified messaging service when I subscribe this service to a particular user and test it, I get following error:
    Issue: Failed accessing [email protected] on 192.168.0.10
    Recommendations: Some possible reasons for 401: Incorrect service account name or password. Service account password expired. Proper permissions not granted to service account. Exchange mailbox uninitialized.
    Details: HTTP status=[401 Unauthorized] diagnostic=[Bad response from server, HTTP code returned: 401] url=[http://192.168.0.10/exchange/
    [email protected]] request=[<?xml version="1.0"?> <D:propfind xmlns:D="DAV:" xmlns:fh="urn:schemas:httpmail:" xmlns:h="http://schemas.microsoft.com/repl/"> <D:prop> <fh:msgfolderroot/> </D:prop> </D:propfind> ] response=[<html><head><title>Error</title></head><body>Error: Access is Denied.</body></html>]
    I have verified above mentioned recommendations but no such issue exists. Any ideas?

    Hi Muhammad,
    I am having exactly the same issue in configuring sinlgle inbox with unity connection 8.6 and exchange 2003. I have checked everything but no result. Could you please help in configuring?
    Thanks
    The validation results for the  user unified messaging service account [email protected] with service  E2K302 are the following:
    Service "E2K302":  AuthenticationMode=NTLM [use HTTP] Server=[E2K3-02.chelloit1.local]  Type=[Exchange 2003] Username=[chelloit1.local\agokharu]
    Failed accessing  [email protected] on E2K3-02.chelloit1.local
    Some possible reasons for 401:  Incorrect service account name or password. Service account password expired.  Proper permissions not granted to service account. Exchange mailbox  uninitialized.
    HTTP status=[401 Unauthorized]  diagnostic=[Bad response from server, HTTP code returned: 401]  url=[http://E2K3-02.chelloit1.local/exchange/[email protected]]  request=[<?xml version="1.0"?> http://schemas.microsoft.com/repl/">   ]  response=[ErrorError:  Access is Denied.]

  • No data retrieved while consuming external webservice in visual composer

    Hi all,
    I wrote a webservice, which returns some car data from a database.
    The returned data looks like:
    <?xml version="1.0" encoding="utf-8" ?>
    - <ArrayOfCar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://IBM-W2003-EAI/GetCarList">
    - <Car>
      <CarID>B-276</CarID>
      <CarBrand>BMW</CarBrand>
      <CarModel>320i</CarModel>
      <Kw>125</Kw>
      <Ps>178</Ps>
      <Km>12000</Km>
      <Year>2001</Year>
      <Price>23000,0000</Price>
      <Url />
      <Status>Available</Status>
      </Car>
    - <Car>
      <CarID>B-984</CarID>
      <CarBrand>BMW</CarBrand>
      <CarModel>330d</CarModel>
      <Kw>125</Kw>
      <Ps>178</Ps>
      <Km>121000</Km>
      <Year>1997</Year>
      <Price>13520,0000</Price>
      <Url />
      <Status>Available</Status>
      </Car>
    Unfortunately the data is not received, or displayed at all.
    Are there any suggestions, how to solve this problem?
    Thank you for your help.
    Kind regards, Patrick.

    i found this link on SDN.  If you have see this, then ignore my post..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4094345f-341f-2b10-86a0-86a6309f1a0b

  • Trying to assign an XML attribute value to a button label

    I have a Flex app (developed in FLEX 2) that reads from
    multiple XML files and populates datagrids with element values.
    What I'm trying to do now, is to create a second column with a
    button, enabling users to view archived versions for each current
    report.
    My problem is: I can't get the <mx:Button> label to
    accept the attribute "name". I've tried atleast 10 - 20 different
    syntax.
    My XML file looks like this:
    <metrics>
    <report name="test">
    <link>test Report 10/28/2008</link>
    <url>test-10_28_2008.zip</url>
    <status>active</status>
    </report>
    </metrics>
    The mxml looks like this:
    <mx:Button buttonMode="true" useHandCursor="true"
    click="handleClick()" label="{data.@name}" width="80">
    <mx:Script>
    <![CDATA[
    public function handleClick():void{
    var url:URLRequest = new
    URLRequest([L=http://new.test.com/pages/r_archive_apps/"+data.link+".html");[/L]]http://n ew.test.com/pages/r_archive_apps/"+data.link+".html");[/L][/L]
    navigateToURL(url,"_blank");
    ]]>
    </mx:Script>
    </mx:Button>
    When I try to label a button with an element it works fine.
    Some of the other sytax I've used are:
    - label="{data.report.@name}"
    - label="{data.report.(@name=='test')}"
    - label="{data.report.(@name='test')}"
    - label="{data.@name}"
    - label="{data.metrics.report.@name}"
    - label="{data.metrics.report.(@name=='test')}"
    - label="{data.metrics.report.(@name='test')}"

    quote:
    Originally posted by:
    rtalton
    Can you post some code so we can see how you are using the
    button? I think you may be using the button within a datagrid
    itemRenderer, which might make a difference.
    You're right, the button is in a datagrid itemRenderer. I've
    pasted more dataGrid code below - thanks again.
    <mx:DataGrid id="dgCatalog" dataProvider="{_xlcCatalog}"
    rowCount="4" editable="false" sortableColumns="false"
    left="148" top="65" bottom="42" borderStyle="solid"
    alternatingItemColors="[#ecf8ff, #ffffff]"
    themeColor="#ffff80" alpha="1.0" cornerRadius="0"
    dropShadowEnabled="true" dropShadowColor="#000000" width="549"
    creationCompleteEffect="{glow3}">
    <mx:columns>
    <mx:Array>
    <mx:DataGridColumn editable="false" headerText="Daily -
    Report Names" dataField="link" textAlign="left" width="200">
    <mx:itemRenderer>
    <mx:Component>
    <mx:LinkButton click="handleClick()" label="{data.link}"
    >
    <mx:Script>
    <![CDATA[
    public function handleClick():void{
    var url:URLRequest = new URLRequest("
    http://test.new.com/test/"+data.url);
    navigateToURL(url,"_blank");
    ]]>
    </mx:Script>
    </mx:LinkButton>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    <mx:DataGridColumn editable="false" headerText="Daily -
    Report Archives" dataField="link" textAlign="left" width="80">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Button buttonMode="true" useHandCursor="true"
    click="handleClick()" label="{data.report.@name}" width="80">
    <mx:Script>
    <![CDATA[
    public function handleClick():void{
    var url:URLRequest = new URLRequest("
    http://test.new.com/pages/test_apps/"+data.link+".html");
    navigateToURL(url,"_blank");
    ]]>
    </mx:Script>
    </mx:Button>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    <!--mx:DataGridColumn headerText="URL" dataField="url"
    width="350"/>
    <mx:DataGridColumn headerText="Status" dataField="status"
    width="70"/-->
    </mx:Array>
    </mx:columns>
    </mx:DataGrid>

  • Call Web Service and display return values in table

    Hi all,
    I am calling a self-implemented web service with visual composer. The webservice returns the following data shown below.
    Each item like carID, carBrand etc. should be displayed in an output table.
    The problem is, that he doesn't display any data at all. Is there a problem with the webservice data which is returned or do I have to do some further settings in visual composer?
    Thank you for your help! Kind regards, Patrick.
      <?xml version="1.0" encoding="utf-8" ?>
    - <ArrayOfCar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://IBM-W2003-EAI/GetCarList">
    - <Car>
      <CarID>A-471</CarID>
      <CarBrand>Alfa</CarBrand>
      <CarModel>156</CarModel>
      <Kw>100</Kw>
      <Ps>136</Ps>
      <Km>79000</Km>
      <Year>1998</Year>
      <Price>7500,0000</Price>
      <Url />
      <Status>Available</Status>
      </Car>
    - <Car>
      <CarID>A-736</CarID>
      <CarBrand>Audi</CarBrand>
      <CarModel>A4</CarModel>
      <Kw>110</Kw>
      <Ps>150</Ps>
      <Km>87000</Km>
      <Year>2000</Year>
      <Price>15780,0000</Price>
      <Url />
      <Status>Reserved</Status>
      </Car>
    </ArrayOfCar>

    Hi Shai,
    the webservice is working well, trying to test it with webservice navigator.
    He also returns the correct number of rows (because there appears slider beneath the table output and I also counted the rows), but there is no data displayed in visual composer.
    I have got no further ideas, what the problem is...
    THank you for your support.
    Kind regards, PAtrick.

  • PDF Bookmark works on 1st click only :(

    Hi all:
    I've gotten links to PDFs in my RoboHelp project to work, but have one problem that I cannot seem to solve.  This issue happens with IE and Chrome (have not tried Safari) but not with FireFox.  The first time I click a PDF link from my WebHelp project (yes, it's posted on a server), the help link works fine. The PDF opens to the named destination.  Subsequent links to different destinations in the same PDF, however, update the browser with the proper URL but the PDF does not change to the new location. 
    eg:
    Link1:
    http://10.20.160.7:8080/help/test/cdm_agent_guide.pdf#cdmasi
    Displays the PDF opened to the page tagged with cdmasi
    then click this:
    http://10.20.160.7:8080/help/test/cdm_agent_guide.pdf#cdmacdm
    Page seems to be loading but...
    URL status bar shows the above URL, but the PDF has remained on the ASI topic (Chrome) or a blank page displays.
    Click the URL bar and refresh to load the link
    The PDF moves to the correct topic.
    Note:
    This behavior is the same whether i use foo.pdf#nameddest=string  or foo.pdf#string
    Again, if I use FireFox, the pages load great. In IE/Chrome, not.
    Deets:
    IE 11.0.9600.16428
    Chrome 33.0.1750.146
    Firefox 27.01
    Windows 7
    RoboHelp 10
    Acrobat Pro X
    Acrobat Read 10.1.9
    I am pretty sure this is not a security thing or the first instance would fail. Also, it's not a Mark of the Web thing; we dont have that enabled for the project.
    Am I missing something obvious about forcing a refetch of the PDF?
    D

    I wonder if there is anything in the Acrobat forum that would help? Maybe others have experienced with links from websites rather than webhelp.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

Maybe you are looking for