Quote in Webservice function

I'm using the webservice function to retreive data from yahoo finance but the result is always in "" sign. Is there a way to remove the quote sign just to get text or number. I have tried the numbervalue function but it is not working for percentage
data. 
thanks

Hi,
We can use SUBSTITUTE formula to remove the quotation marks in Excel.
Formula: =SUBSTITUTE(F1:F15,"""","")
http://office.microsoft.com/en-gb/excel-help/substitute-function-HP010062578.aspx
Regards,
George Zhao
TechNet Community Support

Similar Messages

  • Getting Excel to interpret the return string of a WEBSERVICE() function using a WCF REST service.

    I am using the WEBSERVICE() function in Excel and a WCF REST service is called through this function.  
    The web service returns a string value of true or false when invoked.  E.g. <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">True</string>
    This has been confirmed through debugging and it seems to be working fine when invoked through a client application or browser.
    However, the result shown in the cell in the Excel sheet is #VALUE!. This particular cell has a custom format (set using the Format Cells ... option) that displays "Yes" or "No". (The
    custom format is "Yes" ; "Yes" ; "No".)  Is this the correct way of interpreting the results of a Web Service method called in Excel? Does a #VALUE! result actually imply a formatting issue or some other interpretation
    error? Is there anything missing? Can somebody suggest ideas?
    Any help would be appreciated.
    Many thanks,
    Keith
    R K Howard

    Hi Keith,
    Have you used the formula FILTERXML(xml, xpath) function to extract single pieces of data from the XML string?
    If not, please follow the blog below, the author will guide you to get data from Webservice.
    http://blogs.office.com/2013/03/21/use-webservice-functions-to-automatically-update-excel-2013-spreadsheets-with-online-data/
    Best Regards
    Lan 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Calling functions from SOAP webservice. Can't access webservice functions.

    Hi flex gurus,
    I am quite new to flex. I am working on an flex application where I am trying to remotely invoke a SOAP webservice which is a wsdl file from Adobe flex 4.6.
    I have authenticated the webservice(Basic Authentication Done) and got access to wsdl but I am unable to call the functions in it. I just want to pass the username and password for the user login to the service function which will give me the data useful for my application, but nothing is returned when the webservice function is called.
    I am totally blocked at this point. Please help me.
    Thanks in advance.

    Below is my code snippet. But nothing is returned from th service, what is the problem???
    <?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="CheckWS" >
        <fx:Script>
            <![CDATA[
                import flash.net.drm.AuthenticationMethod;
                import mx.collections.ArrayCollection;
                import mx.messaging.messages.SOAPMessage;
                import mx.rpc.AsyncToken;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.rpc.http.HTTPService;
                import mx.rpc.soap.AbstractWebService;
                import mx.rpc.soap.Operation;
                import mx.rpc.soap.SOAPFault;
                import mx.rpc.soap.SOAPHeader;
                import mx.rpc.soap.SOAPResult;
                import mx.rpc.soap.WebService;
                import mx.rpc.wsdl.WSDLBinding;
                import mx.utils.Base64Encoder;
                public var resultdata:String;
                private function send_data(service:mx.rpc.http.HTTPService):void {
                    var encoder:Base64Encoder = new Base64Encoder();           
                    encoder.insertNewLines = false;           
                    encoder.encode("auth_usrname:auth_pswd");
                    service.headers = {Authorization:"Basic " + encoder.toString()};
                    service.send();
                //protected function soapWS_resultHandler(event:ResultEvent):void
                    // TODO Auto-generated method stub
                    /* var i:int;
                    var webresult:String=event.result.toString();
                    i = 0; */
                    /* var i:int;
                    resultdata = event.result.toString();
                    i = 0;
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <s:HTTPService id="soapWS"
                           url="My_Web_URL?wsdl" result="soapWS_resultHandler(event)" resultFormat="xml" useProxy="false" method="POST">
                <s:request xmlns="">
                    <Username>{username.text}</Username>
                    <Password>{password.text}</Password>
                </s:request>
                <s:result >
                    <![CDATA[
                        var i:int;
                        dgUserRequest.visible = true;
                        var obj:Object = new Object();
                        obj = event.result;
                    //    dgUserRequest.dataProvider = event.result.toString();
                    //    var str:String = new String();
                        resultdata = obj.toString();
                        i = 0;
                    ]]>                                                       
                </s:result>
            </s:HTTPService>
        </fx:Declarations>
        <s:Form x="20" y="10" width="100%">
            <s:FormItem color="blue">
                <s:Label text="Username" />    
                <s:TextInput id="username"/>
            </s:FormItem>
            <s:FormItem color="blue">
                <s:Label text="Password" />    
                <s:TextInput id="password"/>    
            </s:FormItem>
            <s:FormItem color="yellow">
                <s:Button label="Submit" click="send_data(soapWS)"/>
            </s:FormItem>
        </s:Form>
        <s:DataGrid id="dgUserRequest" x="20" y="300"
                     dataProvider="{resultdata}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="password" headerText="Password" />
                    <s:GridColumn dataField="username" headerText="User Name"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
    </s:View>

  • How to call webservices function - java importer 6i -Duncan?

    I've imported methods of a webservice from salcentral following instructions in otn.
    Now I need to figure out how to call the resulting function in forms
    Here is the function, the pl/sql error is wrong number or type of arguments
    Anyone done this and know how to get the function signature correct?
    I want to call checkemail
    PACKAGE BODY MXCheckerStub IS
    -- DO NOT EDIT THIS FILE - it is machine generated!
    cls ORA_JAVA.JCLASS;
    fid ORA_JAVA.JFIELD;
    mid ORA_JAVA.JMETHOD;
    args JNI.ARGLIST;
    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    cls := JNI.GET_CLASS('mypackage/MXCheckerStub');
    mid := JNI.GET_METHOD(FALSE, cls, '<init>', '()V');
    args := NULL;
    RETURN (JNI.NEW_OBJECT(cls, mid, args));
    END;
    -- Method: CheckEmail (Lorg/w3c/dom/Element;)Ljava/util/Vector;
    FUNCTION CheckEmail(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    cls := JNI.GET_CLASS('mypackage/MXCheckerStub');
    mid := JNI.GET_METHOD(FALSE, cls, 'CheckEmail', '(Lorg/w3c/dom/Element;)Ljava/util/Vector;');
    args := JNI.CREATE_ARG_LIST(1);
    JNI.ADD_OBJECT_ARG(args, a0, JNI.GET_CLASS('org/w3c/dom/Element'));
    RETURN JNI.CALL_OBJECT_METHOD(obj, mid, args);
    END;

    I would try to take an aproach where I'll generate a stub for the WSDL in JDeveloper, and also write a
    Java class that calls this stub and return a simple variable (String, int, or boolean).
    Then I would call this class from Forms.
    I believe this would make it easier.

  • BUG in 10.1.3 webservices functionality??

    Hi all.... we have some webservices that we've developed and deployed on 9.0.4 and they work there.... we've deployed them to 10.1.3 as a premlinary migration test and are having problems getting any webservices with custom objects in the signature or as the return type to work - we continue to get "No mapping found for " SOAPExceptions. In my investigation, I've found something that is disturbing and makes me wonder if there is a bug in the app server.
    Here is the snippet from our WSDL that defines a particular object that is to be returned from one or our webservices:
    <schema targetNamespace="http://com.snsi.ncost.flow.meas.ws/Pierre_EntrySB.xsd" xmlns:tns="http://com.snsi.ncost.flow.meas.ws/Pierre_EntrySB.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <complexType name="com_snsi_ncost_flow_meas_ws_model_MeasImmediatWS">
    <all>
    <element name="ST" type="xsd:string"/>
    <element name="city" type="xsd:string"/>
    <element name="isAlive" type="xsd:boolean"/>
    </all>
    </complexType>
    and here is the SOAPException we get when trying to run on 10.1.3 using the client-side classes generated by the app server (webServices.zip file):
    [SOAPException: faultCode=SOAP-ENV:Client; msg=No mapping found for 'http://com.snsi.ncost.flow.meas.ws/Pierre_EntrySB.xsd:com_snsi_ncost_flow_meas_w_MeasImmediatWS' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.; targetException=java.lang.IllegalArgumentException: No mapping found for 'http://com.snsi.ncost.flow.meas.ws/Pierre_EntrySB.xsd:com_snsi_ncost_flow_meas_w_MeasImmediatWS' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.]
    NOTE that the message in the SOAPException says "com_snsi_ncost_flow_meas_w_MeasImmediatWS" - there is no typo here... somewhere along the line the class name is being altered (it should be com_snsi_ncost_flow_meas_ws_model_MeasImmediatWS and in fact the class in the webServices.zip file is com.snsi.ncost.flow.meas.ws.proxy.com_snsi_ncost_flow_meas_ws_model_MeasImmediatWS.class).
    This looks like a bug to me and would explain why the object can't be mapped and deserialized.
    Further, on one occasion when I generated the webServices.zip file using the app server (via the ?proxy_jar servlet invocation) the generated classes also displayed altered class names and there was a pattern to the alteration as follows:
    com_snsi_ncost_flow_meas_w_Class1
    com_snsi_ncost_flow_meas_ws_Class2
    com_snsi_ncost_flow_meas_ws_m_Class3
    com_snsi_ncost_flow_meas_ws_mo_Class4
    com_snsi_ncost_flow_meas_ws_mod_Class5
    Although I've changed the actual names of the classes to Class1, Class2, etc. one can see that there seems to be a problem in the way the app server names/references classes. While the "No mapping found" errors have been consistent, the malformed class names within the webServices.zip file have not been consistent.
    Has anyone else seen this?

    I've got the same problem with the latest production version of 10g AS - 10.1.3.1.0, but interestingly it doesn't occur on the standalone OC4J that comes with the latest version of JDeveloper 10g (10.1.3.2.0) - this standalone OC4J is 10.1.3.1.1. Apart from the version difference, in 10g AS we're going through Oracle HTTP Server, but it's difficult to believe that would mangle the type name - I wonder if it's actually a difference between the releases in a class library that comes with OC4J.
    I can kind of see some "logic" to the bug as it lops of the last character before the actual class name in your case and the last 2 characters in our case. Some classes are not affected and the common factor seems to be when there are classes that start with the same set of characters, so we have the problem with all classes starting with Address, and I think it's shortening the name in such a way as to make a unique key within say 32 characters, then using the shortened key in the SOAP message rather than the original type name.
    I'm going to raise a Service Request with Oracle and will post results here once received.

  • Escaping sql quotes manually. (replace function)

    I can't get a simple replace to work and am surprised at myself.
    How do I replace every occurrence of either a 'single or "double quote with a backslash+quote (\' or \")?
    (I need it for mysql escaping of selects. Before you jump that prepared statements do it, yes but Jboss-ejb does not, and I don't know how to tell jboss to do so.)
    Anyhow this is a basic Java question, I tried the following to no avail:
    public static String escapeMySqlSelect(String s){
         if ((s.indexOf("\"") >=0) || (s.indexOf("\'") >=0)) {
              s = s.replace("\"","\\\"");
              s = s.replace("\'","\\\'");
              return s;
    }Whatever I try as the second argument for the replace, I get 1 of the following:
    1) Same as original string.
    2) TWO backslashes+quote.
    3) A red-flag from Eclipse with some obscure error message. (Won't compile.)
    Thanks
    -nat

    Further research;
    Jboss automatically escapes the string internally (likely via prepared statement), therefore causing a problem if I also escaped it. BUT, I have yet to figure out exactly when it does so.
    [And this threw me off completely ]There is definetly a BUG in ECLIPSE's (3.1) debugger!
    The 'variables ' panel does not show the true value of the returned string. In other words, a println of the returned string will DIFFER with what the debugger is showing as the value.
    Anyone with Eclipse can try it; with or without j2ee.
    -nat

  • Will the new Open Platform allow for a php like quote system to function within a bc site?

    I'm currently running a website that is built in wordpress, and uses a quote system built in php to fetch data based on the questions the person fills out from an online form.
    I'm interested in moving this site over to BC, I tried to in the past, but I discovered prior to Open Platform, this type of quote system would not be very possible, so we stuck with wp for its ability to leverage php integration.
    With the current site we upload an excel sheet as well as company logos that correspond to the there prices. The excel has all the prices layed out, its just a matter of the php fetching the info and provided quotes to the person.
    Below is a rough example A and B of what currently shows(roughed out images to respect the companies). My question to the gurus of BC, now with Open Platform, will we be able to effectively recreate this same set up, and if so, perhaps there is a developer that would be interested, in working with me on this, and if it could be achieved in the language that OP is using. I hope my query makes a little sense. Best - Erik
    Example A. Form.
    Example B. Quote Rates based on selections

    Hi createmint,
    It is possible to integrate 3rd party code (including php) if you can host the php on your own. Below is how I think you can achieve this:
    1. Host your php quotation system on an accessible web server.
    2. Register an application from BC partner portal.
    3. In your menu.json you point the default entry to your external site:
        "menu-meet_the_team": {
            "weight": 10000,
            "title": "Quotation system",
            "attr" : {
                "href" : "http://www.myquotationsystem.com/oauth/bc_cb.php"
    4. At this step you will have an entry in menu.json which will point to http://www.myquotationsystem.com/oauth/bc_cb.php php script (this is your start page of the application). At this point your quotation system is integrated in BC admin console. Moreover, the php callback receives an access token into hash fragment which can be used to call BC APIs.
    5. You would probably need to change your quotation system a little bit in order to create some frontend pages which display your app frontend to users.
    Of course, I totally agree with Liam that you should try to migrate your app to web apps but maybe the solution presented above will do the trick for short term.
    Regards,
    Radu

  • Any function to integrate applescript calls?  Or WebService functions?

    I'm looking to build a spreadsheet to track my stocks that I'd like to have automatically update from web service lookups for the current prices of stocks

    Richard,
    I wrote about this here:
    http://www.numberstemplates.com/2007/08/19/how-to-get-stock-quotes-into-apple-iw ork-numbers-08/
    To my knowledge, this is the only way to get that kind of information into Numbers, as it exists today.
    - Michael

  • Webservice Function

    I have no problem calling a web service, but I am wondering
    if there is a way to get a list of the web service methods via code
    hinting? (as u normally can using ctrl space on other objects)
    Thanks

    I don't think so... not via code hinting in the IDE. Because
    at design time Flex Builder hasn't actually gone out and polled the
    service. Thus it wouldn't know the methods actually available. On
    top of which, if you're calling the service via the HTTPService or
    URLLoader, those classes are too generic to even recognize at
    design time that you're actually accessing a web service (the URL
    could, for example, simply be a CSV or XML file).
    I think the closest you'd get to an integrated solution is
    the SOAPSpy plug-in for Eclipse (so it should work in FlexBuilder
    2... but you'd probably have to switch into a different
    workspace/view). But I think you'd find a more robust solution in
    the stand-alone desktop utility XMLSpy, or the online tools
    available at xmethods.com or webservicelist.com.

  • YES! How to make PRINT QUOTAS WORK with 10.4

    How to make PRINT QUOTAS WORK in 10.4
    After struggling for quite some time, I finally found a pretty simple way to make print quotas work.
    First, I’ll tell you our setup. We have 3 different computer centers with a variety of eMacs and new Intel iMacs, all clients are running 10.4.8, and each of those 3 centers has its own HP Laserjet 4200 printer. Our dual G5 server is running Server v.10.4.8. Client computers and printers have static IP addresses. All clients are bound to the server with the standard WorkGroup Manager/ LDAPv3 Directory Access scheme - such that all students login to the clients with their network username/password to mount their home directory on the client.
    Next, I’ll tell you what does not work. IF YOU WANT PRINT QUOTAS TO WORK, you cannot use Workgroup Manager to assign a printer to any managed user account, user group, or computer group. Why? Because when you go to a client, and Show Info on the printer that is being pushed by Workgroup Manager, you’ll see that the queue name is not the queue that you’ve setup in Server Admin. Instead, you’ll see the queue name is “MCX” or something along those lines. Even if you manually edit the Workgroup print preference file that is being pushed to clients, it still will not work.
    Drawbacks of my technique: In my case, students will see all 3 printers (1 from each lab) available to them no matter which lab they are in. Not the best, but for now I think it’ll be worth it to be able to control wasteful printing. Students may be able to move/delete the preference file (see below), but they’ll only be hurting themselves, as they won’t have any printers at all then.
    Okay, here’s how I did it:
    1. If you have setup any printers to be pushed out via Workgroup Manager’s preference enforcement to individual users, usergroups, or computer groups, turn those preferences off and leave them off.
    2. Delete any existing printers in your Printer Setup Utility and/or Server Admin. Add and setup a new printer queue using the Server Admin> Print service. I added the printer through the Server Admin application, not Printer Setup Utility (may not matter). However, I did go into that latter utility to set the model of the printer. Now, back in Server Admin, edit the printer queue to turn on these services IPP, LPR (bonjour off), and of course check off the enforce quotas box. (No student Windows clients, so I didn’t tinker with SMB print service). I went ahead and specified the standard cover sheet – it will be handy while troubleshooting.
    3. In Workgroup Manager, select the users that you want to enforce quotas upon, go to the Printer Quota tab (not the preference pane) and, in my case, I selected All Queues and specified a quota, and clicked Save.
    4. Delete all printers that appear in the Printer Setup Utility from each client computer (I know, UGH).
    5. For all network users, you need to edit a preference file and put it into each user’s home directory. That file is “com.apple.print.favorites.plist” and as you guessed, it needs to go into the Library> Preferences folder of every one of your network users’ home directories. Now, the content of that file is crucial… what it should show is the name of the queue(s) you created in Server Admin above, and be immediately followed by an “@” and the address of the server that is hosting that queue. For example, my queue’s name is TCStudentQ and the server’s address is student.mydomain.org… so my preference file has this entry: [email protected]. If you have more than one queue, you’ll have more entries. Be sure that the network user has at least Read level access under Group or Others. I’d recommend making the server System account the Owner of the file, and be sure to lock the file so the users can’t easily trash it. If you don’t know how to create this file in the first place, what you can do is go to a client computer, and log into the client with a dummy network account. Then open Printer Setup Utility, and you should see the queue you created in step 2. Add that printer, and then the file will be created in your dummy account’s home directory under Library> Preferences. Now you can use that file to distribute to other user’s folders… but don’t forget that each user needs Read level access.
    6. That’s it. Works for me. When they exceed the quota, all that spits out is the cover page. It’d be nice if there was a quota monitor utility on the client side so users can see how many pages they have remaining and when the quota will automatically reset. I plan to start the quota on a Monday morning and go on a weekly duration. Not sure what a good starting point is… perhaps 25 pages every school week.
    7. Hey Apple Computer, Inc. Server Developers & Project Managers, I truly hope you’re reading this and can explain why print quotas don’t function as you have documented and advertised. I don’t mean to toot my own horn, but I’ve spent way too much time discovering this workaround, and I know it will help thousands of others with the same problem. I can see where your Print Quota system breaks down, and I think you need to fix these issues or at least document them. Don’t forget to fix serious 10.4 Server bugs before leaving it behind for 10.5 Server – many of us will continue using 10.4 Server for at least another year or two.

    David,
    Your assumption that I didn't read the documentation is incorrect. I read that 10.4 documentation over and over - followed it to the letter to no avail. Perhaps it was updated in the last few weeks? So, do you have a fully operable printer quota system in conjunction with a managed computer or user group that has a managed printer pushed to the group via Workgroup Manager? I can push a managed printer to a managed group without a problem, but the quotas won't be enforced unless I use the workaround above and cut Workgroup Manager's managed/pushed printer out of the picture.
    I know this is a user-to-user forum - however, I'm also aware that Apple tech support often chime in here, so it doesn't hurt to post a message to them in the context of a larger posting about a 'known issue'. I have used the server feedback form... hasn't seemed to me to be very helpful in the past.

  • Using function in where clause

    I have created a function as follows
    create or replace FUNCTION get_codes RETURN varchar2 IS
    scodes varchar2(50) := 'A1,A2';
    BEGIN
    scodes := '('''||REPLACE(scodes,',',''',''')||''')';
    return scodes;
    END;
    this function returns ('A1','A2')
    now i want to use this in where clause, both below statements fetches no rows
    select * from tablea where code in (select get_codes from dual);
    select * from tablea where code in get_codes;
    but the following will fetch rows
    select * from tablea where code in ('A1','A2')
    how to use function in where clause
    Thanks

    Hi,
    The code that works:
    where code in ('A1','A2')is testing whther code is either of two 2-character strings, A1 or A2.
    The ones that don't work, such as:
    where code in get_codes;are comparing code to one 9-character string: 'A1','A2', where characters 1, 4, 6 and 9 are single-quotes. (The function can only return one value.)
    You can use dynamic SQL to embed that 9-character string in part of your query, where it will be interpreted as two 2-character strrings.
    [Oracle Base|http://www.oracle-base.com/articles/misc/DynamicInLists.php] and AskTom have good pages on the subject of dynamic IN-lists.
    Of you can use INSTR or LIKE:
    where INSTR ( get_codes
                , '''' || code || ''''
                ) > 0

  • Dynamic webservice client for User-defined datatypes

    Hi All,
    I have a webservices with user-defined datat types. I want to write a dynamic client that will work even if there are any changes in the wsdl, so that I do not want to recompile the client or make any changes on the client side.
    I tried using DII but we need to modify the custome objects and recompile the same. Suggest me any alternative.
    Regards,
    Sanjay

    Rob, unfortunately not. If I ever come across the solution, I will post it here.
    The reason I wanted to use weblogic webservices was to take advantage of the asynchronous webservice functionality. I ended up using xfire instead for my webservices, as we already had that in place in the application, and then using polling clients to get the response. Not an ideal solution, but it works very good anyway.
    regards,
    Marcus

  • Webservice call ends in Verify error during after decoding ( after update to Flex builder 3 /Flex builder 2.01 hotfix 3)

    Hi all,
    I like to ask if someone has ever get or heard from this
    error (or may help me to discuss how would be the best way to fix
    it). Also please note that the error didn´t occure when I used
    Flexbuilder 2.01 Hotfix 2 and the Flashplayer 9.0.47.
    The error just occured in myapp when I make a webservice call
    which response message includes a array of parameters.
    There is one workaround in the WSDL definition of the
    parameters, cause the WSDL contains at this place a <choice>
    tag, which is just partial supported by FLEX. The workaround for
    this is to use an own wsdl for the flex client where the including
    tags use attributes for minOccurs="0" maxOccurs="1" .
    The console window from FB3 shows (beneath some hundred stack
    entries) the following error:
    VerifyError: Error #1068: iwp.myapp.searchform.MySearchForm
    and iwp.myapp.searchform.MySearchForm cannot be reconciled.
    at
    iwp.myapp.searchform::MySearchForm/getSearchFormResultHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractOperation/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\flex\sdk\frameworks\ projects\rpc\src\mx\rpc\AbstractOperation.as:196
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\flex\sdk\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:198
    at
    mx.rpc::Responder/result()[E:\dev\flex\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.a s:48]
    at
    mx.rpc::AsyncRequest/acknowledge()[E:\dev\flex\sdk\frameworks\projects\rpc\src\mx\rpc\Asy ncRequest.as:81]
    at
    DirectHTTPMessageResponder/completeHandler()[E:\dev\flex\sdk\frameworks\projects\rpc\src\ mx\messaging\channels\DirectHTTPChannel.as:387]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    I really appreciated if somone could help me with this or has
    an idea how I can go on.
    ( one Question Is there a way to get the "open source"
    sourcecode before FB3 is released?)
    best regards
    kcell

    Hi all,
    today I found the reason for the crash, whcih occure when my
    app called the webservice function in the new flashplayer 9.0.115).
    The reason was that in the ResultHandler-function of the
    webservice call there were nested "switch" conditions used and in
    two of the "case" branches a "break;" missed. So the problem could
    easily be fixed, but I just want to inform people if the got a
    similar problem they should try to start the problem with "empty"
    Result/Fault Handler functions.
    ( the old version (9.0.47) seems to be more robust against a
    missing "break;" , but for sure have other leaks and of course
    features)
    so kepp on flexing ;)
    best regards,
    kcell

  • Accessign webservice result from another mxml file

    HI,
    I have an mxml application that uses the <mx:webservice
    function to load a wsdl and get some values. I have tested the code
    and it works fine and i can get the result and fault methods
    correctly.
    I would now like to call this service from another mxml file
    and use access the result or fault string accordingly.
    example scenario would be that when i load my main page, i
    would like the lookup values obtained from using the webservice to
    be available.
    i tried the following but didnt get any luck. Here lookup is
    the mxml file which contains the webservice, which i am importing
    in this file. GetLookValuesWithAuth is the operation name.
    var l:lookup=new lookup;
    var s:AsyncToken=l.es.GetLookupValuesWithAuth.send();
    s.addResponder(new mx.rpc.Responder(onSResult,onSFault));
    public function onSResult(e:ResultEvent):void{
    Alert.show("value is");
    var xy:XMLList=XMLList(e.result);
    lplist=xy.descendants("LOOKUPVALUES");
    Alert.show("lookup is
    "+lplist.toXMLString()+xy.toXMLString());
    public function onSFault(e:FaultEvent):void
    Alert.show("Fault is "+e.toString());
    An example of the webservice call in lookup.mxml is shown
    below
    <mx:WebService id="e1" wsdl="{wsdl "
    result="resultHandler(event)"
    fault="mx.controls.Alert.show(event.fault.faultString.toString())>
    <mx:operation name="GetLookupValuesWithAuth"
    resultFormat="e4x">
    <mx:request>
    <databaseName>{database name}</databaseName>
    <userName>{username}</userName>
    <password>{password}</password>
    <lookupID>05855b98-75c7-4117-a91c-db59e9ea0204</lookupID>
    </mx:request>
    </mx:operation>
    Any suggestions?

    "amthekkel" <[email protected]> wrote in
    message
    news:g9ovt2$e63$[email protected]..
    > HI,
    > I have an mxml application that uses the
    <mx:webservice function to load a
    > wsdl and get some values. I have tested the code and it
    works fine and i
    > can
    > get the result and fault methods correctly.
    > I would now like to call this service from another mxml
    file and use
    > access
    > the result or fault string accordingly.
    > example scenario would be that when i load my main page,
    i would like the
    > lookup values obtained from using the webservice to be
    available.
    >
    > i tried the following but didnt get any luck. Here
    lookup is the mxml file
    > which contains the webservice, which i am importing in
    this file.
    > GetLookValuesWithAuth is the operation name.
    > {
    > var l:lookup=new lookup;
    > var s:AsyncToken=l.es.GetLookupValuesWithAuth.send();
    > s.addResponder(new
    mx.rpc.Responder(onSResult,onSFault));
    > }
    >
    > public function onSResult(e:ResultEvent):void{
    > Alert.show("value is");
    > var xy:XMLList=XMLList(e.result);
    > lplist=xy.descendants("LOOKUPVALUES");
    > Alert.show("lookup is
    "+lplist.toXMLString()+xy.toXMLString());
    > }
    >
    > public function onSFault(e:FaultEvent):void
    > {
    > Alert.show("Fault is "+e.toString());
    > }
    >
    > An example of the webservice call in lookup.mxml is
    shown below
    >
    > <mx:WebService id="e1" wsdl="{wsdl "
    result="resultHandler(event)"
    I have no idea about web services, but it seems to me you
    should have a
    closing curly bracket in the wdsl property.
    HTH;
    Amy

  • How to make Output WebService accessible?

    Hello,
    another problem arose in our implementation of xMII as a shop floor integration tool. We are building a service oriented architecture and thus want to employ the WebService functionality of xMII. By using the WSDLGen we have built a Client who receives the output from a BLS consisting of a TagQuery, which has an outgoing Link to an outputproperty (marked as such by checkbox) of the Transaction.
    If we call the according WebService, the output reads to "null", if it is an XML doument, or to "0" or "0.0" for int and double respectively. Writing the output to a file gives the same result.
    The Query has been tested and used for a dynamic page for validation and generates non-zero output. Do you have any useful hint about where I may have missed an error or what is wrong with my approach?
    Thanks in advance!
    Andreas Gössling

    Hi, for all who will have a similar problem to deal with, I want to give actual info on my solution.
    The problem with the XPath was my very own fault, luckily, when configuring transactions for our life server I remembered what in the xMII tutorial was said about the Example XML document.
    If you define a transaction which runs a query and want to interlink a specific element of the result XML, make sure to respond on the question "Generate Sample XML document?" after specifying the query with "YES". Otherwise xMII can't show you what elements are in the results document and you will have to give the XPath manually (which is particularly interesting if the queried element contains "/", which is then transformed to "_").
    Instead of using the XML resultset and transforming it into an appropriate XML document, I now query several values and assign them each to a single primitive (integer and datetime) output property. I had to give the DateTime values distinctive names in order to not confuse them, but I now can call my Transaction from my Java application and can read all the values separately.
    I hope this can be a bit helpful for others who have to deal with similar challenges!
    Greetings,
    Andreas Gössling

Maybe you are looking for

  • Automator--find, replace

    How do I make an Automator script that will take a folder of text files and do a find & replace on each document? These are txt files, relatively short, with one or 2 strings that I want to replace with other strings. Like to make this so it will do

  • Outlook 2003 Won't Close

    After a recent iTunes update, Outlook 2003 will no longer close. It is putting a Com-add in "iTunes Outlook Addin". Once I disable, Outlook closes. How can I stop the add in from being installed? Everytime I open iTunes, it installs again.

  • Is the Santa Rosa Mac book pro (3.1) equiped with a Multitouch compliant pad ? (usable with Lion ?°

    I have a Santa Rosa Mac Book Pro (Mac Book Pro 3.1) Is somebody know if it is equiped with a track pad compatible with mulittouch application like in Mac OS Lion ? What will happen if I  change Snow Leopard for Lion ? Thank

  • Logitech c270 webcam and OS X

    I recently bought a Logitech c270 webcam with the understanding that it would work with my iMac. However the webcam does not seem to be recognised by my iMac. When I connect the webcam it is not switching on, no green light on the webcam or anything

  • Menus in Swing

    How do you respond to menu events in Swing?