Thanks for responding rstanciu,
I added the error checking function you provided with the results below.
Web service operation TestCust generated a SOAP Fault. SOAP faultstring is:
An error was detected while executing the Web Service request. (10893) (11506)
Fault Code: Receiver
Fault String: An error was detected while executing the Web Service request. (10893) ¦
Fault Actor:
Error Type: SOAP-FAULT
Error Type: SOAP-FAULT-DETAIL
<detail xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"><FaultDetail
xmlns:ns1="urn:soap-fault:details"><errorMessage>An error occurred
connecting to the Web Service application.
(10901)</errorMessage><requestID>a8602eba31bbf09f:397d66a5:122f11b90ff
:-7ffe#1</requestID></FaultDetail></detail>
The appserver log did not contain any errors, neither were any entries added added to it after calling the web service.
The wsa1.wsa.log (below) was the only log with new entries and it indeed contains an error:
TestCust 4GL-Provider Error in SOAP request execution: Connect Failure: Application Service TestCust Unknown at NameServer at Host localhost Port 5162. (8234) (10926)
Unfortunately I'm not experienced enough to figure out what causes the error. I'm only cook-book following the TestCust web-service sample in the Progress Docs.
The Progress Web services toolkit suggests that it's because the appserver is not running. But it is. I can connect to the same appserver and run the code.
wsa1.wsa.log:
======================================================================
[09/08/06@12:07:16.351-0700] P-3551568 T-main 1 --- --- /u/progress/wrk/wsa1.wsa.log opened.
[09/08/06@12:07:16.353-0700] P-3551568 T-main 1 --- --- Logging level set to = 4
[09/08/06@12:07:16.353-0700] P-3551568 T-main 1 --- --- Log entry types activated: WSADefault,
[09/08/06@12:07:16.366-0700] P-3551568 T-main 1 wsa1 ---------------- Starting WSA adapter wsa1, version 10.1B03, ID a8602eba31bbf09f:397d66a5:122f11b90ff:-7ffe (10620)
[09/08/06@12:07:16.366-0700] P-3551568 T-main 3 wsa1 Properties installDir : /u/progress/dlc
[09/08/06@12:07:16.366-0700] P-3551568 T-main 3 wsa1 Properties properties file : /u/progress/dlc/properties/ubroker.properties
[09/08/06@12:07:16.366-0700] P-3551568 T-main 3 wsa1 Properties instanceName : wsa1
[09/08/06@12:07:16.367-0700] P-3551568 T-main 3 wsa1 Properties logfilename : /u/progress/wrk/wsa1.wsa.log
[09/08/06@12:07:16.367-0700] P-3551568 T-main 3 wsa1 Properties loggingLevel : 4
[09/08/06@12:07:16.367-0700] P-3551568 T-main 3 wsa1 Properties logAppend : 1
[09/08/06@12:07:16.367-0700] P-3551568 T-main 3 wsa1 Properties webAppEnabled : true
[09/08/06@12:07:16.367-0700] P-3551568 T-main 3 wsa1 Properties adminEnabled : true
[09/08/06@12:07:16.367-0700] P-3551568 T-main 3 wsa1 Properties enableWsdl : true
[09/08/06@12:07:16.368-0700] P-3551568 T-main 3 wsa1 Properties logEntryTypes : WSADefault
[09/08/06@12:07:16.368-0700] P-3551568 T-main 3 wsa1 Properties logThreshold : 0
[09/08/06@12:07:16.368-0700] P-3551568 T-main 3 wsa1 Properties numLogFiles : 3
[09/08/06@12:07:16.368-0700] P-3551568 T-main 3 wsa1 Properties httpErrorPage : httperror.html
[09/08/06@12:07:16.368-0700] P-3551568 T-main 3 wsa1 Properties enableWsdlListings : true
[09/08/06@12:07:16.368-0700] P-3551568 T-main 3 wsa1 Properties wsdlListingPage : WSDLListing.html
[09/08/06@12:07:16.369-0700] P-3551568 T-main 3 wsa1 Properties noWsdlPage :
[09/08/06@12:07:16.369-0700] P-3551568 T-main 3 wsa1 Properties adminAuth : false
[09/08/06@12:07:16.369-0700] P-3551568 T-main 3 wsa1 Properties wsdlAuth : false
[09/08/06@12:07:16.369-0700] P-3551568 T-main 3 wsa1 Properties appAuth : false
[09/08/06@12:07:16.369-0700] P-3551568 T-main 3 wsa1 Properties adminRoles : PSCAdmin,PSCOper
[09/08/06@12:07:16.369-0700] P-3551568 T-main 3 wsa1 Properties wsaURL :
http://crap:80/wsa/wsa1
[09/08/06@12:07:16.370-0700] P-3551568 T-main 3 wsa1 Properties wsdlAppURL :
http://crap/wsa/wsa1
[09/08/06@12:07:16.370-0700] P-3551568 T-main 3 wsa1 Properties debugClients :
[09/08/06@12:07:16.370-0700] P-3551568 T-main 3 wsa1 Properties logMsgThreshold : -1
[09/08/06@12:07:16.370-0700] P-3551568 T-main 3 wsa1 Properties appProtocol : 0
[09/08/06@12:07:16.539-0700] P-3551568 T-main 3 wsa1 WSA Loading the Web Service applications registry
[09/08/06@12:07:16.583-0700] P-3551568 T-main 3 wsa1 Admin-Provider Initializing Application: default
[09/08/06@12:07:16.585-0700] P-3551568 T-main 3 wsa1 WSA Loaded XML Schema: /usr/local/apache-tomcat-4.1.40/webapps/wsa//wsad0006.xsd
[09/08/06@12:07:16.585-0700] P-3551568 T-main 3 wsa1 WSA Loaded XML Schema: /usr/local/apache-tomcat-4.1.40/webapps/wsa//wsad0005.xsd
[09/08/06@12:07:16.586-0700] P-3551568 T-main 3 wsa1 WSA Loaded XML Schema: /usr/local/apache-tomcat-4.1.40/webapps/wsa//wsad0004.xsd
[09/08/06@12:07:16.586-0700] P-3551568 T-main 3 wsa1 WSA Loaded XML Schema: /usr/local/apache-tomcat-4.1.40/webapps/wsa//wsad0003.xsd
[09/08/06@12:07:16.586-0700] P-3551568 T-main 3 wsa1 WSA Loaded XML Schema: /usr/local/apache-tomcat-4.1.40/webapps/wsa//wsad0002.xsd
[09/08/06@12:07:16.586-0700] P-3551568 T-main 3 wsa1 WSA Loaded XML Schema: /usr/local/apache-tomcat-4.1.40/webapps/wsa//wsad0001.xsd
[09/08/06@12:07:17.255-0700] P-3551568 T-main 3 wsa1 Admin-Provider Loaded application runtime properties: /usr/local/apache-tomcat-4.1.40/webapps/wsa//wsa1/default.props
[09/08/06@12:07:17.255-0700] P-3551568 T-main 3 wsa1 Admin-Provider Initializing Application: TestCust
[09/08/06@12:07:17.378-0700] P-3551568 T-main 3 wsa1 Admin-Provider Loaded application runtime properties: /usr/local/apache-tomcat-4.1.40/webapps/wsa//wsa1/TestCust.props
[09/08/06@12:07:17.378-0700] P-3551568 T-main 3 wsa1 Admin-Provider Loading application descriptor: /usr/local/apache-tomcat-4.1.40/webapps/wsa//wsa1/TestCust.wsad
[09/08/06@12:07:17.532-0700] P-3551568 T-main 3 wsa1 Admin-Provider Generating deployment descriptors
[09/08/06@12:07:17.537-0700] P-3551568 T-main 3 wsa1 Admin-Provider Creating pool manager: TestCust
[09/08/06@12:07:17.542-0700] P-3551568 T-main 1 --- --- Log entry types activated: WSADefault,
[09/08/06@12:07:17.627-0700] P-3551568 T-main 4 wsa1 WSA Loading user role PSCAdmin (10982)
[09/08/06@12:07:17.627-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCAdmin: wsa.wsa1.apps.props read,write (10983)
[09/08/06@12:07:17.628-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCAdmin: wsa.wsa1.apps.defaults read,write (10983)
[09/08/06@12:07:17.628-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCAdmin: wsa.wsa1.apps.enable read,write (10983)
[09/08/06@12:07:17.629-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCAdmin: wsa.wsa1.servlet.services read,write,delete (10983)
[09/08/06@12:07:17.629-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCAdmin: wsa.wsa1.servlet.stats read,write (10983)
[09/08/06@12:07:17.630-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCAdmin: wsa.wsa1.servlet.props read,write (10983)
[09/08/06@12:07:17.630-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCAdmin: wsa.wsa1.apps.stats read,write (10983)
[09/08/06@12:07:17.630-0700] P-3551568 T-main 4 wsa1 WSA Loading user role DEFAULTWSDL (10982)
[09/08/06@12:07:17.631-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role DEFAULTWSDL: wsa.wsa1.wsdl.* read (10983)
[09/08/06@12:07:17.631-0700] P-3551568 T-main 4 wsa1 WSA Loading user role PSCOper (10982)
[09/08/06@12:07:17.631-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCOper: wsa.wsa1.apps.props read (10983)
[09/08/06@12:07:17.632-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCOper: wsa.wsa1.apps.defaults read (10983)
[09/08/06@12:07:17.632-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCOper: wsa.wsa1.apps.enable read (10983)
[09/08/06@12:07:17.634-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCOper: wsa.wsa1.servlet.services read (10983)
[09/08/06@12:07:17.634-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCOper: wsa.wsa1.servlet.stats read (10983)
[09/08/06@12:07:17.635-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCOper: wsa.wsa1.servlet.props read (10983)
[09/08/06@12:07:17.663-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role PSCOper: wsa.wsa1.apps.stats read (10983)
[09/08/06@12:07:17.663-0700] P-3551568 T-main 4 wsa1 WSA Loading user role DEFAULTUSER (10982)
[09/08/06@12:07:17.664-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role DEFAULTUSER: wsa.wsa1.4GL.* execute (10983)
[09/08/06@12:07:17.664-0700] P-3551568 T-main 4 wsa1 WSA Loading user role DEFAULTADMIN (10982)
[09/08/06@12:07:17.664-0700] P-3551568 T-main 4 wsa1 WSA adding permission to user role DEFAULTADMIN: wsa.wsa1.servlet.services read (10983)
[09/08/06@12:07:17.767-0700] P-3551568 T-main 3 wsa1 WSA Initialization parameter: instanceName value: wsa1 (10965)
[09/08/06@12:07:17.773-0700] P-3551568 T-main 3 wsa1 WSA Initialization parameter: InstallDir value: /u/progress/dlc (10965)
[09/08/06@12:07:17.775-0700] P-3551568 T-main 3 wsa1 WSA Initialization parameter: propertyFileName value: /u/progress/dlc/properties/ubroker.properties (10965)
[09/08/06@12:09:06.032-0700] P-3551568 T-TP-Processor3 3 wsa1 WSA New Request: ID=0 (10927)
[09/08/06@12:09:06.037-0700] P-3551568 T-TP-Processor3 4 wsa1 Message-Debug GET request received from client anonymous at address 172.16.11.50 (10963)
[09/08/06@12:09:07.554-0700] P-3551568 T-TP-Processor2 3 wsa1 WSA New Request: ID=1 (10927)
[09/08/06@12:09:07.555-0700] P-3551568 T-TP-Processor2 3 wsa1 WSA New Request: ID=1 (10927)
[09/08/06@12:09:07.555-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug POST request received from client anonymous at address 172.16.11.50 (10963)
[09/08/06@12:09:08.396-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug Raw SOAP request:
[09/08/06@12:09:08.396-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug <SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body xmlns:s0="
http://www.w3.org/2001/XMLSchema"><ns0:TestCust xmlns:ns0="urn
00p3r:TestCust:TestCust"><ns0
CustNum xsi:type="s0:int">1</ns0
CustNum></ns0:TestCust></SOAP-ENV:Body></SOAP-ENV:Envelope> (10964)
[09/08/06@12:09:11.024-0700] P-3551568 T-TP-Processor2 2 TestCust 4GL-Provider Error in SOAP request execution: Connect Failure: Application Service TestCust Unknown at NameServer at Host localhost Port 5162. (8234) (10926)
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug Raw SOAP response:
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug <?xml version=''1.0'' encoding=''UTF-8''?>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug <SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug <SOAP-ENV:Body>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug <SOAP-ENV:Fault>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug <faultcode>SOAP-ENV:Server</faultcode>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug <faultstring>An error was detected while executing the Web Service request. (10893)</faultstring>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug <detail>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug <ns1:FaultDetail xmlns:ns1="urn:soap-fault:details"><errorMessage>An error occurred connecting to the Web Service application. (10901)</errorMessage><requestID>a8602eba31bbf09f:397d66a5:122f11b90ff:-7ffe#1</requestID></ns1:FaultDetail>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug </detail>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug </SOAP-ENV:Fault>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug </SOAP-ENV:Body>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug </SOAP-ENV:Envelope>
[09/08/06@12:09:11.133-0700] P-3551568 T-TP-Processor2 4 wsa1 Message-Debug (10960)