Book a Demo

Author Topic: Import WSDL  (Read 4812 times)

EdDargan

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Import WSDL
« on: September 29, 2006, 02:05:29 am »
I've just tried to import a WSDL generated by the Progress Openedge Proxy Generator and keep getting a header incorrect error. The same WSDL imports OK into XML Spy and Stylus Studio.

The problem is caused by the order of the following:

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/"

If the wsdl namespace definition is placed after the other reference, everything works fine. However Progress creates the definitions in the order given and the import fails.


VK

  • EA Administrator
  • EA User
  • *****
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: Import WSDL
« Reply #1 on: October 05, 2006, 07:35:32 pm »
The WSDL Importer does not currently handle multiple namespace-prefixes for the same namespace. Hence it throws the header incorrect error.

Of these 2 declarations :

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"  
xmlns="http://schemas.xmlsoap.org/wsdl/"

I believe that the WSDL file is using the namespace-prefix "wsdl" to refer to the WSDL namespace. Hence, delete the other namespace-prefix declaration ( xmlns="http://schemas.xmlsoap.org/wsdl/" ) and EA will import the WSDL without throwing any errors.

EdDargan

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Import WSDL
« Reply #2 on: October 18, 2006, 01:18:30 pm »
Completely agree. It is a shame that every WSDL generated by the Progress OE10 proxy generator will have to be editted for EA to work.

VK

  • EA Administrator
  • EA User
  • *****
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: Import WSDL
« Reply #3 on: October 26, 2006, 03:23:14 pm »
We will have this issue fixed in the next Build of EA  :)

EdDargan

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Import WSDL
« Reply #4 on: October 27, 2006, 09:34:29 am »
Many thanks :)