SRD not working
Author: oscar.esparza@swiftlg.com (txalaparta)
Hi there! I've come across a scenario where Uniface was migrated from one server to a new one. I've been told that it was working before. The point is that the web (WRD servlet) is apparently but the SOAP services (SRD) aren't. Every time I try to consume a web service is returns HTTP error 400 (Bad request). I've checked the asn files and everything looks OK to me. I've never worked with UNiface before and I don't know what else to do. Any help would be appreciated. Thanks in advance
The wsdl files need to be configured in UNIFACE_INSTALL_FOLDER\\uniface\\webapps\\uniface\\WEB-INF\\wsdl and UNIFACE_INSTALL_FOLDER\\uniface\\webapps\\uniface\\WEB-INF\\web.xml needs to have the relevant urouter information to start services for your application. Tomcat needs to be running (check http://ADDRESS:8080 for a default tomcat page).
Author: Iain Sharp (i.sharp@pcisystems.co.uk)
SRD not working
Author: oscar.esparza@swiftlg.com (txalaparta)
Hi there! I've come across a scenario where Uniface was migrated from one server to a new one. I've been told that it was working before. The point is that the web (WRD servlet) is apparently but the SOAP services (SRD) aren't. Every time I try to consume a web service is returns HTTP error 400 (Bad request). I've checked the asn files and everything looks OK to me. I've never worked with UNiface before and I don't know what else to do. Any help would be appreciated. Thanks in advance
I believe tomcat and wsdl are already set up because http://localhost:8080/swift_test/apas_srd_test/wssapasdlw?wsdl returns a sensible xml Besides, the application I'm currently developing finds the possible methods but I cannot execute them. There's something that surprises me, the uniface application is deployed in tomcat folder, i.e. UNIFACE_INSTALL_FOLDER\\common\\tomcat\\webapps\\my_app\\WEB-INF\\web.xml This is current config Web_inf.xml <servlet> <servlet-name> apas_text </servlet-name> <servlet-class> com.compuware.uniface.urd.WRDServlet <servlet-class> <init-param> ... <param-name>MIDDLEWARE</param-name> <param-value> UV8:localhost+13100|username|pwd|app_name<param-value> </init-param> <servlet> <servlet> <servlet-name> apas_srd_text </servlet-name> <servlet-class> com.compuware.uniface.urd.SRDServlet <servlet-class> <init-param> ... <param-name>MIDDLEWARE</param-name> <param-value> UV8:localhost+13100|username|pwd|app_srd_name<param-value> </init-param> <servlet> urouter.asn in UNIFACE_INSTALL_FOLDER\\common\\adm\\urouter.asn [SERVERS] app_name = "UNIFACE_INSTALL_FOLDER\\common\\bin\\userver.exe" /maxreq=1 -maxidle=10m -adm="UNIFACE_INSTALL_FOLDER\\common\\adm" -dir=path_to_project -asn=.\\assign\\apasweb_test.asn app_srd_name = "UNIFACE_INSTALL_FOLDER\\common\\bin\\userver.exe" /maxreq=1 -maxidle=10m -adm="UNIFACE_INSTALL_FOLDER\\common\\adm" -dir=path_to_project -asn=.\\assign\\apassrd_test.asn
Author: txalaparta (oscar.esparza@swiftlg.com)
SRD not working
Author: oscar.esparza@swiftlg.com (txalaparta)
Hi there! I've come across a scenario where Uniface was migrated from one server to a new one. I've been told that it was working before. The point is that the web (WRD servlet) is apparently but the SOAP services (SRD) aren't. Every time I try to consume a web service is returns HTTP error 400 (Bad request). I've checked the asn files and everything looks OK to me. I've never worked with UNiface before and I don't know what else to do. Any help would be appreciated. Thanks in advance
And the WRD works? Ummm, try running the app using the adm, dir and asn settings for app_srd_name, see if the assignment file kicks up any egregious errors...
Author: Iain Sharp (i.sharp@pcisystems.co.uk)
SRD not working
Author: oscar.esparza@swiftlg.com (txalaparta)
Hi there! I've come across a scenario where Uniface was migrated from one server to a new one. I've been told that it was working before. The point is that the web (WRD servlet) is apparently but the SOAP services (SRD) aren't. Every time I try to consume a web service is returns HTTP error 400 (Bad request). I've checked the asn files and everything looks OK to me. I've never worked with UNiface before and I don't know what else to do. Any help would be appreciated. Thanks in advance
I've tried changing the web.xml file like bellow and nothing comes up. Actually, tomcat can't find the page. All I know is WRD works but SRD gate is somehow closed. What else can I try? <servlet-name> apas_srd_text </servlet-name> <servlet-class> com.compuware.uniface.urd.WRDServlet <servlet-class> <init-param> … <param-name>MIDDLEWARE</param-name> <param-value> UV8:localhost+13100|username|pwd|app_srd_name<param-value> </init-param> <servlet>
Author: txalaparta (oscar.esparza@swiftlg.com)
SRD not working
Author: oscar.esparza@swiftlg.com (txalaparta)
Hi there! I've come across a scenario where Uniface was migrated from one server to a new one. I've been told that it was working before. The point is that the web (WRD servlet) is apparently but the SOAP services (SRD) aren't. Every time I try to consume a web service is returns HTTP error 400 (Bad request). I've checked the asn files and everything looks OK to me. I've never worked with UNiface before and I don't know what else to do. Any help would be appreciated. Thanks in advance
I'm also testing SOAP services with a 3rd party application and it returns: "The request sent by the client was syntactically incorrect()" and the call parameters are all OK
Author: txalaparta (oscar.esparza@swiftlg.com)