Menu

#88 Make "part name" configurable in WSDL generation (or provide switch for old behaviour)

open
None
5
2019-02-22
2014-08-29
No

In 2.8.15 the part names in WSDL were changed from "parameters" to "Body" (undocumented).

However, Microsoft's wsdl.exe relies on the part name being "parameters" to produce code that unwraps the request and response objects. For details, see http://msdn.microsoft.com/en-us/magazine/cc188906.aspx#S3

Please provide a switch to access the old behaviour or add a parameter to make the part name configurable.

Discussion

  • Robert van Engelen

    • assigned_to: Robert van Engelen
     
  • Robert van Engelen

    The WSDL is conforming. It seems unnecessary to implement the suggestion. Will further investigate.

     
  • Robert van Engelen

    Tested and is fine. There seems no need to do this unless you have an example that does not work that we can try?

     
  • Robert van Engelen

    • status: open --> closed
     
  • Magnus Holmgren

    Magnus Holmgren - 2019-02-21

    I'm curious as to what exactly was tested and found to be fine. Any Web Reference that you add in Visual Studio will result in stub functions that take a single argument, the type of which is a class that contains the arguments you declared in your h file as members.

    Note: This is with document/literal (wrapped).

    This is not a huge problem, however, since it can be worked around with a simple sed command.

     

    Last edit: Magnus Holmgren 2019-02-21
  • Robert van Engelen

    • status: closed --> open
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.