Petals Studio

Java to WSDL operations do not support multi-schemas

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Won't Fix
  • Affects Version/s: 1.3.0, 1.3.1
  • Fix Version/s: 1.3.4
  • Component/s: Petals Tools
  • Security Level: Public
  • Description:
    Hide

    Create an EJB whose package is different than those of its arguments.
    The resulting WSDL should contain several imports of XML schemas.
    It only contains one. And the XML schema's element form default is unqualified.

    This is an issue with CXF's databinding (and this is not a bug but rather a limitation due to JAX-B).

    Show
    Create an EJB whose package is different than those of its arguments. The resulting WSDL should contain several imports of XML schemas. It only contains one. And the XML schema's element form default is unqualified. This is an issue with CXF's databinding (and this is not a bug but rather a limitation due to JAX-B).
  • Environment:
    -

Issue Links

Activity

Hide
Vincent Zurczak added a comment - Tue, 24 Apr 2012 - 20:37:36 +0200

Two solutions:

  • Generate package-info classes on the fly for JAX-B. See [http://cxf.547215.n5.nabble.com/elementFormDefault-quot-qualified-quot-td3072527.html|this topic].
  • Use Java to EasyWSDL.

The second option is maybe better, as it supports polymorphism.

Show
Vincent Zurczak added a comment - Tue, 24 Apr 2012 - 20:37:36 +0200 Two solutions:
  • Generate package-info classes on the fly for JAX-B. See [http://cxf.547215.n5.nabble.com/elementFormDefault-quot-qualified-quot-td3072527.html|this topic].
  • Use Java to EasyWSDL.
The second option is maybe better, as it supports polymorphism.
Hide
Vincent Zurczak added a comment - Thu, 26 Apr 2012 - 13:18:47 +0200

The second option is better:

  • CXF is heavy (45 Mb). And we only use it for Java to WSDL operations.
  • The other one is fairly simple (about 1 KLOC) and lighter (< 9 Mb).
Show
Vincent Zurczak added a comment - Thu, 26 Apr 2012 - 13:18:47 +0200 The second option is better:
  • CXF is heavy (45 Mb). And we only use it for Java to WSDL operations.
  • The other one is fairly simple (about 1 KLOC) and lighter (< 9 Mb).
Hide
Vincent Zurczak added a comment - Fri, 3 May 2013 - 15:11:32 +0200

The EJB component is not supported anymore with Petals 4.
It stooling was removed. This generation issue is not a problem with web services.

Show
Vincent Zurczak added a comment - Fri, 3 May 2013 - 15:11:32 +0200 The EJB component is not supported anymore with Petals 4. It stooling was removed. This generation issue is not a problem with web services.

People

Dates

  • Created:
    Tue, 24 Apr 2012 - 20:16:37 +0200
    Updated:
    Tue, 2 Jul 2013 - 12:14:27 +0200
    Resolved:
    Fri, 3 May 2013 - 15:11:32 +0200