[ 
https://issues.apache.org/jira/browse/JUDDI-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kurt T Stam resolved JUDDI-716.
-------------------------------

    Resolution: Fixed

Thanks for the tests; found and fixed the bug and I enabled the tests.

> Unrecognized Value for Element: X509IssuerSerial
> ------------------------------------------------
>
>                 Key: JUDDI-716
>                 URL: https://issues.apache.org/jira/browse/JUDDI-716
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core, juddi-client
>            Reporter: Alex O'Ree
>            Assignee: Kurt T Stam
>            Priority: Blocker
>             Fix For: 3.2
>
>         Attachments: JUDDI-716.patch
>
>
> When sending in a signed entity that includes the X509IssuerSerial element as 
> key info, you get the following error message. For reference the key info 
> part looks like this:
>             <ns2:X509Data>
>                 <ns2:X509IssuerSerial>
>                     <ns2:X509IssuerName>CN=Test,OU=JUDDI,O=Apache Software 
> Foundation,ST=MD,C=US,1.2.840.113549.1.9.1=#1614646576406a756464692e6170616368652e6f7267</ns2:X509IssuerName>
>                     <ns2:X509SerialNumber>1370645144</ns2:X509SerialNumber>
>                 </ns2:X509IssuerSerial>
>             </ns2:X509Data>
> Here's our error message
> Nov 17, 2013 7:47:37 PM org.apache.cxf.phase.PhaseInterceptorChain 
> doDefaultLogging
> WARNING: Application 
> {urn:uddi-org:v3_service}UDDIPublicationService#{urn:uddi-org:v3_service}save_business
>  has thrown e
> xception, unwinding now
> org.apache.cxf.interceptor.Fault: Unrecognized Value for Element: 
> X509IssuerSerial: org.w3._2000._09.xmldsig_.X509Issuer
> SerialType
>         at 
> org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
>         at 
> org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:213)
>         at 
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
>         at 
> org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:178)
>         at 
> org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:68)
>         at 
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
>         at 
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at 
> org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
>         at 
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)
>         at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
>         at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>         at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
>         at 
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>         at 
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
>         at 
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
>         at 
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158)
>         at 
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:243)
>         at 
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:163)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at 
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:219)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at 
> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
>         at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>         at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>         at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.RuntimeException: Unrecognized Value for Element: 
> X509IssuerSerial: org.w3._2000._09.xmldsig_.X509I
> ssuerSerialType
>         at 
> org.apache.juddi.mapping.MappingApiToModel.mapX509DataType(MappingApiToModel.java:865)
>         at 
> org.apache.juddi.mapping.MappingApiToModel.mapApiSignaturesToModelSignatures(MappingApiToModel.java:166)
>         at 
> org.apache.juddi.mapping.MappingApiToModel.mapBusinessSignature(MappingApiToModel.java:245)
>         at 
> org.apache.juddi.mapping.MappingApiToModel.mapBusinessEntity(MappingApiToModel.java:113)
>         at 
> org.apache.juddi.api.impl.UDDIPublicationImpl.saveBusiness(UDDIPublicationImpl.java:590)
>         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at 
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
>         at 
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
>         ... 33 more



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to