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 403987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:16:01+00:00 2026-05-12T17:16:01+00:00

Hi I am looking to create a SOAP service within my Django App, but

  • 0

Hi I am looking to create a SOAP service within my Django App, but have come across a few hitches.
Firstly I have been able to successfully follow the soaplib Hello World tutorial (google “soaplib hello world” since I only can use 1 hyperlink as this is my first question) which uses a CheryPy WSGI server to run the service, and the soaplib client to initiate a SOAP request.

I am having trouble converting that into a service within Django through following this djangosnippets snippet. Currently I am using the Django development server.

Viewing http://localhost:8000/hello_world/ in the browser or making a SOAP request using the soaplib client returns a Django error page with the error:

Tried hello_world_service in module foo.views. Error was: 'module' object has no attribute 'hello_world_service'

Obviously urls.py is matching correctly, but according to that django snippet I linked to, there shouldn’t be a view hello_world_service.

I feel I am missing the last step and any knowledge would be really helpful.

Thanks, Marcus

  • 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-12T17:16:01+00:00Added an answer on May 12, 2026 at 5:16 pm

    According to the snippet you link to, the bottom of your views.py file should contain the following line:

    hello_world_service = HelloWorldService()
    

    This maps an instance of the HelloWorldService class onto the name hello_world_service, for use in your urls.py file.

    If that line is included, then there will indeed be a view with that name – so the URL Dispatcher should be able to find it.

    Hope that does it,

    Rob

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

Sidebar

Related Questions

I am looking to create a web service in Python, but none of the
I have created a soap service which I want to test.But I dont want
I'm looking to create something like in this image. Each block would have an
I am looking to create something that resembles a table in Tkinter but it
I have a WCF Service running SOAP and allowing Flex / Flash to connect
Basically, I'm looking to create a simple music playlist platform but in the form
I have a WCF API which supports SOAP/JSON/XML but we don't provide JSONP. This
Im looking to create a Java based automatic email service for a group I'm
I've been trying to do some research on REST and SOAP web service supporting
I'am going to have to interact with a SOAP web service, using a C++

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.