Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-955

Cannot deserialize fault detail

XMLWordPrintable

      The message:

      <soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>
      <soapenv:Header/>
      <soapenv:Body>
      <env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' xmlns:wsrp='urn:oasis:names:tc:wsrp:v1:types'>
      <faultcode>wsrp:InvalidRegistration</faultcode>
      <faultstring>Missing registrationHandle.</faultstring>
      <detail>
      <wsrp:InvalidRegistration/>
      <fd:FaultDetail xmlns:fd='urn:bea:wsrp:ext:v1:types'>
      <fd:created>2006-05-23T23:18:36.312-06:00</fd:created>
      <fd:trace>com.bea.wsrp.faults.v1.InvalidRegistrationExceptionImpl: Missing registrationHandle.
      at com.bea.wsrp.producer.handlers.RegistrationHandleFilter.doFilter(RegistrationHandleFilter.java:121)
      at com.bea.wsrp.producer.handlers.AbstractServiceHandler.preprocess(AbstractServiceHandler.java:131)
      at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:81)
      at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:233)
      at com.bea.wsrp.producer.wsee.ProducerEntryPoint.handleResponse(ProducerEntryPoint.java:103)
      at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:242)
      at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:226)
      at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:142)
      at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:115)
      at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:74)
      at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
      at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
      at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:154)
      at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:82)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:230)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at com.bea.dummy.DummyAuthenticator.doFilter(DummyAuthenticator.java:51)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3198)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1979)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1886)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1338)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      </fd:trace>
      </fd:FaultDetail>
      </detail>
      </env:Fault>
      </soapenv:Body>
      </soapenv:Envelope>

      The exception:

      2006-05-23 23:25:20,158 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] unbindResponseMessage:

      {urn:oasis:names:tc:wsrp:v1:intf}

      getMarkup
      2006-05-23 23:25:20,198 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code=

      {urn:oasis:names:tc:wsrp:v1:types}

      InvalidRegistration,string=Missing registrationHandle.,actor=null,detail=detail]
      2006-05-23 23:25:20,199 DEBUG [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] Deserialize fault:
      FaultMetaData
      xmlName=

      {urn:oasis:names:tc:wsrp:v1:types}

      InvalidRegistration
      xmlType=

      {urn:oasis:names:tc:wsrp:v1:types}

      InvalidRegistrationFault
      javaType=org.jboss.portal.wsrp.core.InvalidRegistrationFault
      2006-05-23 23:25:20,252 DEBUG [org.jboss.ws.jaxrpc.encoding.JAXBDeserializer] deserialize: [xmlName=

      {urn:oasis:names:tc:wsrp:v1:types}

      InvalidRegistration,xmlType=

      {urn:oasis:names:tc:wsrp:v1:types}

      InvalidRegistrationFault]
      2006-05-23 23:25:20,354 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] Cannot deserialize fault detail
      org.jboss.ws.binding.BindingException: javax.xml.bind.JAXBException: Failed to parse source: The prefix "wsrp" for element "wsrp:InvalidRegistration" is not bound. @ unknown[1,28]
      at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:108)
      at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:133)
      at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:505)
      at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:704)
      at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:398)
      at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:164)
      ...
      Caused by: javax.xml.bind.JAXBException: Failed to parse source: The prefix "wsrp" for element "wsrp:InvalidRegistration" is not bound. @ unknown[1,28]
      at org.jboss.ws.jaxb.JAXBUnmarshallerImpl.unmarshal(JAXBUnmarshallerImpl.java:82)
      at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:97)
      ... 148 more
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: The prefix "wsrp" for element "wsrp:InvalidRegistration" is not bound. @ unknown[1,28]
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:141)
      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:127)
      at org.jboss.ws.jaxb.JAXBUnmarshallerImpl.unmarshal(JAXBUnmarshallerImpl.java:78)
      ... 149 more
      Caused by: org.xml.sax.SAXException: The prefix "wsrp" for element "wsrp:InvalidRegistration" is not bound. @ unknown[1,28]
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.fatalError(SaxJBossXBParser.java:328)
      at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:137)
      ... 151 more

      Result:
      I get a RemoteException instead of an expected InvalidRegistrationFault...

              tdiesler@redhat.com Thomas Diesler
              claprun Chris Laprun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: