Skip to content

Allow message content with namespaces #9

@Climax777

Description

@Climax777

Currently namespaces can't be applied to the message internally.

Currently I do it like so:

message = {
    'tt:StreamSetup': { 'tt:Stream': 'RTP-Unicast', 'tt:Transport': {'Protocol': 'RTSP'}}, 
    'tt:ProfileToken': '000'
}

With namespaces sent to options like so:

namespaces = {
    'xmlns:tt': 'http://www.onvif.org/ver10/schema', 
    'xmlns:xsi':"http://www.w3.org/2001/XMLSchema-instance",
    'xmlns:xsd':"http://www.w3.org/2001/XMLSchema"
}

This doesn't always work with SOAP services

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions