Web Service only sending one item inside an Array

I reproduced same bug
http://bugs.adobe.com/jira/browse/SDK-12029
in Flex 3.0.0.0
I passed three elements:
(Object)#0
args = (Array)#1
[0] 5814
[1] 5815
[2] 5816
request = "getState"
SOAP generated request only for one id :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<getState>
<id>5814</id>
<getState>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

What build are you on? This issue is resolved with the HF3
updates. You flex 2.01 HF3 at at
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402381&sliceId=1
For MOXIE you should try this with the latest bits. Also, you
could submit a bug along with your test case that demos the exact
issue and I'll have a look at it. Along with the sample you
can/should post the WSDL and the captures of your SOAP
request/response - but also know that sdk-12029 is resolved as I
could not reproduce it.

Similar Messages

  • Web Service SOAP Sender Authorization

    Hi all
    I have been implementing a Web Service (SOAP Sender CC) that should be consumed by an external party. I have been testing it successfully using XMLSpy with the drawback of the authentication box coming up even though I have added sap-user and sap-password to the URL as following:
    http://<host>:50000/XISOAPAdapter/MessageServlet?channel=:SOAP_Service:CC_SOAP_Sender&sap-user=<name>&sap-password=<pass>
    The user that I have created for this has the profile SAP_XI_APPL_SERV_USER assigned.The request is successfully executed when I enter <name> and <pass> in the box. My understanding of it would be that the box does not show up if the login parameters are provided with the URL. Do I have to do any additional settings so that the login information will be taken from the URL parameters automatically instead bringing up the authoritzation box?
    My CC settings are as following:
    Adapter Type: SOAP (SAP BASIS 7.00)
    Sender
    Transport Protocol: HTTP
    Message Protocol: SOAP 1.1
    Adapter Engine: Integration Server
    HTTP Security Level: HTTP
    Conversion Parameters: Keep Headers
    Quality of Service: Best Effort
    Any feedback would be appreciated.
    Thank you,
    Daniel

    Hello Daniel,
    1. You can add username and password to the SOAP URL and expose your XI Interface as a webservice. Just that the URL is different than the one you are using and you do not need a Sender SOAP adapter but the blog I have listed above.
    2. You can turn of Basic authentication on Sender SOAP adapter's but it is not recommended as it would turn off all authentication for SOAP scenarios and it can lead to security risks.
    I have seen a few forum threads describing how to turn of Basic authentication for SOAP adapters but from what I have heard from SAP, they do not recommend using this option.
    Regards
    Bhavesh

  • Want to find out how much data a Web Service is sending to client (JWSDP)

    Well, the subject line didn't fit what I was intended to say, so if you don't get what I am saying in the subject line, I am sorry.
    My question is... I have a Web Service client that uses stub classes generated by wscompile in JWSDP. I am wondering, it there a way to find out how much data the Web Service is sending back to my client.
    The reason I asked is this, I used WebLogic 7.0 workshop to create a Web Service and also used JWSDP to create the same Web Service which deploys to Tomcat. The generated WSDL files from WebLogic workshop and JWSDP that expose the same functionalities have differences. The WSDL from WebLogic workshop is 1.5 times the size of the WSDL from JWSDP. When I tested both with client programs, calling the Web Service in Tomcat (which uses JWSDP to built) is much quicker than calling the Web Service in WebLogic.
    For this reason, I would liked find out if the Web Service from WebLogic is sending more data than the one created with JWSDP.
    Thanks.

    I've used the TcpTunnelGui utility to see the HTTP flowing up and down the wire, that might help you.

  • MB5S shown 2 duplicate item line but Actual PO only have one item line

    Dear Guru,
    I'm running MB5s to check the GR IR balances, i realized there is a PO which only have one item line but in the MB5S report, it shown 2 duplicate line.
    First line shown the Order qty 3000, Qty received 3000, and Qty invoiced 3000 which looks everythng cleared.
    But 2nd line shown the order qty 3000, qty received 0 and qty invoiced 0
    Can anyone please advice me what is the problem?
    Thank you very much,
    Regards
    Chee Wee

    Hi,
    No this is not available in the standard system. I am guessing you mean you have an SC with 1 item qty 10. And you want to split this into eg two items in the PO QTY 5 per item ? This is not possible in the standard system. An item has a unique GUID assigned so if you were to split this item it would lead to further complications generating follow-on documents and carrying out checks on the items.
    I hope this helps,
    Kind Regards
    Lisa

  • Web service task: Error when returning an empty array

    Hi,
    I've encountered an annoying error when using a Web Service Task from an SSIS package in SQL Server Data Tools.
    [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Index was outside the bounds of the array..
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    It seems that the Web Service Task generates this error when returning an empty response from the WSDL. I've seen several topics about this here on MSDN but they are all from 2008-2009 and seem to suggest that
    this is a bug.  The workaround suggested is using a script task but I would really love to avoid that since my programming skills are lacking.
    I'm using Visual studio 2010 with SP1.

    Hello,
    From my own experience: in all the cases where I had to use SSIS 2008 to retrieve data or send data to Webservices, I had to revert to using Script Tasks or Script components. Whenever I tried with a Web service task, because the job looked simple, I had
    to abandon it in favour of Scripts. Keep in mind that I try to make use of the SSIS components as often as possible, before reverting to Scripting. But handling web services is the one exception, where I always use scripts. In SSIS 2012 I did not find
    any significant improvement of the Web service task and hence no compelling reason to use it.
    Jan D'Hondt - SQL server BI development

  • Web Services - SOAP Sender and WSS

    I created a web service in PI 7.0 and created a WSDL for the client.  I created it to go to the Integration Engine instead of the Adapter Engine.  It uses HTTP (not SSL).  I am able to test it using soapUI (and a user/pwd with SAP_XI_APPL_SERV_USER role).  It works fine there.
    I gave my WSDL to the person making the real service client.  It turns out they can only make a call with WSS-PasswordType sent to "PasswordText" or "PasswordDigest".  He is getting an 401 Login error with every attempt.  I messed with these settings in soapUI and get the same error.
    Now I guess I need to adjust my service to support a WSS-encrypted password.  I generally assume such a thing would be driven from the server.  Do I need to get a certificate from my client?  I also assume I will need to make my service run through the Adapter Engine to support this...hence need to make Sender CC and Sender Agreement now in order to set up the WSS details.
    Please let me know if you agree.  Else...is there a way to leave my service as it is (through IE) and just handle the clients WSS password another way?
    Thanks,
    Keith

    You have to use Axis framework in SOAP adapter to handle this.

  • Two emails get sent when I am only sending one

    Hi, I'm new to this, and not good at brief.
    Incoming mail tells me there are 4 but I only receive 3, where is the fourth?
    Outgoing mail - I'm sending 2 emails but the mail activity tells me I am sending 3, where did the third one come from?
    USB stick, I load a word doc to put in another computer and on that computer it tells me I have 4 items on the stick but I know I only put one on and the stick was empty before I used it. I delete the unwanted items and lo and behold it does it again.
    Where are all these extra files coming from? I have been told not to use firewall as I don't need it and it is dodgy incase you forget the password and then you cannot get into your computer.
    Help!

    MarianneG wrote:
    Hi, I'm new to this, and not good at brief.
    I have been told not to use firewall as I don't need it and it is dodgy incase you forget the password and then you cannot get into your computer.
    Welcome to Apple Discussions:
    I think you are confusing the firewall with FileVault. Firewall is good and needed. FileVault can be problematic and unless you require extreme security, it's not necessary.
    Whoever told you that is misinformed and I would be careful about any information you get from him regarding Mac OSs.
    That being said, one should never never forget a password. Any password.
    Additionally, FileVault also requires setting a master password in case you forget the admin password, so you really would have to forget two passwords in order to lose the files in the FileVault. This is extremely improbable.

  • UTL_HTTP to call a web service to send SMS

    Hi All,
    I am trying to send SMS through a web service, and before doing it on a form, I tried to check this with UTL_HTTP from sql plus
    below given is the code i tried
    SQL> SET DEFINE OFF
    SQL> SELECT UTL_HTTP.REQUEST('http://80.227.146.106/Receiver/sms99.aspx?usr=JOE123&pass=JOE321&
    msisdn=971556221690&msg=test msg through ibuzz&mt=0') FROM DUAL;
    and am getting the result as shown below
    UTL_HTTP.REQUEST('HTTP://80.227.146.106/RECEIVER/SMS99.ASPX?USR=JOE123&PASS=JOE321&MSISDN=97155
    <HTML><HEAD>
    <TITLE>Request Error</TITLE>
    </HEAD>
    <BODY>
    <big></big>
    <TABLE border=0 cellPadding=1 width="80%">
    <TR><TD>
    <big>Request Error (unsupported_protocol)</big>
    </TD></TR>
    <TR><TD>
    Your request used a protocol that is not currently supported.
    </TD></TR>
    UTL_HTTP.REQUEST('HTTP://80.227.146.106/RECEIVER/SMS99.ASPX?USR=JOE123&PASS=JOE321&MSISDN=97155
    <TR><TD>
    </TD></TR>
    <TR><TD>
    </TD></TR>
    </TABLE>
    </BODY></HTML>
    protocol used for the webservice is HTTP
    they have given an IP with port number
    and the method is GET
    url 'http://80.227.146.106/Receiver/sms99.aspx'
    parameters are msisdn, msg, mt
    their response would be either true or false.
    I tried this on Oracle9i Enterprise Edition Release 9.2.0.1.0
    and the message is
    Your request used a protocol that is not currently supported.
    when i tried the same on Oracle Database 11g Release 11.2.0.1.0
    i got
    Request Error (unsupported_protocol)
    Can someone help please...........why am i getting such an error?

    Hi,
    This forum is dedicated to Oracle SQL Developer Data Modeler, so it is possible to get an answer here, but it is not very likely.
    Try to get help in in more appropriate forum from here
    https://forums.oracle.com/forums/main.jspa?categoryID=84
    Regards

  • Mail sending two mails when I mean to only send one

    Every time I send an e-mail with the new Mail program that comes with 10.5, it says that I have two e-mails sending from the outbox when I should only have one. I hope Mail isn't duplicating my secret and incriminating e-mails and sending them somewhere else!

    in the sent mailbox, can you see to whom you sent that email, are there two emails sent for that one you sent, or maybe more than one recipient in the "sent" field?
    also in mail>preferences>composing do you have cc or bcc "myself" checked or not?
    let me know.

  • Web-service can send to me ??

    I a bank has web-service and provide way
    1- i make a https connection and send request and wait response
    2- the web-service send to report he know my ip
    so the way 2 how ?
    how i wait a report ?
    thanks

    Web service can call a servlet running at your IP with response (report).
    so
    in my side deploy this servlet on application server ?? or what ??
    if yes othe way can do this without any application server such socket ??
    any idea
    the server will push to me a report (xml format )
    so how can i read it ??

  • Multi  web services exist in one weblogic.

    All:
    I have four web services, and I need four WAR files to deploy on the one
    server.
    My case is I have one "common" web service will be called by three different
    web services.
    Is this can be done ?
    TIA

    If the common web service is implemented by an EJB, why not just call it
    directly from the three web service implementation classes? Of course,
    you can also call the common web service using JAX-RPC, but it would be
    more efficient to call the implementation EJB directly.
    Albert Pi wrote:
    All:
    I have four web services, and I need four WAR files to deploy on the one
    server.
    My case is I have one "common" web service will be called by three different
    web services.
    Is this can be done ?
    TIA

  • Can only print one item at a time

    Hey everyone,
    Bit of a Photoshop novice here, use it for DVD covers and labels. I have been using CS3 previously but upgraded to CS5.5 last year. The thing is on CS5.5 I can only print one page at a time even when I input say 20 copies to be printed, only one will print. That goes for the regular printer for printing covers and the disc printer.
    I can open CS3 up and right away it will print however many I ask it to.
    Is there something I am missing? Something so painfully obvious that it is staring me in the face but I am just not seeing it?
    Thanks in advance!

    It isn't a printer setting. I have 3 different printers connected to my system and all of them worked with CS3 fine. And when I delete the preferences folder for CS5.1 it works as it should but only once, then afterwards it only prints one copy, no matter how many I ask it to print!
    So if it works when the preferences have been removed, then fails to work afterwards, how can that be a printer setting?
    I have read elsewhere that others have had similar issues with CS5 and Windows 7.

  • Why does my iphone only send one picture multiple times when i select multiple photos to send?

    why does my iphone send one picture multiple times when i select multiple photos to send (via message or email)?

    Are you sending via Camera itself?
    That is, selecting a picture, then select forward link symbol from bottom left
    then select another picture,
    Each time make sure you see the blue check mark at bottom right of each selected picture.
    The number of " # Photos Selected" should be displayed at the top.
    Then select Mail or Message and transmit.

  • How to retrieve web service results that are stored in an array?

    Hi, everyone,
    I am using a manually created web service reference in APEX3.0.1 to call an external web service for a simple company search. Here is the WSDL:
    http://ws.strikeiron.com/DnBBusinessProspectLinkage2?WSDL
    The web referene is tested fine. And here is a sample test result:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Header xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <SubscriptionInfo xmlns="http://ws.strikeiron.com">
    <LicenseStatusCode>0</LicenseStatusCode>
    <LicenseStatus>Valid license key</LicenseStatus>
    <LicenseActionCode>7</LicenseActionCode>
    <LicenseAction>No hit deduction for invocation</LicenseAction>
    <RemainingHits>4921</RemainingHits>
    <Amount>0</Amount>
    </SubscriptionInfo>
    </Header>
    <soap:Body>
    <CompanySearchResponse xmlns="http://www.strikeiron.com">
    <CompanySearchResult>
    <ServiceStatus>
    <StatusNbr>213</StatusNbr>
    <StatusDescription>Successful search</StatusDescription>
    </ServiceStatus>
    <ServiceResult>
    <Count>2</Count>
    <CandidateCompanies>
    <CandidateCompany>
    <CompanyName>MSC SOFTWARE CORPORATION</CompanyName>
    <StreetAddress>2 MACARTHUR PL</StreetAddress>
    <City>SANTA ANA</City>
    <State>CA</State>
    <PostalCode>927075924</PostalCode>
    <Phone>7145408900</Phone>
    <CountryCode>US</CountryCode>
    <BranchIndicator>Headquarters</BranchIndicator>
    <TradingName />
    <ConfidenceCode>8</ConfidenceCode>
    <MatchGrade>BAAAAZZ</MatchGrade>
    <MatchNameGrade>Similar</MatchNameGrade>
    <MatchNamePercent>62</MatchNamePercent>
    <MatchStreetNumberGrade>Same</MatchStreetNumberGrade>
    <MatchStreetNumberPercent>100</MatchStreetNumberPercent>
    <MatchStreetNameGrade>Same</MatchStreetNameGrade>
    <MatchStreetNamePercent>100</MatchStreetNamePercent>
    <MatchCityGrade>Same</MatchCityGrade>
    <MatchCityPercent>100</MatchCityPercent>
    <MatchCountryStateGrade>Same</MatchCountryStateGrade>
    <MatchCountryStatePercent>100</MatchCountryStatePercent>
    <MatchPOBoxGrade>Not provided</MatchPOBoxGrade>
    <MatchPOBoxPercent>-1</MatchPOBoxPercent>
    <MatchPhoneGrade>Not provided</MatchPhoneGrade>
    <MatchPhonePercent>-1</MatchPhonePercent>
    </CandidateCompany>
    <CandidateCompany>
    <CompanyName>TYRA TECHNOLOGIES, INC</CompanyName>
    <StreetAddress>2 MACARTHUR PL</StreetAddress>
    <City>SANTA ANA</City>
    <State>CA</State>
    <PostalCode>927075924</PostalCode>
    <Phone>7145408900</Phone>
    <CountryCode>US</CountryCode>
    <BranchIndicator>Headquarters</BranchIndicator>
    <TradingName />
    <ConfidenceCode>8</ConfidenceCode>
    <MatchGrade>BAAAAZZ</MatchGrade>
    <MatchNameGrade>Similar</MatchNameGrade>
    <MatchNamePercent>62</MatchNamePercent>
    <MatchStreetNumberGrade>Same</MatchStreetNumberGrade>
    <MatchStreetNumberPercent>100</MatchStreetNumberPercent>
    <MatchStreetNameGrade>Same</MatchStreetNameGrade>
    <MatchStreetNamePercent>100</MatchStreetNamePercent>
    <MatchCityGrade>Same</MatchCityGrade>
    <MatchCityPercent>100</MatchCityPercent>
    <MatchCountryStateGrade>Same</MatchCountryStateGrade>
    <MatchCountryStatePercent>100</MatchCountryStatePercent>
    <MatchPOBoxGrade>Not provided</MatchPOBoxGrade>
    <MatchPOBoxPercent>-1</MatchPOBoxPercent>
    <MatchPhoneGrade>Not provided</MatchPhoneGrade>
    <MatchPhonePercent>-1</MatchPhonePercent>
    </CandidateCompany>
    </CandidateCompanies>
    </ServiceResult>
    </CompanySearchResult>
    </CompanySearchResponse>
    </soap:Body>
    </soap:Envelope>
    Here is my xpath defined in the report:
    /CompanySearchResponse/CompanySearchResult/ServiceResult/CandidateCompanies
    According to the WSDL file, the candidate companies are stored in an array. I am having problem to retrieve this values from the array. The web service ref is called but it returns nothing.
    Anyone in the forum can tell me what I did wrong?
    Thanks in advance!
    Jeff

    Hi, did you manage to figure this out? I'm having a similar problem with arrays.
    Also, i'm looking at how I can pass an array of values as input to the webservice call.. eg if I were calling a stock ticker service that allows you to supply a list of tickers as input so that you can get all your responses in one call. Anyone any thoughts on that?
    Cheers,
    Paul.

  • Consume web service I get an unable to cast array error?????

    Hi All,
    I do not know what I have done but I am getting the following error?
    Error(24,30): cannot cast array webserviceproj2.proxy.Employee[] to interface java.util.List&lt;webserviceproj2.proxy.Employee&gt;
    Here is my Scenario
    Project 1
    I have a Project which contains One class that was generated by Toplink "Employees" I have a Map with a few queries
    I Create a Java Service Facade to test and everything works fine...
    I create a session bean with a Remote, Local and Web service endpoint which generates the deploy file for me.
    I Deploy to Oracle AS 10.1.3 and test the web service. Again all is working so far.
    Project 2
    I Create an empty project and add a web service proxy, I use the WSDL from the deployed Session Bean to generate all the files. So far I have added no code.
    I create a test class. One of the methods should get a list of Employees from the web service so I can loop through the list to prove it's working, this is where it fails. For some reason findEmployees is returning a type of Employee[] rather than a List&lt;Employee&gt; which is what should be returned?
    Can anyone please help????
    List&lt;Employee&gt; emps = (List&lt;Employee&gt;)port.findEmployeesByName("Jeremy","");
    for(Iterator i = emps.iterator(); i.hasNext();)
    Employee emp = (Employee)i.next();
    System.out.println(emp.getFirstName());

    JungleTaxi Cabbie wrote:
    Csound1: iCloud: Configuring Mail with Mac OS X v10.6 or iOS 4
    Enter your Incoming Mail Server, User Name, and Password using the following settings:
    Incoming Mail Server: mail.me.com
    User Name: Your iCloud email address (excluding @me.com)
    Password: Your password
    Last Modified: Jun 27, 2013
    Maybe you should test these things before calling people out, because these settings do function perfectly well.
    iCloud is not supported on Snow Leopard or lower, why bother to mention it?
    The OP has an iCloud account, and that can not be opened without Lion or Mountain Lion (on a Mac), IOS5 or 6 (on an iPhone/iPad)
    The document I linked to is Apples documentation for iCloud on current devices,I don't care whether you believe that you know better than they do, but it will affect the people who follow your advice as it won't work
    JungleTaxi Cabbie wrote:
    Also, if you're not running Lion or Mountain Lion, there is no "Mail, Contacts & Calendars" prefpane.
    I never said that there was, perhaps you imagined it.

Maybe you are looking for

  • Re:trackpad and keyboard not working on my MBP

    Over the past few days, my track pad on my laptop has stopped working and same with the keyboard. I have had to plug in an external keyboard and I am using a bluetooth mouse. This problem seems to occur randomly and frequently lately. I have to logou

  • Weird behaviour in OpenGL compositing with r300g

    Hello, I have a weird issue on my laptop with both KDE 4.6.5 and 4.7RC2. When switching on desktop effects with Alt-shift-F12, the screen turns gray, with a darker gray for the panel. I can also see the decorations ok, but that's all. The weirdest th

  • RMA FORM USING SMARTFORMS

    I have been requested to make a Return Material Authorization RMA form using smartforms. My questions are: Is there any standard template/format in SAP I can use. And if there is, is there any standard ABAP program which i can use with the form (if o

  • Search fails in Acrobat

    Hello, Search fails (returns no result). The example file I was trying to search inside is http://www.delphicyclometers.com/assets/pdfs/Blackburn_456_FR.pdf If I copy some text from Acrobat and paste it in some text editor, I only get question marks.

  • DirecTV DVR HR20 connect to internet via Time Capsule

    Hi Everyone, I've searched and come across various topics about connecting the DirecTV DVR to the internet via Time Capsule, but none of them seem to provide a solution for wireless connectivity.  Can anyone point me to a topic where it describes the