XFire

cannot remove xsd:any and xsd:anyAttribute elements from generated wsdl

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-RC1
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

Although following the steps as described in issue XFIRE-295, I still get xsd:any and xsd:anyAttribute in the generated wsdl.

I tried both adjustng the typeMappingRegistry bean definition in the xfire-all jar and overriding the typeMappingRegistry in my applicationContext.xml and/or services.xml

Strange thing is: my debugger DOES show the configuration values to be
defaultExtensibleElements = false
defaultExtensibleAttributes = false

Activity

Hide
Wouter added a comment -

OK, so we kind of found out how to accomlish this - so no bug, but documentation isn't quite up to date / easy to grasp

In the end, we removed services.xml, defined Spring dispatcher servlet in web.xml, added an xfire-servlet.xml containing service definitions and xfire configuration (overriding the already defined typeMappingRegistry).

Kind of: Spring exporter + Advanced configuration (where CommonsAnnotations has been replaced by jsr181WebAnnotations).

Show
Wouter added a comment - OK, so we kind of found out how to accomlish this - so no bug, but documentation isn't quite up to date / easy to grasp In the end, we removed services.xml, defined Spring dispatcher servlet in web.xml, added an xfire-servlet.xml containing service definitions and xfire configuration (overriding the already defined typeMappingRegistry). Kind of: Spring exporter + Advanced configuration (where CommonsAnnotations has been replaced by jsr181WebAnnotations).
Hide
Dan Diephouse added a comment -

Yes, as you found out this is possible. I think I've changed my mind about having it on by default though - it breaks some tools which can't deal with the UPA stuff.

Show
Dan Diephouse added a comment - Yes, as you found out this is possible. I think I've changed my mind about having it on by default though - it breaks some tools which can't deal with the UPA stuff.
Hide
Dan Diephouse added a comment -

Turned off extensibility by default

Show
Dan Diephouse added a comment - Turned off extensibility by default

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: