Results 1 to 6 of 6

Thread: [RESOLVED] Webservice default return value template

  1. #1

    Thread Starter
    Frenzied Member TheBigB's Avatar
    Join Date
    Mar 2006
    Location
    *Stack Trace*
    Posts
    1,511

    Resolved [RESOLVED] Webservice default return value template

    Hi,

    So I've created a default Visual Studio project for a webservice and I invoked the HelloWorld method.
    What I get is indeed a "Hello World" string, but with some additional "crap" attached:
    Code:
    <style>
    @namespace url(http://www.w3.org/1999/xhtml); [src="http://static.addtoany.com/buttons/share_save_256_24.png"] {display: none !important;} #a2apage_dropdown {display: none !important;} #socialBotAdd, .addthis_button, .addthis_toolbox.addthis_default_style, #addthis_link, [onclick="return addthis_sendto()"] {display: none !important;} #greet_block {display: none !important;} .meebo-00 {display: none !important;} #wibiyaToolbar, #wibiyaToolbar_window_template {display: none !important;}
    </style>
    Where is this stuff generated? And how can I remove this.

    Thanks!
    Delete it. They just clutter threads anyway.

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Webservice default return value template

    Hello,

    How exactly are you calling the Web Method, and where are you seeing that additional "stuff"?

    Can you show a screen shot?

    Gary

  3. #3

    Thread Starter
    Frenzied Member TheBigB's Avatar
    Join Date
    Mar 2006
    Location
    *Stack Trace*
    Posts
    1,511

    Re: Webservice default return value template

    I've just noticed that I'm invoking through HTTP Post from the 'web interface'.

    Delete it. They just clutter threads anyway.

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Webservice default return value template

    For properly testing the web service, I would suggest using something like soapUI, that way you will see exactly what is going on.

    Also, if you are going to use the Browser, you might want to use IE. Who's to say that Chrome isn't showing you "stuff" that wasn't intended.

    Gary

  5. #5

    Thread Starter
    Frenzied Member TheBigB's Avatar
    Join Date
    Mar 2006
    Location
    *Stack Trace*
    Posts
    1,511

    Re: Webservice default return value template

    Ah, yes, that script is a blocker for those social widgets and gadgets on websites and chrome adds it to all its output.
    Running in IE indeed returns a clean response.
    Delete it. They just clutter threads anyway.

  6. #6
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] Webservice default return value template

    Glad to hear that worked out, and thanks for the rep

    If you didn't check it out, I would still recommend soapUI, it is a very useful tool.

    Gary

Posting Permissions

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



Click Here to Expand Forum to Full Width