}catch(Exception e){
System.err.print(e.toString());
}
----
There is no compilation error.
But when I run it, I got
"Server did not recognize the value of HTTP Header SOAPAction: ."

2. I luanch Web Services Explorer in Eclipse IDE for WSDL by adding URL:
"http://ip/Resource/ResourceService.asmx?WSDL", and select the method
GetXmlResources and input an int for the parameter patientKey, it works
and get the result that I expect.