Skip to main content

Additional Notes on Web Methods in the Generated Class

Additional Notes on Web Methods in the Generated Class

This section contains additional notes on the web methods in the generated web client classes.

  • InterSystems IRIS® data platform ensures that each method name is shorter than the limit on method names and is unique. (For information on the length of method names, see General System Limits,) This means that if the method names in the WSDL are longer than this limit, the names of the generated web methods are not the same as in the WSDL.

    The algorithm used is not documented and is subject to change without notice.

  • If the soapAction attribute equals "" for a given method in the WSDL (which is valid), it is necessary to make one of the following changes to the generated client class so that this method will work:

    • Set the SOAPACTIONQUOTED parameter equal to 1.

    • Edit the web method in the generated client class. Originally it includes the following contents:

         Quit ..WebMethod("HelloWorld").Invoke($this,"")
      

      Edit this to the following:

         Quit ..WebMethod("HelloWorld").Invoke($this,"""")
      

    Alternatively, edit the WSDL before generating the web client. If you do so, edit the soapAction attribute to equal """" instead of ""

FeedbackOpens in a new tab