How can prevent http chunks receiving in a web service response?

Hi guys,
I'm developing a WS client mobile application, which consumes a Web Service (java based).
Usually it works fine, but sometimes in the clinet I get: java.rmi.MarshalException: Unexpected Exception : unexpected end of stream
This error occur when some big data has to be received from the server.
I've done some research on this problem and find that this is caused because of sending of th response via HTTP chunks. Somehow the server and client sides does not
communicates as expected.
I have no access to the Web service implementation.
Is there a workaround to solve this problem on the client side?
Can I force WS client to not receive the response in http chunks?
Thanks

I managed to fix it by using the well known pattern:
Web Service on the server(1) <--> Web Application(2) <--> Mobile Client(3).
For communication between (1) and (2) was by using WS, and between (2) and (3) was made by plain http connection. Now the application is portable and don't have any limitations.
radarada, thanks for the advice. It may work, may be I can try it when I have some time.
Vladdy

Similar Messages

  • How can i discover a method in a web service as scom object

    i have created a wcf service and i have different methods in that web service, i need to discover every method  using scom management pack and show that the data returned by those methods as scom data ,health state ,performance view etc.
    how can i get started with that.
    i have  powershell script to  get that data but how do i add them as classes and objects in the scom
    Thanks & Regards, Suresh Gaddam

    Hi,
    First of all you should think about which classes you need. If you are new to Management Pack Development you should enjoy the MP Development Video Series on Channel 9
    http://channel9.msdn.com/Series/System-Center-2012-R2-Operations-Manager-Management-Packs
    If you already have a script to get the information you need and have already designed you classes you can create a Powershell.Discovery.Script to discover the data to SCOM. Have a look on Modul 11 in the Video Series.
    Cheers,
    Christoph
    Blog: http://blog.cmaresch.at/  Twitter:
      LinkedIn:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • How can I test my Query As A Web Service?

    Hi,guru:
        I have created my Web Service based on universe which based on SAP BW query using Query As A Web Service Designer, but when I use it in Dashboard on BOBJ platform by passing a parameter to the Web Service, it seems no response from the Server,I made 2 test steps:
        1.Pass a value to the input parameter,I checked by ST01 in BW Server and see no records of the action, and no result return.
        2.Pass a blank to the input parameter,I checked by ST01 in BW Server and got many records,and all data be retrived.
        It seems that when I passed the parameter,the Web Service seems no response and didn't run at all. Is there anybody who can tell me how can I test the Web Service,I want to test it and input my parameter.
        Thanks very much for your quick response.
    Best Regards
    Martin Xie

    Hi Martin,
    Check the following link which might be helpful:
    1657208 - "No object returned; you either have not put objects in the result pane or your query is incorrect" when using QAAWS and KEYDATE variable in BI4.x
    How to use Prompt in xcelsius of BIWS
    Regards,
    Noopur

  • How can extra tags be removed when creating web services

    Greetings,
    If the "tables" of the function call (which a web service is generated from) has all the returned values with the correct tag but it also has the tag for the table name, how can the table name tag be eliminated before submitting the message?
    Here is the scenario: can create a function call and generated a web service from it.  The import and export values have the proper tags.  However, the return values needs to be in a table.  when the message is generated,
    - tags for each value in the returned table is generated also
    - tags for the table name is also generated.  in the below example, how can the tags for <ttable> </ttable>and <item> </item> be removed prior to submitting the message?
    FUNCTION zquery
      IMPORTING
        VALUE X TYPE  X1
    EXPORTING
       VALUE(RETURN) TYPE  BAPIRET2
    TABLES
          Ttable STRUCTURE  zstructure
    soap generated:
    <Ttable>
    <item>
    <title></title>
    <FirstName></FirstName>
    <MiddleName></MiddleName>
    <HouseNumber></HouseNumber>
    <Street></Street>
    <City></City>
    <State></State>
    <Zip></Zip>
    </item>
    </Ttable>
    Thank you in advance for any suggestions
    B.A.

    If you click the bookmarks menu item in the window, on the left, you should be able to select and delete the separators, on the right.

  • How can I store the result of a Web service in a page or application item?

    Apex 3.1 Database 10.g release 2
    I have successfully created and tested a web service.
    I have created a web service process on the page and I can see that it is being run by setting the debug flag.
    I want to return the results of this to a page or application item.

    Well I'm not storing anything. But the Web service has the information I require.
    (So then I will always show the same build number on the java application and the reports application).
    We currently have a jsp page which gets the build number and this is displayed on the main application. I need to show the same build number on the apex application, so I thought that since this information is supplied by the web service I may as well call it.
    So far, the options appear to be:
    i) Change the web service so that it uses parameters (well at least one just for me)
    ii) call the web service with JavaScript and parse the response file.

  • How can i records with date format using web services?

    Hello
    I can't record date records using web services. I get no message errors.
    I can import string values but no dates (YYYY-MM-DD). Do you have any clue about that?
    Regards
    Arturo

    hello,
    That's the code I'm using to update an opportunity. In the date fields (e.g. dFecha_de_entrega_al_cliente) I've tried to put an specific date in the correct format (If i put it in another format i've got an error message due the wrong format). The CRM accepted the code but it didn't update the values that are different of string.
    I don´t know if there is something missing in teh program or if the developer environment is not the adequate.
    Regards for your comments
    Arturo
    Private Sub ActualizarOportunidad(ByVal fila As Data.DataRow, ByVal TipoPersona As String)
    Dim oLog As New Log()
    Dim IdLog As Integer
    Dim NumSerie As String = ""
    Try
    oLog.Insert_Log("Activación Garantía - Crear Oportunidad", oLog.GetLastIdProceso())
    IdLog = oLog.GetLastId()
    Dim sr_input As Opportunity.OpportunityUpdate_Input
    Dim sr_output As Opportunity.OpportunityUpdate_Output
    sr_input = New Opportunity.OpportunityUpdate_Input
    Dim sr(1) As Opportunity.OpportunityData
    sr(0) = New Opportunity.OpportunityData
    NumSerie = fila("NumeroSerie").ToString().Trim()
    sr(0).ExternalSystemId = NumSerie
    sr(0).OpportunityName = fila("NumeroSerie").ToString().Trim()
    sr(0).SalesStage = "Deseo" '"Cerrada/Ganada"
    sr(0).dFecha_de_entrega_al_cliente = fila("FechaEmision").ToString().Trim()
    sr(0).dFecha_de_facturacin_al_cliente = fila("FechaCompra").ToString().Trim()
    sr(0).stNro_Factura = fila("NumeroFactura").ToString().Trim()
    sr(0).plActividad_Economica = fila("IdActividad").ToString().Trim()
    sr(0).plTipo_de_Venta = fila("TipoCompra").ToString().Trim()
    sr(0).CustomObject8ExternalSystemId = fila("ApellidoVendedor").ToString.Trim()
    'sr(0).CustomObject8ExternalSystemId = IIf(TipoPersona = "J", fila("DocumentoE").ToString().Trim(), fila("Documento").ToString.Trim())
    'sr(0).CustomObject7ExternalSystemId = fila("")
    Dim lofsr As Opportunity.ListOfOpportunityData
    lofsr = New Opportunity.ListOfOpportunityData
    lofsr.Opportunity = sr
    sr_input.ListOfOpportunity = lofsr
    sr_output = oOpportunity.OpportunityUpdate(sr_input)
    oLog.Update_Log(IdLog, "Si", NumSerie, "")
    Catch ex As SoapException
    Me.txtError.Text = ex.Detail.InnerText.ToString()
    oLog.Update_Log(IdLog, "No", NumSerie, ex.Detail.InnerText.ToString())
    End Try
    End Sub
    ************************************************************************

  • Good afternoon, I bought a box of PEV in the game the sims 3 worth € 8.99 and I was not credited in the game despite me out of the account. How can I cancel or receive the PEV?

    Good afternoon, I bought a box of PEV in the game the sims 3 worth € 8.99 and I was not credited in the game despite me out of the account. How can I cancel or receive the PEV?

    Try contacting iTunes support via this page and ask them to help : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How can prevent duplication of condition types in sales order??

    How can prevent duplication of condition types in sales order.
    While we want Amount field Changeable by user.
    Please give me solution.

    Dear Rohit,
    Can you explain your scenario in detail with an example or any screen shot so that we will help you in easy way ...
    Regards,
    C.B Reddy

  • HT5622 If I have two emails for my iMessage how can I see or receive my msj or the email that is not the primary email

    If I have two emails for my iMessage how can I see or receive my msj or the email that is not the primary email

    It's basically ment for iMessage and FaceTime. I might be wrong but this can only be done between two Apple products that allow this function. You won't receive an email if I sent you an iMessage to a secondary email you use for iMessages. You would only receive a text message. Now if someone using a PC sent an email to the secondary email you use you will receive an email not a text message. The secondary email is used basically if you do not have a data plan and you're connected to wifi you can still send iMessages using those emails you provided.

  • HT5205 I am in Ecuador, I have an A1430 iPad using a 3D micro sim card, when they call me it sounds like busy tut tut tut tut how can I do to receive phone calls and sms

    I am in Ecuador, I have an A1430 iPad using a 3D micro sim card, when they call me it sounds like busy tut tut tut tut how can I do to receive phone calls and sms

    iPad are not telelphones. They do not receive calls nor do they receive or send SMS messages.

  • On my iPad I can only send email and messages to apple products.how can I send and receive from other devices other than Apple?

    On my iPad I can only send email and messages to apple products.how can I send and receive from other devices other than Apple?

    Vallakat wrote:
    On my iPad I can only send email and messages to apple products.
    There is a huge difference between sending email and sending messages.
    Yes, I believe you when you say you can only send messages to other Apple products.  The iPad is not a telephone, and therefore, it cannot text message.  It can only iMessage, which means it can send and receive messages to/from other Apple products if they are on WiFi or an iMessage capable cellular network.
    Email, however, is a whole different category.  I don't really think you can only exchange email with other Apple products only.  Make sure you have correctly identified the symptoms.

  • How can I change email received by others from me via my IMac and MacBookPro being received as APPLE?ring as just Apple

    How can I change emails received by others from me on my IMac and MacBookPro appearing on their computers as 'APPLE' and not my name?

    Thanks - I did not realize that Homesharing can be specifically set to a photo destination like that!
    So, it would appear that I can either point it to iPhoto (and folders/ events within that) OR the default Pictures folder and subfolders of that OR any other specific folder (and subfolders of that) of my choice.  However, I cannot select BOTH the default Pictures folder (and some subfolder of that) AND a folder in iPhoto AND/ OR an event/ folder in iPhoto.  Is that a correct assumption?
    If so, the only way I see getting homesharing to get both set of pictures is to get all my picture folders (internal and external drive based) into iPhoto (without physically duplicating them) - and then pointing Homesharing to iPhoto, right?
    I think you have solved my issue - but I just want to be sure of that.
    Thanks a ton!

  • How can i send and receive messages through CAN

    Hi,
    how can i send and receive messages using Vector CAN CARDXL

    As mentioned in this forum post, if you have a dll, this can easily be called from LabVIEW or CVI.
    I also went to the vector website and it does look like they have LabVIEW drivers available for download.
    Peter Flores
    Applications Engineer

  • How can iPhone videos sent to another iPhone be made clear like they were recorded even though it sent as a text. with iMessage it's clear but when it's not available the quality *****, how can I make a received vid clear again??? help

    how can iPhone videos sent to another iPhone be made clear like they were recorded even though it sent as a text. with iMessage it's clear but when it's not available the quality *****, how can I make a received vid clear again??? help

    This is determined by your carrier. SMS/MMS is a poor man's email and by that I mean SMS/MMS has major restrictions and limitations compared to email but is a cash cow for cell phone carriers.
    Upload the video to YouTube when connected via wifi and send the YouTube link via text.

  • How can I upload pictures received with iChat to my Mac

    how can I upload pictures received with iChat to my Mac

    Hi,
    I am not sure what you mean.
    As Files they are sent in Chats (pic-in-chats) and displayed in-Line.
    Or they are sent as Separate Files, invoking the File Transfer Invite Window and you can "Accept' (Download) to the iChat Downloads folder.
    If an Active chat has a Pic in it, the pic can be dragged to the Desktop.
    Older Chats, if Saved, can also have Pics "grabbed" from them when opened.
    To be using an iChat version you need to be using OS X 10.7.x (Lion) or Earlier.
    Mountain Lion has Messages. This adds the iOS style iMessages account to what iChat can do.
    Pics can be "Saved" to the Desktop the same way.
    9:36 PM      Thursday; August 22, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for

  • Purpose of adapter specific message atributes at sender,reciever file adapt

    hi. i want know birefly about adapter specific message atributes at sender ,reciever  adapters. and what would be the result if we enable this adpspecmessatb checkbox waiting for your response. bye. regards. seeta ram.

  • Buffalo WHR-HP-G54 and an Airport Express

    Hello. I would like to know if the Airport Express can be setup "easily" as a WDS bridge to a wireless network that is coming from a Buffalo WHR-HP-G54 wireless smartrouter. I see that both support WDS. Is there a doc anywhere that might help me to c

  • Part of screen won't respond

    A strip of my screen down the right side of the phone will not respond to touch 98% of the time.  Anyone have this issue??

  • Error Processing request (RABAX_STATE)

    <<Confidential information removed at poster's request. Please take care when publishing logs etc., that it does not contain sensitive information - this forum is publicly accessible>> Edited by: Matt on Mar 2, 2010 2:08 PM

  • Help needed with this BAPI

    hi, I'm using this IS Oil BAPI RFC_SDCONOIL_CREATEFROMDATA for uploading sales contracts. When we create a contract this BAPI is popping up a dialog asking for some input values. There is no way that these input values can be supplied through the BAP