Mantis - Resin
Viewing Issue Advanced Details
2842 minor always 08-13-08 07:41 08-20-08 12:59
emil  
emil  
normal  
closed 3.2.1  
fixed  
none    
none 3.2.1  
0002842: XML Streaming issue with XFire and Resin 3.1.6
(Rep by Richard Grantham)

> I'm still in the process of trying to move our application over to Resin
> 3.1.6. I had an out-standing issue with incorrect SOAP responses coming
> from Xfire 1.2.6. My SOAP responses follow this pattern:
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" [^]
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" [^]
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> [^]
> <soap:Body>
> <ns1:methodResponse xmlns:ns1="http://mynamespace"> [^]
> <ns1:result>
> <firstElement xmlns="http://mynamespace" [^]
> />
> <secondElement />
> <thirdElement />
> </ns1:result>
> </ns1:methodResponse >
> </soap:Body>
> </soap:Envelope>
>
> Only firstElement has namespace declaration. This is incorrect. All
> elements should have this namespace declaration.
>
> I guess this is an bug with Resin's streaming XML implementation. By
> configuring Resin to use STaX instead I solved the issue I was having.

Notes
(0003343)
emil   
08-20-08 12:59   
XFire uses StAX incorrectly (verified against RI). Error message added to catch this case. XFire users are advised to use WoodStox StAX as this is only known compatible implementation at this time.

xml/310y
xml/310z