Not getting header of HTTP Response in Netweaver 7.1

Hello,
I m trying to use HttpURLConnection to authenticate with some site. I m able to send the request and recieve the response from the server. But I m not getting the header of the response. When I do it as simple java application everything works fine but when I deploy it as EJB on Netweaver 7.1, I m not getting the header information from the response.
my code:
URL  url = new URL(Some URL);
HttpURLConnection  conn = (HttpURLConnection )url.openConnection();
conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
conn.setRequestMethod("GET");
conn.setInstanceFollowRedirects(true);
conn.setUseCaches(false);
conn.setDoOutput(true);
OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
wr.write(some data);
sessionID = getSessionID(conn);
wr.flush();
          // Get the response
BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String resultXML = "";
String line;
while ((line = rd.readLine()) != null) {
      resultXML += line;
Above I m getting the reponse from the site. But the header is not present in that response.
So when I use  conn.getHeaderFields() I get emply Map.

Hi Naveen,
  Please follow steps for deploying the application.
1)open SAPMMC.
2)You will see three green folder name and last two will contain some one digit number in last.
3)Please note down these numbers say 1 and 2 (instance number).
4)Open developer studio.
5)now navigate to windows->preferences->SAP AS JAVA
6)If any thing is listed under SAP System Instances please remove by clicking on Remove SAP System.
7)Now under SAP Instance Identity, enter 1(see step 3)  for Instance number and IP address of your machine/ where SAPMMC is installed.
8)Click on Register SAP Instance and press OK.
I hope It will help you.
Kind regards
Sarsij

Similar Messages

  • Axis - Web service is not getting deployed on https

    I am using axis api for creating web service and Tomcat to deploy it. When I deploy the web service first time, it works perfectly, but If I upgrade my web
    application, the server-config.wsdd file gets deleted from WEB-INf directory of my web application.
    If I try to deploy the web service again, it does not get deployed on https, but on http it gets deployed. I am using following commands to deploy the web
    service:
    On HTTPS:
    java -Djavax.net.ssl.keystore=/root/.keystore -Djavax.net.ssl.keyStorePassword=password org.apache.axis.client.AdminClient -lhttps://localhost/serviceURL
    deploy.wsdd
    HTTP:
    java org.apache.axis.client.AdminClient -lhttp://localhost/serviceURL deploy.wsdd
    When I deploy the web service on http, the server-config.wsdd file gets created automatically and the web service gets deployed, but the problem is on https.
    Web service does not gets deployed on https and the server-config.wsdd file is not created. Even if I create the server-config.wsdd file manually, the web
    service does not get deployed on https. Once I deploy the web service on http, I am able to deploy it on https.
    Please help resolving the issue. Thanks.

    Hi Reema,
    Thanks for your reply.
    But here I am not doing replication, I am working on initial upload of vendor master.
    For all the standard fields its working fine.
    but we have some 'Z' fields so I enhanced the web service with 'Z' fields after that I am not able to save and activate the web service.
    Please find above screenshot for error.
    Please let me know if I am missing some setting or anything.
    Thanks,
    Sudhir

  • Inbound Activity not getting created with Campaign Response

    Dear Experts,
    I am working in a scenario where we are using Campaign Automation for sending Email Survey to business partners.
    Mails are reaching the BPs, survey response also coming to the survey tables, But the Inbound activity is not getting created in the system.
    I am using standard Transaction type ''0000'' for inbound activity. . which is ''Appointment'' and Category type ''Date'',  direction  ''inbound''
    The Action profile for this activity is Campaign_Automation_Activity. . .
    I have done questionnaire determination is customizing too.. .
    Am I missing a something??
    Some linking of this Activity with Campaign element?
    Please suggest!!

    Hello Naresh,
    Thanks for the reply, but can u explain me in details.
    1. I am using the MKTCA PBO n PAI,
    2.I have checked the BAdI CRM_SVY_MKTCA_PAI and checked the Transaction type ''0000'' hardcoded, so using the same Transaction type,  the Category is hrdcoded as ''002''
    3. Transaction type ''0000'' is active.
    Please suggest?

  • Not getting header item in Open Hub Destnation.

    Hi Experts,
    when i am generating flatfile by using Open hub destination to my Desktop location, i am not getting the headers.
    How can i get the headers in my xcel out put?

    HI,
        When Open hub destination is executed by using a 'xl' file the headder will be copyed to another
    xl file. If u want to get the headder and  records at one place , u can make use of Database Table to run
    Open hub destination. so a table name will be genarated with the following name as
    /BIC/XXXXXXXX     ( NAME OF THE OPEN HUB DESTINATION ). so  headder and records will be seen
    in this table.
       prasad.

  • Not getting heading ouptut in sql

    Hi Experts,
      I am new to SQL. I am running a query that output should go to .csv file. But in output though data is coming, headings are not displayed. Following is my query.
    I want heading in first line in my query output so that it will be easy to identify what column is what for.  I would like to know what I have to add/modify to get column headings in first line.
    Really appreicate your help!!
    set echo off
    set concat ~
    set pause off
    set pagesize 0
    set heading off
    set feedback off
    set verify off
    set linesize 20000
    set trimspool on
    set trimout on
    set termout off
    set colsep ','
    spool &1
    select   '"' ||ORDER_ID    || '"' ||','||        
             '"' ||CREATED   || '"' ||','||        
             '"' ||STATUS     || '"' ||','||        
             '"' ||TITLE      || '"' ||','||        
             '"' ||FIRST_NAME     || '"' ||','||        
             '"' ||LAST_NAME        || '"' ||','||        
             '"' ||REQUESTED_PLAN        || '"' ||','||        
             '"' ||DEVICE        || '"' ||','||       
             '"' ||BILLING_POSTCODE  || '"'  
              from 
    (SELECT 
    '"' || replace(ORDERS.ORDER_NUMBER, '"', '""') || '"' as "ORDER_ID",                                                           
    '"' || replace(ORDERS.CREATED, '"', '""') || '"' as "CREATED",
    '"' || replace(ORDERS.STATUS, '"', '""') || '"' as "STATUS",    
    '"' || replace(ORDERS.TITLE, '"', '""') || '"' as "TITLE",                                                   
    '"' || replace(ORDERS.FIRST_NAME, '"', '""') || '"' as "FIRST_NAME",                                         
    '"' || replace(ORDERS.LAST_NAME, '"', '""') || '"' as "LAST_NAME",  
    '"' || replace(ORDERS.EMAIL, '"', '""') || '"' as "EMAIL",       
    '"' || replace(ORDERS.REQUESTED_PLAN, '"', '""') || '"' as "REQUESTED_PLAN",  
    '"' || replace(ORDERS.DEVICE, '"', '""') || '"' as "DEVICE",
    '"' || replace(ORDERS.DELIVERY_POSTCODE, '"', '""') || '"' as "BILLING_POSTCODE" 
    FROM TSO_TCOM_OWNER.ORDERS
    WHERE ORDERS.CREATED BETWEEN to_date('16-MAR-13') AND CURRENT_DATE
    AND (ORDERS.ORDER_NUMBER like 'BP%' OR ORDERS.ORDER_NUMBER like 'BO%'))
    ORDER BY ORDERS.ID DESC
    spool off
    exit;

    One way :
    set echo off
    set concat ~  
    set pause off 
    set pagesize 0  
    set heading off  
    set feedback off  
    set verify off  
    set linesize 20000  
    set trimspool on  
    set trimout on  
    set termout off  
    set colsep ',' 
    spool &1
    SELECT 'ORDER_ID','CREATED','STATUS','TITLE','FIRST_NAME','LAST_NAME','EMAIL','REQUESTED_PLAN','DEVICE','BILLING_POSTCODE' FROM DUAL;
    <<<<<YOURQUERY>>>>>>  -- Paste your query here.
    spool off
    exit;
    Cheers,
    Manik.

  • HTTP response contains status code 415 with the description Unsupported

    Hi All,
    While transferring the data from SRM to CCM , We are getting following error,
    HTTP response contains status code 415 with the description Unsupported Media Type Error while sending by HTTP (error code: 415, error text: Unsupported Media Type
    Where need to check on this?
    Thanks ,
    NR

    415 Unsupported Media Type
    The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.

  • Mod_security: Access denied with code 405. Pattern match "!(GET|HEAD|POST)

    Hi all,
    After Cloning facing an issue
    mod_security: Access denied with code 405. Pattern match "!(GET|HEAD|POST)"
    and not able to get the login prompt
    EBS: 12.1.3
    DB:11G
    Please help as this is urgent.
    Regards,
    Raj.

    Hi Hussein/Srini,
    My OS details are as follows
    Source OS : OE Linux 5X
    Target : REHL
    DB : 11.2.0.3
    In my previous cloning the R12 login URL was not getting redirected to https from http. This backup was given by client last week and I completed the cloning and post cloning procedures without any error, but unable to login as the page is redirecting to https:/hostname:port/OA_HTML/AppsLogin.
    I have done the following so far, but the issue is not getting resolved.
    1) Generated JAR files using ADADMIN (Force)
    2) Compiled JSP
    3) Ran autoconfig multiple times without any error in both db and application tiers.
    4) DB alert log did not have any error.
    5) Executed relink all from APPL_TOP
    6) Able to launch http://XXXXXXXXX:XXXX/forms/frmservlet?
    Kindly help me out on this
    Regards

  • When I use a simple form, I get this error message "Form communication is configured with an email address of..." and the person's email address did not get sent a message

    I was unable to use the simple form to which I should simply put the email address of the person to whom the form should be sent to.  I get this error message:
    As a result of this, this person did not get any filled form response.  Where did I go wrong and how can fix this.
    Second question, I am using GoDaddy.com account and they have their own set of php form.  If I want to use their php form, where in Adobe muse, can I insert their php?

    Hello Tonchee
    If you are seeing an Apple ID that is not yours, then you have purchased content on your iPad that is tied to that Apple ID. You would need to know that password or remove the content that is associated with that Apple ID.
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Why incomplete HTTP Response by iplanet Proxy ( Few cases ) ???

    Hi All,
    I create a " HTTP CONNECT "connection through iPlanet proxy server, it works fine for few connection ,and fails for some.
    Request
    "CONNECT 192.168.0.67:443 HTTP/1.1\r\r\r\n"
    Success Response
    HTTP/1.0 200 Connection established \r\n
    Proxy-agent: Sun-ONE-Web-Proxy-Server/3.6-SP5 \r\rn\r\n
    Incomplete Response
    HTTP/1.0 200 Connection established \r\n\r\n
    Once i get a incomplete response , If i try to write data on the socket, it disconnects.
    Can anybody explain, when do i get the incomplete HTTP response. If you need further info fell free to ask.
    Regards,
    Manjesh

    I have configured iPlanet 3.6 on Windows 2003 server with admin port as 10000 and Client connection on port 8000.
    I m Able to use client port thru 8000 but when i goto particular URL i.e http:\\I.P:10000 it do ask for admin user name aND password.. and after that it show "page cannot be displayed" .. where as if i try on same server to connect to admin panel thru netscape . once it ask the user name password for iPlanet and after that is keeps asking user name password in WINDOWS STYLE.. liek some time it ask for IIS .. i dont know why and overall i am not able to connect to it on admin port ..
    pls provide some solution if any one have faced similar problem..

  • GRR reference not getting updated in J1IEX

    Hi All,
    We are capturing part 1 entry at our factory gate through j1iex_c.Then doing Goods receipt at stores through MIGO.
    Now when we see vendor excise invoice in j1iex grr reference is not getting updated.
    Awaiting responses.
    Sandeep

    Hi,
    As per my knowledge we can capture the excise after receiving the goods only.
    so your requirement is not possible . because we can post  the excise   with reference to vendor excise invoice number only it was given at the time of g/r in migo only.
    Thanking you.

  • Getting HTTP response code: 404  Not Found  while playback

    Hi Folks,
    Am creating a loadtest script on Oracle Empirica application by using web protocol with only 6 steps. While play back am getting the following error
    Error Code:INVALID_HTTP_RESPONSE_CODE
    Error Detail:
    oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 404 Not Found
         at oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException.createErrorInvalidHttpResponseCode(ThinBrowserException.java:66)
         at oracle.oats.scripting.modules.http.api.internal.ResponseCodeValidator.validate(ResponseCodeValidator.java:21)
         at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.validate(AbstractHTTPService.java:993)
         at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.navigate(AbstractHTTPService.java:595)
         at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.doNavigate(AbstractHTTPService.java:504)
         at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.doNavigate(AbstractHTTPService.java:494)
         at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.navigate(InternalHTTPService.java:1930)
         at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.navigate(InternalHTTPService.java:1867)
         at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.get(InternalHTTPService.java:1975)
         at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.get(InternalHTTPService.java:1966)
         at oracle.oats.scripting.modules.http.api.HTTPService.get(HTTPService.java:2426)
         at script.run(script.java:153)
         at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
         at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
         at java.lang.Thread.run(Thread.java:619)
    please help me to fix this issue.
    Thanks,
    Jay.

    I have checked this link: /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    The SLD and the Integrationserver pipeline URL the Port was 50100 and the HTTP port in the RFC Dest. is 8001.
    Witch port must entered in the URL, 50100 or 8001?
    If the port must be 8001, how could i change the URL in the SLD? Must the business System Integrationserver be deleted and new entered witch the right URL?
    Thank you for all answers.
    regards
    Jochen Schütze

  • No "Remote-User" in HTTP header when HTTP request gets to WLS

    Hello Exprers,
    I have a customer, using 10.3.3 on Linux machine. Web server as Apache.
    He wants Remote-User in HTTP header, he used to get it when he used Tomcat. But when he transffered to Apache and 10.3.3, he is not getting the Remote-User in header, instead he is getting proxy-remote-user.
    He wants the Remote-user in HTTP header.
    Any clue, on why he is not getting it.

    Hi,
    We are facing error while doing openConnection
    When I tried with simple java file it worked as shown below
    import java.io.*;
    import javax.net.ssl.HttpsURLConnection;
    public class test
    public static void main(String[] args) throws Exception
    String httpsURL = "https://rcfe.aspac.citicorp.com:40054/servlet/Verify";
    URL myurl = new URL(httpsURL);
    HttpsURLConnection con = (HttpsURLConnection)myurl.openConnection();
    InputStream ins = con.getInputStream();
    InputStreamReader isr = new InputStreamReader(ins);
    BufferedReader in = new BufferedReader(isr);
    if (con!=null)
    System.out.println("con="+con);
    System.out.println(ins);
    Output*
    [rcrrgbg2@kauh0079:/rcrmap2/weblogic/bea/ORA_PFRD/forms/j2ee] java test
    con=com.ibm.net.ssl.www2.protocol.https.e:https://rcfe.aspac.citicorp.com:40054/servlet/Verify
    sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@5f6c5f6c
    However when I tried with below program I am able to write upto Web CL URL but after that no log is written when it tries to do openConnection() for this line csConn=(HttpsURLConnection)new URL(webclURL).openConnection(); in the below code
    Some part of the code:_
    =======================================================================
    import java.io.*;
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.util.Hashtable;
    import java.io.File;
    import java.io.FileInputStream;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.net.ssl.HttpsURLConnection;
    import java.net.URL;
    public class CRMSLogin extends HttpServlet
    private static final long serialVersionUID=-6294676216324813290L;
    public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException
    String iniFile=request.getParameter("CRMS_INI_FILE_PATH");
    String sessionId=request.getParameter("SessionId");
    String applId=request.getParameter("apl_id");
    String userId=request.getParameter("userId");
    String clientIp=request.getRemoteAddr();
    Properties iniProp=this.getProperties(iniFile);
    String crmsAppServerContext=iniProp.getProperty("CRMS_APP_SERVER_CONTEXT");
    String appModule=iniProp.getProperty("CRMS_MODULE");
    String webclURL=iniProp.getProperty("WEBCL_URL");
    // HttpsURLConnection csConn=null;
    String crmsFormsTerm=null;
    crmsFormsTerm=getEntitlements(iniFile.trim(),sessionId,applId.trim(),clientIp.trim(),webclURL.trim());
    String baseContent=this.getBaseContent(iniProp);
    ServletOutputStream out=response.getOutputStream();
    baseContent=baseContent.replaceAll("<!APP_TITLE!>","Credit Risk Management System");
    baseContent=baseContent.replaceAll("<!APP_CONTEXT!>",crmsAppServerContext);
    baseContent=baseContent.replaceAll("<!APP_MODULE!>",appModule);
    baseContent=baseContent.replaceAll("<!APP_TRACE!>",crmsFormsTerm.replaceAll(" ", ""));
    baseContent=baseContent.replaceAll("<!USER_ID!>",userId);
    baseContent=baseContent.replaceAll("<!SESSION_ID!>",sessionId);
    baseContent=baseContent.replaceAll("<!APPL_ID!>",applId.trim());
    baseContent=baseContent.replaceAll("<!CLIENT_IP!>",clientIp.trim());
    baseContent=baseContent.replaceAll("<!INI_FILE!>",iniFile.trim());
    out.println(baseContent);
    out.flush();
    out.close();
    private synchronized Properties getProperties(String inifile)
    Properties iniProp=new Properties();
    FileInputStream iniFileStream=null;
    try
    iniFileStream=new FileInputStream(inifile);
    iniProp.load(iniFileStream);
    iniFileStream.close();
    catch(Exception e)
    finally
    try
    if(iniFileStream!=null)
    iniFileStream.close();
    catch(Exception e)
    return iniProp;
    public static synchronized String getEntitlements(String inifile,String sessionId,String applId,String clientIp,String webclURL)
         HttpsURLConnection csConn=null;
         OutputStreamWriter requestStream=null;
         BufferedReader responseStream=null;
         StringBuffer responseData=new StringBuffer();
         String csReturnString=null;
         //String webclURL=null;
         BufferedWriter traceLog=null;
         int csCount=6;
         Properties iniProp=new Properties();
         String traceFile=null;
         String entitlementData=null;
         try
         readIniProperties(inifile,iniProp);
         traceFile=getTraceFile(iniProp);
         traceLog=new BufferedWriter(new FileWriter(traceFile,true));
         if(traceFile!=null)
         traceLog.write("###########################");
         traceLog.write("P A R A M E T E R S");
         traceLog.write("###########################");
         traceLog.newLine();
         traceLog.write("INI_FILE:"+inifile);
         traceLog.newLine();
         traceLog.write("SESSION_ID:"+sessionId);
         traceLog.newLine();
         traceLog.write("APPL_ID:"+applId);
         traceLog.newLine();
         traceLog.write("CLIENT_IP:"+clientIp);
         traceLog.newLine();
         traceLog.write("count:"+csCount);
         traceLog.newLine();
         traceLog.write("###########################");
         traceLog.newLine();
         //webclURL=getWebclURL(traceLog,iniProp);
         if(webclURL!=null)
         traceLog.write("Web CL URL:"+webclURL);
              traceLog.newLine();
         csConn=(HttpsURLConnection)new URL(webclURL).openConnection();     
    traceLog.write("Open Connection - Completed!");
         traceLog.newLine();
         csConn.setRequestMethod("POST");
         csConn.setDoInput(true);
         csConn.setDoOutput(true);
         requestStream=new OutputStreamWriter(csConn.getOutputStream());
         traceLog.write("Open Request Stream - Completed!");
         traceLog.newLine();
         requestStream.write("SessionId="+sessionId+"&ClientIP="+clientIp+"&apl_id="+applId+"&count="+csCount);
         requestStream.flush();
         requestStream.close();
         traceLog.write("Write Params to Request Stream - Completed!");
         traceLog.newLine();
         responseStream=new BufferedReader(new InputStreamReader(csConn.getInputStream()));
         traceLog.write("Open Response Stream - Completed!");
         traceLog.newLine();
         while((csReturnString=responseStream.readLine())!=null)
         responseData.append(csReturnString);
         traceLog.write("Response Stream Reading - Completed!");
         traceLog.newLine();
         responseStream.close();
         csConn.disconnect();
         entitlementData=getEntitlementData(traceLog,responseData.toString(),iniProp);
         traceLog.write("responseData::"+responseData);
         traceLog.newLine();
         traceLog.newLine();
         traceLog.write("entitlementData::"+entitlementData);
         traceLog.newLine();
         traceLog.flush();
         traceLog.close();
         catch(Exception e)
         e.printStackTrace();
         finally
         try
         if(requestStream!=null)
         requestStream.close();
    =======================================================================
    output_
    ###########################P A R A M E T E R S###########################
    INI_FILE:/rcrmap1/rcrrgbg2/crms.ini
    SESSION_ID:%2526%253ASIGNED_TICKET%253D%2526PROVIDER_TICKET%253D002c6e4cH0tZy2Gj4JBCOiSL7uSlKisfsqgwP9KoRRn7e%252BY%253D%253AKRSERVER0006%252BA9A52AAE%252B4D1DC7AA%252B14400
    APPL_ID:RCRMKR
    CLIENT_IP:169.165.42.174
    count:6
    Web CL URL:https://rcfe.aspac.citicorp.com:40054/servlet/Verify
    Please help to guide us.
    Regards,
    Harish

  • HTTP response code 500 : Error during parsing of SOAP header

    Hi Experts,
    I have a MAIL to IDOC scenario.  An external third party emails invoices to our inbox - which we pick up and process the attachment.  All is well when I test the scenario internally, but when the third party emails it fails with (see ERROR MESSAGE below).
    When I look at the SOAP header of the failed message I see the values from the dump in this field:
      <sap:Record namespace="http://sap.com/xi/XI/System/Mail" name="SHeaderTHREAD-INDEX">AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQAAV4L06ABZuwsAAK/f9vgAAF/GSAAAYmRYARIKwtQAV5R9SABMo5bsAGQQyvAAVqsjyABOh9uMAFXTa2QAWEjsfABaEvp4AFaL1NQAV5MnUABXiVbIAGc7LsQAYVN9SABLfYQIAEwF3nQAWSL2lABn5ZgIAEf/k8gAWeVgrAAJaSZIAAElM4gATZR0GA=</sap:Record>
    Can anyone tell me what SHeaderTHREAD-INDEX does?  Or what my problem is  (Our email is Outlook)
    ERROR MESSAGE.........
    SOAPFault received from Integration Server. ErrorCode/Category: XIProtocol/WRONG_VALUE; Params: SOAP:Envelope(1)SOAP:Header(1)sap:DynamicConfiguration(3)sap:Record(14), AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQAAV4L06ABZuwsAAK/f9vgAAF/GSAAAYmRYARIKwtQAV5R9SABMo5bsAGQQyvAAVqsjyABOh9uMAFXTa2QAWEjsfABaEvp4AFaL1NQAV5MnUABXiVbIAGc7LsQAYVN9SABLfYQIAEwF3nQAWSL2lABn5ZgIAEf/k8gAWeVgrAAJaSZIAAElM4gATZR0GA=協彎䅍䔾ਉ़䥎噏䥃䕟乏㸸㌱ㄵㄹ㰯䥎噏䥃䕟乏㸊उ㱁䵏啎呟䕘䍌彖䅔㸷⸵〼⽁䵏啎呟䕘䍌彖䅔㸊उ㱃啒剅乃失㹅啒㰯䍕剒䕎䍙ㄾਉ़䅍何乔彖䅔㸱⸴㜼⽁ꯃ䅢坡汫, ST: ST_XM; AdditionalText: An error occurred when deserializing in the simple transformation program ST_XMS_MSGHDR30_DYNAMIC; ApplicationFaultMessage:  ; ErrorStack: XML tag SOAP:Envelope(1)SOAP:Header(1)sap:DynamicConfiguration(3)sap:Record(14) (or one of the attributes) has the incorrect value AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQ An error occurred when deserializing in the simple transformation program ST_XMS_MSGHDR30_DYNAMIC Data loss occurred when converting AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1p
    Transmitting the message to endpoint http://sdcxp1-ci.na.fmo.com:8000/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Error during parsing of SOAP header.

    We work with Microsoft Outlook, but I'm sure this could work with any email system.
    This error only came from external emails - what we did in the end is to get the third party to email a particular email (email1) in our company.  This is set up as a regular email account.  On this email put a forward rule to email2 for a particular sender/subject.  email2 is set up as POP3 so that XD1 can poll it - we also block any emails except from email1.
    Doing this accomplishes a couple of things:
    1)  We get around the error because XI polls email2 (which has adapter settings of IMAP4 so we can see MAIL adapter attributes ie. sender, subject etc...When we originally had as POP3 we were not able to see these - but setting as IMAP4 causes the error for external emailers)
    2) We have a SPAM filter - the XI email is clean from SPAM and the adapter will not have errors, as it only receives valid emails to process
    3) We have a central email (email1) which is used to archive all XI emails - we use this for all email scenarios (as we also save to folder and forward in the rule)
    Hope this helps your situation.

  • HTTP Response Status Codes: GET (retrieve), POST (create), PUT (modify), and DELETE (REST, Bulk, Any API)

    Many of us, who are starters, starting to wonder when reading any API documentations or starting out with your first program built to make any of the API calls, what do all error codes means, when I get many different types of response from running the program/script. The only reason I thought about sharing this is because I know how motivation plays a key role when dealing with Eloqua platform and building components on top. This extends the functionality beyond what is already out of the box.
    I put together a table that explains these in details. I hope you can benefit in resolving issues as you venture in your journeys. This is a very common chart that can be seen across many platform REST APIs. Idea was to have it here because the audience are not always the same.
    Response Code
    HTTP Operation
    Response Body Contents
    Description
    200
    GET, PUT, DELETE
    Resource
    No error, operation successful.
    201 Created
    POST
    Resource that was created
    Successful creation of a resource.
    202 Accepted
    POST, PUT, DELETE
    N/A
    The request was received.
    204 No Content
    GET, PUT, DELETE
    N/A
    The request was processed successfully, but no response body is needed.
    301 Moved Permanently
    GET
    XHTML with link
    Resource has moved.
    303 See Other
    GET
    XHTML with link
    Redirection.
    304 Not Modified
    conditional GET
    N/A
    Resource has not been modified.
    400 Bad Request
    GET, POST, PUT, DELETE
    Error Message
    Malformed syntax or a bad query.
    401 Unauthorized
    GET, POST, PUT, DELETE
    Error Message
    Action requires user authentication.
    403 Forbidden
    GET, POST, PUT, DELETE
    Error Message
    Authentication failure or invalid Application ID.
    404 Not Found
    GET, POST, PUT, DELETE
    Error Message
    Resource not found.
    405 Not Allowed
    GET, POST, PUT, DELETE
    Error Message
    Method not allowed on resource.
    406 Not Acceptable
    GET
    Error Message
    Requested representation not available for the resource.
    408 Request Timeout
    GET, POST
    Error Message
    Request has timed out.
    409 Resource Conflict
    PUT, PUT, DELETE
    Error Message
    State of the resource doesn't permit request.
    410 Gone
    GET, PUT
    Error Message
    The URI used to refer to a resource.
    411 Length Required
    POST, PUT
    Error Message
    The server needs to know the size of the entity body and it should be specified in the Content Length header.
    412 Precondition failed
    GET
    Error Message
    Operation not completed because preconditions were not met.
    413 Request Entity Too Large
    POST, PUT
    Error Message
    The representation was too large for the server to handle.
    414 Request URI too long
    POST, PUT
    Error Message
    The URI has more than 2k characters.
    415 Unsupported Type
    POST, PUT
    Error Message
    Representation not supported for the resource.
    416 Requested Range Not Satisfiable
    GET
    Error Message
    Requested range not satisfiable.
    500 Server Error
    GET, POST, PUT
    Error Message
    Internal server error.
    501 Not Implemented
    POST, PUT, DELETE
    Error Message
    Requested HTTP operation not supported.
    502 Bad Gateway
    GET, POST, PUT, DELETE
    Error Message
    Backend service failure (data store failure).
    505
    GET
    Error Message
    HTTP version not supported.
    Hope this helps. Original post: REST API Status Codes and Complete REST API Tutorial with Status Codes.
    Thank
    Amit

    Hi, I am trying to PUT to update contact info and I get following error:
    2015-01-16 11:00:17,970 INFO [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(97) | accessHttpsPut.url=https://secure.eloqua.com/API/REST/2.0//data/contact/7606838, text={"id":"7606838","accountName":"openIdStr001","emailAddress":"[email protected]","type":"Contact"}
    2015-01-16 11:00:18,931 ERROR [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(140) | ClientProtocolException
    org.apache.http.client.HttpResponseException: Request is malformed.
    Is there any idea?
    Thanks so much.
    Sincerely.

  • RFC - XI - WebService :: Not getting complete Response from WS

    Hi
    I am working on a following Synchronous scenario
    <b>SAP R/3 --> Sender RFC Adapter --> XI --> Rec. SOAP Adapter --> MI Web Service</b>
    Now I tested the structure of Request/Response Message from WebService in XML Spy, & designed my Request/Response Message structure in XI based on that.
    Now when I am sending the request from <u>XML Spy</u>,the Response message which is coming is this -->
    <i><?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <soapenv:Body>
              <ns1:getResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://www.MI/util">
                   <getReturn href="#id0"/>
              </ns1:getResponse>
              <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AddressDTO" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://to.MIutil.com">               
                   <latitude href="#id1"/>               
                   <longitude href="#id2"/>               
                   <postcode xsi:type="soapenc:string">111</postcode>
                   <state xsi:type="soapenc:string">XYZ</state>
                   <streetName xsi:type="soapenc:string">NYDEL</streetName>
                   <streetNumber xsi:type="soapenc:string">444</streetNumber>
                   <streetType xsi:type="soapenc:string">ST</streetType>
                   <suburb xsi:type="soapenc:string">SQY</suburb>               
              </multiRef>
              <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:double" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">-33.87571285585008</multiRef>
              <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:double" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">51.20783220341076</multiRef>
         </soapenv:Body>
    </soapenv:Envelope></i>
    { <b>Pls. take note that it is referring variables</b>}
    But when I am sending the Request from SAP R/3 <u>using SAP XI</u>, I am getting the Response message from WebService like this -->
    <i><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <ns1:getResponse xmlns:ns1="http://www.MI/util" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <getReturn href="#id0" />
      </ns1:getResponse></i>
    which suggest that operation is getting called successfully & response is coming back.
    Can you tell me what is the reason that why I am not getting the rest of the response .
    Regards
    - Lalit Chaudhary -

    Hi,
    Yes it can be possible, you have to maintain SOAP Header.
    please see the below links..
    How to extract XI-header fields from XI-message in JAVA?
    /people/sap.user72/blog/2005/12/11/how-to-apply-themes-in-exchange-infrastructure
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c50cddbb-0601-0010-92a7-f2a40ca68e6d
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=href%20%20in%20xi&cat=sdn_all
    Regards
    Chilla..

Maybe you are looking for