[Nsi-wg] NSI WSDL version 1.1
Henrik Thostrup Jensen
htj at nordu.net
Tue Jan 24 04:19:39 EST 2012
On Mon, 23 Jan 2012, John MacAuley wrote:
> I am making changes to the WSDL this week to close some of the open
> issues for version 1.1. I would also like to restructure the message
> definition to simplify the handling code we have written. There was a
> lot of feedback that the XML definition forced coders to write duplicate
> code to handle common attributes.
> This restructuring would clean up the
> compiled objects so there would be less duplication of code.
Not everyone uses compiled objects :-).
> My proposed changes would not modify the contents or behaviour of the
> messages, just restructure them a bit to pull out the common attributes
> into dedicated named structures.
>
> I have two possible approaches to this problem:
>
> 1. Place the common attributes into the SOAP header and place the
> operation specific data into the SOAP body. This would be more in line
> with the intended protocol structure. Common framework header
> parameters in the SOAP header, and NSI CS operation specific data in the
> body.
>
> 2. Continue to just use the SOAP body and restructure the message
> definition so that the WSDL compiler generates common code for the
> common NSI parameters, which will be included in the operation specific
> XML type.
What exactly would be removed around. I don't quite follow this
distinction (should data go in the SOAP header at all?).
Best regards, Henrik
Henrik Thostrup Jensen <htj at nordu.net>
NORDUnet
More information about the nsi-wg
mailing list