web-services

How to create web service on netbeans?

I am trying to deploy my class project as web service on glassfish. I was told that this is really simple and netbeans does all the work and even creates the WSDL for you. I see where you can make a webservice client. But where do you go to make the webservice? ...

What web server interface to choose?

I'm in the process of planning a web service, which will be written in C++. The goal is to be able to select more or less any web server to drive the service. For this to become true, I obviously have to choose a standardized interface between web servers and applications. Well known methods that I've heard of are: CGI FastCGI W...

Client Web Service call over SSL using Apache Axis

I'm using Apache Axis 1.5.1 to code a web service client connecting to a service over SSL. My application is running in Tomcat with SSL configuration setup in JKS. However, when I connect to the server, the connection is failing because the cert from our client is not being sent to the server. Is this something that has to be set in the ...

error while deploying java webservice

Could someone help me on this, i have created simple java webservice using java1.6 , apache-tomcat-6.0.20 and axis2-1.4.1 while deplying this application , it returns following error message, SEVERE: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurr...

In SharePoint, graphically display data from a web service

[SharePoint/MOSS 2007] I want to access several web services (on external sites, with WSDL descriptors), and graphically display the data, using a separate web part to display each item. The graph for each is quite simple - just a thermometer, or traffic lights (as in KPI). I want to be able to access more detail about the data with ...

running a thread inside webservice

Could someone help me on this, i have created simple webservices and it has a queue that keeps xml files send from a client, so whenever webservice client call a method on webserbice , webserbice load this xml to its queue, now i want to have a thread running on webserbice which monitors this queue if there items on the queue take othe...

Is it possible to create a list view that includes the hidden "Forms" folder?

Is it possible to create a list view for document libraries that includes the hidden "Forms" folder? I need this view in order to set the content type of uploaded document templates using the Lists web service. This is related to this question: http://stackoverflow.com/questions/1687063/access-list-items-in-hidden-forms-folder-using-lis...

How to generate a WSDL file from a C# webservice.

I've created a WebService like this: [WebService(Namespace = "http://ns")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class GroupManagerService : WebService { public GroupManagerService() { } [WebMethod] public bool MyMethod(string loginname, string country) { // code here... ...

C# Webservice: Throw exception with extra properties in JSON

I have a webservice written in C#. When errors occur on the server, I would like to inform the user client side. This works fine by throwing exceptions server side, which is then sent to my error handler client side. However, I would like to, when I throw the exception, to set a property describing how serious I think the error is at th...

CXF: Set minOccurs=0 for elements of the arrays

Hi! We use CXF framework with aegis mapper for java server and .NET client. By default we have minOccurs=0 for all variables in classes in WSDL. We use such setting in CXF config to prevent it: <bean id="aegisBean" class="org.apache.cxf.aegis.databinding.AegisDatabinding" scope="prototype"> <property name="configuration"> ...

Attributes: Are the current REST-architecture tools limited to a tree-structure?

Historically operating system directory-structures have been trees: C: Windows System32 Program Files Common Files Internet Explorer And the REST architecture emulates the same thing: http://...//Thomas/ http://...//Thomas/Mexico/Year2003/Photos http://...//Thomas/Mexico/Year2007/Photos http://...//Thomas/Finland/Year2005/Pho...

Axis2 Web Services and Eclipse WSDL authoring: Adding an axis fault to wsdl causes exception when running wsdl2java

I am trying to create a contract-first Web Service using Apache Axis2 1.4.1. Since Eclipse has what seems like a pretty complete wsdl editor I started autoring my wsdls using Eclipse´s editor. Everything works great, I can generate Java classes using wsdl2java and the Web Services work when deployed. However, adding an exception or fault...

Client Server Design Question: Maintaining State On Both

Thanks for taking the time to review my question! Let’s assume that there is a web service (restful, SOAP, XML/JSON, what ever you want) and it was a service regarding puppies. A puppy, for the purposes of this question, can have two member variables. The first one is a unique ID of the puppy. The other data member is “number of fleas...

Connect to a web service which is behind an HTTPS proxy.

What is the .NET code to connect through the internet to a web service which is behind an HTTPS proxy. I am given: https:// - the url of the proxy https:// - the url of the webservice from the WSDL. two certificates - theirs and mine. ...

If transactions over REST are unachievable, how can REST ever be really useful?

When looking into REST one of the first things probably anybody will notice is there isn't any transaction semantics defined, some say this is implicitly against what REST is, whilst others say any attempt to do so would result in 'tainting' the REST systems. But lets say for arguments sake that REST did become a popular 'api' choice, a...

How to pass a List<int> to a service reference (C#, VS2008)

Hey folks The problem i'm having is that i've created a web service, and a windows form (separate solutions). I added the web service to the form app using a service reference, I can pass an 'int' or a 'string' to the web service no problem, but i cannot pass an array of int's or List<int> The web service code is as follows: using Sy...

BizTalk Send Flat File to Web Service

Hi I currently have a BizTalk 2006 (r1) application which receives XML from a SQL stored proc using the SQL adapter. It maps this to another schema before sending out to a 3rd party. The send port uses a custom pipeline component which converts the XML to a flat file - in the format required by the customer. I don't use any orchestratio...

Call a webservice without proxy

I have to call a webservice from withing a C# programm. The webservice has most probably not a standard format. The interface description (wsdl and xsd) are very complicated, and using a proxy generating mechanismus results in hundreds of classes. The generated classes ar of little help since they are very generic, having mostly simple O...

How to run a thread inside a webservice

Could someone help me on this, I have created simple web services using axis2 , apache and tomcat. This web service has a queue that keeps xml files sent from a client, so whenever a client calls a method on the webservice, the webservice loads this xml to its queue. Now I want to have a thread running in the webservice which monitors t...

What are some good resources for learning about Web Services with ASP.NET?

hi I'm completely new in web service. I want to study about it and the use it in my web site? any practical tutorial please? ...