I would say that on the whole SOAP "method" names have tended to be in camelCase because that is the convention in the languages that some of the earliest published services were made in (e.g. Java .) Of course this only really matters if you are using "rpc/encoded" envelopes rather than "document/literal" but you probably want to consider what the toolkit is going to do with the method name in framing the response - if you go with the lower case underscore separated names you are likely to have a body payload with an element name of something like: my_perl_method_nameResponse which is the worst of both worlds and horrible IMO, however this is going to be of concern if people are examining the Envelope or the WSDL manually. Personally nowadays I would tend to think of web services in terms of the message-centric document/literal style rather than the method-centric (and therefore less implementation neutral) rpc/encoded in which case the design and naming issue becomes one of what is most appropriate for the XML documents that are being exchanged.

/J\


In reply to Re: Style question: SOAP method naming. by gellyfish
in thread Style question: SOAP method naming. by dmitri

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.