Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

“Expected nothing but received Base”

Solved445 views18th April 2025
0
Igor Simonov74 2nd November 2024 2 Comments

Hi All!

I have a simple script that gets the configuration of an element and immediately posts it back using python with the help of zeep XML processing module. It works fine for multiple elements, but one, where there is an exception “zeep.exceptions.Fault: Invalid port configuration: expected nothing but received Base.”

What could be the reason for it?

The script:

from zeep import Client
from zeep import xsd
clientV1 = Client(wsdl=’http://10.60.125.126/API/V1/soap.asmx?wsdl’)
connectionString = clientV1.service.ConnectApp(‘127.0.0.1’, user, password, ‘Script’)
el = clientV1.service.GetElementByName(connectionString, ‘Dialog Config’)
config = clientV1.service.GetElementConfiguration(connectionString, el.DataMinerID, el.ID)
clientV1.service.EditElement(connectionString, el.DataMinerID, el.ID, xsd.SkipValue, config)

Configuration of the element (as zeep interprets it) :

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th April 2025
Marieke Goethals [SLC] [DevOps Catalyst] commented 18th April 2025

Hi Igor,
Do you still need help with this question? If yes, Could you let us know what happened when you tried Wim's suggestion, or why this suggestion does not work for you? Or if you don't need any more help with this, could you select your answer to indicate that no further follow-up is needed?

Igor Simonov commented 18th April 2025

Hi Marieke,

The problem was in the XML parsing module, no other help is needed.
Thanks for the time spent!

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Igor Simonov74 Posted 2nd November 2024 1 Comment

XML that is posted as EditElement:

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th April 2025
Wim Bruynooghe [SLC] [DevOps Advocate] commented 4th February 2025

Can you remove the "DMAElementBasePortInfo" tag entirely? It looks like this element doesn't need any port configuration. "DMAElementBasePortInfo" is an abstract base class, when using it a more specific port type should be specified (see here for an example: https://docs.dataminer.services/develop/webservices/WS_v1/WS_About_v1/WS_v1_examples.html#createelement-request ) – but for this element it looks like you don't have to specify any port configuration.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs