0 Replies Latest reply on May 4, 2007 6:46 AM by Diego Bolzan

    Problems deploying WS on JBoss 4.0.5

    Diego Bolzan Newbie

      Hi all,

      I have a war file here with some WS that worked perfect on jboss 4.0.2. Now I'm trying to use them on 4.0.5 but when I deploy the war file I got the following warnings:

      2007-05-04 06:41:19,288 WARN [org.jboss.ws.metadata.wsdl.WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:MyWs}changeValue
      2007-05-04 06:41:19,289 WARN [org.jboss.ws.metadata.wsdl.WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:MyWs}getPreviousPeriods
      2007-05-04 06:41:19,290 WARN [org.jboss.ws.metadata.wsdl.WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:MyWs}getLimits
      2007-05-04 06:41:19,290 WARN [org.jboss.ws.metadata.wsdl.WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:MyWs}getHistory
      2007-05-04 06:41:19,291 WARN [org.jboss.ws.metadata.wsdl.WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:MyWs}getCompany
      2007-05-04 06:41:19,292 WARN [org.jboss.ws.metadata.wsdl.WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:MyWs}getAccount
      2007-05-04 06:41:19,292 WARN [org.jboss.ws.metadata.wsdl.WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:MyWs}getSubscriber
      2007-05-04 06:41:19,293 WARN [org.jboss.ws.metadata.wsdl.WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:MyWs}getCompanyInfo
      2007-05-04 06:41:19,294 WARN [org.jboss.ws.metadata.wsdl.WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:MyWs}getSubscriberInfo
      2007-05-04 06:41:19,294 WARN [org.jboss.ws.metadata.wsdl.WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:MyWs}getAllCompany


      And when I try to use any of this methods I got the following error:

      AxisFault
      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
      faultSubcode:
      faultString: org.xml.sax.SAXParseException: Premature end of file.
      faultActor:
      faultNode:
      faultDetail:
      {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Premature end of file.
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
      at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      at org.apache.axis.client.Call.invoke(Call.java:2767)
      at org.apache.axis.client.Call.invoke(Call.java:2443)
      at org.apache.axis.client.Call.invoke(Call.java:2366)
      at org.apache.axis.client.Call.invoke(Call.java:1812)
      at ericsson.services.abm.tim.ws.client.AbmTIMWsSoapBindingStub.getCompanySubscribers(AbmTIMWsSoapBindingStub.java:515)
      at ericsson.services.abm.tim.ws.client.ClientTest.getCompanySubscribers(ClientTest.java:351)
      at ericsson.services.abm.tim.ws.client.ClientTest.main(ClientTest.java:522)

      {http://xml.apache.org/axis/}hostname:EHCQL0051O1SJAL

      org.xml.sax.SAXParseException: Premature end of file.
      at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      at org.apache.axis.client.Call.invoke(Call.java:2767)
      at org.apache.axis.client.Call.invoke(Call.java:2443)
      at org.apache.axis.client.Call.invoke(Call.java:2366)
      at org.apache.axis.client.Call.invoke(Call.java:1812)
      at ericsson.services.abm.tim.ws.client.AbmTIMWsSoapBindingStub.getCompanySubscribers(AbmTIMWsSoapBindingStub.java:515)
      at ericsson.services.abm.tim.ws.client.ClientTest.getCompanySubscribers(ClientTest.java:351)
      at ericsson.services.abm.tim.ws.client.ClientTest.main(ClientTest.java:522)
      Caused by: org.xml.sax.SAXParseException: Premature end of file.
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
      at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      ... 11 more


      Does anyone have any idea how I can solve this issue?