web-services

Mocking WebService consumed by a Biztalk Request-Response port

I'm using BizUnit to unit-tests my Biztalk orchestrations, but some orchestrations consume a WebService,and testing these seems more like integration testing than unit testing. I'm familiar with using a mocking framework to mock the generated proxy objects, in order to test a web service from a Windows Forms application, but I would lik...

How to go about web service security in Java

Does anyone have a recommendation about web service security architecture in Java (preferably under JBoss)? Any recommended reading? I want to expose a fairly rich web service to the world but the data are sensitive and it requires authentication from the current client (Flex), accessed via RPC. I definitely do not want any server-sid...

What is a good design for an extensible query interface?

Our application exposes queries by way of web services, and what we've found is that our clients often want custom queries, either by way of further limiting the results returned by specifying additional criteria, or by asking for things that we don't already expose. Now, we can take the approach of creating new methods for each of thes...

What would be the best approach to designing a highly available pool of web services?

I've heard a lot of people touting success using Linux based proxies to handle routing for high availability of web applications, but what are others doing with web services? I have a bank of WCF services that need to be moved to a high availability (failover) model, meaning that if a particular server hosting the WCF services goes down,...

How to log XML SOAP messages (Request and Response) to SQL Database?

In my web application, I need to log all the SOAP messages to my SQL 2005 database whenever I make a web service call to my business partners' web service. How do I accomplish that? Thanks in Advance, Tony ...

Can anybody comment on django-wapi?

Aside for a few user guides found at http://fi.am/en/tag/django/2/ I have not managed to find much about WAPI. I was wondering if anyone has had an experience using WAPI and django to create a web api? I'm a little intimidated by the amount of magic these frameworks seem to do. Are there any other good alternatives to creating a web ap...

ASP.NET Web site/service hosting

Are there other possibilities besides IIS for hosting web sites and web services based on ASP.NET, which are recommended by Microsoft for small-scale environments? ...

How do I share DAL and BLL across multiple .NET applications?

I need to create several applications that all share a Microsoft SQL Server database. These include ASP.NET web applications, WPF desktop applications, and probably the odd console app every now and then. I'd like to use the ADO.NET Entity Framework for data access, extend its objects for my business logic, and bind those objects to co...

Generate classes from XSD

You are doing contract first development of web services in a SOA world. After editing an XSD file, what is the best way to automatically (re)generate .net classes from the XSD files? ...

How do you Handle a TimeoutException when calling WebServices using the SoapClient in Silverlight?

How do you handle a TimeoutException that is generated when calling WebServices using the SoapClient? There doesn't seem to be any event to be handled in order to catch any Exceptions generated when calling web services. Is it possible to catch any Exceptions thrown, especially the TimeoutException?? I also posted this question to the...

Is there any good resources on WebService?

The webservice on MSDN is now all about the Windows Communication Foundation. Is there any site out there that deal with WebService only? (.Net) ...

How can I access the ServletContext from within a JAX-WS web service?

I want to share an object between my servlets and my webservice (JAX-WS) by storing it as a servlet context attribute. But how can I retrieve the servlet context from a web service? ...

How To Publish Business Objects Query Service

We are trying to copy a BO Query Service from one Universe to another. If you use the BO Query As A Service(QAAS) tool you can do this, but end up basically recreating the query service. It seems like the BusinessObjects.DSWS.* libraries allow you to read and write query services, but those don't appear in the QAAS tool. I think that ...

How do I change the URL of my web service?

If I change the url in the web.config file will the change be reflected in the .disco, .discomap, and .wsdl files that are in the WebReferences folder? [Edit] I'm using asp.net 2005 ...

Why are Maps returned by a JAX-WS call always empty?

My web service method returns a Page object which includes the following methods: public Map<String,String[]> getParameters() { ... } public setParameters(Map<String,String[]> parameters) { ... } On the client side, the JAX-WS generated getParameters() method returns a Parameters object which provides a getEntry() method that returns ...

WSE 2.0 SP2 on VS 2008

Is it possible to use WSE 2.0 SP2 under VS 2008? I realise that the add-in (that generates the proxy classes/configuration) is not compatible but there are work-arounds to this (copying over the files from a VS 2003 solution). Our web services are relatively static so would not be making too many changes anwyay. We may at a future date...

How to create a new membership user via Ektron CMS400.NET web service API?

I am attempting to create new membership users in an Ektron CMS400.NET-based website by through calls to the User web service API from a remote site. One of the methods I intend to utilize, AddMembershipUser has a remark in the documentation indicating "A user with administrator privileges must be logged in to perform this operation.". I...

Which web service specifications (WS-*) actually make sense to implement?

Hi, I'm implementing an SOA at a large company, and I'm not sure which web service specifications (WS-*) actually make sense to implement. At a minimum, I'm looking at WS-Addressing, WS-Security, WS-Eventing, and WS-ReliableMessaging. However, there are several other standards that look interesting, but I don't know which ones are widel...

Best practices for web service timeouts

It there any article/book that defines upper bounded design limits for WS timeouts? Do you timeout at the server or recommend the client specific timeouts too? Is there a common best practice like "never design WS that can take longer than 60 seconds, use an asynchronous token pattern" I am interested in knowing what you do or your opi...

unmarshalling an axis generated (multiref containing) soap response with jaxb

hi! I'm consuming an axis 1.4 web service that returns soap responses that I want to unmarshal into my domain objects using jaxb annotations. My initial tests worked very well until some of the returned messages had multiRef elements. Objects that were marshalled using multiRef were showing up as null in my client side annotated model ...