Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change or remove default prefix #103

Open
andersonkxiass opened this issue Feb 7, 2021 · 0 comments
Open

Change or remove default prefix #103

andersonkxiass opened this issue Feb 7, 2021 · 0 comments

Comments

@andersonkxiass
Copy link

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant