Correctly parse SOAP errors.
This commit is contained in:
		@@ -185,9 +185,11 @@ type soapBody struct {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// SOAPFaultError implements error, and contains SOAP fault information.
 | 
					// SOAPFaultError implements error, and contains SOAP fault information.
 | 
				
			||||||
type SOAPFaultError struct {
 | 
					type SOAPFaultError struct {
 | 
				
			||||||
	FaultCode   string `xml:"faultcode"`
 | 
						FaultCode   string `xml:"faultCode"`
 | 
				
			||||||
	FaultString string `xml:"faultstring"`
 | 
						FaultString string `xml:"faultString"`
 | 
				
			||||||
	Detail      string `xml:"detail"`
 | 
						Detail      struct {
 | 
				
			||||||
 | 
							Raw []byte `xml:",innerxml"`
 | 
				
			||||||
 | 
						} `xml:"detail"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (err *SOAPFaultError) Error() string {
 | 
					func (err *SOAPFaultError) Error() string {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user