AnsweredAssumed Answered

Executing Create User Via TEWS

Question asked by verma.vasu on Jul 19, 2016
Latest reply on Aug 9, 2017 by Marline_ODea

HI All,

 

We are trying to create a user in IDM 12.6.8 using TEWS. We are trying to develop client in java using the web service java sample for wsdl that will invoke the createuser method to create a user. While running the client code, system returns error and we are clueless what is causing system to return this error.  PFB the error while running and error in server.log .

 

tews6.wsdl.CreateUserFaultMessage: Error parsing incoming document.

  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

  at java.lang.reflect.Constructor.newInstance(Unknown Source)

  at tews6.wsdl.Tews6Stub.createUser(Tews6Stub.java:10017)

  at tews6.invokefucn.CreateUser.execute(CreateUser.java:103)

  at tews6.invokefucn.CreateUser.main(CreateUser.java:33)

 

 

2016-07-19 13:37:43,285 ERROR [ims.default] (default task-15) Could not read SOAP content

2016-07-19 13:37:43,285 ERROR [ims.default] (default task-15) org.xml.sax.SAXException: org.xml.sax.SAXException: Premature end of file.

org.xml.sax.SAXParseException; Premature end of file.

  at com.netegrity.ims.tews6.XmlHandler.fatalError(XmlHandler.java:142) [ims.jar:]

  at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) [xercesImpl.jar:]

  at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:]

  at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:]

  at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:]

  at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) [xercesImpl.jar:]

  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:]

  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:]

  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl.jar:]

  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl.jar:]

  at com.netegrity.ims.tews6.ServiceServlet.doPost(ServiceServlet.java:270) [ims.jar:]

Outcomes