75 Topics
Hi all, I new for web service. i already have web service in my server create by my boss. But now i need to create one app in c# for client to access the web service. This is i need in my web. WebServices Name : http://192.168.10.2:90/wafersortlotinfo.asmx Function Name : …
Hi to everybody... Iam new to Webservices ..... Can anybody tell me two things ....... 1)What is the difference between the soap and rest webservices.. 2)Which one is more secure... Thanks in advance....
Hi, I am trying to create a web service which will taken in JSON response and then query the DB with it to return store details (JSON response). I intend to use this with a mobile app later on. But during the development I am testing using AJAX calls. I …
Hi, In one of my services in the webservice I have to return an array of objects. I am using Axis1.1 and Tomact6.0 and developing code using eclipse 3.4.1 and JDK5. Here is my sample code This is what my web service has [code=java]public class WebLibSvcs { public List<DocumentInfo> getAllDocuments(BigDecimal …
I am working on a web service. I have a form with a button. When I click the button it calls my service class and I populate a list from an xml document with stock information. Then from the form class it calls another method inside the service class to …
Hi, Sorry to be a pain but I've become a little stuck. I've created a Windows Form program that intakes data from a text file, adds a timestamp to each line of data and then allows for it to be sampled or looked at given a particular timestamp. I now …
Hi I have been told that it is possible to call an ArrayList Method in a WebService from a console App. [Method] " public ArrayList AuthenticateUsers(string username, string password, string IncomingIP, decimal Pin) " [call] Service1 serv = new Service1(); ArrayList ar = serv.AuthenticateUsers("test", "12345","192.168.0.5", 29); Error Cannot implicitly convert …
Hi, I'm trying to create a webservice but I'm not very familiar with them and I'm having some issues getting code from a windows form into a webapplication that I now want to use. It's just a dictionary that I want to use with a webservice. This is the code …
Hi, I have a web service (deployed inside a Sharepoint site - though this is not important). I have a client - windows application where I call the web service to populate a grid & for other purposes like getting Sharepoint document library's fields, etc.,. In the winform's constructor, I …
Here my web service.. package ahsanfile.webservice; import ahsanfile.webservice.util.DataBase; import ahsanfile.webservice.model.Karyawan; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; /** * * @author Master */ @WebService() public class DataKaryawan { /** * Web service operation */ @WebMethod(operationName = "getKaryawan") public List<Karyawan> getKaryawan() { List<Karyawan> lk …
Dear Programmer, I was asked to develop a console programme that reads an integer n and a list of up to 5 divisors (also integers) from the console and computes the sum of all integers up to (but excluding) n which are divisible by any of the five divisors. For …
I have a class of properties which is being used as part of a web service. The Class has list of another class as one of its properties: <Serializable()> _ Public Class LessonPlans Public Property Teacher As String Public Property RoomNumber As String Public Property Subject As String Public Property …
I try to get the response from a request to a web service in Sonic, I can send the request and the webservice receive that request, but I cant receive the response, I receive Response = nothing I'm using vb.net 9, visual studio 2008. Please help me. I think something …
Its a Requiredment, i have a asmx service that returns a list<dataset> and the schema defination keeps on repeating foreach dataset in the List. How can i prevent. Thanks
Hi Guys, I need to track the application usage statistics using webservice. Basically i need to write a service which can be used in any application to record the usage of application which is calling this service. or Could be a DLL. I need idea's for this. Thanks, pgmer..
Good day,, I am having problem with the autocompleteextender in my application. i already created a webservice.. here is my code <asp:TextBox ID="txtSKU" runat="server"></asp:TextBox> <cc1:AutoCompleteExtender ID="aceSKU" runat="server" Enabled="True" ServicePath="http://localhost:3099/WebService1.asmx" ServiceMethod="GetMaterialName" TargetControlID="txtSKU" MinimumPrefixLength="2" CompletionInterval="100" EnableCaching="true" ShowOnlyCurrentWordInCompletionListItem="true" > </cc1:AutoCompleteExtender> and here is my whole webservice code using System; using System.Collections; using System.ComponentModel; …
I am asked to submit my assignment at the end of the day. I have done all the designing part except for the XML-List part. I have no idea how to do it as I'm really new to XML. Here is my assignment. Any help or direction to the right …
Hello I want to be able to be on a page and have a favorite that points to http://localhost/export which is a web service. When I select that favorite, the current web page Im on should send all of its source code to the web service. The web service should …
What is the best and fun way to learn Web Service in .NET plaform ,that can apply to real production environment? Anybody knows good projects to refer under codeplex site.. Or may be somewhere else
Hi All, Quick one for you. I have a client that wants to use a webservice to transfer data from a tablet on a network to an SQL database on servers. Am I correct in my thinking, as I am completely new to web services, that I can have a …
Hi all, Hopefully a quick one for you. I am designing a vb windows form application in express 2008. essentially it is a fancy front end which uses SQL commands to input data into an access mdf file. I was planning to have this automatically sync data to a network …
Hey I want to make a multithreaded and multiuser web service in Java. Where do I even start looking? Currently I have a web service that is one user and one thread. I think Ill problably have to completely rewrite it from almost scratch so.... Where can I see some …
For a mobile application development project what would be the best data communication technology ? is it web service project is better or WCF application project ? any clear reasons are also welcome Thanks Sanjeewa
I have to create a console application that asks the user to enter 6 words. These words must be stored in an array. When the user has entered the words, the application must send the first two words in the array to a **web method**. The **web method** must concatenate …
Hi, So this is my first time creating a web service and I am a bit stuck. This is the code I have used for my web service: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.Data; using System.Data.SqlClient; [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] …
Hy, I have created a webservice (asmx) which has some webmethods. In same project i also have a webpage (aspx) with some multiline texboxes which i want to use as log output from webmethods. If i call a webmethod from another prorgram i want to display in the textboxes the …
How To Run all the methods of a web form application in web service. I Have a webproject (made with web forms) . i want to run the project with a Web service. Is it Possible ? please give the steps . Thanks.
So having a function code in JSP, example is this one: [CODE] function isitinstalled() { try { var myObj = new activity1(plugin.activity); if (myObj) { return "activity123"; } } catch(e) { if (navigator.plugins[plugin.namename]) { return "me"; } else { return false; } } return false; }[/CODE] How do I translate …
Hi, may i know how to write the method in web service if i want to get a description from a particular id ? [CODE] public List<EventEntity> GetDetails(string uid) { EventDBModelDataContext ct = new EventDBModelDataContext(); var detail = ct.EventEntities.Where(d => d.eventID==uid).Select(d => new { d.eventID, d.eventDesc }); return detail.ToList(); }[/CODE] …
Hi, I'm working on a C# Windows Application which has a Web Service. I'd like to know how to communicate with the Web Service using XML. To be precise, I have a data set that has to go to the Database via Web Service. So I'd want to send this …
According to input & output xml files, I need to create wsdl file for describing web service: Input xml-file (request): [CODE]<?xml version="1.0" encoding="utf-8"?> <PEP_IBANCheckRequest> <OrderNumber>34552</OrderNumber> <IIN>81070581488</IIN> <RNN>5851515115</RNN> <IBAN>KZ86926002P468708027</IBAN> <PaymentAccountType>1</PaymentAccountType> <OrderDate>2011-08-26T11:36:59.4050385+06:00</OrderDate> </PEP_IBANCheckRequest>[/CODE] Output xml-file (response): [CODE]<?xml version="1.0" encoding="utf-8"?> <PEP_IBANCheckResponse> <OrderNumber>34552</OrderNumber> <OrgOrderNumber>65412</OrgOrderNumber> <OrderRunDate>2011-08-26T12:00:51.0369231+06:00</OrderRunDate> <Status>0</Status> <OrgBIC>65156151</OrgBIC> <OrgRNN>5445848</OrgRNN> </PEP_IBANCheckResponse>[/CODE] My incomplete wsdl file: [CODE]<?xml …
Hi All, I have webservice im having webmethod in that which returns Boolean value. Its retruning the correct output value only when the connection is pointing to localhost. Can any one please guide me? Thanks
Hi All, I have webservice which i having webmethod which returns boolean value. Its retruning the correct output value only when the connection is pointing to localhost. Can any one please guide me? Thanks
I need to create WSDL file for my [B]Web Service[/B]. Web service receives xml-based request and responses to it. [B]Sample xml-based request:[/B] [CODE]<?xml version="1.0" encoding="utf-8"?> <PEP_IBANCheckRequest> <OrderNumber>34552</OrderNumber> <IIN>81070581488</IIN> <RNN>5851515115</RNN> <IBAN>KZ86926002P468708027</IBAN> <PaymentAccountType>1</PaymentAccountType> <OrderDate>2011-08-26T11:36:59.4050385+06:00</OrderDate> </PEP_IBANCheckRequest>[/CODE] [B]Sample xml-based response:[/B] [CODE]<?xml version="1.0" encoding="utf-8"?> <PEP_IBANCheckResponse> <OrderNumber>34552</OrderNumber> <OrgOrderNumber>65412</OrgOrderNumber> <OrderRunDate>2011-08-26T12:00:51.0369231+06:00</OrderRunDate> <Status>0</Status> <OrgBIC>65156151</OrgBIC> <OrgRNN>5445848</OrgRNN> </PEP_IBANCheckResponse>[/CODE] By looking at …
Hello friends. I am developing a project while my internship.In this project I am taking data from database and making operations on them with services. Then I send them to the client. My problem : I made a wcf-linq service but I don't know how can I develop a similar …
i am using tomcat7.0,jdk1.6,and i downloaded the jax-wsri jar files. first i created folder named ws in webapps in tomcat folder. then in ws folder i created WEB-INF folder and META-INF.and in WEB-INF i created folder classes&folder lib. then i created the web service class as follows [CODE]package hello;import javax.jws.WebMethod;import …
i am using tomcat7.0,jdk1.6,and i downloaded the jax-wsri jar files. first i created folder named ws in webapps in tomcat folder. then in ws folder i created WEB-INF folder and META-INF.and in WEB-INF i created folder classes&folder lib. then i created the web service class as follows [CODE]package hello; import …
hi i am new for webservice .i want to know where do we use webserive and tell some examples thanks
Hi, I'm novice by complete to webservices et al. I've created successfully a webservice and referenced it in a console application. By simplification let assume that the webservice contains a webmethod, the 'classic' CelsiusToFarenheit (string Celsius). Once referenced i can see my new namespace ServiceReference1 with the following classes inside: …
hi, i have created an ASP.net web service that contain a webmothod that return the string. now i want to add an other method into that method. like following [code] [WebMethod] public string hello() { sum(); return "abc"; } public int sum() { return 10; // it does not make …
I wrote a web service to connect to mysql database. But I can't find a way to call it from the j2me midlet to pass parameters to the web service. Please help me with this.
plz help me how can i publish my ASP.net web service to the cloud and consume it from any where i want. Thanks and Regard, Nice Candy
I need to create a web service for sharepoint whose methods are accessible to outside world.Please let me know how can i achieve this. I am a novice. Please help! Thanks in Advance
I need to bind purticular external webservice webmethods name with in asp:dropdownlist at run time. anybody can help please.. Thanks in advance.. Suganya.B
Hi, I am new in SOAP webservice. I dont know how to use webserives in php. I need to develope for mobile application using SOAP. I run some sample code in my local server using SOAP file. I am getting WSDL format file. What is the use of WSDL. I …
Hi there having a bit of an issue using a webservice for an application. Basically i need to consume the web service via a winform app that will run some data transformation routinues, create an xml file and then pass the xml file to the webservice. The advice I am …
Hi, I am trying to access a web service using the WSDL url. I am able to get all the related classes from that wsdl using wsdl2java emitter. I am able to create a client that can basically call the methods of the web service. Now, the problem is I …
Scenario: I have a ASP.Net 3.5 (VS.Net 2008/C#) application. I have a webservice which I have marked with [ScriptService] attribute and also made sure that the <compilation debug=trus /> setting is in place in the webservice web.config configuration settings. I add the Script reference in the codebehind of my aspx …
Hello all, I want to ask for you, how to i create function with optional parameter in webservice and how i call this function in my application. Thanks this is my code... Webservice: [code] [WebMethod(Description = "Input data ke Database")] public bool inputAllData(string myTable, [Optional, DefaultParameterValue("")] string field1, [Optional, DefaultParameterValue("")] …
I am having issues parsing JSON data from a web service. The web service is local on my machine, and I have added it as a Web Reference. Simple data types from the service work perfectly. However, if I call a method that returns a complex structure (such as an …
The End.