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.

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>

  • 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

  • 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.

  • 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

  • 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

  • Microsoft SQL 2005 WebServices - SOAP Result Parsing

    Hello,
    I have successfully connected to, sent a request and
    retrieved a SOAP response from, the WebServices functionality
    (ENDPOINT) using MS-SQL 2005. What I need to know how to do is
    parse the SOAP response in FLEX as to access the actual data for
    use in the application.
    How do I extract only the node that contains the data and
    then use this for binding my controls? I don't need any of the SOAP
    header stuff in there. Of course I could loop through the
    xyz.lastResult and parse onyl the parts I need to a new XML object,
    but that seems a lot of processing for something that is almost
    there.
    Any help would be appreciated.
    Sal

    quote:
    Originally posted by:
    TN_SGIA
    Hello,
    I have successfully connected to, sent a request and
    retrieved a SOAP response from, the WebServices functionality
    (ENDPOINT) using MS-SQL 2005. What I need to know how to do is
    parse the SOAP response in FLEX as to access the actual data for
    use in the application.
    Can you share the code to do that with me? I'm not good a
    SOAP requests, and this would be an excelent contribution to my
    project. Thank you.

  • Server-side error including webservice

    Hi,
    I'm struggling with the webservice functionality on the
    server-side.
    At the top of my main.asc-file I have this line:
    load("webservices/WebServices.asc");
    That puts the following in my administration console:
    "WebServices Loaded successfully."
    However, when someone connects to the media server and it
    tries to initialize and use this webservice using this code:
    MyService = new WebService("uri.to.wsdl.file");
    I get the following error in the administration console:
    Sending error message: C:\Program Files\Adobe\Flash Media
    Server 3\scriptlib\webservices\XMLSchema.asc: line 110:
    ReferenceError: document is not defined
    Failed to execute method (XML.onData).
    I've tried googling it and that gave this result, but the
    solution suggested here didn't work:
    Link
    to other forum
    This is not caused by the webservice itself, since other
    flash and .Net applications can use it without any problems.
    Everything also works just fine when I run everything off my local
    workstation, but as soon as I put the stuff on the server the error
    message appears (and, yes, I've changed all references to the
    webservice to be the one on the server instead of the local
    workstation ;))
    What is causing this? Why do I get an error from Adobe's own
    code?

    Sorry... I take back what I said about it not being the
    webservice. It seemed it was the webservice after all... but not in
    the way you'd think.
    It seems that the webservice handling on server-side AS can't
    handle webmethods that return complex types. I had two methods that
    returned DataTable-objects (.Net-objects). As soon as I removed
    those the webservice calls worked just the way they should again.
    All the webmethods in the webservice now only return primitive
    types.
    This still seems like a bug in Adobe's webservice classes,
    though. A consumer of a webservice should be able to handle complex
    types.

  • Webservice invocation problem

    Hi All,
    I am trying to call a webservice deployed on Sunone app server 8.2. I have created the client stubs using wscompile tool. I am not getting any response when calling the webservice, the request is not sent to server at all. Following is the client code:-
    XdmOperationsPortTypeService_Impl objImpl = new XdmOperationsPortTypeService_Impl();
                   XdmOperationsPortType_Stub stub = (XdmOperationsPortType_Stub)objImpl.getXdmOperations();
                   javax.xml.soap.SOAPElement strXDMQuery=null;
    strXDMQuery.setTextContent("queryRequestForXDM");
    javax.xml.soap.SOAPElement strXDMQueryResponse = stub.query(strXDMQuery);
    where query is the webservice function i am tryng to call. XdmOperationsPortType_Stub and XdmOperationsPortTypeService_Impl are auto generated files.
    in the query function of XdmOperationsPortType_Stub class, the program flow is stopping at the following line
    StreamingSenderState state = start(_handlerChain);
    Would appreciate any pointers on this.

    What does your code look like?
    By the error it appears you are trying to access a field called "FAULT_CODE_IOEXCEPTION" which doesn't exist.

  • Can I use string[][]  in Webservice

    Hello All,
    Can I use string[][] in my Webservice .Is it supported in Java Webservice.Actually from my Webservice function I return an Java class Object having a field of type string[][].
    I use WSDL2Java tool to make client.When I run the Client I got following error:-
    Dec 17, 2008 10:17:02 AM org.apache.axis.encoding.ser.BeanPropertyTarget set
    SEVERE: Could not convert [Ljava.lang.String; to bean field 'data', type [Ljava.lang.String;
    Dec 17, 2008 10:17:02 AM org.apache.axis.client.Call invoke
    SEVERE: Exception:
    java.lang.IllegalArgumentException: argument type mismatch
            at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:157)
            at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:249)
            at org.apache.axis.encoding.ser.ArrayDeserializer.valueComplete(ArrayDeserializer.java:583)
            at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509)
            at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
            at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
            at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
            at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
            at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
            at org.apache.axis.client.Call.invoke(Call.java:2467)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at com.daffodilsw.dak.ca.server.service.DAKWebServiceBindingStub.getData(DAKWebServiceBindingStub.java:318)
            at Client.main(Client.java:22)
    Please help me If anyone knows it
    Thanks in Advance
    Regards..
    Sandeep Verma                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    No idea about the Axis exception but yes you can use String[][] over web services.

Maybe you are looking for