[ https://issues.apache.org/jira/browse/AXIS2-6005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17378126#comment-17378126 ]
Robert Lazarski commented on AXIS2-6005: ---------------------------------------- You seem to be running a very old version of axis2 as that stacktrace isn't matching any recent releases. Can you try with the latest code? We are about to release 1.8 with the next few weeks. git clone https://github.com/apache/axis-axis2-java-core.git > Mimeheader to apache axis throws Bad Request > -------------------------------------------- > > Key: AXIS2-6005 > URL: https://issues.apache.org/jira/browse/AXIS2-6005 > Project: Axis2 > Issue Type: Bug > Reporter: Ramesh Kumar D > Priority: Major > > Please help me, I am using apache axis to send SOAP Requests in my Java > project. > My request is: > > <?xml version="1.0" encoding="UTF-8" > standalone="yes"?><Complaints><Complaint><First_Name>Rahul > </First_Name><Last_Name>Saini</Last_Name><Sex>M</Sex><Date_Of_Birth>19-10-1995</Date_Of_Birth><Address1>Advance > core metal engineering IT Chownk near Talwade Talwade Pune Maharastra > 411044</Address1><Address2>Advance core metal engineering IT Chownk near > Talwade Talwade Pune Maharastra 411044</Address2><Address3>Advance core metal > engineering IT Chownk near Talwade Talwade Pune Maharastra > 411044</Address3><City_Id>0</City_Id><District_Id>349</District_Id><State_Id>21</State_Id><Pin_Code>0</Pin_Code><E_mail>saini.rahulod...@gmail.com</E_mail><Mobile_Number>0123456789</Mobile_Number><User_Type>I</User_Type><Passport_Number></Passport_Number><IRDA_Token_Number>06-21-008718</IRDA_Token_Number><Entity_Complaint_Ref_Number>GR0000053945</Entity_Complaint_Ref_Number><Complaint_Status_Id>2</Complaint_Status_Id><Status_Change_Date>15-06-2021</Status_Change_Date><Insurance_Type_Id>2</Insurance_Type_Id><Policy_Type_Id>5</Policy_Type_Id><Complaint_Type_Id>14</Complaint_Type_Id><Complaint_Description_Id>138</Complaint_Description_Id><Complaint_Details>kindly > find the attached trail mail of policy holder > Dear Sir.. > Last year in September, i got covid19 and admitted to the hospital, after > successfully discharge i file for claim and unfortunately my claim got > rejected..still i didn't get my claim amount.. > I request you please clear my insurance claim..i will not leave this nor i > will not forget. > Please sir reimburse my claim 🙏 > Claim Intimation number > CIR/2021/151124/0462644 > Name of the insured-Patient > RAHUL SURENDRASINGH SAINI > Age/Sex > 24/Male > Product name > Medi classic Insurance Policy (Individual) - Revised 2018 > Policy number > P/151124/01/2021/000990 > Policy period > 27/06/2020 To 26/06/2021 > Diagnosis > COVID 19 +VE / PNEUMONIA, > Date of admission > 15/09/2020 > Name of hospital & location > Nandedkar Multispeciality > Hospital-PUNE</Complaint_Details><Complaint_Against_Type_Id>1</Complaint_Against_Type_Id><Addressed_To_Insurer>Y</Addressed_To_Insurer><Branch_Code>171100</Branch_Code><Source_Of_Complaint>1</Source_Of_Complaint><Complaint_Date>15-06-2021</Complaint_Date><Complaint_Receipt_Date>15-06-2021</Complaint_Receipt_Date><Policy_Number>P/151124/01/2021/000990</Policy_Number><Other_Ref_Number></Other_Ref_Number><Certificate_Number></Certificate_Number><Claim_Number>CIR/2021/151124/0462644</Claim_Number><Claim_Received_Amount>0</Claim_Received_Amount><Type_of_disposal></Type_of_disposal><Remarks>We > refer to your representation for reconsideration of the claim > no.CIR/2021/151124/0462644. > Based on your additional information and clarification, Our Medical panel has > re-examined the claim records and opined to consider the above claim as per > the policy terms and conditions. Accordingly, the claim has been processed > and approved. The claim payment will be sent to the insured shortly. > Assuring the best service at all > times.</Remarks><Trans_Login_Id>SHAICADMIN</Trans_Login_Id><Option>1</Option><Mode>2</Mode></Complaint></Complaints> > SOAP header:<ns1:Authenticate_Info > soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" > soapenv:mustUnderstand="0" xmlns:ns1="http://www.wipro.com/webservices/" > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > > But it response in an error exception: > > AxisFault > faultCode: \{http://xml.apache.org/axis/}HTTP > faultSubcode: > faultString: (400)Bad Request > faultActor: > faultNode: > faultDetail: > {}:return code: 400 > Bad Request > \{http://xml.apache.org/axis/}HttpErrorCode:400 > (400)Bad Request > at > org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744) > at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) > at > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) > at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) > at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) > at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) > at org.apache.axis.client.Call.invokeEngine(Call.java:2784) > at org.apache.axis.client.Call.invoke(Call.java:2767) > at org.apache.axis.client.Call.invoke(Call.java:2443) > at org.apache.axis.client.Call.invoke(Call.java:2366) > at org.apache.axis.client.Call.invoke(Call.java:1812) > at > com.wipro.www.webservices.IGMS_ServiceSoapStub.updateComplaint(IGMS_ServiceSoapStub.java:302) > at > com.fugoconsulting.starsrms.erpCommon.ad_process.CMSComplSendToIRDA.updateComplaintFromStarToIRDA(CMSComplSendToIRDA.java:203) > at > com.fugoconsulting.starsrms.erpCommon.ad_process.CMSComplSendToIRDA.updateRegisterComplaint(CMSComplSendToIRDA.java:114) > at > com.fugoconsulting.starsrms.erpCommon.ad_process.CMSComplSendToIRDA.doExecute(CMSComplSendToIRDA.java:78) > at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:82) > at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:62) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at > org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org