Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 862573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:09:53+00:00 2026-05-15T09:09:53+00:00

I am bad with SOAP. A third party SOAP service gave me example code

  • 0

I am bad with SOAP. A third party SOAP service gave me example code to use for their api. The code that they give (which I copied to my solution EXACTLY) does not spit out a required prefix before all the tags.

Right now, the code they give me causes me to make requests/responses that have no prefix to all the tags…

<tagName />

. How do I make all the tags look like…

<com:tagName />

Here is the attributes for my WebServicesClient

[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name = "catalogHttpBinding", Namespace = "http://com.etilize.spexlive")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(CategoryCollection))]
public partial class catalog : Microsoft.Web.Services3.WebServicesClientProtocol
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:09:54+00:00Added an answer on May 15, 2026 at 9:09 am

    First of all, you’re using WSE, which is obsolete. Don’t do that unless you have no other choices at all.

    When I say “no other choices”, I’m including “can’t afford to quit the job”.

    Secondly, this is not a SOAP issue. It’s basic XML. You need your elements to be in a particular namespace. Since it looks like you used the correct obsolete tool to generate your client, chances are that your elements are already in the correct namespace.

    It may look wrong to you because you don’t realize that, in XML, namespace prefixes don’t matter – only the prefix is simply an alias for the namespace, and it’s the namespace that matters. In particular, the following three examples are identical:

    <a:ElementName xmlns:a="urn:foo"/>
    
    <b:ElementName xmlns:b="urn:foo"/>
    
    <ElementName xmlns="urn:foo"/>
    

    If your vendor actually requires a particular prefix (not a particular namespace), then they are badly broken, are violating International standards, and should be publicly mocked as being incompetent. If every vendor implements their own version of the XML standards, then it won’t be long before it’s not a standard anymore, and we won’t be able to depend on it. Since much of the power of XML comes from the fact that it’s a standard, this will be unfortunate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got an app that gets information from a SOAP web service and I
I have to use a 3rd party web service implemented in .NET 2.0 (on
We've got REST and SOAP endpoints for our service so we use WebFaultException to
deprecated : bad example Is it feasible to get execution context (object reference) which
I currently have a WCF service that exposes a SOAP enpoint. In this webservice
I have a PHP SOAP web service, using CakePHP, which is returning a variable
I'm currently modifying a document literal SOAP service for a business app which transfers
I was search for a video platform which I can use as a web-service
How bad is it to use Location Manager to retrieve the location information when
Is the code below bad practice or undefined behavior? Essentially i am calling a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.