1 Reply Latest reply on Apr 9, 2007 3:45 PM by Alex Boyer

    parser exception when deploying webservice

    Alex Boyer Newbie

      I am using 4.0.5.GA and 1.2.0.SP1. I used wsconsume to create a top-down web service. When I deploy I get an error as follows. As this error seems to be from trying to parse a jboss generated .xsd file I am unclear what to do. I assume this schema is generated from the wsdl. I cannot see any non-UTF8 characters in the wsdl or the xsd file generated.
      I would appreciate any pointers on how to debug this problem.


      2007-04-09 12:14:15,222 ERROR [org.jboss.ws.core.server.ServiceEndpointDeployer] Cannot create service endpoint
      org.apache.xerces.xni.XNIException: Parser should stop: JBossWS__ws_ship7329.xsd[domain:http://www.w3.org/TR/1998/REC-xml-19980210]::[key=InvalidByte]::Message=Invalid byte 1 of 1-byte UTF-8 sequence.
      at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSErrorHandler.fatalError(JBossXSErrorHandler.java:78)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(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.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
      at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
      at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown Source)
      at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source)
      at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
      at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
      at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
      at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:181)
      at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:278)
      at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:165)
      at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:131)
      at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:313)
      at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:139)
      at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:49)
      at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:68)
      at org.jboss.ws.core.server.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:90)