back soft

مطالب مرتبط با «call web service java» در back soft | نویسنده: استخدام کار

Call web service from js file(angularjs)

Vote count: 0 i am creating a web app in MVC5 in which i need to call a web service from my javascript file, in asp.net i used to call like $http.get('/welcome.asmx/welcomegrid', { params: { } }) but in MVC5 it is showing me error Request format is unrecognized for URL unexpectedly ending in '/welcomegrid' i tried this also $http.get("http://localhost:50353/Models/welcome.asmx/welcomegrid", { params: { } }) but i am facing the same error asked 1 min agoIbrahim Shaikh Let's block ads!...

ادامه مطلب

Call web service in java code

Vote count: 0 I use CXF library to invoke web service in my code.I use this code but it gives me error : java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:446) at org.glassfish.appclient.client.AppClientFacade.main(AppClientFacade.java:166) Caused by: ...

ادامه مطلب