back soft

مطالب مرتبط با «call web service c» در 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! بخوانید...

ادامه مطلب

AngularJs giving me status 405 method not found error on calling webservice

Vote count: 0 I am new to angularJS and leaing implementing webservices. I have a sevice that I hit on 'Post man ' that is working fine but when I am implementing this service in my angular code and i tested on Google chrome console it is giving me status 405 method not found error. I don't know the reason.Below is the code I am using var myApp = angular .module('myApp',[]) .controller('MyController', function ($scope, $http) { var parameter = JSON.stringify({search:''}); $http.post(url, parameter).then(function(response) { alert(response.data); }); }); asked 9 secs agoAbdul Waheed Let's block ads! بخوانید...

ادامه مطلب

how to add a button which calls a webservice in my custom admin menu page of prestashop

Vote count: 0 how to add a button and atext box in which when i click the button it calls a webservice in my custom admin menu page of prestashop, ie i am developing a admin module in which i created a menu and i am able to display grid with pagination the defalut prestashop grid in that page , but i want a button and a text box above the grid how to do this in prestashop 1.6. here is my controllers code: class QueryController extends ModuleAdminController { public $module; public function __construct() { $this->module = new querydr(); $this->addRowAction('view'); //$this->removeButton('add'); // this code to remove the add button $this->explicitSelect = false; $this->context = Context::getC...

ادامه مطلب

how to call a soap webservice with struct input parameters?

Vote count: 0 I want to interact with SOAP (as a client) and am not able to get the right syntax for input parameters. I have a WSDL URL that I have tested it with SoapUI and it retus result properly. There are two functions defined in the WSDL, but I only need one ("FirstFunction" below). Here is the script I run to get information on the available functions and types: $client = new SoapClient("http://example.com/webservices?wsdl"); var_dump($client->__getFunctions()); var_dump($client->__getTypes()); And here is the output it generates: array( [0] => "FirstFunction Function1(FirstFunction $parameters)", [1] => "SecondFunction Function2(SecondFunction $parameters)", ); struct Amount { anyUR...

ادامه مطلب

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: ...

ادامه مطلب

برچسب‌های مرتبط

call web service c# | call web service | call web service java | call webservice from javascript | call web service nintex | call webservice from excel | call webservice from vba | call webservice from ssis | call webservice from sql server | call webservice from browser