juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt T Stam (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] Closed: (JUDDI-306) errors calling getOperationalInfo
Date Sun, 08 Nov 2009 18:28:32 GMT

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

Kurt T Stam closed JUDDI-306.
-----------------------------

    Resolution: Fixed

Fixed, now adding the entityKey on the return Object

> errors calling getOperationalInfo 
> ----------------------------------
>
>                 Key: JUDDI-306
>                 URL: https://issues.apache.org/jira/browse/JUDDI-306
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0
>            Reporter: Kurt T Stam
>            Assignee: Kurt T Stam
>             Fix For: 3.0.1
>
>
> I've got the juddi 3.0 server up and running using the portal bundle.
> I can successfully run most operations, but when I try calling
> getOperationalInfo for one of my business service entities, I get
> the error stack below in my Tomcat server console, and on the client
> side I get a Soap fault with the text
>   Marshalling Error: cvc-complex-type.4: Attribute 'entityKey' must appear on element
'operationalInfo'.
> Is this a known problem? Does it indicate that I am making an error
> in my getOperationalInfo call? The request I sent is :
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>           xmlns:urn="urn:uddi-org:api_v3">
>    <soapenv:Header/>
>    <soapenv:Body>
>       <urn:get_operationalInfo>
>          <urn:entityKey>uddi:juddi.apache.org:14c6b54e-0edf-4fec-be89-1a7b20ad9e19</urn:entityKey>
>       </urn:get_operationalInfo>
>    </soapenv:Body>
> </soapenv:Envelope>
> thanks,
> bryan
> P.S. Here's the error stack on the server side console:
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: Marshalling Error: cvc-complex-type.4: Attribu
> te 'entityKey' must appear on element 'operationalInfo'.
>         at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.ja
> va:176)
>         at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:166)
>         at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writePar
> ts(AbstractOutDatabindingInterceptor.java:113)
>         at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutIn
> terceptor.java:68)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
> orChain.java:220)
>         at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(Out
> goingChainInterceptor.java:74)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
> orChain.java:220)
>         at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainIniti
> ationObserver.java:78)
>         at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDes
> tination.java:92)
>         at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
> ServletController.java:285)
>         at org.apache.cxf.transport.servlet.ServletController.invoke(ServletCont
> roller.java:168)
>         at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCX
> FServlet.java:175)
>         at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCX
> FServlet.java:153)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:102)
>         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.ja
> va:394)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:293)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :849)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
> ss(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:45
> 4)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: javax.xml.bind.MarshalException
>  - with linked exception:
> [org.xml.sax.SAXParseException: cvc-complex-type.4: Attribute 'entityKey' must a
> ppear on element 'operationalInfo'.]
>         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:
> 328)
>         at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.jav
> a:172)
>         at org.apache.cxf.jaxb.JAXBEncoderDecoder.writeObject(JAXBEncoderDecoder
> .java:379)
>         at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.ja
> va:155)
>         ... 27 more
> Caused by: org.xml.sax.SAXParseException: cvc-complex-type.4: Attribute 'entityK
> ey' must appear on element 'operationalInfo'.
>         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
> ParseException(ErrorHandlerWrapper.java:195)
>         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Err
> orHandlerWrapper.java:131)
>         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
> XMLErrorReporter.java:384)
>         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
> XMLErrorReporter.java:318)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErro
> rReporter.reportError(XMLSchemaValidator.java:410)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportS
> chemaError(XMLSchemaValidator.java:3165)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.addDefa
> ultAttributes(XMLSchemaValidator.java:2859)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleS
> tartElement(XMLSchemaValidator.java:2041)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEl
> ement(XMLSchemaValidator.java:685)
>         at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerIm
> pl.startElement(ValidatorHandlerImpl.java:549)
>         at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527
> )
>         at com.sun.xml.bind.v2.runtime.output.SAXOutput.endStartTag(SAXOutput.ja
> va:124)
>         at com.sun.xml.bind.v2.runtime.output.ForkXmlOutput.endStartTag(ForkXmlO
> utput.java:102)
>         at com.sun.xml.bind.v2.runtime.XMLSerializer.endAttributes(XMLSerializer
> .java:302)
>         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerialize
> r.java:680)
>         at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.seriali
> zeItem(ArrayElementNodeProperty.java:65)
>         at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeLi
> stBody(ArrayElementProperty.java:168)
>         at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(Ar
> rayERProperty.java:152)
>         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBean
> InfoImpl.java:322)
>         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerialize
> r.java:681)
>         at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serial
> izeBody(SingleElementNodeProperty.java:150)
>         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(Eleme
> ntBeanInfoImpl.java:156)
>         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(Eleme
> ntBeanInfoImpl.java:185)
>         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(Element
> BeanInfoImpl.java:305)
>         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(Element
> BeanInfoImpl.java:312)
>         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(Element
> BeanInfoImpl.java:71)
>         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.j
> ava:490)
>         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:
> 325)
>         ... 30 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message