jax-ws
  1. jax-ws
  2. JAX_WS-948

wsimport customization: how to prevent naming collision in the generated ObjectFactory?

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Works as designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: wsimport
    • Labels:
      None

      Description

      I'm having the same issue as reported in JAX_WS-223; however I'm opening a new issue because that issue is already marked as Resolved.

      kohsuke writes in a comment on JAX_WS-223, "The solution, as always, is to use the customization." I'm assuming this means, e.g., an external customization file as documented on http://jax-ws.java.net/nonav/2.2.1/docs/customizations.html, which is passed using the wsimport -b option.

      • Is that indeed what is meant?
      • How would I write a customization which did avoid the conflict between createAccountID() and createAccountID()? I can find no samples, and what makes it more difficult is that the conflict is not in the WSDL file but in an external XSD file.

      Any help would be appreciated!

        Activity

        Hide
        Martin Grebac added a comment -

        Hi,
        here are few links to JAXB documentation, which contain customization help as well:
        http://jaxb.java.net/guide/
        http://jaxb.java.net/tutorial/
        http://download.oracle.com/javaee/5/tutorial/doc/bnazf.html
        MartiNG

        Show
        Martin Grebac added a comment - Hi, here are few links to JAXB documentation, which contain customization help as well: http://jaxb.java.net/guide/ http://jaxb.java.net/tutorial/ http://download.oracle.com/javaee/5/tutorial/doc/bnazf.html MartiNG

          People

          • Assignee:
            Martin Grebac
            Reporter:
            marnix.klooster
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: