Web Service Consumer not returning error

Hi,

I have a problem that my web service consumer is not returning the correct custom error message.

The error I am getting is “The Web Service AgentImportSoap_n0 method UpdateAgent has returned a fault.”

But if i sent the exact same XML via soapui it returns the custom message from the web service as it should.

If there is no error the consumer works 100% it uploads the data as expected and it returns a message of succes.

The wsdl is http://services.sandbox.privateproperty.co.za/AgentImport/AgentImport.asmx

Any help or ideas would be appreciated.

Subject: Got the solution

I have created an error handler with the following code

Dim fault As WS_Fault

Set fault=service.getLastFault()

FaultCode$=fault.GetFaultCode()

	FaultString$=fault.GetFaultString()