Amicuk Programming Answers

Webservice Response

-0001-11-30   Views:0


Hi Flex Experts, I have a sample webservice which returns the following response. <element name="GetCustResponse"> <complexType> <sequence> <element maxOccurs="unbounded" name="GetCustItem" nillable="

Hi Flex Experts,
I have a sample webservice which returns the following
<element name="GetCustResponse">
<element maxOccurs="unbounded" name="GetCustItem"
<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"
<element name="SqlStateResponse" nillable="true"
type="tns1:SqlStateResponse" />
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
Thanks In Advance

The replay answer
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.

Go to See the other 3 answers

Webservice response (XML response) with tag not mandatory

Category:DefaultRelease time:2015-10-11Views:130

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 webs[More]

Send back IDOC ack with details  to  webservice response ?

Category:DefaultRelease time:2015-10-11Views:130

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 nu[More]

Webservice response times --How can we improve ?

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

WebService response charset problems

Category:DefaultRelease time:-0001-11-30Views:130

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 respo[More]

How to work with Arrays (or Lists) in WebService responses?

Category:DefaultRelease time:2015-10-11Views:130

Good Evening! In a BPEL process I invoked a some Webservice which return me a list of persons. Like this: <response> <personList> <person>Person1</person> <person>Person2</person> <person>Person3</person> &l[More]

Catching error messages in Webservice response

Category:DefaultRelease time:2015-10-11Views:130

Hi, The webservice I am trying to call from ABAP is throwing address not found exception which is caught by cx_ai_system_fault exception class. This class only returns <faultcode> and <faultstring> but not <ErrorCode> and <ErrorMsg>[More]

Setting webservice response content type / charset header

Category:DefaultRelease time:2015-10-11Views:130

I have a webservice .war file. I need to set the content-type/charset http header and add another http header. I wrote a filter to do that and had partial success. The other header (pics-label) is indeed sent in the response with the correct value. H[More]

WebService Response not resolvable

Category:DefaultRelease time:2015-10-11Views:130

When my webservice run send(), it returns the following error [WSDLError faultString="Element not resolvable" faultCode="WSDL.BadElement" faultDetail="null"] But dgInfoWrapper is the[More]

Webservice Response Attachement Deserialize XOP Include Error

Category:DefaultRelease time:2015-10-11Views:130

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="[More]

WebService response object in XML - parsing attributes

Category:DefaultRelease time:2015-10-11Views:130

Hi- new to Flex and I'm trying to parse out the attributes of the response object. I can get the entire object and see that its working, but I cant get just a single attribute. It pulls weather info for world cities. For example, I just want the loca[More]

Webservice response in BPM scenario

Category:DefaultRelease time:2015-10-11Views:130

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. E[More]

HI! I use bank account 193200 as a clearing account to clear open items. I have made two postings on this account in different currencies. Now I wan't t o clear this items in f-03, and the difference of apprix 10 EUR is to be posted on an exchange ra [More]
as a new apple user,G5,2.3,and as a aperture user I am both surprized and troubled by the lack of support and the dead quiet of apple concerning aperture.the members of this forem are some of the most gifted computer users I have found on any form,my [More]
I am having a really hard time applying the filter "Brush Strokes -> Angled Strokes" to a colored box, whether it's just a selection or a rectangular box. I did this once and it worked (i.e. The box kept the same color and the correct filter [More]
I have oracle installed a client machine, linking to the server. When i sign into the server using SQL+ this works fine. However when i try and edit any ODBC driver connections in windows-control panel i get an error telling me that the networking co [More]
In material master accounting 1 tab, under price and values  table. standerd price is not updating in group currency. Can you sugest me how to resolve this issueHi, As per My Knowledge,Wht ever currency is assigned as company code currency , tht will [More]
Hi, I met a problem when installing software via command line. After performing installation in terminal, some programs return Chinese messages where I know it should be English. I have checked my system language and region format settings if they ar [More]
How to embed/perform a Java Swing form into webased Swing form or any alternative. Suppose i have 2 or more swing forms which are desktop applications but i want those forms to be now how can i do this.Will i need to change the swing cod [More]
I am trying to attach any pictures and they all end up in the body of the email. Even if I go outside of iPhoto and use the attach menu in Mail it still puts in in the body of the email which does not allow the receiver to edit the pictures. I have n [More]
Hi I am running into a problem on my main index site. If you look at the image rotator on the very top of the page via firefox (only that browser) you will see that there is a flashback of some of the images before [More]
Alright, so school started today for me, and two of my classes are online. So I go to the online class site,, and everything seems fine. Page loads no problem. But as soon as I click user login, which is supposed to take me to th [More]