This discussion is archived
0 Replies Latest reply: Apr 3, 2012 4:06 AM by 857097 RSS

apache.axis2.AxisFault: com.ctc.wstx.exc.WsUnexpCharExcep: Unexpted char ""

857097 Newbie
Currently Being Moderated
Dear All,



I amfacing the following Exception when trying to call a web service to contact, i generated stubs using Apache axis2-1.5.4 and am using eclipse Galelio


org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers
at [row,col {unknown-source}]: [1,50]
     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
     at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:123)
     at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
     at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
     at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
     at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
     at crmondemand.ContactStub.contactQueryPage(ContactStub.java:231)
     at com.hcl.crmod.SCODOperations.queryContacts(SCODOperations.java:141)
     at com.hcl.util.Test.main(Test.java:31)
Caused by: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers
at [row,col {unknown-source}]: [1,50]


Thanks and Reagrds
Pappu

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points