Hi,

I am trying to write code to access SOAP through CSSDK using Java in
interwoven. 
I have encountered this CSException with the following stacktrace when it is
trying to access AxisFactory.getClient method .
The Exception stacktace is as below :

- Exception:
org.xml.sax.SAXException: Invalid element in
com.interwoven.cssdk.client.axis.generated.CSContext - expirationDate
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:260)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:949)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:718)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:232)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:346)
        at org.apache.axis.client.Call.invoke(Call.java:2234)
        at org.apache.axis.client.Call.invoke(Call.java:2133)
        at org.apache.axis.client.Call.invoke(Call.java:1656)
        at
com.interwoven.cssdk.client.axis.generated.AccessServiceBindingStub.beginSessionUsingPassword(AccessServiceBindingStub.java:400)
        at
com.interwoven.cssdk.client.axis.access.AccessServiceAdapterImpl.beginSessionUsingPassword(AccessServiceAdapterImpl.java:49)
        at
com.interwoven.cssdk.client.axis.common.AxisFactory.getClient(AxisFactory.java:226)
        at Controller.getUser(Controller.java:55)
        at Controller.main(Controller.java:79)
CSException occured
com.interwoven.cssdk.common.CSException: (org.xml.sax.SAXException: Invalid
element in com.interwoven.cssdk.client.axis.generated.CSContext -
expirationDate)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at
com.interwoven.cssdk.client.axis.common.AxisExceptionTranslator.translateException(AxisExceptionTranslator.java:72)
        at
com.interwoven.cssdk.client.axis.access.AccessServiceAdapterImpl.beginSessionUsingPassword(AccessServiceAdapterImpl.java:62)
        at
com.interwoven.cssdk.client.axis.common.AxisFactory.getClient(AxisFactory.java:226)
        at Controller.getUser(Controller.java:55)
        at Controller.main(Controller.java:79)
Root cause:
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: org.xml.sax.SAXException: Invalid element in
com.interwoven.cssdk.client.axis.generated.CSContext - expirationDate
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException: 
Invalid
element in com.interwoven.cssdk.client.axis.generated.CSContext -
expirationDate
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:260)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:949)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:718)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:232)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:346)
        at org.apache.axis.client.Call.invoke(Call.java:2234)
        at org.apache.axis.client.Call.invoke(Call.java:2133)
        at org.apache.axis.client.Call.invoke(Call.java:1656)
        at
com.interwoven.cssdk.client.axis.generated.AccessServiceBindingStub.beginSessionUsingPassword(AccessServiceBindingStub.java:400)
        at
com.interwoven.cssdk.client.axis.access.AccessServiceAdapterImpl.beginSessionUsingPassword(AccessServiceAdapterImpl.java:49)
        at
com.interwoven.cssdk.client.axis.common.AxisFactory.getClient(AxisFactory.java:226)
        at Controller.getUser(Controller.java:55)
        at Controller.main(Controller.java:79)


org.xml.sax.SAXException: Invalid element in
com.interwoven.cssdk.client.axis.generated.CSContext - expirationDate
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
        at org.apache.axis.client.Call.invoke(Call.java:2237)
        at org.apache.axis.client.Call.invoke(Call.java:2133)
        at org.apache.axis.client.Call.invoke(Call.java:1656)
        at
com.interwoven.cssdk.client.axis.generated.AccessServiceBindingStub.beginSessionUsingPassword(AccessServiceBindingStub.java:400)
        at
com.interwoven.cssdk.client.axis.access.AccessServiceAdapterImpl.beginSessionUsingPassword(AccessServiceAdapterImpl.java:49)
        at
com.interwoven.cssdk.client.axis.common.AxisFactory.getClient(AxisFactory.java:226)
        at Controller.getUser(Controller.java:55)
        at Controller.main(Controller.java:79)
Caused by: org.xml.sax.SAXException: Invalid element in
com.interwoven.cssdk.client.axis.generated.CSContext - expirationDate
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:260)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:949)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:718)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:232)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:346)
        at org.apache.axis.client.Call.invoke(Call.java:2234)
        ... 7 more


I am relatively new to this ......I am unbale to understand how to resolve
this Exception ......Please help ....

Thanks in advance !
 
-- 
View this message in context: 
http://old.nabble.com/How-to-solve-this-exception-%3A%3A-org.xml.sax.SAXException%3A-Invalid-element-in-com.interwoven.cssdk.client.axis.generated.CSContext---expirationDate-tp27740414p27740414.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to