Webservice server response encoding in unreadable format!

Hi,
I am sending a SOAP based payload to a webservice, the action that needs to be performed is happening properly (verified from browser/DB) but in the details page of the playback i am seeing unreadable characters. I tried setting the response encoding type to all 3 possible values - ASCII, UTF-8, ORACLE Binary but i am not getting the xml output that is returned by the server. Can you please help me in resolving this issue. I am using OATS 9.2.1 version. Also the sample server response is:
------=_Part_69_365884190.1296744348826
Content-Type: application/xop+xml;charset=UTF-8;type="text/xml"
Content-Transfer-Encoding: 8bit
Content-ID: <4832838f30b84c9c9b829e8506279346>
<?xml version="1.0" encoding="UTF-8" ?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><ns0:processResponse xmlns:ns0="http://xmlns.oracle.com/apps/outlookEdition/connector/requestHandlerService/types/"><ns2:result xmlns:ns2="http://xmlns.oracle.com/apps/outlookEdition/connector/requestHandlerService/types/" xmlns:ns1="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns0="http://xmlns.oracle.com/apps/outlookEdition/connector/requestHandlerService/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns0:OutlookRequestHandlerSDO"><ns0:BaseObjectXml xsi:nil="true"/><ns0:ObjectKey xsi:nil="true"/><ns0:ObjectType>opportunity</ns0:ObjectType><ns0:NativePimId xsi:nil="true"/><ns0:DeletionFlag>true</ns0:DeletionFlag><ns0:ErrorCode xsi:nil="true"/><ns0:ErrorDetails xsi:nil="true"/><ns0:ErrorMessage xsi:nil="true"/></ns2:result></ns0:processResponse></env:Body></env:Envelope>
------=_Part_69_365884190.1296744348826--
Regards,
Muthu

Excerpt from Raja.vengala's mail:
Muthu,
What you see in the response is the compressed content. WebService is encoding the response in gzip format. Disable encoding support before sending the request as follows
Preferences -> playback-> http -> unselect gzip
Raj

Similar Messages

  • WS Deployed on Oracle App. Server, Response issue for some requests

    I have a WebService deployed on Oracle Application Server and it's an HTTPS connection. I am facing a small issue and can't figure out
    what's going on. For each request there's a response to let know the requester that data is processed successfully or any error. The caller of the Web Service makes a call and sends in an xml data. It's processed on my end and then a return type is an Element that holds the response data. Once in a while the caller does not get a response back even though on my end I don't see any errors and the data is processed successfully.
    Here is the signature of the function:
    public Element parseData(Element data) throws RemoteException; And I can't figure out why a caller does not receive a response back for some of the requests. Any ideas what might be wrong or how to debug this issue. Is there any place I can look to see for each request is a response going back. I don't know if it's related Network or App. Server and where to start to debug this.
    Any help is appreciated.
    Thanks

    Hi there.
    If the consumer of your service is a .NET client, it will silently ignore any response that is not formated as advertize in the WSDL and will return an empty object to the caller. As you are trying to use raw XML Element, it seams to be a potential explaination.
    If you can turn off SSL in your test environment, you may want to run a TCP sniffer tool, on the host where your server is running. You can setup a filter on the IP @ of the consumer or the TCP port of the service comsumed. I'll recommend you look at ethereal as it's a cross platform utility.
    Hope it helps.
    Eric

  • How to call webservice server application in jsp

    Hi Friends
    I followed this link http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html and run the server and client web service application successfully. How to call the Webservice server application in JSP instead of using client (java main method) java appliaction. Is there any tutorial or code for accessing the webservice server application in jsp.
    Thanks and Regards
    Sherin Pooja

    797526 wrote:
    Hi
    I feel that JSP is just a view page.Not a feeling, it actually is :)
    So it is not good practise to write the scriplet code in JSP page. Absolutely right.
    Is there any other way to call the webservice server application in my client(JSP) page?
    What is it that you want to do? If despite all you have said, you still wish to call the webservice from a jsp, read my response above.
    You would do well to rephrase your question if there's something else that you are asking.
    ram.
    Edited by: ramp on Dec 27, 2010 12:35 PM

  • XML Server character encoding

    Hi, I'm using the proxy generated by UDS for XML Server published service object. I have some problems with strings return types with some locales ( e.g:spanish ).
    How can I set the XML Server response character encoding to avoid this problem?

    This tech note will help:
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F7717&zone_110=7717%2A%20
    ka

  • How to change default response encoding for not jsp files

    Hi
    Question about Weblogic Portal&Serwer 10.
    For standard web applications from war archiwes, html etc. files are send with default server response
    "Content-Type: text/html; charset=ISO-8859-1".
    The question is how to disable this default header
    or how to change this header to correct encoding.
    PS.
    I found solution only for ear' applications ...
    with file META-INF/weblogic-application.xml and webapp.encoding.default parameter. This works well for ear's.

    Thanks. I feel a bit like a dummy for not seeing that but so it goes. What I was looking for, in a perfect world, was to set a preference to permanently sert a default folder on an external drive to store the .dvdproj files once they are made.......but your suggestion is close enough to my original intention.
    Thanks again.

  • Com.sap.caf.mp.base.exception.EngineException: Problem in server response:

    Hi,
    I have created one CAF application,which is having one external webservice and one application service.Webservice takes two input parameters(string,boolean) and it returns an arraylist.
    So when i test the CAF application on the CAF service browser it is giving me error like " com.sap.caf.mp.base.exception.EngineException: Problem in server response: [Bad Request]."
    I am getting this error while creating object of web service.
    Can anybody help me on this issue..
    Thanks in Advance

    It looks like you are not authorized to execute the webservice. Check the webservice authentication settings.
    Peter

  • Unable to read Password Server response - socket error on socket

    Hi,
    I'm experiencing the following at the OD replica:
    2014-06-03 12:13:06.424616 FET - 592.1446486 - Client: Python, UID: 93, EUID: 93, GID: 93, EGID: 93
    2014-06-03 12:13:06.424616 FET - 592.1446486, Node: /LDAPv3/127.0.0.1, Module: AppleODClientPWS - unable to read Password Server response - socket error on socket fd 12: Resource temporarily unavailable (5205)
    Any ideas are appreciated. Thank you in advance.

    Hi Raja- It seems to be a data quality issue.
    Check for the value @ 1447 position in the xml message that you are trying to send to web service..
    may be a date filed/decimal value which is not in expected format.

  • Ignoring Http basic authentication header in wls 7.0.sp2 web service servlet (weblogic.webservice.server.servlet.WebServiceServlet)

    Hi!
    We need to implement authentication using our own methods, and the authentication
    information is provided to the web service implementation in a basic authentication
    header. The problem is, that the servlet
    weblogic.webservice.server.servlet.WebServiceServlet, which handles web services
    in
    wls 7.0.sp2, always attempts to perform authentication, if the header is present.
    Is there any way to circumvent this, because we want to implement authentication
    on our own?
    I already know two workarounds:
    The best would of course be to implement a custom security realm for our own
    authentication system. This is not an option, implementing an own security
    realm is overkill for this specific web service.
    The other way would be to route the requests by way of a custom servlet, which
    would
    remove the basic authentication header, and put the authentication info in custom
    headers, such as x-auth: <user:password>, or smthng similar, and after successful
    authentication, make a call to bea's servlet weblogic.webservice.server.servlet.WebServiceServlet.
    But still, I'd like to know if there is any way to tell bea's servlet to ignore
    the basic
    authentication header?
    Oh yeah, by the way, this is URGENT, as always. (really!! ;)
    Toni Nykanen

    Currently there is no option to turn off security check.
    I think you can use a servlet filter mapped to the URL
    of your service, instead of a proxy servlet?
    Regards,
    -manoj
    http://manojc.com
    "Toni Nykanen" <[email protected]> wrote in message
    news:3ef1577b$[email protected]..
    >
    Hi!
    We need to implement authentication using our own methods, and theauthentication
    information is provided to the web service implementation in a basicauthentication
    header. The problem is, that the servlet
    weblogic.webservice.server.servlet.WebServiceServlet, which handles webservices
    in
    wls 7.0.sp2, always attempts to perform authentication, if the header ispresent.
    Is there any way to circumvent this, because we want to implementauthentication
    on our own?
    I already know two workarounds:
    The best would of course be to implement a custom security realm for ourown
    authentication system. This is not an option, implementing an own security
    realm is overkill for this specific web service.
    The other way would be to route the requests by way of a custom servlet,which
    would
    remove the basic authentication header, and put the authentication info incustom
    headers, such as x-auth: <user:password>, or smthng similar, and aftersuccessful
    authentication, make a call to bea's servletweblogic.webservice.server.servlet.WebServiceServlet.
    >
    But still, I'd like to know if there is any way to tell bea's servlet toignore
    the basic
    authentication header?
    Oh yeah, by the way, this is URGENT, as always. (really!! ;)
    Toni Nykanen

  • I'm using a Kodak M532 camera with a 2 gigabyte SD card. I just took 30 photos, all of which are visible on the screen. When I attempted to import them the last 15 were said to be in an unreadable format (no. 1117 on). Is there a fix?

    I''m using a Kodak M532 camera with a 2 gigabyte SD card. I recently took 30 photos, all of which are visible on the camera's screen. When I attempted to import them the last 15 were said to be in an unreadable format (no. 1117 on). I deleted some 200 photos from the card, but photos that I then took, though also visible on the camera's screen, were also said to be in an unreadable format. Is there a fix?

    There is an ongoing issue with Kodak cameras and 10.6. Workaround: Reformat the card with the camera and use a USB Card Reader.
    Regards
    TD

  • The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.

     try
                    MailMessage mail = new MailMessage();
                    SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
                    mail.From = new MailAddress("[email protected]");
                    mail.To.Add("[email protected]");
                    mail.Subject = "Test Mail..!!!!";
                    mail.Body = "mail with attachment";
                    System.Net.Mail.Attachment attachment;
                    attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
                    mail.Attachments.Add(attachment);
                    SmtpServer.Port = 587;
                    SmtpServer.UseDefaultCredentials = true;
                    SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
                    SmtpServer.EnableSsl = true;
                    SmtpServer.Send(mail);
    Catch(Exception exception)
    When i m run this part of code it throw an Ecxeption                                                          
            Given Below is the Error.. 
        The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
    Bikky Kumar

     try
                    MailMessage mail = new MailMessage();
                    SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
                    mail.From = new MailAddress("[email protected]");
                    mail.To.Add("[email protected]");
                    mail.Subject = "Test Mail..!!!!";
                    mail.Body = "mail with attachment";
                    System.Net.Mail.Attachment attachment;
                    attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
                    mail.Attachments.Add(attachment);
                    SmtpServer.Port = 587;
    SmtpServer.UseDefaultCredentials = true;    ///Set it to false, or remove this line
                    SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
                    SmtpServer.EnableSsl = true;
                    SmtpServer.Send(mail);
    Catch(Exception exception)
    Given Below is the Error..      The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
    Solution:
    The error might occur due to following cases.
    case 1: when the password is wrong
    case 2: when you try to login from some App
    case 3: when you try to login from the domain other than your time zone/domain/computer (This
    is the case in most of scenarios when sending mail from code)
    There is a solution for each
    solution for case 1: Enter the correct password.
    Recomended: solution for case 2: go to
    security settings at the following link https://www.google.com/settings/security/lesssecureapps and
    enable less secure apps . So that you will be able to login from all apps.
    solution 1 for case 3: (This might be helpful) you need to review the activity. but reviewing the activity will not be helpful due to latest security
    standards the link will not be useful. So try the below case.
    solution 2 for case 3: If you have hosted your code somewhere on production server and if you have access to the production server, than take remote
    desktop connection to the production server and try to login once from the browser of the production server. This will add exception for login to google and you will be allowed to login from code.
    But what if you don't have access to the production server. try
    the solution 3
    solution 3 for case 3: You have to enable
    login from other timezone / ip for your google account.
    to do this follow the link https://g.co/allowaccess and
    allow access by clicking the continue button.
    And that's it. Here you go. Now you will be able to login from any of the computer and by any means of app to your google account.
    Regards,
    Nabeel Arif

  • Server Response: 550 5.7.1 Unable to relay

    SBS 2011 I have exchange 2010,
    Internally Outlook send/ Receive working fine-- Local Ip address.
    Owa Send/Receive working fine.
    But remote user can receive the Emails, But cant send the emails.
    Subject 'tes'
    Server Error: 550
    Server Response: 550 5.7.1 Unable to relay
    Server: 'xxx.xxx.xxx.xxx'---- Public IP address
    Windows Live Mail Error ID: 0x800CCC79
    Protocol: SMTP
    Port: 25
    Secure(SSL): Yes
    How to fix this issue ?

    Hi,
    Did you create a relay connector to allow to relay in Exchange? About how to create a relay connector, you can refer to the following article.
    How to Configure a Relay Connector for Exchange Server 2010
    http://exchangeserverpro.com/how-to-configure-a-relay-connector-for-exchange-server-2010/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    To allow a device to use Exchange to relay a message to an outside recipient, you also need the ms-Exch-SMTP-Accept-Any-Recipient attribute.
    Get-ReceiveConnector -Identity relayconnector | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • JavaMail, ESMTP, problem with this server response: "+  stunnel"

    I need to send message through a STMP server I don't know much about. The server works fine, when using port 25. But I need to send mail through port 465. I've looked around the web, I've searched the forums, but found no solution.
    I've identified, that the server uses some kind of strange "secure" connection. I was told, that is uses SSL, but when I use SMTPSSLTransport, it says the "Unrecognized SSL, plaintext connection?". So I am using the common Transport. This is my code:
                props.put("mail.transport.protocol","smtps");
                props.put("mail.smtp.host", smtpHost);
                props.put("mail.smtp.port", 465);           
                props.put("mail.smtps.starttls.enable","true");
                props.put("mail.smtps.ssl", "true");
                props.put("mail.smtps.socketFactory.port", 465);
                props.put("mail.smtps.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
                Session session = Session.getDefaultInstance(props);
                session.setDebug(true);
                Transport transport = session.getTransport();
    ...I am getting this output:
    DEBUG: setDebug: JavaMail version 1.4.1
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth false
    DEBUG SMTP: trying to connect to host "host name of the server", port 465, isSSL false
    220 "host name of the server" ESMTP Sendmail 8.13.1/8.13.1; Fri, 15 Feb 2008 18:10:49 +0100
    + stunnelDEBUG SMTP: connected to host "host name of the server", port: 465
    EHLO "my hostname"
    DEBUG SMTP: bad server response:  + stunnel
    HELO "my hostname"
    250-"my hostname"
    WelcomeDEBUG SMTP: use8bit false
    MAIL FROM:<[email protected]>
    250 STARTTLS
    220 Go ahead
    RCPT TO:<[email protected]>
    DEBUG SMTP: got response code 220, with response: 220 Go ahead
    RSET
    DEBUG SMTP: exception reading response: java.net.SocketException: Connection reset
    javax.mail.MessagingException: Exception reading response;
      nested exception is:
            java.net.SocketException: Connection resetI have no idea, what a stunnel is, but it is causing the problem, I think.
    Does anybody have any ideas what can be wrong? Or does anyone know how to check the server setting? Or what properties can I try to set? (I've tried all possible options of the properties I am already setting in the code).

    You're getting newline (LF without the CR)? If so,
    it's possible that Thunderbird isn't seeing that as
    an end of line and so considers the "+stunnel" to
    be part of the greeting line.
    Either way, there's something messed up in the
    server configuration and you really need to report
    that to the server administrator.
    Also, port 465 is supposed to be an SSL port,
    starting in SSL mode, not starting in plain text
    mode as you're seeing. Again, this is evidence
    that the server is set up incorrectly.
    JavaMail will support STARTTLS just fine, and it
    won't care what port you're using, but that bogus
    "+stunnel" line is a protocol violation that's
    confusing it. Possibly Thunderbird is taking the
    approach of "throw away garbage until I see
    something I recognize", but JavaMail isn't working
    that way.
    If this was a server on the public internet that
    lots of people might encounter, I might be inclined
    to add a workaround to JavaMail. But since this is
    a private server that's clearly configured incorrectly
    and is clearly violating the protocol, I think the best
    thing to do is to get the server fixed.

  • Anyone else seeing "Invalid server response" when logging into VCMA through a web browser?

    I am getting "Invalid server response" when I log into VCMA from Safari on my iPhone. I have the app on my iPad and it will connect and manage my ESXi hosts normally (so I am fairly certain the setup and config of the Virtual Appliance went ok).
    I Googled the error and got some returns about different Virtual Appliances doing the same thing. Seems to be an issue with running VCenter on a Windows 2008 server (which we are). Users reported switching VCenter to Windows Server 2003 boxes and it worked fine.
    Anyone else ran into this and figured it out?
    My environment:
    vCenter Server 4.1.0 - Build:258902
         - running as a VM on ESXi 4.1.0 - Build: 348481
         - running on top of Windows Server 2008 R2 Standard SP1
         - vSphere Client 4.1.0 - Build: 258902
    vCenter Server and VCMA Appliance are on the same subnet.

    I had not done that yet, but thanks to your suggestion I have made that change.
    I am not sure if the above fixed the issue, but I am now able to get the website to load. I was trying to load the page https://vcmaServerIP:5480 which will load a login page. When you try to log into it, I was and am still getting the error I first posted about. By some weird chance I tried to load the page https://vmcaServerIP and got a completely different looking page and was able to log in and work like I should be able to.
    So, lesson learned: do not put the :5480 at the end of the URL and you will get the correct login page.
    Thank you dschubot for your help.

  • Cannot import photos into iPhoto - Unreadable format????

    When I try to import photos from my Original iPhone to iPhoto (software 3.1.3) I receive an error message that says :
    Unreadable format:
    The following files could not be imported. (The file is an unrecognized format.)
    IMG_0279.JPG
    And lists all file names. I have imported pics from the phone many times in the past with no issues.
    Please help! I really want to import these pics.

    Thank you for your advice. I tried image capture and it will not import either. I know that I can email myself the photos and that is fine. My concern is that not one photo will import. I just took a new one to test. So I guess there is an issue with my phone or camera.

  • Error in server response

    I have an Ultra 60 running Solaris 8 and I'm trying to execute the pkg-add -U command (I really want to install a new gcc compiler but I'm getting the same message). The results are:
    Connecting to an_address.edu[000.0.00.000]:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /pub/packages/solaris/freeware/sparc/5.8 ... done.
    ==> PASV ...
    Error in server response, closing control connection.
    Retrying.
    This goes on for some time (20 times I believe is the the default) and just quits. What do I need to do to get pass this error?

    I have an Ultra 60 running Solaris 8 and I'm trying to execute the pkg-add -U command (I really want to install a new gcc compiler but I'm getting the same message). The results are:
    Connecting to an_address.edu[000.0.00.000]:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /pub/packages/solaris/freeware/sparc/5.8 ... done.
    ==> PASV ...
    Error in server response, closing control connection.
    Retrying.
    This goes on for some time (20 times I believe is the the default) and just quits. What do I need to do to get pass this error?

Maybe you are looking for