Hi Colin,

when you use something like "/ucrdev/csp/healthsahre" you should check on your management portal on "web applications" if the web app "/ucrdev/csp/healthsaher" requires authentication. You may wont to unceck the password box. Also, be carefoul to modify standard web app (like "/ucrdev/csp/" seems to be) as you me be unable to still access to that namespace by management portal.
In this case, more likely, you want to create your own web application that does not require authentication (you can easy clone the standard one "/ucrdev/csp/"  and then modify the sessings). Than your WSDL (or WS more generally) will be like : https://ifwap0661.ad.klinik.xxxyyy.de/mycusomwebapp/hsrepository...
In this way you no longer need to be authenticated.

Second:

org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Element type "link" must be followed by either attribute specifications, ">" or "/>".  
 

It seems the WSDL has something wrong. Another cause may it be in the WSDL are linked some external resourcess that points to other WSDL at other addresses that needs to be resolved. If that IP/resourcess cant be resolved, it leads to an uncomplete (broken) WSDL file.

I hope it helps,

Best regards,
Stefano

Hi Pierto,

in class Ens.BusinessOperation (that your custom class is going to extend) you have the overrideable method OnFailureTimeout

/// Override this method to provide custom handling of retry / failure timeout.<p/>
/// Set ..Retry=1 to override normal error return and re-evaluate flag properties.<p/>
/// Return 0 to skip further (default) FailureTimeout processing, 1 to perform default processing.
Method OnFailureTimeout(pRequest As %Library.Persistent, Output pResponse As %Library.Persistent, ByRef pSC As %Status) As %Boolean [ CodeMode = expression ]
{
1
}

You can override it to trigger the next action you need to perform.

I hope this helps,
Regards