web-services

Beginners guide to BPEL

What is BPEL? I'm looking for some nice simple examples of BPEL usage. The wikipedia page isn't too enlightening. How about a "Hello world" in BPEL? A BPEL shell? A BPEL IDE? ...

Labeling Web Service endpoints

The web service endpoint usually is defined in an early stage of a project. Since it follows the "contract first" principle, it shouldn't be changed after communicated to client systems. Therefore, it is vital to label the web service in a good way. How would you label web services? e.g. http://my.domain.com/businessProcess/services/...

Implementation of WS-ReliableMessaging for Axis 1.4.

Do you know what implementation's of WS-ReliableMessaging for Axis 1.4 you have used? ...

Custom DateTime XML Serialization

I would like to be able to Serialize a DateTime with a specific Time Zone that is not the server, nor is it client time. Basically, any time zone. Is it possible to override the DateTime serialization, in .Net2.0 webservices? I compile an xmlschema using xsd.exe, so I made an attempt using XmlSchemaImporter. The OnSerialize examples s...

In C#, how would I capture the SOAP used in a web service call?

I have a C# application that is a client to a web service. One of my requirements is to allow capturing the SOAP that I send, so that if there is a problem, I can either fix the bug, or demonstrate that the problem is in the service I am calling. My WebReference proxy service class derives from System.Web.Services.Protocols.SoapHttpCli...

One log file and one error handler for set of web services - possible?

We have a set of web services which is also our internal API. They perfectly share one common web.config file. Is there a way to somehow make log4net create one log for the whole site, for all of them? And have common error handler? The problem I think they are all separate virtual directories, separate applications...? But again...the...

ASP.NET Web Services (plural) or Web Service with multiple classes.

Hi All, I am struggling to make a decision regarding the correct organisation for a web service. Should I have multiple ASMX's representing the different functionality in the web service, or should I have a single ASMX? If I have multiple ASMX's, does this not constitute multiple web services? If I have a single ASMX, how do I organis...

How to get environment specific detail in a program running in websphere

Can any body tell me How to get environment specific details (like the host name where the server is running, application context or webcontext) from a program executing in Websphere. I mean I have a simple java program (client proxy code for calling remote WebService) running with a WebService deployed locally on Websphere. Now when I ...

.net webservice publishing process question

I have a webservice that exists in an asp.net website. When I publish the site to a test server I have to go into the bin folder and into the .svc file for the service and manually change the URL to correctly reflect the test server URL. Is there a better way to handle something like this? ...

Unable to access WebService

I have a webservice @ http://recpushdata.cyndigo.com/Jobs.asmx but I'm not able to access it though I am adding it as a WebReference properly. Any Help would be great. ...

Sharepoint web services to edit existing list from desktop

Perhaps I am not asking or searching for this correctly: I want to have a desktop script (currently using python) that will update a list on a sharepoint site. The current script reads various file shares, ftp sites and a ArcGIS database to determine which metadata files have been updated and published. The script then writes all thes...

SOAP Webservice error - design practice

I need to design a SOAP api (my first one!). What are the best practices regarding errors returned to the caller. Assuming an api as follow [WebMethod] public List<someClass> GetList(String param1) { } Should I Throw an exception. Let the SOAP infrastructure generate a SOAP fault -- and the caller would have to try/catch. This is n...

Public free web services for testing soap client

Are there any publicly available SOAP 1.2/WSDL 2.0 compliant free web services for testing a Python based soap client library (e.g. Zolera SOAP Infrastructure)? So far, it appears to me that Google Web API may be the only option. Otherwise, how can one test a SOAP 1.2 compliant client library? ...

Bad request when client call a webservice that also calls another webservice

Hi. I have a client application that calls a function1 on webservice1 on server1 in the local network. The webservice1 then calls another webservice2 on an remote server2. If open Internet Explorer on server1 and point it to the function1 on webservice1 and run the function, everything goes fine. But if I run it from the client comput...

Problem with embedding CrystalViewerControl inside a Custom Web Control

I'm building a Custom Web Control in ASP.NET 2.0 that embeds the CrystalViewerControl inside it. The CrystalViewerControl accepts its ReportSource as a ServerFileReport, that means that my report file I'm trying to view is accessed as a Web service. I successfully render and create the CrystalReportViewer control and the ServerFileRepor...

How do you wait/join on a WCF Web Service called from Silverlight?

If you call a web service from Silverlight like this: MyServiceClient serviceClient = new MyServiceClient(); void MyMethod() { serviceClient.GetDataCompleted += new EventHandler<GetDataCompletedEventArgs>(serviceClient_GetDataCompleted); serviceClient.GetDataAsync(); // HOW DO I WAIT/JOIN HERE ON THE ASYNC CALL, RATHER THAN BEING...

How to get the raw xml returned from a webservice request?

Does anyone know of a simple way of getting the raw xml that is returned from querying a webservice? I have seen a way of doing this via Web Services Enhancements, but I don't want an added dependency. ...

VB.NET: How can I remap the soap.location property of a web service at runtime?

I have a web application I'm deploying at multiple clients. Each client will be consuming a web service that was developed by a third party and is hosted at each client location. The soap.location will be different for each deployment. I am looking to avoid having to do separate compiles foe each client. This blog post has a potentia...

Axis2 WSDL2Java : missing no-arg operation in generated stub

Hi, I've got in my webservice a simple public boolean isAlive() service. I defined it in my WSDL : <wsdl:types> <xsd:element name="isAliveResponse" type="xsd:boolean"> </xsd:element> </wsdl:types> <wsdl:message name="isAliveResponse"> <wsdl:part element="ns:isAliveResponse" name="parameters"/> </wsdl:message> <wsdl:portType ...

Authentication Error when accessing Sharepoint list via web service

I wrote a windows service a few months ago that would ping a Sharepoint list using _vti_bin/lists.asmx function GetListItemChanges. It was working fine until a few weeks ago when my company upgraded our Sharepoint instance to SP1. Now whenever my service attempts to access Sharepoint I receive an 401.1 authentication error: Error: ...