You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Sergey Beryozkin <sb...@gmail.com> on 2013/09/12 14:25:45 UTC

Soap test error in systests/jaxrs

Hi

I've started seeing today the following error in JAXRSSoapBookTest:

javax.xml.ws.WebServiceException: 
org.apache.cxf.service.factory.ServiceConstructionException: Failed to 
create service.
	at com.ibm.wsdl.util.xml.DOMUtils.getQName(DOMUtils.java:309)
	at 
com.ibm.wsdl.util.xml.DOMUtils.getQualifiedAttributeValue(DOMUtils.java:367)
	at 
com.ibm.wsdl.xml.WSDLReaderImpl.getQualifiedAttributeValue(WSDLReaderImpl.java:2106)
	at com.ibm.wsdl.xml.WSDLReaderImpl.parsePart(WSDLReaderImpl.java:1306)
	at com.ibm.wsdl.xml.WSDLReaderImpl.parseMessage(WSDLReaderImpl.java:1285)
	at 
com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:324)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2352)
	at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:470)
	at 
com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:312)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2352)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2338)
	at 
org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:244)
	at 
org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:185)
	at 
org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:98)
	at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:217)
	at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:160)
	at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:128)
	at 
org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:99)
	at javax.xml.ws.Service.<init>(Service.java:56)
	at 
org.apache.cxf.systest.jaxrs.jaxws.BookSoapService.<init>(BookSoapService.java:39)
	at 
org.apache.cxf.systest.jaxrs.JAXRSSoapBookTest.testGetUnqualifiedBookSoap(JAXRSSoapBookTest.java:786)


Results :

Tests in error:
   JAXRSSoapBookTest.testGetUnqualifiedBookSoap:786


Have there been any related changes recently ?

Cheers, Sergey

Re: Soap test error in systests/jaxrs

Posted by Sergey Beryozkin <sb...@gmail.com>.
On 12/09/13 13:43, Bill Burke wrote:
>
>
> On 9/12/2013 8:40 AM, Sergey Beryozkin wrote:
>> On 12/09/13 13:27, Bill Burke wrote:
>>> Isn't JAXRS and SOAP an oxymoron?
>>
>> I've just learned a new word, lol.
>
> Was just trying to be funny...  Sorry for trolling, couldn't resist. See
> you on the 339 list Serg.
>
No problems :-), it is a quite a regular topic for the discussion btw on 
this list and internally, you are welcome with the comments,

thanks, Sergey

Re: Soap test error in systests/jaxrs

Posted by Bill Burke <bb...@redhat.com>.

On 9/12/2013 8:40 AM, Sergey Beryozkin wrote:
> On 12/09/13 13:27, Bill Burke wrote:
>> Isn't JAXRS and SOAP an oxymoron?
>
> I've just learned a new word, lol.

Was just trying to be funny...  Sorry for trolling, couldn't resist. 
See you on the 339 list Serg.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

Re: Soap test error in systests/jaxrs

Posted by Sergey Beryozkin <sb...@gmail.com>.
On 12/09/13 13:27, Bill Burke wrote:
> Isn't JAXRS and SOAP an oxymoron?

I've just learned a new word, lol.
FYI, the test stresses the endpoint which offers both WS & RS capabilities.
Generally speaking, I agree both styles can be difficult to support in a 
single implementation, but I reckon that in the reality it can help in 
experimenting with opening up the existing WS implementations and 
offering optional RS views and then people would most likely move to the 
next level (separate WS & RS views) once that POC is done

Cheers, Sergey

>
> On 9/12/2013 8:25 AM, Sergey Beryozkin wrote:
>> Hi
>>
>> I've started seeing today the following error in JAXRSSoapBookTest:
>>
>> javax.xml.ws.WebServiceException:
>> org.apache.cxf.service.factory.ServiceConstructionException: Failed to
>> create service.
>>      at com.ibm.wsdl.util.xml.DOMUtils.getQName(DOMUtils.java:309)
>>      at
>> com.ibm.wsdl.util.xml.DOMUtils.getQualifiedAttributeValue(DOMUtils.java:367)
>>
>>
>>      at
>> com.ibm.wsdl.xml.WSDLReaderImpl.getQualifiedAttributeValue(WSDLReaderImpl.java:2106)
>>
>>
>>      at
>> com.ibm.wsdl.xml.WSDLReaderImpl.parsePart(WSDLReaderImpl.java:1306)
>>      at
>> com.ibm.wsdl.xml.WSDLReaderImpl.parseMessage(WSDLReaderImpl.java:1285)
>>      at
>> com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:324)
>>      at
>> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2352)
>>      at
>> com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:470)
>>      at
>> com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:312)
>>      at
>> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2352)
>>      at
>> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2338)
>>      at
>> org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:244)
>>
>>
>>      at
>> org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:185)
>>
>>
>>      at
>> org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:98)
>>
>>      at
>> org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:217)
>>      at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:160)
>>      at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:128)
>>      at
>> org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:99)
>>
>>
>>      at javax.xml.ws.Service.<init>(Service.java:56)
>>      at
>> org.apache.cxf.systest.jaxrs.jaxws.BookSoapService.<init>(BookSoapService.java:39)
>>
>>
>>      at
>> org.apache.cxf.systest.jaxrs.JAXRSSoapBookTest.testGetUnqualifiedBookSoap(JAXRSSoapBookTest.java:786)
>>
>>
>>
>>
>> Results :
>>
>> Tests in error:
>>    JAXRSSoapBookTest.testGetUnqualifiedBookSoap:786
>>
>>
>> Have there been any related changes recently ?
>>
>> Cheers, Sergey
>



Re: Soap test error in systests/jaxrs

Posted by Bill Burke <bb...@redhat.com>.
Isn't JAXRS and SOAP an oxymoron?

On 9/12/2013 8:25 AM, Sergey Beryozkin wrote:
> Hi
>
> I've started seeing today the following error in JAXRSSoapBookTest:
>
> javax.xml.ws.WebServiceException:
> org.apache.cxf.service.factory.ServiceConstructionException: Failed to
> create service.
>      at com.ibm.wsdl.util.xml.DOMUtils.getQName(DOMUtils.java:309)
>      at
> com.ibm.wsdl.util.xml.DOMUtils.getQualifiedAttributeValue(DOMUtils.java:367)
>
>      at
> com.ibm.wsdl.xml.WSDLReaderImpl.getQualifiedAttributeValue(WSDLReaderImpl.java:2106)
>
>      at com.ibm.wsdl.xml.WSDLReaderImpl.parsePart(WSDLReaderImpl.java:1306)
>      at
> com.ibm.wsdl.xml.WSDLReaderImpl.parseMessage(WSDLReaderImpl.java:1285)
>      at
> com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:324)
>      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2352)
>      at
> com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:470)
>      at
> com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:312)
>      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2352)
>      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2338)
>      at
> org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:244)
>
>      at
> org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:185)
>
>      at
> org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:98)
>      at
> org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:217)
>      at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:160)
>      at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:128)
>      at
> org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:99)
>
>      at javax.xml.ws.Service.<init>(Service.java:56)
>      at
> org.apache.cxf.systest.jaxrs.jaxws.BookSoapService.<init>(BookSoapService.java:39)
>
>      at
> org.apache.cxf.systest.jaxrs.JAXRSSoapBookTest.testGetUnqualifiedBookSoap(JAXRSSoapBookTest.java:786)
>
>
>
> Results :
>
> Tests in error:
>    JAXRSSoapBookTest.testGetUnqualifiedBookSoap:786
>
>
> Have there been any related changes recently ?
>
> Cheers, Sergey

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com