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

  • SEARCH
  • Home
  • 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 8591795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:36:15+00:00 2026-06-11T23:36:15+00:00

I am working with a SOAP service that has a variable defined with leading

  • 0

I am working with a SOAP service that has a variable defined with leading underscores (one would assume private, but the documentation has specific examples where one must use them). In the WSDL it looks like this:

<xsd:element maxOccurs="1" minOccurs="0" name="__encoded_query" type="xsd:string"/>

Through some experimentation I have determined that, using named parameters in my client.service calls I am able to assign variables as normal, except for ones which have the leading underscore.

For example:

client.service.getRecords( name='server1' )

Produces the correct XML:

<ns1:getRecords>
  <name>server1</name>
</ns1:getRecords>

but if I attempt to use the parameter with the underscore:

client.service.getRecords( __encoded_query='name=server1' )

the XML which is produced does not include the parameter at all:

<ns1:getRecords/>

I am not sure whether this is a syntax nuance that I am unfamiliar with (either Python or suds) or perhaps suds attempting to be “smart” by protecting the variables based on the private variable convention. In any case, this is the documented way to use this web service so I need to figure out how to get suds to produce the XML including the __encoded_query block.

  • 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-06-11T23:36:16+00:00Added an answer on June 11, 2026 at 11:36 pm

    It’s not your fault, it’s a documented suds issue.

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

Sidebar

Related Questions

I'm working with a WSDL that has a different SOAP Action in the header
I'm working on an application that uses Sudzc to interface with a SOAP web-service.
I have a SOAP web service that is defined contract-first--the request and response xml
I have a web service that I want to access through SOAP. But I
I have a working SOAP web service implemented with CXF in Java. What would
i'm trying to build a SOAP service with Zend_Soap. Everything is working great but
I have been working on a SOAP Web Service that uses a Caché to
I am working on making a web service using soap. I'm stuck at trying
I'm working with SOAP using the javax.xml.soap package. I have a javax.xml.soap.SOAPMessage object that
I'm trying to write a .Net client to a vendor's SOAP Service, but I'm

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.