Sure Wolfgang. Point taken.
Full stack trace of my current error is:
2014-07-09 15:58:00,566 [http-bio-9080-exec-9] ERROR errors.GrailsExceptionResolver - JAXBException occurred when processing request: [GET] /osrpms/rte/getSubscriptionsAsJSON - parameters:
_: 1404885477056
Unable to find a JAXB implementation to delegate. Stacktrace follows:
Message: Unable to find a JAXB implementation to delegate
Line | Method
->> 138 | createContext in com.onesteel.reinforcing.pms.OsrJdeRteSvc.impl.JAXBContextFactory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 248 | newInstance in javax.xml.bind.ContextFinder
| 235 | newInstance . . . . . . . . in ''
| 385 | find in ''
| 637 | newInstance . . . . . . . . in javax.xml.bind.JAXBContext
| 142 | createContext in com.onesteel.reinforcing.pms.OsrJdeRteSvc.impl.JAXBContextFactory
| 248 | newInstance . . . . . . . . in javax.xml.bind.ContextFinder
| 235 | newInstance in ''
| 385 | find . . . . . . . . . . . in ''
| 637 | newInstance in javax.xml.bind.JAXBContext
| 268 | run . . . . . . . . . . . . in org.apache.cxf.common.jaxb.JAXBContextCache$2
| 267 | run in ''
| 266 | createContext . . . . . . . in org.apache.cxf.common.jaxb.JAXBContextCache
| 172 | getCachedContextAndSchemas in ''
| 454 | createJAXBContextAndSchemas in org.apache.cxf.jaxb.JAXBDataBinding
| 322 | initialize in ''
| 86 | initializeDataBindings . . in org.apache.cxf.service.factory.AbstractServiceFactoryBean
| 430 | buildServiceFromWSDL in org.apache.cxf.service.factory.ReflectionServiceFactoryBean
| 534 | initializeServiceModel . . in ''
| 248 | create in ''
| 205 | create . . . . . . . . . . in org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
| 101 | createEndpoint in org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory
| 90 | create . . . . . . . . . . in org.apache.cxf.frontend.ClientFactoryBean
| 155 | create in org.apache.cxf.frontend.ClientProxyFactoryBean
| 156 | create . . . . . . . . . . in org.apache.cxf.jaxws.JaxWsProxyFactoryBean
| 469 | createPort in org.apache.cxf.jaxws.ServiceImpl
| 336 | getPort . . . . . . . . . . in ''
| 323 | getPort in ''
| 119 | getPort . . . . . . . . . . in javax.xml.ws.Service
| 87 | getJdeRteListenerPortSoap11 in com.onesteel.reinforcing.pms.OsrJdeRteSvc.JdeRteListenerPortService
| 48 | getSubscriptionsAsJSON . . in com.onesteel.reinforcing.pms.controller.RteController
| 198 | doFilter in grails.plugin.cache.web.filter.PageFragmentCachingFilter
| 63 | doFilter . . . . . . . . . in grails.plugin.cache.web.filter.AbstractFilter
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run in java.lang.Thread
Is any further information requested?
Greg
-----Original Message-----
From: Wolfgang Laun [mailto:wolfgang.laun_at_gmail.com]
Sent: Wednesday, 9 July 2014 3:17 PM
To: users_at_jaxb.java.net
Subject: Re: Unable to find a JAXB implementation to delegate.
It's important to quote error messages verbatim, as would be the inclusion of a stack dump. It's possible that more information about the configuration would help someone else on the list.
-W
On 09/07/2014, Greg Pagendam-Turner <greg.pagendam-turner_at_onesteel.com> wrote:
> Thanks for your response Wolfgang.
>
> The error message was actually:
> mypackage.pms.OsrJdeRteSvc.ListAllEventsRequest is not known to this
> context
>
> Any other ideas?
>
> Greg
>
>
> -----Original Message-----
> From: Wolfgang Laun [mailto:wolfgang.laun_at_gmail.com]
> Sent: Tuesday, 8 July 2014 4:24 PM
> To: users_at_jaxb.java.net
> Subject: Re: Unable to find a JAXB implementation to delegate.
>
> I see
> mypackage.pms.ListAllEventsRequest
> as opposed to
> mypackage.pms.OsrJdeRteSvc.ListAllEventsRequest
>
> -W
>
>
> On 08/07/2014, Greg Pagendam-Turner
> <greg.pagendam-turner_at_onesteel.com>
> wrote:
>> Hi,
>>
>> I'm using Grails with the CXF plugin to call a web service.
>>
>> When I make the call I get the error:
>>
>> Unable to find a JAXB implementation to delegate.
>>
>> The JAXB source recommends in this situation to contact the JAXB
>> users list so here I am.
>>
>> I was getting the error:
>>
>> Class not known to this context for class:
>> mypackage.pms.ListAllEventsRequest.
>>
>> So added to the Port class:
>>
>> @XmlSeeAlso({mypackage.pms.OsrJdeRteSvc.impl.ObjectFactory.class,
>> mypackage.pms.OsrJdeRteSvc.ListAllEventsRequest.class})
>>
>> Please help. What further information might you require to help me
>> fix this issue?
>>
>>
>> Greg
>>
>>
>>
>>
>> The material contained in this email is confidential and may be
>> subject to legal privilege and/or copyright. Please do not
>> re-transmit, distribute, copy or commercialise any of the material in
>> this message unless you are authorised to do so. If you are not the
>> intended recipient, use, disclosure or copying of this information is
>> prohibited. If you have received this document in error, please
>> advise the sender and delete the document. None of Arrium Limited,
>> its related bodies corporate or the sender accept responsibility for
>> any viruses contained in this email or any attachments.
>> All and any rights as to confidentiality, legal professional
>> privilege and copyright are expressly reserved.
>>
>
>
> The material contained in this email is confidential and may be
> subject to legal privilege and/or copyright. Please do not
> re-transmit, distribute, copy or commercialise any of the material in
> this message unless you are authorised to do so. If you are not the
> intended recipient, use, disclosure or copying of this information is
> prohibited. If you have received this document in error, please advise
> the sender and delete the document. None of Arrium Limited, its
> related bodies corporate or the sender accept responsibility for any viruses contained in this email or any attachments.
> All and any rights as to confidentiality, legal professional privilege
> and copyright are expressly reserved.
>
The material contained in this email is confidential and may be subject to legal privilege and/or copyright. Please do not re-transmit, distribute, copy or commercialise any of the material in this message unless you are authorised to do so. If you are not the intended recipient, use, disclosure or copying of this information is prohibited. If you have received this document in error, please advise the sender and delete the document. None of Arrium Limited, its related bodies corporate or the sender accept responsibility for any viruses contained in this email or any attachments. All and any rights as to confidentiality, legal professional privilege and copyright are expressly reserved.