XFire

WSDL contains multiple copies of schema declaration when using xmlbean binding

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0, 1.1.2
  • Fix Version/s: 1.2.2
  • Component/s: None
  • Labels:
    None
  • Environment:
    xmlbean 2.2 java 1.4
  • Testcase included:
    yes
  • Number of attachments :
    1

Description

I started my development with XML schema. Using XMLBeans I have generated java representations of schema elements.
At the end I have incorporated this into xFire WebService using xmlbean bindings.

After I have deployed the application I've tried to examin WSDL. The first request results in valid XML document but all subsequest request result in WSDL being bigger and bigger. After investigation I've found that new copy of schema is added on each WSDL request.

This does not stop webservice from working.
The proplem does not apply when default (AEGIS) bidning are used.

See test case:
===========================
Under link http://jmendys.com/test.zip you will find a test case to reproduce this problem.

The zip contains folder 'test' which is an exploded war ready to deploy. After
deployment is exposes 2 services:

  • XFireTestService1 (without xmlbean bidings)
  • XFireTestService2 (with xmlbean bindings)

When you request for WSDL for the second service you will notice that on each
request the response is bigger and bigger.

Activity

Hide
Dan Diephouse added a comment -

Scheduling for 1.2.2

Show
Dan Diephouse added a comment - Scheduling for 1.2.2
Hide
Jakub Mendys added a comment -

test case (maven build)

Show
Jakub Mendys added a comment - test case (maven build)
Hide
Jakub Mendys added a comment -

original test case has been replaced by maven project attached

Show
Jakub Mendys added a comment - original test case has been replaced by maven project attached
Hide
Dan Diephouse added a comment -

OK, thanks for the test case. Will try to check this out later today.

Show
Dan Diephouse added a comment - OK, thanks for the test case. Will try to check this out later today.
Hide
Jakub Mendys added a comment -

1.2.2 release has not fixed this problem

Show
Jakub Mendys added a comment - 1.2.2 release has not fixed this problem

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: