[prev in list] [next in list] [prev in thread] [next in thread]
List: rampart-dev
Subject: [jira] [Created] (AXIS-2906) Upgrading Axis 1.1 to Axis 1.4 gives Schema Validation Error
From: "VINAYAK RAJAYYA DORNALA (JIRA)" <axis-dev () ws ! apache ! org>
Date: 2014-08-27 14:46:58
Message-ID: JIRA.12737120.1409150788330.23642.1409150818393 () arcas
[Download RAW message or body]
VINAYAK RAJAYYA DORNALA created AXIS-2906:
---------------------------------------------
Summary: Upgrading Axis 1.1 to Axis 1.4 gives Schema Validation Error
Key: AXIS-2906
URL: https://issues.apache.org/jira/browse/AXIS-2906
Project: Axis
Issue Type: Bug
Components: WSDL processing
Affects Versions: 1.4
Environment: OLD Environment:
JDK 1.3 and Axis 1.1
New environment:
JDK1.6 and Axis1.4
Reporter: VINAYAK RAJAYYA DORNALA
Priority: Blocker
Fix For: 1.4
I have upgraded Axis jar version from Axis 1.1 to Axis 1.4, after upgrade I am \
getting
General Data Error:15002:Request/Response Schema Validation Error
Before upgrade:
We have a legacy code(Client/Consumer) written using JDK1.3 and Axis 1.1, The code is \
able to consume web service exposed by our vendor.
After upgrade
After upgrading consumer with JDK1.6 and Axis 1.4, I need to update the code as shown \
below(Since enum is not supported in JDK1.6).
class: public class CustomerFinderSoapBindingStub extends org.apache.axis.client.Stub \
implements com.tdi.lh.cprm.customerlink.CustomerFinder static block with below code.
Old code:
// oper.setStyle(org.apache.axis.enum.Style.RPC);
// oper.setUse(org.apache.axis.enum.Use.ENCODED);
new code:
oper.setStyle(org.apache.axis.constants.Style.RPC);
oper.setUse(org.apache.axis.constants.Use.ENCODED);
The consumer code is not able to consume web service exposed by vendor.
Stack trace:
Any hint will be appreciated.
com.tdi.lh.cprm.customerlink.ServiceException: 200:General Data \
Error:15002:Request/Response Schema Validation Error at \
com.tdi.lh.cprm.customerlink.CustomerInsuranceIdentifierFinder.find(CustomerInsuranceIdentifierFinder.java:68)
at CPRMLib.getIINumber(CPRMLib.java:1449)
at CPRMLib.main(CPRMLib.java:2060)
Caused by: 200:General Data Error:15002:Request/Response Schema Validation Error
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown \
Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown \
Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
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)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic