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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:40:01+00:00 2026-06-08T01:40:01+00:00

Can anyone confirm if it is possible to programmatically submit an assignment to Blackboard

  • 0

Can anyone confirm if it is possible to programmatically submit an assignment to Blackboard using Blackboard WebServices? (As documented here). Specifically I would like to know the correct way of using the Gradebook.WS, AttemptVO and the studentSubmission method to submit an assignment. Here is what I have tried so far which mostly works in that the attempt can be seen in Bb Gradebook except the attemptVO.studentSubmission is not visible in Blackboard Gradebook:

from suds.client import Client 
from suds.plugin import MessagePlugin 
from suds.wsse import Timestamp, UsernameToken, Security 

WS_BASE_URL = 'http://bbdev.bangor.ac.uk/webapps/ws/services/' 

class Learn9Plugin(MessagePlugin): 
    def marshalled(self, context): 
        password = context.envelope.childAtPath('Header/Security/UsernameToken/Password') 
        password.set('Type', 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText') 

security = Security() 
security.tokens.append(Timestamp()) 
security.tokens.append(UsernameToken('session', 'nosession')) 
plugin = Learn9Plugin() 

context = Client(   WS_BASE_URL + 'Context.WS?wsdl', 
location = WS_BASE_URL + 'Context.WS', 
autoblend = True, 
wsse = security, 
plugins = [plugin]) 

context.options.wsse.tokens[1].password = context.service.initialize() 

result = context.service.loginTool('xxxxx', 'xxxx', 'xxxxx', '', 500) 

course_id = '_15877_1' 

gradebook = Client(WS_BASE_URL + 'Gradebook.WS?wsdl', 
    location=WS_BASE_URL + 'Gradebook.WS', 
    autoblend=True, 
    wsse=security, 
    plugins=[plugin]) 


attemptVO = gradebook.factory.create('ns0:AttemptVO') 

attemptVO.override = False 
attemptVO.publicFeedbackToUser = False 
attemptVO.score = 0 
attemptVO.gradeId = '_169_1' # Smith
attemptVO.studentSubmission = 'Some sample text representing an assignment'
attemptVO.studentSubmissionTextType = 'PLAIN_TEXT'
print attemptVO
attempt_result = gradebook.service.saveAttempts(course_id, [attemptVO,])
print attempt_result

Result:

(AttemptVO){
   attemptDate = None
   creationDate = None
   displayGrade = None
   exempt = None
   expansionData[] = <empty>
   feedbackToUser = None
   grade = None
   gradeId = "_169_1"
   groupAttemptId = None
   id = None
   instructorNotes = None
   override = False
   publicFeedbackToUser = False
   score = 0
   status = None
   studentComments = None
   studentSubmission = "Some sample text representing an assignment"
   studentSubmissionTextType = "PLAIN_TEXT"
 }
[_586_1]

Many thanks.

  • 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-08T01:40:03+00:00Added an answer on June 8, 2026 at 1:40 am

    One of the developers of Blackboard got back to me and said that it is not possible to submit an assignment using the webservice as the ‘studentSubmission’ and ‘setStudentSubmissionTextType’ methods are readonly attributes.

    A request has been made to Blackboard to update the documentation.

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

Sidebar

Related Questions

Can anyone confirm that using a persistent outgoing TCP connection on port 80 will
Can anyone confirm or deny that it is possible to set an IP address
Can anyone confirm that after changing the Apple Push Certificate to follow the new
Can anyone confirm if there's an access 2003 runtime available to allow users to
My Get confirm isn't triggering the query? Can anyone see what I'm doing wrong?
Can anyone explain why here a = [] ? 1 : 2 a will
Can anyone tell me why this code would not be working? $('body').on('test', function() {
Can anyone confirm if the latest release of Apache httpClient 4.0.1 or 4.1 alpha2
Theoretically this seems possible to me. So can Any one confirm this to me,
Can anyone confirm the frequency the C64 CIA 16bit timers tick per second ?

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.