air application connects to the web service although swf don't

Hey there,

I will try and be brief. We built a kiosk application in flash builder a pure as3 project. When we went to convert it into an air application all seems fine except for two issues. one is that we cannot use the Security.allowDomain("*"); Tagus. not much we comment on this possibility, but when we do we cannot connect to the web service that we use. Here is the error msg that we get:

URL http://api.macys.com/v2/catalog/product?prodid=559529 & prodid = 586262 & prodid = 442702 & prodid = 5 39030 & prodid = 444331 & prodid = 593389 & prodid = 102435 & prodid = 519743 & prodid = 357571 & prodid = 128285 & prodid = 407708 & prodid = 209799 & prodid = 417917 & prodid = 498705 & prodid = 131858 & prodid = 597478 & prodid = 142166 & prodid = 470687 & prodid = 584020 & prodid = 167015 & prodid = 75190 & prodid = 432111 & prodid = 481224 & prodid = 549755 & prodid = 483429 & prodid = 414178 & prodid = 596422 & prodid = 385591 & prodid = 226280 & d = 142163 prodi

ioErrorHandler: errorProductId: WebApplicationException

ioErrorHandler: currentTarget: Error #2032: error in workflow. URL: http://api.macys.com/v2/catalog/product?prodid=559529 & prodid = 586262 & prodid = 442702 & prodid = 5 39030 & prodid = 444331 & prodid = 593389 & prodid = 102435 & prodid = 519743 & prodid = 357571 & prodid = 128285 & prodid = 407708 & prodid = 209799 & prodid = 417917 & prodid = 498705 & prodid = 131858 & prodid = 597478 & prodid = 142166 & prodid = 470687 & prodid = 584020 & prodid = 167015 & prodid = 75190 & prodid = 432111 & prodid = 481224 & prodid = 549755 & prodid =. 483429 & prodid = 414178 & prodid = 596422 & prodid = 385591 & prodid = 226280 & d = 142163 prodi

Here is the error of charles:

< error >

< > 103 errorCode < / errorCode >

types of arguments < message > Incorrect or combination < / message >

< errorDetail > WebApplicationException() < / errorDetail >

false < success > < / success >

< / error >

now, if we run just the swf file it connects very well. the only reason I need this app to be in a wrapper of the air is so that I can remove the print dialog box. otherwise, I'd create just an exe file.

any ideas would be great!

Thank you

OK, found the problem!

When we built the as3 project and we implement web service calls, we used post from get we caused problems. We have been connecting to a service of qa so that may have something to do with it. In all cases, we have changed the headers in the air application to get and it seems to work fine. Why would he works in the SWF and not the air who knows, but there are go!

Thank you

Jorge

Tags: Adobe AIR

Similar Questions

  • Unable to connect to the web services server

    Unable to connect to the web services server.  It is a common error that you might see if you try to enable web services.  If you receive this message, try the following steps.

    For Officejet printers

    1. open the internet browser type printer IP address.

    2 should bring you to the status of the printer page.

    3. Select the tab network at the top.

    4. left side select IPv4 under wireless.

    5. under DNS address Configuration select manual DNS server.

    6. for favorite enter 8.8.8.8

    7. for alternate enter 8.8.4.4

    8. Select apply. You can get a warning saying that this could break the connection which is very good.

    9. turn the printer off for about 30 seconds and then try to enable web services.

    For Photosmart printers

    1. Enter the printer's IP address in a browser.

    2 Select the network at the top of the page.

    3. on the left, select network.

    4. Select Network (IP) address

    5. select manual DNS server

    a. manual Preferred DNS should read 8.8.8.8

    b. alternate DNS server should read. 8.8.4.4

    6. Select apply you could get a fair warning select OK

    I hope this helps!

  • problem connecting to the web services server

    I tried to download the latest updates of software/firmware for my all-in-one HP Photosmart Prem C310a.

    I can't get updates or activate Web Services because it still gives me the error message "problem connect to the web services server.

    I tried everything in the section of the Web of HPs site including connection via WPS - unsucessfully problems.

    I understand that you have found impossible to connect to the server error message on your printer. I would first disconnect the router and the printer for about 1 minute. I would plug the router first then the printer. I would then try to enable web services. If not successful, and you get the same error message. I'd follow these steps.

    1 obtain the IP address of your printer
    a. This can be done by pressing the icon on the printer wireless.
    2. Enter the printer's IP address in a browser.
    3. Select the tab network at the top of the page.
    4. on the left, select network.
    5. Select Network (IP) address
    6. select manual DNS server
    a. manual Preferred DNS should read 8.8.8.8
    b. alternate DNS server should read. 8.8.4.4
    7. Select apply you could get a fair warning select OK.

  • Unable to connect to the Web Services Proxy/unused (a HP 7500 JO)

    Hello

    Here's the situation:

    Previous installer:

    .  I have connected my 7500 for the corporate network (IP = 172... series)

    .  registered the product with ePrintCenter

    .  used a PC under Windows to print (and scan) with the printer

    .  web proxy entry "webproxy.phila.gov".

    .  However, because homeland security rules, I could never work, so I just let it go

    Current situation

    .  has taken the home printer and set up on my home network, i.e.,.

    -using the 192.168.xx.xx series

    -Router broadband Netgear ' G' (1 years) set up at the 192.168.xx.254

    -SSID & encryption assigned

    -printer, the value 192.168.xx.155 (static IP address, the subnet and the gateway assigned as well)

    -My DNS is identical to the bridge and it works fine for all the internet access to this day

    -with the help of a PC and a Macbook Air to print and scan and everything works fine

    .  HOWEVER,.

    -Initially, 'web services' were active (carried over from when I was on the company neetwork?)

    ..  Are looking for, found and downloaded updates

    -When I went to hp.com ePrintCenter he showed the product as 'registered '.

    ..  He would'nt I would like to connect (with a name and a password I had used previously), or create a new account

    ..  I never remember getting an email address of the printer

    ..  and I had never been able to send anything to the printer to print because of my problem of network security

    -Yes, after trying all sorts of things, I:

    ..  I tried to get another email without success

    ..  tried to re - enable web services, but he said I need to 'proxy', and I discovered that he had always "webproxy.phila.gov."

    ..  I have reset the values by default web services and network values

    ..  I put the static IP address return address in (i.e., printer, subnet and gateway (it has nowhere to put in a DNS one))

    ..  printing and scanning to 192.168.xx.155 works fine

    ..  From my iPad AirPrint works very well

    .  BUT, I still can not online and therefore web server, web services are not enabled, therefore not ePrint

    -everytime I try, it says it needs a proxy

    - but I don't have a proxy installed on my internal home network bit

    -Comcast/Xfinity, my ISP, do not use a proxy

    So, I'm dead in the water.  I can't figure out how to get the web services enabled; I do not use a proxy, so I don't know how to go beyond this issue. How to regenerate address of the printer; and so, how do I connect an account on the ePrintCenter (or get them to send me my old account information).  I'm dead in the water and cannot use a feature most of my printer that I desperately want to be put in place and functional.

    Any help would be greatly appreciated!

    Tommy

    Problem solved, but I don't know exactly how I did it. However, I went back in and let the printer assign the IP address. Then I turned the printer off and on again. Last I kept pressing the button "Printer e-mail address", who has repeatedly failed, but then finally went through and print the 'printer' page, I quickly used to connect to the ePrintCenter and put everything in place.

    Now it's working.

  • Error downloading pdf application ADF using the Web Service &amp; BI Publisher

    Hello

    I work with BI Publisher 11 g and JDeveloper 11.1.1.7. I get the error when clicking on the below download link.

    I tried the link below and to generate the report in my app, but after clicking view pdf button throw error.

    Antonis Antoniou blog: integration of Web Services in your ADF Application Part 2


    Basically, I want to download the PDF using the Web Service & BI Publisher pursuant to the ADF.

    Someone has encountered this problem before? You have all the solutions / suggestion?


    Thank you

    Swathi

    Have you tried to get the catalog via the service?

    As I said before, there you have catalog you to see you making the user you are using to connect has access.

    Have you tried to give the full url for the report? check out the blog I posted before where you see how to specify the full url.

    Timo

  • HP Photosmart 5520 - problems with the connection to the web service

    Hi, I'm trying to run the web service on Hp Photosmart 5520, but it does not work. Wireless printing works well, but he says that it cannot connect to the server and sometimes requires adding a proxy.

    I've set up a fixed IP and I used it in the IP (manual ip) configuration, I've implemented manula and gateway subnet mask (using the address of my router). I used the same primary DNS preferred (but also tried 8.8.8.8 and others)

    No question.

    Currently, I removed all of the proxy page. The error I get says that it cannot communicate with the server.

    Thanks in advance

    .. don't ask me what happened... while I was writing this worked
    Thanks anyway

  • Client application to consume the web service with security

    I need to write a simple client to access a WS.

    I can't do things

    1. Change the server
    2. Add external jars

    The customer will be part of a command line call and will work as a stand alone.

    I searched all day and have found hundreds of examples of wave, too complex, based mainly on SOAPHandler (who tells me that I need to install the server components that I can't do)

    I grasp the General requirements but finds it difficult to know how to add security features to the header.

    What should I do to add the chips of user name and password in the header?

    It is where I am so far.

    package findingLetter;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    import javax.xml.namespace.QName;
    import javax.xml.soap.MessageFactory;
    import javax.xml.soap.SOAPBody;
    import javax.xml.soap.SOAPBodyElement;
    import javax.xml.soap.SOAPConnection;
    import javax.xml.soap.SOAPConnectionFactory;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPException;
    import javax.xml.soap.SOAPHeader;
    import javax.xml.soap.SOAPMessage;
    
    public class getPOC {
        public getPOC() {
            super();
        }
        public List<String> lookup(String lenderid, String url, String user, String pw) throws SOAPException {
            List<String> contactInfo = new ArrayList<String>();
            SOAPMessage message = MessageFactory.newInstance().createMessage();
            SOAPHeader header = message.getSOAPHeader();
            header.detachNode();
             
            SOAPEnvelope envelope = message.getSOAPPart().getEnvelope();
            envelope.setAttribute("namespace","http://www.siebel.com/xml/FHA%20Lender%20Summary%20Request%20IO");
             
            SOAPBody body = message.getSOAPBody();
            QName bodyName = new QName("LenderSummaryRequestIo");
            SOAPBodyElement bodyElement = body.addBodyElement(bodyName);
            SOAPElement symbol = bodyElement.addChildElement("Institution");
            symbol.addTextNode(lenderid);
             
            SOAPConnection connection = SOAPConnectionFactory.newInstance().createConnection();
            SOAPMessage response = connection.call(message, url);
            connection.close();
             
                    SOAPBody responseBody = response.getSOAPBody();
                    SOAPBodyElement responseElement = (SOAPBodyElement)responseBody.getChildElements().next();
                    SOAPElement returnElement = (SOAPElement)responseElement.getChildElements().next();
                    if(responseBody.getFault()!=null){
                        System.out.println(returnElement.getValue()+" "+responseBody.getFault().getFaultString());
                    } else {
                        System.out.println(returnElement.getValue());
                    }
             
                    try {
                        System.out.println(getXmlFromSOAPMessage(message));
                        System.out.println(getXmlFromSOAPMessage(response));
                    } catch (IOException e) {
                        e.printStackTrace();
                    }
            return contactInfo;
        }
        private static String getXmlFromSOAPMessage(SOAPMessage msg) throws SOAPException, IOException {
            ByteArrayOutputStream byteArrayOS = new ByteArrayOutputStream();
            msg.writeTo(byteArrayOS);
            return new String(byteArrayOS.toByteArray());
        }
    }
    

    Here's the code to add the security header.

    public List lookup (user string lenderid, String url, String, String pw) throws SOAPException {

    ............

    SOAPHeader header = message.getSOAPHeader ();

    If (header == null) {}

    Header = envelope.addHeader ();

    }

    SOAPElement headerElement = createSecurityHeader (uName, pWord);

    soapHeader.addChildElement (headerElement);...

    ........................

    }

    Private Shared { SOAPElement createSecurityHeader (uName, pWord String String) throws SOAPException

    SOAPElement UsernameToken = null;

    SOAPFactory SFactory = SOAPFactory.newInstance ();

    UsernameToken = sFactory.createElement ("wsse: UsernameToken", "", WS);

    SOAPElement Username = sFactory.createElement ("wsse:Username", "", WS);

    Username.setValue (uName);

    UsernameToken.addChildElement (Username);

    SOAPElement Password = sFactory.createElement("wsse:Password","",WS);

    Password.setValue (pWord);

    QName qname = new QName("","Type");

    Password.addAttribute (qname,"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText" ");

    UsernameToken.addChildElement (Password);

    SOAPElement wsseSecurity = sFactory.createElement("wsse:Security","",WS);

    wsseSecurity.addChildElement (UsernameToken);

    Return wsseSecurity;

    }

  • Authentication customized using the Web Service construction

    Our requirement is that we want to create an application that uses the web service for authentication. How is it possible. A how to do this will help.
    We create a Web Service with an applicationLogin method that takes the user name and password input and returns true or false. I want to use this web service to authenticate the application connection.

    Hello

    Ok.
    Can you check Home > Application Builder > application 100 > shared components > authentication schemes > change the authentication scheme
    in the select field Invalid Page Session list
    what page 2.
    Check this page 101 a: APP_USER filled when you browse it.

    It seems that you have created a reference to Web Service manually by copy - paste SOAP envelope?
    And region of SOAP response with field response Collection store
    When you create a Web service reference with the location of the WSDL document, you are not asked for the name of the collection.
    Only when you create processes on submit type Web service on page 101, there is an option to use the collection or the item.

    And if you manually create the Web service, it seems that you cannot choose between the collection and the element, you should use the collection that you specified during the creation of reference.

    Anyway, you can use the collection to this approach to page dummy connection since: APP_USER is populated by anyone on page 101.

    I updated most of the page and creates a Web service reference manually the SOAP envelope (from the same Web service)
    and put the second region with the result. Collection is specified in a Web service reference.

    I hope that will solve your problem.

    Kind regards
    Oleg

  • Unable to connect to the web proxy/services

    Unable to connect to the web proxy/services used for officejet pro 8600 as well as using verizon fios actiontec router.  I tried wireless and ethernet.  Connectivity seems good.

    Resolved.  Port forwarding blocked by another application of verizonwebcamera problem.

  • Connection to the Web (KSOAP2) service error

    Hi all

    I developed a BB app that connects to a Web service in our company. I'm using ksoap2 to communicate with the service. Here's my problem: the application works very well on an AT & T "BOLD", but when one of my customers in the United Kingdom trying to run the same application on his "BOLD" of Vodafone, there is the following error message:

    Error of verified accounts!  Details:

    Expected: START_TAG {http://

    Schemas.xmlsoap.org/SOAP/

    {envelope /} envelope

    {positionTART_TAG}@ 02:44 in

    ( java.io.InputStreamReader@d9ad3d7c)

    Here is the info on two phones:

    Version of brand Vodafone "BOLD" - o/s v4.6.0.162 (Platform 4.0.0.155) - 1.0.102.63

    Version of Branding AT and T "BOLD" - o/s v4.6.0.167 (Platform 4.0.0.157) - 1.0.102.142

    Any help will be greatly appreciated.

    Thank you

    Read Pazmino

    in response to the OP:

    START_TAGmeans that your ksoap2 Analyzer receives a message html, most likely an error from the Web server. most common would be a 401 authorization required, but others are also possible.

    ksoap2 cannot handle http errors, you must expand its features (or live with it). improve download the ServiceConnectionMidp of the class of the ksoap2 and extend it.

  • jDeveloper WebService package installed, but the Web Service features are not available in the application wizard

    Hello

    I installed jDeveloper (Studio Edition Version 12.1.3.0.0) and also I installed some packages, for example the Web Service package. But when I create a new application project / I can't select for example of Web Service Client / Proxy and others. See photo:

    jdeveloper_webservices.png

    Do you know why? How can I make available?


    THX!

    Milan

    OK, I found it

    I created an application (Custom Java) with the empty project, and then I was able to add the web service client project (right click on the 'project' and select 'of the Gallery"). The same window appears as in my first post, but all features are available

    Thank you!

    Milan

  • How to get the IP address of the calling client to the web service built in Jdeveloper 11.1.1.7 application?

    I built an application of web service in Jdeveloper 11.1.1.7 to be used by other clients. Just the General steps as follows (Server web service Application is generated--> deployed on the server-> used by clients with the location of the WSDL file).

    Now, I met a requirement where I need to get the port number and IP address for the client.

    Questions :

    How to get the IP address of the calling client to the web service application generated in Jdeveloper?

    Commune technologies used to build web service applications is AXIS or CXF. What Jdeveloper technology use to built web service application?

    The common technologies used to build web service applications is AXIS or CXF. What Jdeveloper technology allows built web service application?

    It depends on the option selected during the creation of web services (if I remember correctly, there are several options, style J2EE 1.4 RPC style JavaEE JAX - WS 1.5,...)

    For example, to get the ip address of the compatible with jax - ws web service, you need to inject the context in your service class with:

    @Resource
    WebServiceContext wsContext;
    

    and then inside your method:

    MessageContext mc = wsContext.getMessageContext();
    HttpServletRequest req = (HttpServletRequest)mc.get(MessageContext.SERVLET_REQUEST);
    String ip = req.getRemoteAddr();
    

    Dario

  • ADF Mobile: connect with the web application

    Hello

    I'm starting the age of mobile application. (my version of jdeveloper is version 11g 2)...

    I need to know is easy to create applications mobile adf in the ADF web application?

    With regard to this demo:- http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFMobile/adfmobile.htm how can I adopt for my needs?

    My web application is Version 11.1.2.2.0. So without re-creating this application in higher version (Version 11.1.2.3.0), can't do Mobile App?

    hopping all coordinated to solve my problem...

    Thank you.

    Sorry for the late reply. The ADF webapplication can be made in any version of JDev, since it is just a web service 'plain '. ADF Mobile is supported only 11.1.2.3 (or), but they (the web service and mobile application) do not have to be developed using the same version of JDev.

  • VIX file in the user interface designer receives the data from the Web service application that communicates with the SQL server database

    I created the Web service VI ("Mt-insolacije.vi"), which has two terminals of the input string (FROM / TO) for the dates of arrival and exit of two data terminals (table 1 d) from database (MS SQL server). This VI communicates with the database with functions of the database with a DSN and SQL query appropriate palette. There are two tables with two data (time and Insolation) columns in the database.

    This VI works when you run in Labview 2010, but when I used it as VI in UI Builder it returns no data.

    Could you please help me find a solution. Is it possible to communicate with the SQL server database in this way or there is another way?

    There are two files attachmet: Image of .vix file in Interface builder and .vi file ("Mt-insolacije.vi")

    Please help me ASAP!

    Thank you

    Ivan

    I found the solution problem is in the DSN. I've been using the user instead of DSN system DSN.

    It's important to create the system DSN if you want your VI of web service to communicate with the database.

    PS Please put feature bundle format timestamp and XY graph in the web user interface designer. It's complicated to trace data with datetime on X axis without them.

  • WANT to 114 does not connect to the Web server

    Have installed a 114 WANT, everything works except for the webservices - wireless eprint etc.

    I tried everything-

    1 re-install services - error cannot connect to the web server

    2. Update - error cannot connect to the web server

    3 give the static IP address

    4 restore the default settings

    I have an internet connection on all computers.  Can someone give me a hint on how to get Web services to work?

    Hi sbenzie,

    How your printer is currently connected to the network? Via Ethernet or wireless? What is your current router / network configuration? That shows your printer because it is the IP address? What happens when you try to launch applications?

    Not yet given the information above, here's what I would try.

    I suggest to reconnect the printer to the network by running the Wireless Setup Wizard and attempt to restart the web services. If this is not enough, you may change some DNS settings in printers EWS (built-in web server) to do this, put the IP address in a browser window on your PC.

    This should start the integrated Web server. In SAP, select the network on the network tab, select 'network '.

    Then select "network address" (IP). Do not change the IP configuration at the top. Go down under "DNS address configuration"and select 'Manual DNS server'. " Under manual DNS server, enter (an 8 in each box on the first line) 8.8.8.8 and 8.8.4.4 on the second line. Press the button 'Apply' at the bottom.

    Now try to connect to Web Services again.

Maybe you are looking for

  • Unable to connect to the internet using Ethernet

    I have a Mac mini as I try to connect via Ethernet cable to a modem Comcast Arris TG862. I was connected via Wifi without problem (with the exception of the slower speeds). I know that the Ethernet ports on the back of the modem seem to work, since I

  • can someone help please

    Im having so much trouble recording in logic pro x, I need help badly! what I record is very low, even with a ghost on diet and with my snub also gain the instrumental always about the prerogatives my song regardless of the mix or not, I have two mic

  • TDMS data corrupted %2C puree in a channel

    Hello I wonder if there is someone who can cut the corrupted entries from PDM? There is a continuous measurement with connecting PDM. The measures. the software is in LV 2012. On a very rare occasion (I suspect some antivirus locking) the PDM is corr

  • Support for windows 2 k 12 R2 and Exchange 2 k 13 in Oracle VM 3.3.1

    Hello We intend to deploy Windows 2 k 12 R2 and exchange 2 k 13 in Oracle VM 3.3.1 that is based on the Xen 4.0 hypervisor. Kindly let me know if windows 2 k 12 R2 and exchange 2 k 13 is supported on LMOs 3.3.1 or not. If not, then what is the possib

  • keyboard laptop xp does not

    I have a toshiba laptop with windows xp and impossible to type words.  I can use my mouse and I can get on the net but cant type and any software.  My keyboard does not work. Help, please.