Author Topic: WSDL: WS-addressing for wsdl:portType operation  (Read 4134 times)

Peter Poulsen

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
WSDL: WS-addressing for wsdl:portType operation
« on: May 03, 2013, 08:43:45 pm »
Hi

I need to specify a ws-addressing attribute on the wsdl:input element under wsdl:operation. I've tried to put it on as a tagged value on the operation, but that dosen't seem to work.

Is there anyone who know how to make this work?

End result should look like this:
<wsdl:input wsaw:Action="http://some-ws-addressing-action" name="MyOperation" message="MyOperationInMessage"/>

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: WSDL: WS-addressing for wsdl:portType operatio
« Reply #1 on: May 06, 2013, 09:22:33 am »
I don't know how to solve your problem, but one line of investigation might be to include the output you want in a WSDL 1.1 file and import it into EA to see how EA translates it into UML.

This topic:
http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/soa_and_xml/import_wsdl.html

includes an importable example that you might be able to copy and edit before importing it.

HTH
Best Regards, Roy

Stephane B

  • EA User
  • **
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: WSDL: WS-addressing for wsdl:portType operatio
« Reply #2 on: May 07, 2013, 10:09:08 pm »
First of all, if it were to work, it would be a tagged value on the operation parameter, not on the operation. It is where you put the "use = "literal" tag.

Unfortunately, I tried a reverse+forward enginnering of an existing WSDL with your ws-addressing attribute : the attribute is lost in the process. Only the "use" tag is kept. Other tags are filtered out by the WSDL generation. As it is a built-in feature, I don't see how to customize it.

Stéphane.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: WSDL: WS-addressing for wsdl:portType operatio
« Reply #3 on: May 07, 2013, 10:33:03 pm »
I did bite the bullet some 3 years ago and wrote an xsd/wsdl im-/exporter. It's not that easy as xsd can not be transferred to UML in one path. You need to cut certain branches and you must stick to conventions.

q.

Peter Poulsen

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: WSDL: WS-addressing for wsdl:portType operatio
« Reply #4 on: May 08, 2013, 02:16:12 pm »
Thanks for input. I can see, that I got a bit of work in front of me if this needs to work for me. Another way for me to go is to write an afterburner that does the work for me.