6 Replies Latest reply on Dec 1, 2016 6:33 PM by 3334670

    java.io.IOException: Could not parse SOAP message. Remaining stream ... Caused by: javax.xml.soap.SOAPException: Error getting parts count from MimeMultiPart Message:

    3334670

      I have to invoke https soap webservice.

       

      Java = 1.6

      weblogic 10.3

       

      By using wsimport command i have generated the java classes for the wsdl which is received from the WebService provider.

       

      when the service is invoked, i am getting error :- java.io.IOException: Could not parse SOAP message. Remaining stream ...

       

      Below is the code snippet for invoking the service

       

      package com.student.pepsi.bo;

       

      import java.util.ArrayList;

      import java.util.Collections;

      import java.util.HashMap;

      import java.util.List;

      import java.util.Map;

       

      import javax.net.ssl.TrustManager;

      import javax.xml.ws.BindingProvider;

      import javax.xml.ws.handler.MessageContext;

       

      import org.apache.log4j.Logger;

      import org.springframework.beans.factory.annotation.Value;

       

      import com.oracle.xmlns.apps.financials.commonmodules.shared.model.erpintegrationservice.DocumentDetails;

      import com.oracle.xmlns.apps.financials.commonmodules.shared.model.erpintegrationservice.ErpIntegrationService;

      import com.oracle.xmlns.apps.financials.commonmodules.shared.model.erpintegrationservice.ErpIntegrationService_Service;

      import com.oracle.xmlns.apps.financials.commonmodules.shared.model.erpintegrationservice.EssJob;

      import com.oracle.xmlns.apps.financials.commonmodules.shared.model.erpintegrationservice.ObjectFactory;

      import com.oracle.xmlns.apps.financials.commonmodules.shared.model.erpintegrationservice.ServiceException;

       

       

      public class InvokeWebService {

       

          private static final Logger logger = Logger.getLogger(InvokeWebService.class);

       

          ErpIntegrationService erpIntegrationService;

          ErpIntegrationService_Service erpIntgService_Service;

       

          List<EssJob> jobList = new ArrayList<EssJob>();

       

       

          public void importfile(String encodedContent, String Source) throws Exception {

              logger.info("Start of Method Import File");

           

              //START :    Authenticate code here

           

              //ServerInfoService sis = new ServerInfoService();

              erpIntgService_Service = new ErpIntegrationService_Service();

           

              //ServerInfo si = sis.getServerInfoPort();

              this.erpIntegrationService = erpIntgService_Service.getErpIntegrationServiceSoapHttpPort();

           

              Map requestCredentails = ((BindingProvider) this.erpIntegrationService).getRequestContext();

              requestCredentails.put("javax.xml.ws.security.auth.username", "some_username");

              requestCredentails.put("javax.xml.ws.security.auth.password", "some_password");

              logger.info("Exiting authenticate ");

              //END    :    Authenticate code here

           

              logger.info("Inside Import File Before calling Import activity");

              String documentAccount = null;

              String documentTitle = null;

              String fileName = null;

              String interfaceDetails = null;

              String jobName = null;

              String jobParams = null;

              EssJob essJob = new EssJob();

              List<EssJob> jobList = new ArrayList<EssJob>();

              ObjectFactory erpobjfac = new ObjectFactory();

       

              logger.info("Step 1");

       

              if ((Source != null) && (Source.equalsIgnoreCase("ACCT_PAY"))) {

                  documentAccount = "fin$/payables$/import$";

                  documentTitle = "Import Payables Invoices";

                  fileName = "apinvoiceimport.zip";

       

                  interfaceDetails = "1";

       

                  jobName = "/oracle/apps/ess/financials/payables/invoices/transactions/,APXIIMPT";

       

                  jobParams = ",300000001047041,N,,,,1000,External,,N,N,300000001048006,,1";

       

              } else if ((Source != null) && (Source.equalsIgnoreCase("ACCT_REC"))) {

                  documentAccount = "fin$/receivables$/import$";

                  documentTitle = "Import Receivables Invoices";

                  fileName = "arinvoiceimport.zip";

       

                  interfaceDetails = "2";

       

                  jobName = "/oracle/apps/ess/financials/receivables/transactions/autoInvoices,AutoInvoiceImportEss";

       

                  essJob.setJobName(erpobjfac.createEssJobJobName(jobName));

                  essJob.setParameterList(erpobjfac.createEssJobParameterList(jobParams));

                  jobList.add(essJob);

                  jobParams = "300000001047041,DEGREE,2013/05/17,,,,,,,,,,,,,,,,,,,,Y,null";

              }

       

              DocumentDetails documentDetails = erpobjfac.createDocumentDetails();

              documentDetails.setDocumentAccount(erpobjfac.createDocumentDetailsDocumentAccount(documentAccount));

              documentDetails.setContentType(erpobjfac.createDocumentDetailsContentType("zip"));

              documentDetails.setDocumentTitle(erpobjfac.createDocumentDetailsDocumentTitle(documentTitle));

              documentDetails.setFileName(fileName);

              documentDetails

                      .setDocumentSecurityGroup(erpobjfac.createDocumentDetailsDocumentSecurityGroup("FAFusionImportExport"));

              documentDetails.setContent(encodedContent.getBytes());

       

              logger.info("Step 2");

              String notificationCode = "50";

              String callbackURL = "http://somecallbackserver.domain.com/mycallback";

       

              Long requestID = 0l;

           

              //si.getServerName()

              //invoking https soap webservice here, i am getting error :- java.io.IOException: Could not parse SOAP message. Remaining stream ...

              requestID = Long.valueOf(erpIntegrationService.loadAndImportData(documentDetails, jobList, interfaceDetails,

                      notificationCode, callbackURL));

       

              logger.info("Submitted job request ID " + requestID);     

          }

      same above code work super fine in tomcat 7, but in weblogic 10.3 i am facing the issue.

       

      I have implemented the soap handler inorder to see the outgoing message, below is the message

       

      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">https://eeln-test.fin.us2.oraclecloud.com:443/publicFinancialCommonErpIntegration/ErpIntegrationService</wsa:To><wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/loadAndImportData</wsa:Action><ReplyTo xmlns="http://www.w3.org/2005/08/addressing">

          <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>

      </ReplyTo><FaultTo xmlns="http://www.w3.org/2005/08/addressing">

          <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>

      </FaultTo><wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:b01c0ce0-ab85-4f88-9111-2c37c7771396</wsa:MessageID></S:Header><S:Body><ns2:loadAndImportData xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/" xmlns:ns3="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns4="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/" xmlns:ns5="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns6="commonj.sdo" xmlns:ns7="http://xmlns.oracle.com/oracleas/schema/oracle-fault-11_0"><ns2:document><ns4:Content>VUVzREJCUUFBQUFJQVBkaDIwaXc3STFkdlFBQUFGOEJBQUFYQUFBQVFYQkpiblp2YVdObGMwbHVkR1Z5Wm1GalpTNWpjM2FOa0ZFTGdqQVF4OStEdnNPZzF5TnZhdlpjS1NhcFJOTVBzSFNRb0E1MFJuMzc1bnlRN0tYZitJL2Q4Yis3YlJRUnJ2emRGM0pRNUpoRDhGS2lhM2tORkJIcHVHKzF3MGJxV2VoWjloN0NMR0Vrck9WZEtGRThTQ0xLaWhNbTYwRlZzdTFObVRPWldLVUU1TXczeWtTd

      lNOUStaVlVJQUpZZFV2OXc4OEVRTmMzWVJidjFITnRDMTlLVE5hZHpjTG9BVTd3dGVWZkNKczNqR0dibWVEb3Q0NS84c3NGSXFwZTU5Q0pQemFzUkhDMVhhL2Y5QzM4UXBQNTY5UUZRU3dNRUZBQUFBQWdBK21IYlNORUtEYmlRQUFBQUNBSUFBQnNBQUFCQmNFbHVkbTlwWTJWTWFXNWxjMGx1ZEdWeVptRmpaUzVqYzNiTmtMRU93akFNUkhja3ZvTDFsTnB1bTVTeGtBeVIwclNpbEpYLy93dlNoa29GSmdZa251VDQ1TmczSEJPQjBmbng3RUpvbyt1bkVWd1pVVkxqblFnbVZrU2tKQWxhMUxOd2lGTUllVzBqTjZ6VFpMSzhxMldtOC9iT3NPN2tyMmlINGRMZm5IMDVaNW9CczVSVnJVMXpwS3d3dC9RdnhMb2dYWWpCTjdobzk3dmtEZm5Jb05TcStjTU0rRGNaUEFCUVN3RUNGQUFVQUFBQUNBRDNZZHRJc095TlhiMEFBQUJmQVFBQUZ3QUFBQUFBQUFBQkFDQUFBQUFBQUFBQVFYQkpiblp2YVdObGMwbHVkR1Z5Wm1GalpTNWpjM1pRU3dFQ0ZBQVVBQUFBQ0FENllkdEkwUW9OdUpBQUFBQUlBZ0FBR3dBQUFBQUFBQUFCQUNBQUFBRHlBQUFBUVhCSmJuWnZhV05sVEdsdVpYTkpiblJsY21aaFkyVXVZM04yVUVzRkJnQUFBQUFDQUFJQWpnQUFBTHNCQUFBQUFBPT0=</ns4:Content><ns4:FileName>arinvoiceimport.zip</ns4:FileName><ns4:ContentType>zip</ns4:ContentType><ns4:Docu

      mentTitle>Import Receivables Invoices</ns4:DocumentTitle><ns4:DocumentSecurityGroup>FAFusionImportExport</ns4:DocumentSecurityGroup><ns4:DocumentAccount>fin$/receivables$/import$</ns4:DocumentAccount></ns2:document><ns2:jobList><ns4:JobName>/oracle/apps/ess/financials/receivables/transactions/autoInvoices,AutoInvoiceImportEss</ns4:JobName><ns4:ParameterList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/></ns2:jobList><ns2:interfaceDetails>2</ns2:interfaceDetails><ns2:notificationCode>50</ns2:notificationCode><ns2:callbackURL>http://somecallbackserver.domain.com/mycallback</ns2:callbackURL></ns2:loadAndImportData></S:Body></S:Envelope>   

       

      when i put the same(above) request to soapui, its not getting formatted.

       

      Below are the logs

       

      CertPathTrustManagerUtils.certificateCallback: returning true because the CertPathValidators should not be called

      Client : getHeaders()......

      Client : getHeaders()......

      Client : getHeaders()......

      2016-11-30 02:40:04,465 INFO  InvokeWebService:98 - Exiting authenticate

      2016-11-30 02:40:04,466 INFO  InvokeWebService:101 - Inside Import File Before calling Import activity

      2016-11-30 02:40:04,467 INFO  InvokeWebService:112 - Step 1

      2016-11-30 02:40:04,469 INFO  InvokeWebService:149 - Step 2

      Client : handleMessage()......

      com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl@4f3b31

      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">https://eeln-test.fin.us2.oraclecloud.com:443/publicFinancialCommonErpIntegration/ErpIntegrationService</wsa:To><wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/loadAndImportData</wsa:Action><ReplyTo xmlns="http://www.w3.org/2005/08/addressing">

          <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>

      </ReplyTo><FaultTo xmlns="http://www.w3.org/2005/08/addressing">

          <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>

      </FaultTo><wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:b01c0ce0-ab85-4f88-9111-2c37c7771396</wsa:MessageID></S:Header><S:Body><ns2:loadAndImportData xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/" xmlns:ns3="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns4="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/" xmlns:ns5="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns6="commonj.sdo" xmlns:ns7="http://xmlns.oracle.com/oracleas/schema/oracle-fault-11_0"><ns2:document><ns4:Content>VUVzREJCUUFBQUFJQVBkaDIwaXc3STFkdlFBQUFGOEJBQUFYQUFBQVFYQkpiblp2YVdObGMwbHVkR1Z5Wm1GalpTNWpjM2FOa0ZFTGdqQVF4OStEdnNPZzF5TnZhdlpjS1NhcFJOTVBzSFNRb0E1MFJuMzc1bnlRN0tYZitJL2Q4Yis3YlJRUnJ2emRGM0pRNUpoRDhGS2lhM2tORkJIcHVHKzF3MGJxV2VoWjloN0NMR0Vrck9WZEtGRThTQ0xLaWhNbTYwRlZzdTFObVRPWldLVUU1TXczeWtTd

      lNOUStaVlVJQUpZZFV2OXc4OEVRTmMzWVJidjFITnRDMTlLVE5hZHpjTG9BVTd3dGVWZkNKczNqR0dibWVEb3Q0NS84c3NGSXFwZTU5Q0pQemFzUkhDMVhhL2Y5QzM4UXBQNTY5UUZRU3dNRUZBQUFBQWdBK21IYlNORUtEYmlRQUFBQUNBSUFBQnNBQUFCQmNFbHVkbTlwWTJWTWFXNWxjMGx1ZEdWeVptRmpaUzVqYzNiTmtMRU93akFNUkhja3ZvTDFsTnB1bTVTeGtBeVIwclNpbEpYLy93dlNoa29GSmdZa251VDQ1TmczSEJPQjBmbng3RUpvbyt1bkVWd1pVVkxqblFnbVZrU2tKQWxhMUxOd2lGTUllVzBqTjZ6VFpMSzhxMldtOC9iT3NPN2tyMmlINGRMZm5IMDVaNW9CczVSVnJVMXpwS3d3dC9RdnhMb2dYWWpCTjdobzk3dmtEZm5Jb05TcStjTU0rRGNaUEFCUVN3RUNGQUFVQUFBQUNBRDNZZHRJc095TlhiMEFBQUJmQVFBQUZ3QUFBQUFBQUFBQkFDQUFBQUFBQUFBQVFYQkpiblp2YVdObGMwbHVkR1Z5Wm1GalpTNWpjM1pRU3dFQ0ZBQVVBQUFBQ0FENllkdEkwUW9OdUpBQUFBQUlBZ0FBR3dBQUFBQUFBQUFCQUNBQUFBRHlBQUFBUVhCSmJuWnZhV05sVEdsdVpYTkpiblJsY21aaFkyVXVZM04yVUVzRkJnQUFBQUFDQUFJQWpnQUFBTHNCQUFBQUFBPT0=</ns4:Content><ns4:FileName>arinvoiceimport.zip</ns4:FileName><ns4:ContentType>zip</ns4:ContentType><ns4:Docu

      mentTitle>Import Receivables Invoices</ns4:DocumentTitle><ns4:DocumentSecurityGroup>FAFusionImportExport</ns4:DocumentSecurityGroup><ns4:DocumentAccount>fin$/receivables$/import$</ns4:DocumentAccount></ns2:document><ns2:jobList><ns4:JobName>/oracle/apps/ess/financials/receivables/transactions/autoInvoices,AutoInvoiceImportEss</ns4:JobName><ns4:ParameterList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/></ns2:jobList><ns2:interfaceDetails>2</ns2:interfaceDetails><ns2:notificationCode>50</ns2:notificationCode><ns2:callbackURL>http://somecallbackserver.domain.com/mycallback</ns2:callbackURL></ns2:loadAndImportData></S:Body></S:Envelope>java.io.IOException: Could not parse SOAP message. Remaining stream ...

              at weblogic.wsee.connection.soap.SoapConnection.receive(SoapConnection.java:521)

              at weblogic.wsee.security.wst.helpers.SOAPHelper.invokeHandlers(SOAPHelper.java:454)

              at weblogic.wsee.security.wst.framework.TrustSoapClient.invoke(TrustSoapClient.java:131)

              at weblogic.wsee.security.wst.framework.TrustSoapClient.requestTrustToken(TrustSoapClient.java:102)

              at weblogic.wsee.security.saml.SAMLTrustCredentialProvider.createCredential(SAMLTrustCredentialProvider.java:408)

              at weblogic.wsee.security.saml.SAMLTrustCredentialProvider.getCredentialSTSCSS(SAMLTrustCredentialProvider.java:170)

              at weblogic.wsee.security.saml.SAMLTrustCredentialProvider.getCredential(SAMLTrustCredentialProvider.java:82)

              at weblogic.xml.crypto.wss.WrapperCredentialProvider.getCredential(WrapperCredentialProvider.java:55)

              at weblogic.xml.crypto.wss.SecurityBuilderImpl.getCredential(SecurityBuilderImpl.java:778)

              at weblogic.xml.crypto.wss.SecurityBuilderImpl.getSecurityToken(SecurityBuilderImpl.java:751)

              at weblogic.xml.crypto.wss.SecurityBuilderImpl.addSecurityToken(SecurityBuilderImpl.java:287)

              at weblogic.wsee.security.wss.plan.SecurityMessageArchitect.doProcessIdentity(SecurityMessageArchitect.java:924)

              at weblogic.wsee.security.wss.plan.SecurityMessageArchitect.processIdentity(SecurityMessageArchitect.java:890)

              at weblogic.wsee.security.wss.plan.SecurityMessageArchitect.constructMessage(SecurityMessageArchitect.java:185)

              at weblogic.wsee.security.wss.plan.SecurityMessageArchitect.buildWssMessage(SecurityMessageArchitect.java:138)

              at weblogic.wsee.security.wss.plan.SecurityMessageArchitect.buildWssMessage(SecurityMessageArchitect.java:121)

              at weblogic.wsee.security.wss.SecurityPolicyArchitect.processOutbound(SecurityPolicyArchitect.java:225)

              at weblogic.wsee.security.wss.SecurityPolicyArchitect.processMessagePolicy(SecurityPolicyArchitect.java:123)

              at weblogic.wsee.security.wss.SecurityPolicyConductor.processRequestOutbound(SecurityPolicyConductor.java:119)

              at weblogic.wsee.security.wss.SecurityPolicyConductor.processRequestOutbound(SecurityPolicyConductor.java:91)

              at weblogic.wsee.security.wssp.handlers.WssClientHandler.processOutbound(WssClientHandler.java:114)

              at weblogic.wsee.security.wssp.handlers.WssClientHandler.processRequest(WssClientHandler.java:66)

              at weblogic.wsee.security.wssp.handlers.WssHandler.handleRequest(WssHandler.java:112)

              at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:222)

              at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)

              at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)

              at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)

              at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)

              at com.sun.xml.ws.client.Stub.process(Stub.java:272)

              at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)

              at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)

              at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)

              at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)

              at $Proxy121.loadAndImportData(Unknown Source)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)

              at $Proxy122.loadAndImportData(Unknown Source)

              at com.student.pepsi.bo.InvokeWebService.importfile(InvokeWebService.java:156)

              at com.student.pepsi.bo.pepsiIntgService.readFile(pepsiIntgService.java:33)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)

              at org.springframework.scheduling.support.MethodInvokingRunnable.run(MethodInvokingRunnable.java:65)

              at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51)

              at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

              at java.util.concurrent.FutureTask.run(FutureTask.java:138)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

              at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.xml.soap.SOAPException: Error getting parts count from MimeMultiPart Message:

              at weblogic.xml.saaj.SOAPMessageImpl.handleMimeMessage(SOAPMessageImpl.java:553)

              at weblogic.xml.saaj.SOAPMessageImpl.constructMessage(SOAPMessageImpl.java:235)

              at weblogic.xml.saaj.SOAPMessageImpl.<init>(SOAPMessageImpl.java:151)

              at weblogic.xml.saaj.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:76)

              at weblogic.wsee.connection.soap.SoapClientConnection.createSOAPMessage(SoapClientConnection.java:134)

              at weblogic.wsee.connection.soap.SoapConnection.receive(SoapConnection.java:515)

              ... 57 more

      Caused by: javax.mail.MessagingException: Missing start boundary

              at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:799)

              at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:466)

              at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:242)

              at weblogic.xml.saaj.SOAPMessageImpl.handleMimeMessage(SOAPMessageImpl.java:550)

              ... 62 more

      Client : handleFault()......

      Client : close()......

      2016-11-30 02:40:05,452 ERROR MethodInvokingRunnable:68 - Invocation of method 'readFile' on target class [class com.student.pepsi.bo.pepsiIntgService] failed

      javax.xml.ws.soap.SOAPFaultException: The request was invalid or malformed

              at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)

              at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)

              at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)

              at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)

              at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)

              at $Proxy121.loadAndImportData(Unknown Source)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

       

      from the above logs, i believe that the soap message is not successfully parsed/soap message is invalid.

       

      Please help me