Book a Demo

Author Topic: Code Generation for WSDL not compatible with Axis2 wsdl2code?  (Read 4713 times)

Randy McNob

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Hi,

I'm generating a WSDL from EA, and when it creates wdsl:message wsdl:part elements, it references the datatypes using a "type" element. Axis2 seems very fussy about this and insists on the attribute "element" instead.

i.e.

<wsdl:part name="Result" type="ldt:LogEntryAcknowledgement" />

has to be changed by hand to...

<wsdl:part name="Result" element="ldt:LogEntryAcknowledgement" />

...before it will work with Axis2's wsdl2code generator.

I think this may be because i'm using document literal - however, my EA model is aware of this and it is set in the generated wsdl binding.

Is there any way to get EA to output the wsdl as I want it to or am I missing the point?

thomas.kilian

  • Guest
Re: Code Generation for WSDL not compatible with Axis2 wsdl2code?
« Reply #1 on: April 20, 2008, 12:00:12 am »
You have to write your own generator through the API as I did. WSDL and XSD are not generated through this macro mechanism.