EJBCA Message: Premature end of file.

  • atinza

    atinza - 2013-12-05

    Hi all,

    I really need your help. I connect to wsdl using below code and it's work. :

     String urlstr = "https://nuri.msctrustgate.com:8443/ejbca/ejbcaws/ejbcaws?wsdl";            
     System.setProperty("javax.net.ssl.keyStoreType", "pkcs12");
     QName qname = new QName("http://ws.protocol.core.ejbca.org/", "EjbcaWSService");
     EjbcaWSService service = new EjbcaWSService(new URL(urlstr),qname);
     ejbcaraws = service.getEjbcaWSPort();

    However, when i try to perform any process such ass editUser, it keep give me :

    XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]        Message: Premature end of file.

    Please help me on this. Im not sure what is wrong. Im cracking my head and search as much info as i can. But none help it. I stuck for almost a week. Please.

    Thanks and Regards,

  • Tomas Gustavsson

    Does it work using the CLI?

    • atinza

      atinza - 2013-12-06

      No havent test using CLI. But i tested using SOAPGui and i get HTTP GET not supported error. help me please. What should i add/do

  • atinza

    atinza - 2013-12-09

    Please anyone?

  • Tomas Gustavsson

    I recommend that you do test the WS CLI.

  • atinza

    atinza - 2013-12-12

    yes...it work find...no issue at all...i mistakely miss out configuration for wsdl in jboss 5...thank you so much..


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks