Skip to content

Change or remove default prefix #103

Open
@andersonkxiass

Description

@andersonkxiass

Is there an approach to change or remove the default prefix generated in the request object? I need to remove this prefix from the xml of my application, and I haven't found an effective way to do this.

Remove <my:cfeCabecMsg> here and <my:MyService> here

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:my="http://myservice/ws/MyService">
   <soap:Header>
      <my:cfeCabecMsg>
         <cUF>34</cUF>
         <versaoDados>1.2</versaoDados>
      </my:cfeCabecMsg>
   </soap:Header>
   <soap:Body>
      <my:MyService>
         <DadosMsg>
            <endServ versao="1">
               <tpAmb>1</tpAmb>
               <cUF>23</cUF>
               <nSeg>seg2</nSeg>
               <dhEnvio>20210101</dhEnvio>
               <nserieSAT>1212312333</nserieSAT>
            </endServ>
         </DadosMsg>
      </my:MyService>
   </soap:Body>
</soap:Envelope>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions