Professional Web Applications Themes
  1. #1

    Default How to replace the SoapIn and SoapOut suffix

    Hello,

    Is there a way to replace the "SoapIn" and "SoapOut" suffix added to
    the message name attribute?

    For example,

    I would like to change
    <message name="CreateAccountSoapIn">
    <part name="parameters" element="s0:CreateAccountRequest"/>
    </message>
    ...

    TO
    ...
    <message name="CreateAccountInput">
    <part name="parameters" element="s0:CreateAccountRequest"/>
    </message>
    ...

    Why do I need to this? The customer is forcing me to do this because
    that's what his Java's WSDL tools produced and I have no way out..

    I already visited the link below looking for an attribute that allows
    me to do this.
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebsrv/html/insidewsdl.asp[/url]
    Any help, links, comments, or jokes are welcome.

    Thanks

    alex Guest

  2. #2

    Default Re: How to replace the SoapIn and SoapOut suffix

    Hi Alex:

    I don't think you can change the protocol part (SoapIn, SoapOut) of a
    message name. But you can change the message name part (for instance, you
    can change CreateAccountSoapIn to CreatAcSoapIn) by decorating your web
    method with the MessageName attribute.

    This looks like a great (and one of only few) opportunity to use XSLT !

    Thanks,
    Mujtaba.


    "alex" <alexnolasco@yahoo.com> wrote in message
    news:1103316065.132892.126080@z14g2000cwz.googlegr oups.com...
    > Hello,
    >
    > Is there a way to replace the "SoapIn" and "SoapOut" suffix added to
    > the message name attribute?
    >
    > For example,
    >
    > I would like to change
    > <message name="CreateAccountSoapIn">
    > <part name="parameters" element="s0:CreateAccountRequest"/>
    > </message>
    > ..
    >
    > TO
    > ..
    > <message name="CreateAccountInput">
    > <part name="parameters" element="s0:CreateAccountRequest"/>
    > </message>
    > ..
    >
    > Why do I need to this? The customer is forcing me to do this because
    > that's what his Java's WSDL tools produced and I have no way out..
    >
    > I already visited the link below looking for an attribute that allows
    > me to do this.
    > [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebsrv/html/insidewsdl.asp[/url]
    > Any help, links, comments, or jokes are welcome.
    >
    > Thanks
    >

    Mujtaba Syed Guest

  3. #3

    Default Re: How to replace the SoapIn and SoapOut suffix

    Correction...

    The MessageName named parameter of the WebMethod attribute.

    "Mujtaba Syed" <mujtabas@gmail.com> wrote in message
    news:Ob$7%23ie5EHA.128@TK2MSFTNGP15.phx.gbl...
    > Hi Alex:
    >
    > I don't think you can change the protocol part (SoapIn, SoapOut) of a
    > message name. But you can change the message name part (for instance, you
    > can change CreateAccountSoapIn to CreatAcSoapIn) by decorating your web
    > method with the MessageName attribute.
    >
    > This looks like a great (and one of only few) opportunity to use XSLT !
    >
    > Thanks,
    > Mujtaba.
    >
    >
    > "alex" <alexnolasco@yahoo.com> wrote in message
    > news:1103316065.132892.126080@z14g2000cwz.googlegr oups.com...
    >> Hello,
    >>
    >> Is there a way to replace the "SoapIn" and "SoapOut" suffix added to
    >> the message name attribute?
    >>
    >> For example,
    >>
    >> I would like to change
    >> <message name="CreateAccountSoapIn">
    >> <part name="parameters" element="s0:CreateAccountRequest"/>
    >> </message>
    >> ..
    >>
    >> TO
    >> ..
    >> <message name="CreateAccountInput">
    >> <part name="parameters" element="s0:CreateAccountRequest"/>
    >> </message>
    >> ..
    >>
    >> Why do I need to this? The customer is forcing me to do this because
    >> that's what his Java's WSDL tools produced and I have no way out..
    >>
    >> I already visited the link below looking for an attribute that allows
    >> me to do this.
    >> [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebsrv/html/insidewsdl.asp[/url]
    >> Any help, links, comments, or jokes are welcome.
    >>
    >> Thanks
    >>
    >
    >

    Mujtaba Syed Guest

  4. #4

    Default Re: How to replace the SoapIn and SoapOut suffix

    Hello Alex,
    What the message name attribute is, is that its just a name for the message
    definition that is refered later on on in your operation definition in the
    wsdl. The actual name doesnt make a difference. It could be CreateAccountFooIn
    and ...FooOut. It shouldnt cause any interoperability issues either way.

    HTH
    Regards,
    Dilip Krishnan
    MCAD, MCSD.net
    dkrishnan at geniant dot com
    [url]http://www.geniant.com[/url]
    > Hello,
    >
    > Is there a way to replace the "SoapIn" and "SoapOut" suffix added to
    > the message name attribute?
    >
    > For example,
    >
    > I would like to change
    > <message name="CreateAccountSoapIn">
    > <part name="parameters" element="s0:CreateAccountRequest"/>
    > </message>
    > ...
    > TO
    > ...
    > <message name="CreateAccountInput">
    > <part name="parameters" element="s0:CreateAccountRequest"/>
    > </message>
    > ...
    > Why do I need to this? The customer is forcing me to do this because
    > that's what his Java's WSDL tools produced and I have no way out..
    >
    > I already visited the link below looking for an attribute that allows
    > me to do this.
    > [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnweb[/url]
    > srv/html/insidewsdl.asp
    > Any help, links, comments, or jokes are welcome.
    > Thanks
    >

    Dilip Krishnan Guest

Similar Threads

  1. dropping the suffix
    By wjlevin in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: June 26th, 08:51 PM
  2. Contribute 2 renames files with a .new suffix
    By sazaroo in forum Macromedia Contribute General Discussion
    Replies: 0
    Last Post: March 23rd, 01:57 PM
  3. Search and replace (super global replace)
    By johnweiffenbach@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 1
    Last Post: April 8th, 08:56 AM
  4. Replies: 0
    Last Post: August 5th, 12:35 PM
  5. Additional suffix Added To Filename
    By Thorsten Matzner in forum Windows XP/2000/ME
    Replies: 1
    Last Post: July 8th, 02:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139