Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #451 (new defect)

Opened 1 year ago

Missing constant SOAPNamespaceTag

Reported by: user Assigned to: nahi
Priority: normal Milestone: undefined
Component: soap4r Version: 1.5
Keywords: Cc:

Description

Double fault, only appears if some other error/exception occurs - in which case this undefined constant error comes up, not the real error, as seen below, with SOAPNamespaceTag = 'SNSTag' in soap/soap.rb

<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <env:Body>
    <env:Fault xmlns:n1="http://schemas.xmlsoap.org/soap/encoding/"
        env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <faultcode xsi:type="xsd:QName">SNSTag:Server</faultcode>
      <faultstring xsi:type="xsd:string">Project Document init</faultstring>
      <faultactor xsi:type="xsd:string">ActionWebService::Protocol::Soap::SoapProtocol</faultactor>
      <detail xmlns:n2="http://www.ruby-lang.org/xmlns/ruby/type/custom"
          xsi:type="n2:SOAPException">
        <cause xmlns:n3="urn:ActionWebService"
            xsi:type="n3:Exception"></cause>
        <excn_type_name xsi:type="xsd:string">Exception</excn_type_name>
      </detail>
    </env:Fault>
  </env:Body>
</env:Envelope>