HTTP Post Outbound scenario - Error 110 - Timeouts in SMICM Tracefile

HI There
We have a scenario where we do a HTTP post using the HTTP Plain Adapter to a SMS service provider from a message received from a BW system via RFC, It works perfectly in our development system but we cannot get it working in our production system
In SXI_MONITOR the message fails with the error
  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Call Adapter
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
  <SAP:Category>XIAdapter</SAP:Category>
  <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
  <SAP:P1>110</SAP:P1>
  <SAP:P2 />
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack>HTTP client code 110 reason</SAP:Stack>
  <SAP:Retry>A</SAP:Retry>
  </SAP:Error>
Running a trace in SMICM shows the following in the tracelog
[Thr 4632] IcmConnRollInWP: no need to roll in WP status: ROLLED IN
[Thr 4632] IcmReadFromConn(id=9/140033): request new MPI (0/0)
[Thr 4632] MPI<3018f>19#4 GetOutbuf -1 cb2250 65536 (0) -> 0DE122B0 0
[Thr 4632] NiIRead: hdl 43 recv would block (errno=EAGAIN)
[Thr 4632] NiIPeek: peek for hdl 43 timed out (r; 500ms)
[Thr 4632] NiIRead: raw read for hdl 43 timed out (500ms)
[Thr 4632] IcmReadFromConn: read failed with timeout: 500 -> roll out
[Thr 4632] MPI<3018f>19#5 WriteOOB 00000000 02000000 09000000 01
[Thr 4632] MPI<30190>15#11 ReadOOB 01000000 01000000 2D000000 00 -> 0
[Thr 4632] IcmHandleOOBData: Received data on 1st MPI (seqno: 1, type=1, reason=1): 45/14512/0
[Thr 4632] MPI<3018f>19#10 ReadOOB 01000000 01000000 2D000000 00 -> 0
[Thr 4632] IcmHandleOOBData: Received data on 2nd MPI (seqno: 1, type=1, reason=1): 45/14512/0
[Thr 4632] IcmHandleOOBData: Received context key (type=1, reason=1): 45/14512/0
[Thr 4632] NiWakeupExec: send wakeup signal to 64997 (sock 16992)
[Thr 4632] IcmConnRollOut: connection (id=9/140033) rolled out:
[Thr 4632] CONNECTION (id=9/140033):
    used: 1, type: 1, role: 2, stateful: 0
    NI_HDL: 43, protocol: HTTP(1)
    local host:  200.1.1.100:3405 ()
    remote host: 196.30.220.242:80 ()
    status: READ_RESPONSE
    connect time: 23.07.2008 07:13:10
    WP-status: ROLLED OUT (Context: 9, Role: 2)
              tid: 45, mode: 0, uid: 14512, roll-reason: ICM_ROLL_NETTIMEOUT
With the following 2 lines ir differs from our development system  - this is the point where it goes wrong
[Thr 4632] NiIRead: raw read for hdl 43 timed out (500ms)
[Thr 4632] IcmReadFromConn: read failed with timeout: 500 -> roll out
We have already checked the following between the 2 systems
1. Configuration in Netweaver Administrator is Consistent
2. Communication channel and Mapping is consistent
3. Profile parameters for ICM are consistent
Any ideas as to what this problem could be
Many Thanks

Hi
after you download the html client.
go to view -> source
and enter the present xiusername & pwd which you using and save.
Enter the below details in http client.
Servername : XIServername
Port : 80<instancenumber>
Client : XI server client number
Server : Sender service (business service or busienss system or integration process...when it comes to the HTTP adapter you need to create the business service that business service name you need to enter )
Interface name : outbound interface name
namespace : name for interface.
If you doing Party scenario enter the Party, Agency and Schema details also else optional.
Enter the Input xml data while enter the input data remove the first xml version line and paste the other data.
click on send message.
check the exchange profile set the httpport or not
check these links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
The specified item was not found.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/http%2bto%2brfc%2bsynchronous%2bscenario%2b-%2bfaqs
HTTP to RFC - A Starter Kit
/people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
Regards,
Suryanarayana

Similar Messages

  • HTTP to SOAP scenario error

    Hi guys,
    I have developed an HTTP to SOAP scenario, in order to invoke a Web Service.
    I am trying to test the scenario by using an HTTP client.
    However, I am getting the following message, in the result:
    Result:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Header>
    </SOAP:Header>
    <SOAP:Body>
    <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Pipeline specified in URL attribute (type) not existing</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="MESSAGE">URL_PIPELINE_NOT_FOUND</SAP:Code><SAP:P1>/sap/xi/engine?type=entrynamespace=http%3A//famar.gr%3ADemoSOAP&amp;interface=GetStockQuote_Sync_OB&amp;service=HTML_Service&amp;party=&amp;agency=&amp;scheme=&amp;QOS=BE&amp;sap-user=xiappluser&amp;sap-password=++++&amp;sap-client=100&amp;sap-language=EN</SAP:P1><SAP:P2>ENTRYNAMESPACE=HTTP%3A//FAMAR.GR%3ADEMOS</SAP:P2><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>Pipeline ID ENTRYNAMESPACE=HTTP%3A//FAMAR.GR%3ADEMOS which is expected as value of attribute &amp;quot;type&amp;quot; in the URL, does not exist in the Integration Engine (URL = /sap/xi/engine?type=entrynamespace=http%3A//famar.gr%3ADemoSOAP&amp;amp;interface=GetStockQuote_Sync_OB&amp;amp;service=HTML_Service&amp;amp;party=&amp;amp;agency=&amp;amp;scheme=&amp;amp;QOS=BE&amp;amp;sap-user=xiappluser&amp;amp;sap-password=++++&amp;amp;sap-client=100&amp;amp;sap-language=EN)
    </SAP:Stack></SAP:Error></detail></SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>
    Do you have any ideas?
    Also, I am not able to see in SXMB_MONI the messages that are generated.
    This is only possible in Message Monitoring in RWB.
    Thank you
    Evaggelos

    Hi Evaggelos,
    The URL you used to generate the WSDL for your webservice is wrong:
    URL = /sap/xi/engine?type=entrynamespace=http%3A//famar.gr%3ADemoSOAP&amp;interface=GetStockQuote_Sync_OB&amp;service=HTML_Service&amp;party=&amp;agency=&amp;scheme=&amp;QOS=BE&amp;sap-user=xiappluser&amp;sap-password=+++++&amp;sap-client=100&amp;sap-language=EN
    It should be of the type:
    http://host:port/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>
    Thanks,
    Varun

  • HTTP 500 Internal Server Error with Large Attachment in SOAP Scenario

    Hi,
    we have implemented SOAP - XI - SOAP Scenario in our landscape (Sap Neatweaver Process Integration 7.1) .
    One of the functionality of this scenario is the Upload of Documents to External Web Service through standard SOAP Attachment.
    If we try to upload a small file (smaller than 20MB), task works fine and the document is correctly uploaded.
    If we try to upload a larger file, we encountered in this generic error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
         at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1161)
    We tried to increase timeout parameters (in communication channel and in ICM Value) but the response is the same.
    We verify also if icm/HTTP/max_request_size_KB parameter was set to a value smaller than our file size limit (20MB) but is set to default value (100MB).
    The problem isn't on External Web Service Layer because if we try to upload the same documents directly to that web service upload works fine, and in External Web Service's Log there aren''t any indications of this error.
    So I ask you: are there any System Parameters to verify to solve this issue?
    For additional, in ICM Monitor LOG we can read this WARNING when we call our service:
    WARNING => IcmReadFromConn(id=53/454390): temporarily out of MPI buffers -> roll out [icxxthrio_mt 2646]
    This warning may be related to the problem? If yes, how can we solve it?
    Thanks a lot,
    Marcello Ricci

    Hi ,
      Please answer my following questiosn.
    1)  which PI version are you using?
    2) How many J2EE nodes you have.
    please be reminded that SOAP is not for the heavy messages. Then you need to increase your timeout parameters from BASIS.
    Rgds
    Veeru
    Edited by: viru srivastava on Dec 14, 2010 10:18 PM

  • Error in Outbound scenario : AE_DETAILS_GET_ERROR

    Hello Experts,
    Need your help urgently
    right now i am doing outbound scenario, in that R/3 -> XI -> Oracle.
    Here when i trigger 1 outbound IDOC then it is working fine... but when i try to send 100s of idocs at a time then half of them i getting through and half of them are going into error saying
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL"><b>AE_DETAILS_GET_ERROR</b></SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><b>Error while reading from the secure store: ERROR_U: No service user password found for Adapter Engine</b></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack><b>Error while reading access data (URL, user, password) for the Adapter Engine</b></SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    When i try to restart them into the SXMB_MONI at that time they are getting through.
    I am not able to trace that y it is happening like this....
    Some of them are going into the "System Error - Manual Restart Possible" and some of them are going in to the "System Error - Restart Not Possible".
    Can anybody please help me out in this problem? I am not able to understand that y it is happening.
    Regards,
    Hetal

    Hi Hetal,
    Check ur adapterframework service username,password in the exchange profile are given correctly.
    Also check in the Business system of the XI server, please verify the URL in the pipeline.It should be:
       http://<servername>:<HTTP Port>/sap/xi/engine?type=entry.
    Regards,
    Prasanthi.

  • HTTP POST timeout on specific button

    Hi,
    I'm trying to work out if Oracle ADF supports a POST timeout that is configurable for an action in the UI. The use case is as follows:
    1. A specific button in the front end is clicked on by the user, causing a HTTP POST (This then causes an action in the backend, that takes an indeterminate amount of time to return)
    2. A timeout should occur after a configurable duration (Obvious technical caveats apply, such as this value not being able to exceed the JTA transaction timeout)
    3. The user should be redirected to a error page specific to this type of timeout.
    I would like to configure this specific button to have a lower timeout than both the "Post Timeout" in the WebLogic server Admin console configuration for the HTTP Protocols. There are other transaction timeouts in place that will clean up the services layer and any database connections to protect the servers from these running indefinitely.
    Thanks in advance.

    Frank,
    Many thanks for the swift response. I'll have a look into other ways of tackling this in the Java layer of the application.

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

  • Error in HTTP to file scenario

    Hey guys
    we have a HTTP to file scenario in which our client has to send the Invoices over HTTP in XML format,when we test the scenario from within our landscape we are getting the output file correctly but when we test from the client site,we get an error message saying that the file has missing semi colon (,the URL which we are getting from the local HTTP client is something like this
    http://scosap005.sap.com:8001/sap/xi/adapter_plain?namespace=urn%3ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=&sap-password=&sap-client=100&sap-language=EN
    and the one which we are getting from the client is
    http://xx.xxx.xx.xx:8001/sap/xi/adapter_plain?namespace=urn%3ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=&sap-password=&sap-client=100&sap-language=EN
    why am i getting this error?
    thanx
    ahmad

    Hey guys
    i m having a very strange problem with my scenario,we are doing a HTTP to file scenario,now as both the sender and receiver have same structure i havent done any mapping,client is sending XML over HTTP from another location which is not in our landscape,he is using web methods Business connector .when he send us the XML message to our XI server some stuffs are added at the top of the payload,its something like this
    namespace=urn%253ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=nov_test&sap-password=xi_test&sap-client=100&sap-language=EN&
    these are actually the parameters which are used in the URL to send the XML to us.but because of this i m unable to process the XML .
    so my XML looks something like this
    namespace=urn%253ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=nov_test&sap-password=xi_test&sap-client=100&sap-language=EN&
    <?xml version="1.0" encoding="UTF-8"?>
    <Invoice transactionPurposeIndicator="Original">
         <InvoiceProperties>
              <InvoiceNumber>0094372098</InvoiceNumber>
              <InvoiceDate>20070319</InvoiceDate>
              <VendorNumber>VENDOR #</VendorNumber>
    but when i try this scenario from within our landscape it works fine and nothing is added on top of XML.
    they are sayin that nothin extra is being added from thr side and their XML does not have the extra addition on top.
    how should i solve dis problem?
    its urgent
    thanx
    ahmad

  • HTTP 500 Internal Server Error while starting AppsTier post-clone

    Hello,
    Adcfgclone scripts on both DB and App Tiers, as well as Adautocfg scripts, complete successfully but I am faced with a "HTTP 500 Internal Server Error" and "The website cannot display the page" through IE when starting R12 Apps post clone. So far I have run a script on the cloned environment to synchronize the Workflow tables with APPS user, and re-ran autoconfig on both DB and App Tiers, but I still see the 500 error.
    Any other pointers? Thanks in advance!

    Adcfgclone scripts on both DB and App Tiers, as well as Adautocfg scripts, complete successfully but I am faced with a "HTTP 500 Internal Server Error" and "The website cannot display the page" through IE when starting R12 Apps post clone. So far I have run a script on the cloned environment to synchronize the Workflow tables with APPS user, and re-ran autoconfig on both DB and App Tiers, but I still see the 500 error.
    Any other pointers? Thanks in advance!What does "adopmnctl.sh status" return?
    The error you are getting "HTTP 500 Internal Server Error" is a generic one, please check Apache log files and the application.log file for details about the error.
    R12: Troubleshooting 500 Internal Server Error in Oracle E-Business suite [ID 813523.1]
    Http 500 : Internal Server Error When Login To A New Cloned Environment [ID 781413.1]
    Also, please confirm that you have no errors in the database log file.
    Thanks,
    Hussein

  • How to set up a RFC - HTTP Post scenario?

    Hi all,
    I've seen a scenario using a HTTP -> RFC but i didn`t found the other way, an RFC -> HTTP scenario.
    I have a scenario that consists of a RFC that will pass the parameters to XI and then, i've to map the parameters of this RFC into a XML message, zip this xml message, convert it to BASE 64 string, post this "binary" message thru HTTP POST and finally, send the XML HTTP response back to my RFC .
    My questions are:
    - How to map the RESPONSE of the http request to my RFC?
    - How to deal with the transformations of the data, from xml to zip and from zip to a base64 string.
    - How to set the URL of the HTTP POST dynamically?
    Thanks in advance!

    > Hi all,
    >
    > I've seen a scenario using a HTTP -> RFC but i didn`t
    > found the other way, an RFC -> HTTP scenario.
    >
    > I have a scenario that consists of a RFC that will
    > pass the parameters to XI and then, i've to map the
    > parameters of this RFC into a XML message, zip this
    > xml message, convert it to BASE 64 string, post this
    > "binary" message thru HTTP POST and finally, send the
    > XML HTTP response back to my RFC .
    >
    > My questions are:
    >
    > - How to map the RESPONSE of the http request to my
    > RFC?
    hmmm.. Maybe a Java Mapping?
    > - How to deal with the transformations of the data,
    > from xml to zip and from zip to a base64 string.
    Either Java Mapping or a Java Proxy.
    > - How to set the URL of the HTTP POST dynamically?
    >
    Use Adapter Specicif Identifiers and set it in the mapping dynamically.
    Regards
    Bhavesh

  • HTTP-JDBC sync scenario - detailed error message

    Hi all,
    We have a sync HTTP-JDBC (DB2) scenario.
    The sender is expecting a meaningful error message.
    HTTP is on ABAP and JDBC is on the Java engine.
    So how can I get the error message on the JDBC adapter to be passed to the user.
    Say I would like to pass the sql-codes that I find at the Communication Channel monitoring for the comm Channel.
    reg

    Hi,
    One suggestion is to configure alerts at adapter engine level..
    to get the error messages to concerned user.
    Regards,
    Sreenivas.

  • Applicatio​n using Http Post... getting error response

    Im from Ecuador, and me and other 4 people from the same country are getting this error response when a native java application is trying to make a http post to mydomain.com
    The requested URL could not be retrieved:
    While trying to process the request:
    POST /somedir/more?var1=abc&var2=xyz& HTTP/1.1
    Expect: 100-continue
    Host: mydomain.com
    Content-Length: 40
    Content-Type: text/plain; charset=utf-8
    Accept: */*
    Connection: close
    Invalid request. Some aspect of the HTTP Request is nivalid. Possible problems:
    Missing or unknwon request method
    Missing URL
    Missing HTTP Identifier (HTTP/1.0)
    Request is too large
    Content-Length missing for POST or PUT request
    Generated by Blackberry.Internet.Browsing.Service (squd/2.7.STABLE6)
    This issue is only happening in my country (Ecuador). I have some friends in Argentina and they have no problems at all. What are the posible causes for this problem?
    Message Edited by andufo on 07-09-2009 08:43 PM

    Hi again,
    im attaching all the info you request:
    What does the program actually do?
    Social network (because of the TOS of this forum im not allowed to post project names or urls)
    What is it trying to send when you submit a request?
    What url is it posting the information to? 
    Im attaching all this at the end of the post.
    Is it the 'exact' same application that works in other countries?
    Yeap, the exact same one...
    Is it supposed to be useing the Internet Browser?
    No, it is a native app. The Browser is not used at all.
    Are you on a BlackBerry Enterprise Server? 
    Im on BIS, all the users use BIS.
    Technical details:
    1) The app makes an Http Connection (POST) to:
    http://mydomain.com/api/call?param1=abc&param2=xyz
    2) This is the Http connection configuration:
    httpConnection = (HttpConnection) Connector.open(url);
    HttpConnection.POST;
    ("Content-Type", "text/plain; charset=utf-8");
    ("Host", 'mydomain.com');
    ("Content-Length", 100); //depends on sent data
    ("User-Agent", 'BlackBerry8300... etc');
    ("Expect", "100-continue");
    3) On every country it works fine... on my country i get this error:
    The requested URL could not be retrieved while trying to process the request:
    POST /app/llamada?param1=abc&param2=xyz& HTTP/1.1
    - Expect: 100-continue
    - Host: mydomain.com
    - Content-Length: 100
    - Content-Type: text/plain; charset=utf-8
    - Accept: */*
    - Connection: close
    Invalid request. Some aspect of the HTTP Request is invalid. Possible problems:
    - Missing or unknwon request method
    - Missing URL
    - Missing HTTP Identifier (HTTP/1.0)
    - Request is too large
    - Content-Length missing for POST or PUT request
    Generated by Blackberry.Internet.Browsing.Service (squid/2.7.STABLE6)

  • Error in http post submit in Acrobat 8 and Reader 8

    I am having an error when using the submit button via http post in Adobe 8 and Reader 8.
    The http post is not properly formed and only submits the name of the first field and all of the values of the form. All the remaining fields names are not submitted.
    It works fine however if I use Adobe 7 or Reader 7.
    Anyone else have this error.
    Quinten

    I have the same problem with Reader 8. It's a bug. In http request ampersand is missing. Reaser 8 sends:
    PAR1=value_of_par1PAR2=value_of_par2PAR3=value_of_par3
    but it may be:
    PAR1=value_of_par1&PAR2=value_of_par2&PAR3=value_of_par3
    Michal

  • HTTP Post Error

              I am using WebLogic Server 7.0 SP1 with the iPlanet 4.1 WebLogic Plugin. When
              I do a HTTP Post from my java applet using URLConnection, I am getting the following
              error from the plugin:
              [20/May/2003:11:19:13] failure ( 860): for host 199.228.131.177 trying to POST
              /WebLogicServer/DSSServer/DSSServlet, wl-proxy reports: IO error reading client
              POST data at line
              [20/May/2003:11:19:13] failure ( 860): for host 199.228.131.177 trying to POST
              /WebLogicServer/DSSServer/DSSServlet, wl-proxy reports: exception occurred: 'READ_ERROR
              [os error=0, line 534 of proxy.cpp]: reading client POST data failed'
              The applet code is as follows:
              URLConnection con = toFetch.openConnection();
              con.setDoInput(true);
              con.setDoOutput(true);
              con.setDefaultUseCaches(false);
              con.setUseCaches(false);
              con.setRequestProperty("Accept","text/html");
              con.setRequestProperty("Content-Type","application/x-www-form-urlencoded");     
              prout = new DataOutputStream (con.getOutputStream ());
              prout.writeBytes(postdata);
              prout.flush();
              prout.close();
              The iPlanet access log shows a POST request was received but when the request
              is proxied to the WebLogic plugin, the error occurs. I can't tell if this is
              a HTTP header problem or a data problem.
              Any help would be greatly appreciated.
              Thanks,
              Ken
              

    I have exactly the same problem when using a URLConnection to post
              data. Here's the error I get.
              wl-proxy reports: exception occurred: 'READ_ERROR [os error=11, line
              534 of proxy.cpp]: reading client POST data failed'
              Any advices would be appreciated.
              Thanks
              CS
              "Ken Sands" <[email protected]> wrote in message news:<[email protected]>...
              > I am using WebLogic Server 7.0 SP1 with the iPlanet 4.1 WebLogic Plugin. When
              > I do a HTTP Post from my java applet using URLConnection, I am getting the following
              > error from the plugin:
              >
              > [20/May/2003:11:19:13] failure ( 860): for host 199.228.131.177 trying to POST
              > /WebLogicServer/DSSServer/DSSServlet, wl-proxy reports: IO error reading client
              > POST data at line
              > [20/May/2003:11:19:13] failure ( 860): for host 199.228.131.177 trying to POST
              > /WebLogicServer/DSSServer/DSSServlet, wl-proxy reports: exception occurred: 'READ_ERROR
              > [os error=0, line 534 of proxy.cpp]: reading client POST data failed'
              >
              > The applet code is as follows:
              >
              > URLConnection con = toFetch.openConnection();
              > con.setDoInput(true);
              > con.setDoOutput(true);
              > con.setDefaultUseCaches(false);
              > con.setUseCaches(false);
              > con.setRequestProperty("Accept","text/html");
              > con.setRequestProperty("Content-Type","application/x-www-form-urlencoded");     
              > prout = new DataOutputStream (con.getOutputStream ());
              > prout.writeBytes(postdata);
              > prout.flush();
              > prout.close();
              >
              > The iPlanet access log shows a POST request was received but when the request
              > is proxied to the WebLogic plugin, the error occurs. I can't tell if this is
              > a HTTP header problem or a data problem.
              >
              > Any help would be greatly appreciated.
              >
              > Thanks,
              >
              > Ken
              

  • Error Unexpected end of file from server with HTTP POST

    Hi everyone,
    I'm coding a simple client to download some information from a local machine in my LAN.
    I have to do this with an http post request.
    When i try to parse the http response the program catch an exception, this one:
    java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(...)
    the parameter is a JSON request, and of course the response is a JSON formatted.
    i put the http request code:
    import java.io.BufferedInputStream;
    import java.io.BufferedReader;
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.HttpURLConnection;
    import java.net.URL;
    public class HttpDownloaderThread  extends Thread{
         private String url;
            private String param;
         private HttpDownloadListener listener;
         private HttpURLConnection connection=null;
         private InputStream is;
            private OutputStreamWriter wr;
         public HttpDownloaderThread(String _url,String param, HttpDownloadListener _listener){
              url = _url;
              listener = _listener;
                    this.param=param;
         public void run(){
              try{
                   connection=(HttpURLConnection)new URL(url).openConnection();
                            connection.setRequestMethod("POST");
                            connection.setReadTimeout(5000);
                            connection.setRequestProperty("Content-Type", "application/jsonrequest");
                            connection.setDoOutput(true);
                            wr = new OutputStreamWriter(connection.getOutputStream());
                            wr.write(param, 0, param.length());
                            wr.flush();
                            int responseCode=0;
                   System.out.println();
                            try{
                             responseCode= connection.getResponseCode();
                            }catch(Exception e){
                                e.printStackTrace();
                   if (responseCode == HttpURLConnection.HTTP_OK){
                        is = connection.getInputStream();
                                     BufferedReader rd = new BufferedReader(new InputStreamReader(is));
                                    String line;
                                    while ((line = rd.readLine()) != null) {
                                        System.out.println(line);
                        closeHttpConnection();
                        listener.resourceDownloaded(url, null);
                                else{
                                closeHttpConnection();
                                listener.downloadFailed(url, new Exception("Http error: " + Integer.toString(responseCode)));
              }catch(Exception e){
                   e.printStackTrace();
                   listener.downloadFailed(url, e);
              }finally{
         public void closeHttpConnection(){
              if (is != null){
                   try{
                        is.close();
                                    wr.close();
                   }catch (Exception e){
                   }finally{
                        is = null;
                                    wr=null;
              if (connection != null){
                   try{
                        connection.disconnect();
                   }catch (Exception e){
                   }finally{
                        connection = null;
    }there's someone who know's why??
    Thanks to everyone :)
    Thomas.

    jole_star wrote:
    this problem also happen to me,.So since you provided actually no information about your problem you are going to get exactly the same response.
    Please don't hijack old threads. Start your own and provide much much much more information.
    I shall lock this thread.

  • Error while trying to get an HTTP POST response

    Hi everyone,
    I'm coding a simple client to download some information from a local machine in my LAN.
    I have to do this with an http post request.
    When i try to parse the http response the program catch an exception, this one:
    java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(...)
    the parameter is a JSON request, and of course the response is a JSON formatted.
    i put the http request code:
    import java.io.BufferedInputStream;
    import java.io.BufferedReader;
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.HttpURLConnection;
    import java.net.URL;
    public class HttpDownloaderThread  extends Thread{
         private String url;
            private String param;
         private HttpDownloadListener listener;
         private HttpURLConnection connection=null;
         private InputStream is;
            private OutputStreamWriter wr;
         public HttpDownloaderThread(String _url,String param, HttpDownloadListener _listener){
              url = _url;
              listener = _listener;
                    this.param=param;
         public void run(){
              try{
                   connection=(HttpURLConnection)new URL(url).openConnection();
                            connection.setRequestMethod("POST");
                            connection.setReadTimeout(5000);
                            connection.setRequestProperty("Content-Type", "application/jsonrequest");
                            connection.setDoOutput(true);
                            wr = new OutputStreamWriter(connection.getOutputStream());
                            wr.write(param, 0, param.length());
                            wr.flush();
                            int responseCode=0;
                   System.out.println();
                            try{
                             responseCode= connection.getResponseCode();
                            }catch(Exception e){
                                e.printStackTrace();
                   if (responseCode == HttpURLConnection.HTTP_OK){
                        is = connection.getInputStream();
                                     BufferedReader rd = new BufferedReader(new InputStreamReader(is));
                                    String line;
                                    while ((line = rd.readLine()) != null) {
                                        System.out.println(line);
                        closeHttpConnection();
                        listener.resourceDownloaded(url, null);
                                else{
                                closeHttpConnection();
                                listener.downloadFailed(url, new Exception("Http error: " + Integer.toString(responseCode)));
              }catch(Exception e){
                   e.printStackTrace();
                   listener.downloadFailed(url, e);
              }finally{
         public void closeHttpConnection(){
              if (is != null){
                   try{
                        is.close();
                                    wr.close();
                   }catch (Exception e){
                   }finally{
                        is = null;
                                    wr=null;
              if (connection != null){
                   try{
                        connection.disconnect();
                   }catch (Exception e){
                   }finally{
                        connection = null;
    }there's someone who know's why??
    Thanks to everyone :)
    Thomas.

    Hi Vincent,
    according to your script,it seems like you are trying to connect to Exchange Online?
    If so these as to be installed on your computer:
    http://go.microsoft.com/fwlink/?LinkId=286152
    http://go.microsoft.com/fwlink/p/?linkid=236297
    Reboot and run this command as one line:
    Set-ExecutionPolicy RemoteSigned
    $LiveCred = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $LiveCred -Authentication Basic -AllowRedirection
    $Import = Import-Pssession $Session -AllowClobber
    Import-Module MSOnline -verbose
    Connect-MSOLservice -Credential $LiveCred
    Hope this helped
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work

Maybe you are looking for

  • IPod Classic Won't Connect to Computer or iTunes

    My iPod Classic 160GB started to stop showing up both in Finder and on iTunes a few weeks ago. If I connect it to a wall charger then it will still charge, so I'm fairly sure it's not a problem with the cable dock or anything. I've literally tried ev

  • How to Viewing all Resent messages selecting a list of messages using advanced selection criteria

    Hi have two questions both belong to same category so combined into one Please answer separately i really appreciate your time and the communites help. I am using Single stack 7.31, Scenario ECC-->PI-->JMS(WMS) 1) A message got failed in PI mapping (

  • Studying for Oracle 11g Performance and Tuning exam - 1Z0-054

    Hello all, I want to attend to this exam and I'm looking for interesting and usefull studying path. Sure manuals on tahiti are needed. Neither sefltestsoftware not Testking has released a proficiency test for this exam. I was only able to find a test

  • Can't open xfig in X11

    I've installed xfig using fink but I can't open it in X11, it says "command not found". How do I get X11 to realise that I have installed xfig, and for it to remember that? Thanks Annabel Mac Book   Mac OS X (10.4.7)  

  • Inconsistent volume levels

    I have an 80gig classic and playback of mp3's are usually very quiet compared to other ipods (previous gen 30gig) and the volume levels are all over the place. I have normalized all my files and I have no problems with itunes playback, also the volum