Dear Support Team,
We are consuming third party SOAP services as an Intelligent Business Object - <Software System> which were working absolutely fine on v5.8 (build 1814). Our app is up in production and was working fine on v5.8 (build 1814). After updating our all the systems including Prod with major release 5.9 (build 1881/85), its throwing exception error and all the services are down. Below shown is Tomcat log:
Headers: {}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Unmarshalling Error: unexpected element (uri:"http://main.twilio.softserv.com/", local:"account_sid"). Expected elements are <{}body>,<{}toMobile>,<{}auth_token>,<{}fromMobile>,<{}account_sid> </faultstring></soap:Fault></soap:Body></soap:Envelope>
--------------------------------------
Exception thrown com.bas.connectionserver.server.D Service provider returned the following error: Unmarshalling Error: unexpected element (uri:"http://main.twilio.softserv.com/", local:"account_sid"). Expected elements are <{}body>,<{}toMobile>,<{}auth_token>,<{}fromMobile>,<{}account_sid>
com.bas.connectionserver.server.D: Service provider returned the following error: Unmarshalling Error: unexpected element (uri:"http://main.twilio.softserv.com/", local:"account_sid"). Expected elements are <{}body>,<{}toMobile>,<{}auth_token>,<{}fromMobile>,<{}account_sid>
at com.bas.connectionserver.server.ConnectionFactory.sendMessage(Unknown Source)
at com.bas.webapp.common.WebAppUtils.sendMessageToExecutionEngine(Unknown Source)
at com.bas.webapp.thin.misc.M.A(Unknown Source)
at com.bas.webapp.thin.handlers.B.C.A(Unknown Source)
at com.bas.webapp.thin.handlers.XMLRequestHandler.A(Unknown Source)
at com.bas.webapp.thin.handlers.XMLRequestHandler.handleRequest(Unknown Source)
at com.bas.webapp.thin.servlets.WebInterfaceServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
When we tested it again with V5.8 on one of our test machine, its working fine. So, we have come to a conclusion there is some related area which is being touched in v5.9. We have gone through the changelog of build 1881 (http://www.awareim.com/changelog/Readme1881.txt), under bug fixes, point#2 talks about it which we think may be the possible problem area.
(2. Restored previous version of axis.jar without a change to ArraySerializer. As a result <item> elements are produced again when serializing arrays, but the code works.)
We are in a situation where we can not roll back to v5.8 as we have made many major changes in the bsv with v5.9. Please advice and looking for your reply at the earliest. My app is completely down and I have no answer to my client. Please help.