Webservice response problems

hi,
Iam trying to get my query webservice to function, but iam
having severe problems. No information can be found to solve my
problem, so Iam hoping some here can assist me in solving my
problem.
Iam getting errors (
RPC Fault faultString="Unexpected parameter 'queryResponse'
found in input arguments." faultCode="Client.Input"
faultDetail="null"]
at
mx.rpc.soap::Operation/mx.rpc.soap:Operation::createFaultEvent()
at mx.rpc.soap::Operation/
http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
at mx.rpc.soap::Operation/send()
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at mx.rpc.soap.mxml::Operation/send()
at AlfrescoQuery/___Button1_click()
I have tried everything I can think of, but to no avail...
below is my flex code Iam using:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
public function queryResultHandler(event:ResultEvent):void {
]]>
</mx:Script>
<mx:WebService id="alfServ"
wsdl="
http://myalfresco/alfresco/wsdl/repository-service.wsdl"
endpointURI="http:/myalfresco8/alfresco/api/RepositoryService">
<mx:operation name="query"
result="queryResultHandler(event)">
<mx:request>
<store>
<ns1:scheme xmlns:ns1="
http://www.alfresco.org/ws/model/content/1.0">workspace</ns1:scheme>
<ns2:address xmlns:ns2="
http://www.alfresco.org/ws/model/content/1.0">SpacesStore</ns2:address>
</store>
<query>
<ns3:language xmlns:ns3="
http://www.alfresco.org/ws/model/content/1.0">lucene</ns3:language>
<ns4:statement xmlns:ns4="
http://www.alfresco.org/ws/model/content/1.0">TEXT:'alfresco
development team'</ns4:statement>
</query>
<includeMetaData>false</includeMetaData>
</mx:request>
</mx:operation>
</mx:WebService>
<mx:Button x="88" y="45" label="Button"
click="alfServ.query.send()"/>
</mx:Application>
But this does not work... HELP ME PLEASE....
below included soap calls for the request and the response
that is recieved....
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<query xmlns="
http://www.alfresco.org/ws/service/repository/1.0">
<store>
<ns1:scheme xmlns:ns1="
http://www.alfresco.org/ws/model/content/1.0">workspace</ns1:scheme>
<ns2:address xmlns:ns2="
http://www.alfresco.org/ws/model/content/1.0">SpacesStore</ns2:address>
</store>
<query>
<ns3:language xmlns:ns3="
http://www.alfresco.org/ws/model/content/1.0">lucene</ns3:language>
<ns4:statement xmlns:ns4="
http://www.alfresco.org/ws/model/content/1.0">TEXT:'alfresco
development team'</ns4:statement>
</query>
<includeMetaData>false</includeMetaData>
</query>
</soapenv:Body>
</soapenv:Envelope>
RESPONSE
<soapenv:Envelope
xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<queryResponse
xmlns="
http://www.alfresco.org/ws/service/repository/1.0">
<queryReturn>
<querySession>
52dbfef8-306d-11dc-9782-6160ed7fcc06
</querySession>
<resultSet>
<ns1:rows
xmlns:ns1="
http://www.alfresco.org/ws/model/content/1.0">
<ns1:rowIndex>0</ns1:rowIndex>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/system/1.0}store-protocol
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>workspace</ns1:value>
</ns1:columns>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/content/1.0}modifier
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>admin</ns1:value>
</ns1:columns>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/content/1.0}name
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>SampleContent.txt</ns1:value>
</ns1:columns>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/system/1.0}node-dbid
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>2121</ns1:value>
</ns1:columns>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/content/1.0}content
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>
contentUrl=store://2007/7/12/13/42/05a414e3-306d-11dc-9782-6160ed7fcc06.bin|mimetype=text /plain|size=68|encoding=UTF-8|locale=en_US_
</ns1:value>
</ns1:columns>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/content/1.0}modified
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>
2007-07-12T13:42:51.895+02:00
</ns1:value>
</ns1:columns>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/content/1.0}created
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>
2007-07-12T13:42:51.286+02:00
</ns1:value>
</ns1:columns>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/system/1.0}store-identifier
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>SpacesStore</ns1:value>
</ns1:columns>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/system/1.0}node-uuid
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>
054727cd-306d-11dc-9782-6160ed7fcc06
</ns1:value>
</ns1:columns>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/content/1.0}creator
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>admin</ns1:value>
</ns1:columns>
<ns1:columns>
<ns1:name>
http://www.alfresco.org/model/content/1.0}path
</ns1:name>
<ns1:isMultiValue>false</ns1:isMultiValue>
<ns1:value>
http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/ content/1.0}sample_folder/{http://www.alfresco.org/model/content/1.0}sample_content
</ns1:value>
</ns1:columns>
<ns1:score>0.38761</ns1:score>
<ns1:node>
<ns1:id>
054727cd-306d-11dc-9782-6160ed7fcc06
</ns1:id>
<ns1:type>
http://www.alfresco.org/model/content/1.0}content
</ns1:type>
</ns1:node>
</ns1:rows>
<ns2:totalRowCount
xmlns:ns2="
http://www.alfresco.org/ws/model/content/1.0">
1
</ns2:totalRowCount>
</resultSet>
</queryReturn>
</queryResponse>
</soapenv:Body>
</soapenv:Envelope>

Anybody any idears ???????????

Similar Messages

  • WebService response charset problems

    Some time ago I posted a problem regarding unicode characters in WebService
    responses from WL7.0. I received a patch that helped partially - after the
    patch was applied, WL no longer threw any exception when an utf character
    was included in the response. So far so good.
    However, a problem arises when I call the WebService from a .NET client;
    .NET doesn't understand that the response is utf-8 encoded, so when the
    response is deserialized on the client side the encoded characters (such as
    å, ä, ö) come out as question marks. It seems that the Content-Type header
    doesn't specify the correct charset (I would expect something like
    'Content-Type:text/xml; charset=utf-8', but the charset=... part seems to be
    missing)
    By fiddling about a bit with the .NET generated proxy class I managed to
    force .NET to think that the Content-Type mime header does in fact contain
    the correct value (quite messy - I can supply the code if anyone should be
    interested). However, this should not be necessary - the solution I came up
    with is awkward and the only thing needed is that the correct Content-Type
    header be included in the WebService response. Is there a way to specify a
    default value for this?
    I tried creating a handler to intercept the response and set this specific
    mime header, but no luck - the value I set seems to be ignored (i tried
    ctx.getMessage().getMimeHeaders().setHeader("Content-Type", "text/xml;
    charset=utf-8");, as well as ...addHeader()). Besides, even if this did work
    it would seem unnecessarity complicated to create a handler and set it to
    handle all the methods in my WebService (there are quite a few).
    Any ideas?
    /Mattias Arthursson
    Compost Marketing

    This problem should be fixed in SP1. If the system property
    user.lang is not english, then SP1 will use utf-8 as charset
    (I think this will be your case).
    In SP1 you can also set a system property to change charset :
    weblogic.webservice.i18n.charset="my-char-set"
    regards,
    -manoj
    "Mattias Arthursson" <[email protected]> wrote in message
    news:[email protected]...
    Some time ago I posted a problem regarding unicode characters inWebService
    responses from WL7.0. I received a patch that helped partially - after the
    patch was applied, WL no longer threw any exception when an utf character
    was included in the response. So far so good.
    However, a problem arises when I call the WebService from a .NET client;
    .NET doesn't understand that the response is utf-8 encoded, so when the
    response is deserialized on the client side the encoded characters (suchas
    å, ä, ö) come out as question marks. It seems that the Content-Type header
    doesn't specify the correct charset (I would expect something like
    'Content-Type:text/xml; charset=utf-8', but the charset=... part seems tobe
    missing)
    By fiddling about a bit with the .NET generated proxy class I managed to
    force .NET to think that the Content-Type mime header does in fact contain
    the correct value (quite messy - I can supply the code if anyone should be
    interested). However, this should not be necessary - the solution I cameup
    with is awkward and the only thing needed is that the correct Content-Type
    header be included in the WebService response. Is there a way to specify a
    default value for this?
    I tried creating a handler to intercept the response and set this specific
    mime header, but no luck - the value I set seems to be ignored (i tried
    ctx.getMessage().getMimeHeaders().setHeader("Content-Type", "text/xml;
    charset=utf-8");, as well as ...addHeader()). Besides, even if this didwork
    it would seem unnecessarity complicated to create a handler and set it to
    handle all the methods in my WebService (there are quite a few).
    Any ideas?
    /Mattias Arthursson
    Compost Marketing

  • Webservice response (XML response) with tag not mandatory

    Hello all,
    I have a problem with a webservice response.
    I implemented a wsdl who created some method to call webservices (Methox X, Y ,Z).
    I call the method 'X' with a table of string who have3 values in input, and I have in a  XML Answer of the webservice call that :
    <tag1> Value 1.1
    <tag2> Value 1.2
    <tag3> Value 1.3
    <message>OK
    <tag3> Value 2.3
    <message>KO
    <tag1> Value 3.1
    <tag2> Value 3.2
    <tag3> Value 3.3
    <message>OK
    Tags 1, 2 and 3 are not mandatory in wsdl (Min occurs = 0).
    In output of the method 'X' (created by wsdl implemantation) a ABAP structure with that :
    ValueTag1 | ValueTag2 | ValueTag3 | message
    Value 1.1 | Value 1.2 | Value 1.3 | OK
    Value 3.1 | Value 3.2 | Value 2.3 | KO
    No value. | No value. | Value 3.3 | OK
    I expect to have logically:
    ValueTag1 | ValueTag2 | ValueTag3 | message
    Value 1.1 | Value 1.2 | Value 1.3 | OK
    No value. | No value. | Value 2.3 | KO
    Value 3.1 | Value 3.2 | Value 3.3 | OK
    SAP put into the line 2of the structure, data of 3rd response because it dont found tag in the 2nd response.
    If i do my call, value by value and i concatenate anwsers, i have no problem.
    I dont understand the error and i cant find SAP note on the subject.
    Someone know ths problem ?
    Thanks.

    Hello,
    I have a wsdl file who describe webmethod and his parameters.
    I implemented this wsdl into a client proxy.
    SAP create automatically some CLASS, METHOD, STRUTURE.
    I call one of this method to ask the webservice.
    A XML flow sent and the webservice respond to me with a other XML flow.
    The XML flow response his automatically transforme by SAP, and i receive it into a structure in output of my method.
    Example :
    CREATE OBJECT XXX
      EXPORTING
        logical_port_name = `ZZZZ`.
    CATCH cx_ai_system_fault INTO fault.
      RAISE EXCEPTION fault.
    IF XXX IS BOUND.
      TRY.
        XXX->METHODYYY(
                EXPORTING
                   input =  ii_input
                IMPORTING
                   output = oo_output ).
       CATCH cx_ai_system_fault INTO fault1.
         RAISE EXCEPTION lr_fault1 .
       CATCH Error_ws INTO fault2.
         RAISE EXCEPTION lr_fault2.
       CATCH cx_ai_application_fault INTO fault3.
         RAISE EXCEPTION lr_fault3.
       CLEANUP.
      ENDTRY.
    ENDIF.
    METHODYYY was created by SAP with wsdl file.
    ii_input and oo_output and typed like structure in wsdl file.
    I can see XML flow and his content in SOAMANAGER transaction when i activate full trace.

  • Send back IDOC ack with details  to  webservice response ?

    Hi Friends ,
    Can we send IDOC acknowledgment  as SOAP response . Our scenario is say for example create SO via Webservice call . Our requirement is to use IDOC only not RFC/BAPI etc . Even we know that IDOC is asynchronous we need to return the SO number which is created .So ,
    1. Can we get Ack with SO number which is created and map to Webservice response filed ? 
    Thanks .,
    V.Rangarajan

    Hi Rangrajan,
    You Have to Identify in which Idoc you want to get the response back in R3 then Map Response of Webservice that contains SO to the idoc identified and you well get all the things you require in R3.
    Let me make few things clear:
    You have to use BPM for this
    ALEAUD is for IDOC acknowledgment not for Idoc response (There is difference between ack and response). So it will not serve your purpose.
    Report IDX_ALEREQUEST is to convert the idoc acknowledgment (ALEAUD) to XML formate.
    Thanks
    Sunil Singh

  • Webservice response times --How can we improve ?

    Hi All,
    I am making two different calls to a Function module from java
    1. web service   2. Jco
    When I go to STAD transaction i can see webservice response timings are more compared to Jco.
    What intresting here for is CPU timings and DB timings.
    Some case The DB timings for webservice 3 to 4 times more than Jco  .
    Ideally DB timings should be similar in both the cases..right ??
    CPU timngs also more in webservice ? Why ? How we optimze this for good performance of web service ??
    My webservice is simple one conatins 4 input parmaters (simple type)  retuening a simple structure.
    Jco response time is around 500-2000 (ms)
    web service response time is  2000-5000  (ms)
    Looking for expert suggestions from our community
    Thanks in advance.
    Best Regards,Anilkumar

    hi,
    JCo is an native binary RFC oder FastRFC, walks through the Gateway,
    Webservice are textoriented, more Overhead and in summary with still less performance,
    walks through the ICM
    e.g. RFC-Connections are ca. 10 times faster than Webservices!

  • WebService SOAP response problems

    hey,
    I'm developing a WebService, using EJB's. I have a session bean, which has several methods. One of them returns, say, a class like follows:
    class TeamDTO implements Serializable {
    private String name;
    private Integer teamId;
    //getters and setters ..
    I have several such methods returning various, very similar, classes. Now the problem is, when I try to test my application in the Web Services Navigator the response NEVER contains all the fields I wish. Why is that? Example of a response:
    <SOAP-ENV:Envelope ...>
    <SOAP-ENV:Body>
      <rpl:getAllTeamsResponse  ... >
       <rpl:Response ...>
        <pns:TeamDTO>
         <pns:name>team0</pns:name>
        </pns:TeamDTO>
       </rpl:Response>
      </rpl:getAllTeamsResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But the TeamDTO class has apart from a name field an teamId field as well. What happened?! The same happens to other classes, but there's no rule about the missing column (first I thought it's the PK, like in the above example, but that's not the case).
    What am I doing wrong? Ah, the fields are definetely not null, since in the above case it's a PK.
    regards,
    Kornel

    Hey,
    thanks for your hint, but that's not the problem here - for the example I've posted above java.lang.Integer won't appear, and for another case java.lang.String (whereas in my example String appeared). I'm sure the problem is somewhere else.. What happens if the field is null, will the appropriate tag appear in the soap response?
    regards,
    Kornel

  • Webservice Response Attachement Deserialize XOP Include Error

    Hello experts,
    I am consuming a non SAP Webservice. The response contains a HTML attachment and the XOP Include element can not be interpreted.
    The Response:
    <ns2:html_content><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:[email protected]"/></ns2:html_content>
    The error message in SOAMANAGER:
    CL_SXMLP_DATA_ST .. internal error 1001 and error text CX_ST_MATCH_TYPE:XSLT Exception bei Offset 431, XPath soapenv: Envelope...... html_content(1)xop:Incldue(1) Value for type y expected (falut location is 1)
    The type y stands for binary (ABAP Type Mapping). The SAP System Release is 700 with level 27.
    I need the HTML. What is there to do, so that SAP can interpret the response?
    Thanks for the help,
    Flavius

    Hi Flavius, have you resolve your problem?
    maybe you can check oss note 1582187 - Limited support of XOP/MTOM via SOAP
    luca

  • Webservice response in BPM scenario

    I am doing a BPM scenario where I take data from ERP asynchronously using proxy and send it as a request to a third party synchronous webservice. The webservice gives a response and I am using the response to send it further along to other systems.
    Everything works fine if correct messages are sent and received. The problem starts when PI/BPM receives an un-expected response from the webservice. If the webservice sends an unknown error message in the response, the mapping fails and goes into the error queue. (smq2)
    And the real problem is every successful message or response after that also goes into the same queue and getting stuck. Why is this happenning? Do we need to monitor and clear the error queues all the time so that subsequent successful messages go through BPM corrrectly?
    Do you guys think it is a cache problem or something else?
    Thank you.

    this is because there is no proper error handling in your BPM.
    you need to handle the exceptions in case of mapping or communication failures.
    refer : http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm

  • Error in webservice response

    Hi,
    I am calling many webservice from pl/sql ,but for one webservice call is sucessfull but in response getting exception
    ORA-29273: HTTP request failed. ORA-06512: at "SYS.UTL_HTTP", line 1369. ORA-29263: HTTP protocol error.  (ORA-06512: at "SYS.UTL_HTTP", line 1369
    Dont know why it i sheppning tried to find the problem but cant find it,
    7Z

    If you see proxy structure created from wsdl then you can find exception class which may have "Detail" node.
    Regards,
    gourav

  • Receive XML document as Webservice Response

    Hi
    I have implemented webservices using axis.This works fine.
    But I need an receive the response as an XML document.because for multiple entries of same tag name, i can parse through the document and do what ever i want.
    Also how can i attach an external xsd for a wsdl.
    I am stuck up at these two places,Your help would be appriciated
    Thanks in advance

    Web service is platform independent hence most programming languages should return basic datatypes. In your case easiest thing would be to read that XSD file and convert entire file as String and return it as String. A document object will always throw an error.
    Google to find out datatypes supported.
    Hi Everyone,
    Please let me know if this can be a quick resolution to his problem.

  • WLS adding m: namespace to webservice response

    I have created the most simple webservice possible to recreate the problem, the HelloWorld webservice. It takes a name parameter as string to the getGreeting operation and returns a string response. As you will see in the examples enclosed below, the response has a namespace generated as xmlns:m="http://www.mywebsite.com". The true namespace, as defined in the WSDL (also enclosed below), is xmlns:hwns="http://www.mywebsite.com".
    This is really a problem for me in working with responses in Aqualogic and XPath to parse the response. I expect a namespace of 'hwns' and instead get the mystery namespace of 'm' which I cannot depend upon appearing consistently. All help in resolving this would be greatly appreciated.
    Request:
    <?xml version="1.0" encoding="UTF-8" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://www.mywebsite.com/"           
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <q0:getGreeting>
    <q0:name>Danno</q0:name>
    </q0:getGreeting>
    </soapenv:Body>
    </soapenv:Envelope>
    Response:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header />
    <soapenv:Body>
    <m:getGreetingResponse xmlns:m="http://www.mywebsite.com/">
    <m:return>Hello Dan!</m:return>
    </m:getGreetingResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:hwns="http://www.mywebsite.com/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="HelloWorldServiceDefinitions" targetNamespace="http://www.mywebsite.com/">
         <types>
              <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.mywebsite.com/"           
                   xmlns:xs="http://www.w3.org/2001/XMLSchema">
                   <!-- TIP: Start your element names off lower case. This will more closely match the
                        Java naming conventions when you generate the code -->
                   <xs:element name="getGreeting">
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name="name" type="xs:string"/>
                             </xs:sequence>
                        </xs:complexType>
                   </xs:element>
                   <xs:element name="getGreetingResponse">
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name="return" type="xs:string"/>
                             </xs:sequence>
                        </xs:complexType>
                   </xs:element>
              </xs:schema>
         </types>
         <message name="getGreeting">
              <part name="getGreeting" element="hwns:getGreeting"/>
         </message>
         <message name="getGreetingResponse">
              <part name="getGreetingResponse" element="hwns:getGreetingResponse"/>
         </message>
         <portType name="HelloWorldPort">
              <operation name="getGreeting" parameterOrder="getGreeting">
                   <input message="hwns:getGreeting"/>
                   <output message="hwns:getGreetingResponse"/>
              </operation>
         </portType>
         <binding name="HelloWorldServiceSoapBinding" type="hwns:HelloWorldPort">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="getGreeting">
                   <soap:operation soapAction="" style="document"/>
                   <input>
                        <soap:body parts="getGreeting" use="literal"/>
                   </input>
                   <output>
                        <soap:body parts="getGreetingResponse" use="literal"/>
                   </output>
              </operation>
         </binding>
         <service name="HelloWorldService">
              <port name="HelloWorldSoapPort" binding="hwns:HelloWorldServiceSoapBinding">
                   <soap:address location="http://localhost:7001/hello/HelloWorldService"/>
              </port>
         </service>
    </definitions>

    The only way I found for doing this was create a transformation on the final response in the very beginning of my bpel process and add the xsi namespace explcitily.
    Regards

  • Webservice Response

    Hi Flex Experts,
    I have a sample webservice which returns the following
    response.
    <element name="GetCustResponse">
    <complexType>
    <sequence>
    <element maxOccurs="unbounded" name="GetCustItem"
    nillable="true">
    <complexType>
    <sequence>
    <element name="id" nillable="true" type="xsd:string"
    />
    <element name="lname" nillable="true" type="xsd:string"
    />
    <element name="mgr_id" nillable="true" type="xsd:string"
    />
    </sequence>
    </complexType>
    </element>
    <element name="SqlStateResponse" nillable="true"
    type="tns1:SqlStateResponse" />
    </sequence>
    </complexType>
    </element>
    Based on the above response definition I should expect to see
    result as follows : (There are 3 GetCustItem records)
    result = mx.utils.ObjectProxy
    GetCustItem = mx.collections.ArrayCollections
    [0] = mx.collections.ArrayCollections
    [1] = mx.collections.ArrayCollections
    [2] = mx.collections.ArrayCollections
    SqlStateResponse = mx.utils.ObjectProxy
    But instead I am seeing the following : Basically the first
    GetCustItem is treated as a column header!!!
    result = mx.utils.ObjectProxy
    GetCustItem = mx.collections.ArrayCollections
    [0] = mx.rpc.xml.ComplexString
    [1] = mx.rpc.xml.ComplexString
    [2] = mx.rpc.xml.ComplexString
    [3] = mx.collections.ArrayCollections
    [4] = mx.collections.ArrayCollections
    SqlStateResponse = mx.utils.ObjectProxy
    Any comments ? Could be a problem with the Flex Client side
    API ?
    Thanks In Advance

    OK.. I should have been more specific. The output I have
    shown is from the DEBUG view of the Flex Builder and it's the
    result object of the ResultEvent. The mapping shows how the
    response objects are treated within the Flash world.
    So in effect the client side Flash API is messing up the
    response as it's converting the first array collection of customer
    details as column header for the data.
    Let me know if you need more details.
    Thanks

  • Alert Message displayed according to WebService response

    I've created and used a Web Service in my VC application which simply send a mail. This Web Service returns a boolean response which indicates if the mail has been correctly sent. I want to inform the user accordingly with an alert message.
    If the response is correct, I want the user to be processed to confirmation page;
    If the response is uncorrect, I want to inform th user accordingly.
    Which operator should I use?
    Do I have to use the output point of my Web Service object?
    Thanks

    Hi,
    Thanks Fabien for your answer ... but it hasn't solved completely my problem.
    My webservice effectively returns a boolean, and I use this boolean to show wether a confirmation message or a error alert. But the alert form (which is normally displayed only if WSReturn == "false") is by default always displayed. The response sent by my webservice seems to be by default set to false... very strange, isn't it?
    Has anybody encountered such a situation? I just would like to display one form or the other depending of the result of my WS call.

  • DI Webservice - Response not well-formed XML & OBServer.dll failed extract

    Hi,
    My company just implement SAP B1 this year.
    So far, we encounter 2 issue :
       1. Every month we encounter "Response is not well-formed XML" using DI Server Webservice.
       2. Failed to extract OBServer.dll from CAB file (encounter also once a month)
    For issue 1, restart DI Server service will not help.
    I need to reboot the Windows OS to make it work again.
    For issue 2, restart DI Server service will help to solve the problem.
    But the question why this happening ?
    Please help.
    Thanks.

    Hi,
    To begin troubleshooting, you may check any monthly applications' running like update or anti-virus.
    Thanks,
    Gordon

  • Retry Activity - WebService Code Problem

    Hi all,
    We have an activity when contains a Web-Service Code. This activity calls an external Web-Service by passing parameters and waits for response from the external Web-Service.
    We want this activity which contains the Web-Service Code to retry 2 times before entering into a System Exception when failed.
    We have configured the parameters in the Process Administrator ----> Engine ---> Execution ---> Automatic Execution --> Retry Times = 2.
    But somehow this activity ONLY does not retry 2 times before entering into a System Exception when failed. The other activities which DO NOT have any Web-Service Call code, do retry 2 times before entering into a System Exception when failed.
    Why is this so?
    Is it that an activity having Web-Service Call code cannot be retried when failed before entering into a System Exception?
    How do we rectify this problem?
    Is there any other parameter that we need to change for the retry of an activity that CONTAINS WEB-SERVICE CALL CODE?
    Btw.. I am using Local Variables for calling parameters inside my web-service.. Is that a problem? If I use Instance Variables then the entire process fails to execute and it takes a lot of space too..
    Edited by: user8766631 on May 5, 2010 10:55 AM

    I have tried calling them as webservices through CF and am
    getting the following Error:
    The string "--" is not permitted within comments
    I have turned off integrated Authentication and all the
    methods have Remote for the access property. I have some
    webservices I can call, others that I can't. They all follow the
    same pattern for their source code because of the code generator I
    wrote.
    There are always 2 CFCs involved, once CFC is nothing put
    <cfproperty> tags to create a message format, the DAO cfc
    (the ones I call directly) essentially get some rows from a
    database and return an Array of the CFC messageformat type, those
    are the methods that return no data, but other methods like
    updating and deleting data from the tables does work via a
    webservice, its only calling methods that return data that fails,
    and not for every service, only certain tables, and there is no
    rhym or reason to it thus far.
    Any other ideas? I would hate to have to start using
    .NET.....

Maybe you are looking for

  • What is the maximum number of records in a dynamic parameter list of values?

    In Crystal Reports Developer, I am attempting to add a dynamic parameter from a view.  The view has 6773 total records.  The field used for the parameter has 1819 distinct values, none of which are null. I have the parameter set to allow multiple val

  • Direct path read event

    Hi All, We are using 10.2.0.3 on sparc solaris 10 64bit OS. I was wondering about two events in my environment which is taking some long time. Yes, we are doing huge amount of grouping, sorting and hash joins which spill data to temp. Mostly, all tim

  • Weblogic Deployer

    Hello, I am using the Weblogic Server 9.1 and I typed the following command: java weblogic.Deployer -adminurl t3://myserver:7001 -user weblogic -password abcx -listapps and the result was: remoteWar [Version=1.1.0] remoteWar [Version=1.1.7] <ACTIVE V

  • How change Gui Status of a Table maintenance

    Hi, I have created a table maintenance generator for a Z table. I want to add my function in gui status. Could you tell me how can do it. Regards, Malnor

  • Error msg:  Please intall a Web browser

    Every time I try to compile my project I get a msg box that says "Please install a web browser." I use RH x5 and have several Web Help projects that suddenly will not let me generate. I, of course, have Internet Explorer and also AOL browsers install