services

What ordering guarantees are provided on ServiceListener and ServiceTracker calls?

I'm trying to understand what guarantees are provided for service events. The OSGi spec says that ServiceEvents are synchronous, I've taken this to imply that a ServiceListener will not receive a serviceChanged() call with an UNREGISTERING ServiceEvent until the serviceChanged() call with a REGISTERED ServiceEvent has completed. Is this...

web services,web application

what is web services(Rmi,ejb,soap)? what is different between web services and web application? Is possible to implement web services in web application? ...

Sharepoint Shared Services Error

I am biulding a sharepoint 2007 farm but whilst trying to configure the Shared Services I am getting an error of (Provisioning failed: Value cannot be null. Parameter name: adminWebApplication) I have tried googleing but dont seem to come up with an exact answer. Thanks ...

Check if Services/APIs have Expired Their Content - Best Practices for Optimizing/Caching Service Usage?

If you want to build a website/mashup using 10+ services (twitter, facebook, linkedin, github, stackoverflow, etc.), and you also want to optimize your application... Can you check if a URL's content is expired, without having to GET all of the pages content? If you could do that, then you could keep a local cache of their content in y...

how to create a c# app to listen for xmls and reply in xml

Hi, I know that you can create web services in .net and have them run on iis. I'd like to make something that doesn't rely on iis as the webserver I'm using runs apache. The eventual app should listen for incoming xml documents and repy in the form of an xml document, the client application will be running Javascript and sending xmls v...

RuntimeError handling in Grails using View-Controller-Service architecture

I have following situation (simplified, of course): MyDomain.groovy: class MyDomain { MyAnotherDomain anotherDomain // lazy loaded } MyService.groovy: class MyService { boolean transactional = true def doSomething(id) { // ... some code... } } MYController.groovy: class MyController { def myService def doAction = { ...

Design/Architecture question: rollbacks with remote services

Hi, For example, there's remote API with the following calls: getGroupCapacity(group) setGroupCapacity(group, quantity) getNumberOfItemsInGroup(group) addItemToGroup(group, item) deleteItemFromGroup(group, item) The task is to add some item to some group. Groups have capacity. So first we should check if group is not full. If it is,...

Configure ASP.NET Application services to use a schema other than 'dbo'

I want to use ASP.NET Application Services but configure it to use a different schema. I'm using the aspnet_regsql.exe tool as outlined in this URL which by default creates tables and stored procs with a dbo schema. So i thought i could just generate a database script from existing Application Objects and then find and replace [dbo]'s w...

Android and JSP - Working with objects

Hello everybody. I'm a student trying to dive into the world of "complex web-enabled applications" for Android. I had good tries making Android applications that call php functions, have JSON or XML responses and results, serialize objects and so on... It really can work for simple projects, IMHO. For projects that require an increased...

Reporting Services Format Y-axis value individually

Hello, I have a SQL Server Reporting Services (2008) chart . I want to format Y-axis value individually. For example, if Y-axis value is 1.50, it should show 1.s; if Y-axis value is 1.00, it should show 1 . I want to format Y-axis value differently from value to value in a same chart. I need to refer Y-axis value, but I don't know if it ...

How To Bind Month Name In Analysis Services 2008

I Have One Time_Table Which include following columns. id int (identity), date datetime, month Int, Quarter int , Year int in Analysis services - How Can we Bind Month Columnn To Month Name In Cube . Actually , I Want Month Name Should Be Dispaly instead of Month Number (I Have Month Number In My Time Tabl...

Domain Driven Design - External Data API as Respository or Service

In a blog application developed using domain driven design a 'Post' entity has a related collection of tag entities. On creating the post (e.g populating the object from the UI) i would like to call a third party API via REST which takes the content of the post and extracts semantic tags (link text) for association. Main Question : Wh...

WCF ServiceHost already has 5 behaviors

Hi, I´m creating a ServiceFactory to gain control over inicialization of my services exposed through IIS 7. However I´m surprised by the behavior of ServiceHost. Although I have 0 configuration files for the service, wherever I Initialize a new ServiceHost, like this: var host = new ServiceHost(typeof(MyService), baseAddresses); Nex...

Customizing URL Pattern of WSDL in Websphere Application Server

My webservice name is SampleService. and WSDL can be located through http://localhost:9080/Sample/SampleService?WSDL. But i need to change URL and need to access using SampleServiceImpl?WSDL. This needs to be done without regeneration of artificats. I tried modifying web.xml providing servlet and servlet mapping. abc.sample.SampleServ...

How to write a simple Axis client (service generated from netbeans)

This is really basic, but here goes: I have created a simple "hello world" client using net beans, and I can successfully "test" it by right-clicking and saying "test in browser". However, the tutorial doesn't go any further - specifically, it doesn't give the actual client code for invoking the service. Can anyone point out to some...

What are some good ways to do connection management in C?

In C, when making a networking client / server setup, I usually have to do some standard BSD socket setup. Then on the server side, I'll have to manage multiple threads, usually a main thread, an a io thread. Each connection is managed by a connection manager so that you can have connections being processed while new requests are coming ...

What are the pros and cons of using a Data Services Layer?

This is a discussion that seems to reappear regularly in the SOA world. I heard it as far back as '95, but it's probably been a topic of conversation long before that. I definitely have my own opinions about it, but I'd like to hear some good, solid arguments for having a Data Services Layer, and likewise for arguments against having ...

How to create databases on mySQL using script (PHP, etc)

Hi, I am thinking of running a hosted service using Amazon Services (PHP + mySQL). What I like to do is have a site where someone registers, pays PayPal and returns to site where they will get an automated information to their mySQL account. So this mySQL account would only be used by them. They can create tables, etc. Some questions ar...

How to post json object in web service

Dear All, Can any one help me please that how to post Json object to web service using c#? Actually I am trying to verify an App Store Transaction Receipt in C#. follow this link to have an enough idea. http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StoreKitGuide/VerifyingStoreReceipts/VerifyingS...

Workflow Services Duplex Binding

Is Duplex Binding supported in windows Workflow Services and WCF integration? Can an activity "register" with a WCF service and then can a WCF service raise an event to the registered activity in the workflow when it needs to? ...