Announcement Announcement Module
Collapse
No announcement yet.
Dynamic wsdl generation adds XMLSchema namespace to all elements Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dynamic wsdl generation adds XMLSchema namespace to all elements

    I can't quite figure out why this is happening, but it's not consistent from developer to developer. We have the following problem:

    When generating a wdsl out of our xsds, through Spring's <web-services:dynamic-wsdl> tag, I get XMLSchema namespace added to all elements/types in schema. Here is a sample:

    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://my.yermolovd.com/integration" attributeFormDefault="unqualified"
    elementFormDefault="qualified" targetNamespace="http://my.yermolovd.com/integration">
    <xs:attributeGroup xmlns:xs="http://www.w3.org/2001/XMLSchema"
    name="MyRequestAuthenticationAttributes">

    We take this generated wsdl and then serve it statically, but I want to avoid polluting the wsdl with xmlns tags.
    Some developers do not have this problem, some do. I don't know what is causing this. Any ideas?

    Thanks.

  • #2
    Sorry for not getting to this sooner.
    We are in the process of moving to StackOverflow for our forums.

    This question is probably a better candidate for StackOverflow, perhaps against the #spring-ws tag.

    If you do post it there, please reply here with the link.

    Thanks

    Comment

    Working...
    X