9.0.3 two web services questions

OK, I'm trying to get web services to work and having two problems.
The (hopefully) simple one: I want to install a web service on the local OC4J, and I can't seem to get the connection to work. Getting connection refused. Not sure why. Didn't see any problems like this with 9.0.2, but we mostly installed them on 9iAS.
The more complex one: I started working with a PLSQL web service. While I can't execute it yet (see above), I can create one with a simple return type. For example, something like f_seq_to_name (i_seq in number) return varchar2. And the stub is pretty easy.
But if I want to return a rowtype, for example
f_seq_to_row (i_seq in number) return facility_table%rowtype,
the routine is grayed out because JDev decides there is an out parameter of type "null". I could explicitly include each individual parameter, but that seems like a waste of developer effort. And this happens for both rowtypes and ref cursors, so it will be pretty hard to move any significant amount of data. So am I missing something, or is this a bug? If it's a bug, will it be fixed in 9.0.3 production?
Of course, I can go over to BC4J and try this there with view objects. But I'm looking to see which of the tools are usable.
-- jim

Here is some pointers that might help:
1. A PL/SQL Web Services Tutorial using Oracle9i JDeveloper 9.0.3 including the setup necessary to configure OC4J. As you will see you don't have to actually create a SOAP connection in JDev; for PL/SQL you simply need to have an app server connection as per the writeup. See:
http://otn.oracle.com/tech/webservices/htdocs/series/plsql/content.html
2. To see what data types are supported for PL/SQL take a look at:
http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95453/plsqlservices.htm#1030045
ROWTYPE and REFCURSOR are not supported. This does not appear to change between 9.0.3 preview and 9.0.3 production. There are some other approaches to consider, though your milage may vary. For example, VARRAYS and abstract datatypes are supported - you can see the ADT support in the above tutorial and try VARRAYs by tweaking it to return an array of employees rather than a single employee.
Hope this gets you going.
Mike.

Similar Messages

  • How to control transactions (WS-AT) between two web services in OSB?

    Could someone tell me if the OSB can have 2 diferents web services controlled by an unique transaction?
    For instance: in the OSB there are two wsdl, each one with its own Business Service and ProxyService respectively. In my vb.net aplication I started a transaction, called the first web service succefully and from the second web service I got an exception. I expected the first web service undo its work because the vb.net aplication excute a rollback command. Is this possible? How can I do? Any sample or tip will be helpfull.
    If I was developing without OSB, I would rely on WS-AT as shown in http://www.codeproject.com/Articles/38793/6-Steps-to-Enable-Transactions-in-WCF for two web services dot net, or for one web service dot net and other java, http://www.ibm.com/developerworks/websphere/library/techarticles/0707_lo/0707_lo.html.
    My question is basically: Is still possible to keep a single transaction between multiple web services when they are mediated by OSB? If so, is there a example showing how?

    Hi,
    When you create the proxy server, you have to check "Transaction required" box on Message Handling page...
    http://docs.oracle.com/cd/E17904_01/doc.1111/e15867/proxy_services.htm#i1316487
    Cheers,
    Vlad

  • Two web services in a pdf form

    I m designing a process which has two web services (adobe livecycle workbench) I can get respond from each of them but that means I have two xmls.
    The problem starts from here .I need one document put into pdf however I have two Documents, one from each web service
    ı just need to equal two xml to one xml that case I can have one document to put into renderPDFfrom process
    what should I do ?
    should I put another process to combine xml or is there any methods to combine xml
    I m waiting for your answers
    thanks for helping

    thank you very much Jasmin your answer is brilliant but in my case When I put  "Main" between Node1 and mainxml  (not really "Main" in my case form1) it doesnt work correctly  /process_data/mainxml/Main/Node1/Child
    this is my code and also another problem
    /process_data/wstranslatesum/Page1/tablo1   =      /process_data/wsresponse2/Envelope/Body/HelloWorldResponse/HelloWorldResult/diffgram/NewD ataSet
    /process_data/wstranslatesum/Page2/Sonuc    = /process_data/wsresponse/Envelope/Body/getMaxWaitingProcessStepsResponse/getMaxWaitingPro cessStepsResult/diffgram/NewDataSet
    when I use above example only
    /process_data/wstranslatesum/Page2/Sonuc    = /process_data/wsresponse/Envelope/Body/getMaxWaitingProcessStepsResponse/getMaxWaitingPro cessStepsResult/diffgram/NewDataSet
    above part works   they are on the other page
    when I use the below
    /process_data/wstranslatesum/Page2/tablo1   =      /process_data/wsresponse2/Envelope/Body/HelloWorldResponse/HelloWorldResult/diffgram/NewD ataSet
    /process_data/wstranslatesum/Page2/Sonuc    = /process_data/wsresponse/Envelope/Body/getMaxWaitingProcessStepsResponse/getMaxWaitingPro cessStepsResult/diffgram/NewDataSet
    it works perfectly   (did you notice that they are on the same page)
    so what is the problem I know you are Expert
    can youy recommend any resource which has real case example
    thank you so much
    Sincerely ,
    Joseph

  • Failed to retrieve data from the database/invalid argument provided when employing link between two web services datasources

    Post Author: vpost
    CA Forum: Data Connectivity and SQL
    I am trying to join information from two related web services within CR XI. I have successfully set up the web services as data sources have been able to get to the point where I get good data back. However, when I try to pull in certain fields, I get an error that says "Failed to retrieve data from the database/invalid argument provided". Here's the scenario:
    The web services are structured as follows:Web Service 1 (Artist) has attributes of Artist Name and Date of Birth.Web Service 2 (CD) has attributes of CD Title and Release Date. Underneath each CD are songs, each of which have a Song Title and Artist Name.
    I have defined both web services and defined a link between Artist.Artist Name and CD/Song.Artist Name. I am able to run a report with Song Title and Date of Birth that crosses web services. I am able to run another report with Song Title and CD Title that crosses the different levels in the second web service. However, if I add CD Title to the first report or Date of Birth to the second (both of which effectively force CR to employ the link between the two web services AND the CD/Song hierarchical structure in the second web service, I get the aforementioned error.
    Any assistance understanding how multiple web services can be linked in this manner would be greatly appreciated.
    Thanks in advance.

    Post Author: Mike Wright
    CA Forum: Data Connectivity and SQL
    Not sure about your exact situation, but having similar problem with another application and have tracked down to security. Added user to group Domain Admin and it works fine. It appears to be accessing a subdirectory which it does not have permission to use and then times out and returns the "invalid....". Seems that once the query just over a certain size (and I'm not sure what triggers this) it needs to make use of temparory file disk, intead of ram.
    I'm still trying to track down which temporary it's trying to uses - so if you have any ques.
    cheers

  • Oracle service bus and composing two web services

    All,
    Do let me know your thoughts on this.
    Currently we have two web services
    Web Service 1 - Verify Eligibility
    Web Service 2 - Approve Proposal
    Web Service 1 has one operation and accepts a well defined set of input parameters similarly web service 2 also exposes a single operation and accepts a set of input parameters.
    These are deployed and running in our environment.
    Now we have a requirement to stitch together these two web services and expose them as one single composite web service on the Oracle Service Bus 11g.
    I want to create a proxy service on the OSB as unified web service (having its own WSDL) by composing the operations and input plus output parameters of the aforementioned two web services.
    This way we can publish the WSDL to the front-end apps and they will trigger it with the required parameters and the proxy service will orchestrate the call to WS1 and WS2 and send the final output back to the calling client.
    I was able to create an outbound call from the Proxy service to the underlying business services but I am not able to expose the Proxy service as web service with a WSDL i.e. create the proxy service by choosing operations of Web service 1 and web service 2
    Please let me know your thoughts on this.
    Regards,
    Sushant

    Thanks Atheek
    The proxy service I tried to create orchestrate 2 web services.
    But where we are struggling is How can i make this proxy service (composite) as a web service along with the WSDL.
    The proxy service should be able to accept calls from the client with set of inputs representing both the underlying web services and coordinate calls b/w these two services and return consolidated output back to the calling client.
    I am not finding a way to create a proxy service (web service along with the wsdl) which is representative of the underlying web services in a consolidated manner that can accepts inputs on behalf of both the underlying web services, orchestrate calls b/w the 2 web services and return the final output back to the calling client.
    example modified to keep it brief
    web service1
    operation name: Verify Eligibility
    Input: Complex type (String name, int Id, String address)
    Output: Complex type(String approval status, int Id, String reason)
    web service2
    operation name: Approve Proposal
    input: Complex type(String approval status, int Id, String reason, int Amount, int EmployeeCount)
    Output: Complex type (String final status, String recommendation)
    Composite Proxy Web Service
    name: Composite Eligibility and Approval
    Input: Complex type ( String name, int Id, String address, int Amount, int EmployeeCount)
    Output: Complex type(String approval status, int Id, String reason,String final status, String recommendation)
    The composite proxy should be created in a manner to jam the inputs of both the underlying web services and expose a representative interface on behalf of both the web services. This composite web service interface creation (WSDL) is where we are struggling a bit.
    Because the calling clients need a unified WSDL to able to communicate with the composite web service.
    Do post your thoughts.
    Thanks Again,
    Sushant

  • PL/SQL web service: question about stub

    hello,
    I'm currently learning how to work with PL/SQL Web Services.
    I have a question about stubs. The point is, I can deploy a web service to the OC4J server and it works. It also works when I create a stub following the WSDL I made with creating the PL/SQL web service. If I go to the endpoint in my webbrowser, the functionality is the same, with or without using a stub.
    My question is: what is the function of the stub?

    A stub is leveraged by a client application to communicate with a corresponding server side object (in this case, the web service implementation). If you think back to CORBA or RMI applications they follow a similar pattern.
    In the case of a web service you would use the stub to write a client application that could invoke the methods of the remote service and return the responses as java data types. The methods the stub class offers are the same as the methods of the web service interface. It's a common way for providing RPC like functionality.

  • Web Start client for two Web Services

    Hello.
    I wrote a client application that uses two different web services.
    Both web services are created using Basic Authentication. They have different user_names and passwords, but must be deployed on the same application server. I must invoked methods of these web services one after another.The problem occures when I invokes mehods of second web service. No matter which of service would be first or second. The problem occurs on second calling. I got this exception:
    EXCEPTION: java.rmi.RemoteException: HTTP Status-Code 403: Access to the requested resource has been denied; nested exception is:
         HTTP Status-Code 403: Access to the requested resource has been denied
         at com.softlets.insurelet.security.InsureletSecurityServiceSEI_Stub.login(InsureletSecurityServiceSEI_Stub.java:89)
         at com.softlets.insurelet.test.TestRefundPolicy.main(TestRefundPolicy.java:61)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    IMPORTANT: Everything worked fine until I started to install this application using Java Web Start.
    MY ASSUMPTION: It's likely to me that web start executes my application in some environment where it caches the first web service's username and password and applies it to the second web service. Because, if I run both web services on my local machine and set ENDPOINT_ADDRESS_PROPERTY to different values (first - localhost:8080, second - 192.168.0.21:8080) everything works fine.
    CODE FRAGMENT:
    public static void main(String[] args) {
    try {          
    String user = "test"; String pass ="test";
    String host = "http://192.168.0.21:8080/insurelet-p/insurelet_p";
    Stub stub = (Stub)(new Insurelet_policies_Impl().getInsureletPoliciesServiceSEIPort()); stub1._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, host);
    stub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, user);
    stub._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY, pass);
    InsureletPoliciesServiceSEI ws = (InsureletPoliciesServiceSEI)stub;
    String officeid = "test1"; String operatorid = "test2"; String mct = "1";
    // FIRST WEB SERVICE CALLING
    boolean result = ws.makeRefund(officeid, operatorid, mct);
    String suser = "test"; String spass ="test";
    String shost = "http://192.168.0.21:8080/insurelet-s/insurelet_s";
    Stub stub1 = (Stub)(new Insurelet_security_Impl()).getInsureletSecurityServiceSEIPort();
    stub1._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, suser);
    stub1._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY, spass);
    stub1._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, shost);
    InsureletSecurityServiceSEI ws1 = (InsureletSecurityServiceSEI)stub1;
    // SECOND WEB SERVICE CALLING
    OperatorTO to = ws1.login("softlets", "admin", "admin"); // EXCEPTION
    ENVIRONMENT: Both web services are deployed in a single enterprise application on Sun Java System Application Server 8.1.
    Java version: 1.5..0_02

    In case anyone's search leads them here, I've posted the solution at:
    *[http://www.pby.com/general.nsf/webarticles/dominowebservice01]*
    It is an exhaustive article (not "Hello World"!) that goes through several versions of the web service and client - hopefully explaining all* pieces of the puzzle:
    ~ web service code,
    ~ WSDLs
    ~ schema
    ~ thoroughly-documented clients that do and do not use JAXB
    ~ ... that use generated artifacts
    ~ ... that customize existing POJOs
    ~ the SOAP messages generated in each direction
    ~ the necessary JAXB annotations
    ~ explanations of how the code works
    ~ explanations of how namespaces affect the code
    ~ on and on and on...
    My constant goal was to write an uncomplicated solution that uses as few artifacts (two) and annotations as possible. The end result is a small, fast JAX-WS 2.0 client that uses JAXB to invoke and consume a secured Domino 7 (1.4.2 JVM + AXIS) web service, using RPC/literal SOAP messages.

  • PI Web Service Question

    Hi,
    I'm currently working on a project that requires using Web Services to communicate with PI. I was able to import the web service, and tried running to run the app. However, I ran into this error message when the WS executed:
    "Exception on execution of web service with WSDL URL ... with operation ... in interface '...?
    The message is too generic, and am not sure if the Web Service has the problem or my coding has the problem.
    Did anyone encounter this as well? Would appreciate an input or two for this one.
    Thanks!

    Hi Manoj,
    Thanks for your reply.
    Mmm... I tried to modify some of my code a bit, and now it is returning this error:
    com.sap.tc.webdynpro.progmodel.context.ContextException: Node(GPWAppComp.Request_SI_OS_RetrieveListOfMappingRules): cannot fill a ModelNode automatically. Change the cardinality or use a supply function.
    Are you familiar with this error?
    Thanks again!

  • Query as a web service question

    I have a QAAWS problem. BO XI 3.1, Xcelsius 2008 version 5.2.1.0
    I need to send 5 product names (user can select 1 to 5 products from a list) and display corresponding market share values I obtain from QAAWS.
    Created a query with Product names as prompt, returning market share. In prompt options, I selected
    "Prompt with list of values" and "Optional Prompt".
    in Xcelsius, when I created the connection, I select 5 columns as input from prompt (my product names). I selected the column from Input values, "Read From" and gave 5 columns in sequence.
    the problem:
    However, when I execute the query, I get only the market share of the first product returned.
    I know that QAAWS can take multiple prompt  from different columns. Is this because of Universe settings? or my option settings are in correct?
    Any help will be highly appreciated.
    Edited by: GopNair on Nov 11, 2009 8:26 PM

    Hi,
    I had the exact same issue.
    What you have to do is the following:
    In the Input Value section you have to select your Prompt from your query as a web service, then click the + sign - this will add multiple rows for your prompt - each of these row can then be pointed to each of your 5 colums/filter values individually. This will work.
    I asked almost the same question her:
    Query as a Web Service and In List
    Hth.,
    Jacob

  • A Web Service Question

    Hi everyone. I'm creating a WS using ADF, but I'm wondering if, despite what the documentation says about parameters, if is possible create a custom method in the AppModule that expect as parameter a custom class and return also a custom class???. It's there any simple or not way for do that or just can't be done?
    Using POJO can be solved the issue, but wont have all the facilities that offer ADF to make a WS.
    for example:
    public MyCustomClass methodName(){
    // Code
    Or
    public void methodName(MyCustomClass){
    //Code
    Regards and please advice me
    Dariel

    Hi,
    I had the exact same issue.
    What you have to do is the following:
    In the Input Value section you have to select your Prompt from your query as a web service, then click the + sign - this will add multiple rows for your prompt - each of these row can then be pointed to each of your 5 colums/filter values individually. This will work.
    I asked almost the same question her:
    Query as a Web Service and In List
    Hth.,
    Jacob

  • XML Web Service Question

    Hello, I have been asked to research a way to export data from the SAP BW into a remote application. I know nothing about SAP and I have a few questions. We would like to take data from SAP BW and put it in an XML file. Then we would like to automatically invoke a remote web service which will parse the data into the other applications database.
    My first questions is can SAP BW export some of its selected data into an XML file? If so how is this done (what tools, components, applications, etc. are necessary) and what is the level of complexity?
    My second question is can a remote web service be invoked automatically form the SAP BW and can the previously mentioned XML file be sent out to the web service for parsing and loading? If so how is this done (what tools, components, applications, etc. are necessary)and what is the level of complexity?
    Any help you can provide would be very much appreciated.
    Thanks in advance!
    Brett Lewinski

    This can be done in BW.
    Try the links given below, also there is a How to document available from SAP on this.
    http://help.sap.com/saphelp_bw33/helpdata/en/9f/9b8f3c855f0454e10000000a11405a/content.htm
    http://www.sapteched.com/presentations/session.asp?sid=140
    Thanks.

  • Java class namespace conflict between two Web services

    We have been asked to develop a client that can call two different versions of a live Web service. Unfortunately the people who developed the services that we have to call used overlapping namespaces when they created the new version. We are using the Java 6 JDK Web Services stack. We have generated the classes for our 2 clients using wsimport and include them on our classpath in two separate jars. Of course this should never happen because you should never have two different objects sharing the same namespace. We don't control the service though, so can't change things there. Is there some way for us to remap to objects in a different namespace for one of the services. Any help would be much appreciated, even if it's just to say that this is not possible.
    James

    did you try specifying a different package when you run wsimport?
    also, if you can't find a jaxws solution, you can always load each webservice jar in a separate classloader in your application and run your webservice access code from these separate classloaders.

  • Siebel outbound web service  question

    I'm writing a customized 'SendMailing' outbound web service. I have tested my web service with stand alone client, and now I want to integrate it with siebel. My step is:
    1 configure the SendMailingService in Administration -> web services -> outbound web services, in Service Ports panel I set the Address of the 'SendMailing' to my Web service endpoint, such as http://myhost/Siebel/SendMailing?WSDL
    2 configure the Email Marketing Server (in 'Administration -> marketing ->servers), set 'SendMailing' (outbound web service port) to 'Email sending daemon(ESD)', and other parameters such as from address.
    3 create an email treatment which use the configured email marketing server as the delivery profile.
    4 create a campaign with the created treatment and assign a list to the campaign.
    5 load the campaign
    6 launch the campaign.
    after the 6th step is done, nothing happens - no error message, no logs found, the campaign status still remains 'in planning'.
    some other clues:
    1 when I do the 'test email' for the email treatment, the following error log is found:
    ObjMgrLog Error 1 000009ec4bf10fc5:0 2010-05-25 08:16:35 (httptransport.cpp (1631)) SBL-EAI-04117: HTTP Request error during 'Submitting Data SendHTTP request': 'Status code - 500'
    ObjMgrLog Error 1 000009ec4bf10fc5:0 2010-05-25 08:16:35 (httptransport.cpp (981)) SBL-EAI-04117: HTTP Request error during 'Submitting Data Send HTTP request': 'Status code - 500'
    ObjMgrLog Error 1 000009ec4bf10fc5:0 2010-05-25 08:16:35 (soapbinding.cpp (564)) SBL-EAI-04304: Unknown Part 'http://www.bea.com/servers/wls70/webservice/fault/1.0.0:stacktrace' for operation 'createMailing' exists in SOAP message.
    ObjMgrBusServiceLog Error 1 000009ec4bf10fc5:0 2010-05-25 08:16:35 (outdisp.cpp (209)) SBL-EAI-04308: Operation 'createMailing' of Web Service 'urn:xml-send-mailing.SendMailingService' at port 'SendMailing' failed with the following explanation: "[Server CodecHandler] Failed to decode
    -> Unable to find xml element for parameter: options
    I guess siebel does try to invoke the outbound web service for the 'test email', but it seems do nothing for regular campaign launch.
    Did I miss anything? please help! thanks in advance!

    I have known the reason of the error logs: the soap message sent by siebel lacks 2 parameters. The 2 parameters should be contained in the soap message with a value of null or empty if they are really empty, but the siebel removes these 2 parameters from the soap message. So the soap stack of my client refused the soap request. I think this should be a siebel bug.
    Now my question becomes why I can't launch a campaign? I followed the steps of 'create offer' -> create campaign -> associate the offer with campaign -> assign a list->allocate a list->load campaign -> launch campaign. but the campaign just keeps 'In planning'.
    Did I miss anything? Or where can I find some clues? such as logs...

  • Web service question [qualitative]

    .....The cross-platform nature of Java facilitates distributed applications running on multiple hardware and operating system platforms. If all of the components of a distributed application are written in Java, then using EJBs with Java RMI is a good choice. However, web services are a great choice for integrating applications that are written in various languages, because most major platforms have support for SOAP, which is the protocol used in web services for passing object data from one application to another. This enables, for example, an application developed in Java to use the web service operations of an application developed in Perl......
    the last statement "This enables, for example, an application developed in Java to use the web service operations of an application developed in Perl".
    i have a question on this last statement.
    does it mean perl professionals can also make web service ? but using what ?
    For example, java professional can make web service using soap.jar and the server APACHE AXIS.
    How perl professional can make their web service(is it possible at all ? but it seems they can do also from the above statement) ? can they use soap.jar ? can they use APACHE AXIS server ? umm....i dont know.
    same question for also .NET people.
    the question is basically whether web service developement is exclusive for only java professionals or not ?
    because when i see any web service tutorial i get to see APACHE AXIS, java,soap etc ......so , i started thinking that java poeple can only develope web service......... .NET,PERL people can not make it. if they really can make it whats the server do they use ?
    thanks

    you can implement web services in any language, has nothing to do with java, just google 'webservices' and 'perl'
    Iggy

  • How to send JSON data in HTTPService to PHP web service question

    I'm using Flex 4 and a mx:HTTPService to send a JSON request to a php web service. I'm not sure if I'm sending the request correctly. Could someone look at the code below to see what I'm doing wrong?
    thanks
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   width="100%" height="100%">
        <fx:Declarations>
            <mx:HTTPService id="service" url="https://my web service url/"
                            method="POST" resultFormat="text" result="onResult(event)" fault="onFault(event)">
            </mx:HTTPService>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import com.adobe.serialization.json.JSON;
                import mx.collections.ArrayCollection;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.utils.Base64Encoder;
                [Bindable]private var username:String = "[email protected]";
                [Bindable]private var password:String = "the password";
                [Bindable]private var accountNumber:String = "49055";
                [Bindable]private var anticipatedDeliveryDate:Number = 20101115;
                [Bindable]private var purchaseOrder:String = "#123 for retailer";
                [Bindable]private var detailRecords:Array = new Array();
                [Bindable]private var key:String = "abc123";
                private function populateService():void {
                    populateProducts();   
                    setRequestHeader();
                    setRequestData();
                    service.send();   
                private function setRequestHeader():void {
                    var encoder:Base64Encoder = new Base64Encoder();
                    encoder.insertNewLines = false;
                    encoder.encode(key);               
                    service.headers["Authorization"] = "VIP " + key;
                    service.headers["Content-Type"] = "application/json";
                private function setRequestData():void {
                    service.request.username = username;
                    service.request.password = password;
                    service.request.accountNumber = accountNumber;
                    service.request.anticipatedDeliveryDate = anticipatedDeliveryDate;
                    service.request.purchaseOrder = purchaseOrder;
                    service.request.detailRecords = detailRecords;
                    // caching test
                    var rnd : Number = Math.round(Math.random()*1000);
                    service.request.cacheOff = rnd;
                private function populateProducts():void {
                    var prod1:Object = new Object();
                    prod1.itemCodeOrUPC = "00241";
                    prod1.itemDescription = "Budweiser Keg 1/2 BBL";
                    prod1.quantityOrdered = 2;
                    prod1.orderUOM = "Keg";
                    var prod2:Object = new Object();
                    prod2.itemCodeOrUPC = "00219";
                    prod2.itemDescription = "Budweiser 24/12 OZ CAN";
                    prod2.quantityOrdered = 4;
                    prod2.orderUOM = "Case";
                    detailRecords.push(prod1);
                    detailRecords.push(prod2);
                private function onResult(event:ResultEvent):void
                    var json:Object = JSON.decode(event.result as String);
                private function onFault(event:FaultEvent):void
                    trace("Fault: " + event.fault.faultString);
            ]]>
        </fx:Script>
        <mx:Panel width="95%" height="100%" color="#000000">
            <mx:HBox width="100%">
                <mx:Button label="Submit" click="{populateService()}"/>
            </mx:HBox>   
        </mx:Panel>
    </s:Application>

    Have you think abut using ActionScript in your Flex application? Or, you can write javascript to be proxy between your flash app and backend PHP web service?
    Also, it seems that you will allow every customer's flash player to have a copy of secret code. I think it is dangerous design because an flv file can be easity decompiled. Therefore, you secret code can be found if it is not input by your end user and it is populated on your serverside script.

Maybe you are looking for

  • How to access all music via family sharing

    I have setup family sharing, my daughter can see some of my music but not all. What do I need to do so that she can see my whole music library?

  • Box apperaing around my link in firefox?

    i have an image in an ap div that im linking to an outside website. as soon as i set up the URL a blue border box appears around my div, when i preview it in safari i get no such box but it does show up in firefox and in the design area of Dw as well

  • Still confused with different ABAP versions

    Hi folks, does anybody have an idea where I could possibly find a comparisson of the different ABAP versions (ABAP runtime environments) in order to find out the changes especially coming from 4.6C to the next versions SAP WAS 7.0. Especially in ABAP

  • Trying to use ALL_TAB_COLS  to find two tables based on input rows

    I'm using 9i. I'm trying to use the ALL_TAB_COLS table to find two tables that contain columns I can join them on. I know the names of the two tables. We can call them table1 and table2. I just using the columns that are stored in them below to find

  • How to get "Automation" boxs in Logic 7.1.1

    Yikes where do I go for Logic 7 questions? Perhaps i'll get lucky here. Please. I've been useing LOGIC 7X since inception & always had PROBLEMS WITH AUTOMATION when (dragging or copying) moving parts.Not with even remotely acurate. Only occasionally