473,479 Members | 2,128 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

async service development

I am working on developing a series of web services around the jabber
protocol. I have written the necessary soap over jabber code on the
server side (java) and am now working on the client side in C#. I am
trying to determine a mode of development because the standard "create a
server side wsdl and generate client stubs" doesn't seem to work well.

I am new to async web services, so bear with me if I am doing this
wrong. What I envision happening is that I have a server side wsdl and
then a "client" wsdl (the client is being invoked from the server so
this seems more like two servers communicating). So for a stock
example, there would be a register(string stockname) on the server and
then the client would have receiveUpdate(StockPrice price) operation.

To use the register(stockname) method is simple enough, I just can just
write the service, use the Add Web Reference and write some glue code
between jabber and the service with WSE 2.0. But is it possible to
generate a stub for the client to get the receiveUpdate() message? I
looked at the wsdl.exe program and can only figure out how to generate a
client proxy, and not a stub where operations can be invoked (i.e. a
server stub)

So in summary, my question is, on the .NET side how do I enable it to
receive async events while still being able to use the WSDL generation
tools? Or more generally, what is the development pattern for these
types of services where the messages are flying each way?

Another scneario I thought of is that instead of a server and client
WSDL, there could just be a server wsdl, but that the receiveUpdate
operation would be defined something like:

<wsdl:operation name="receiveUpdate">
<wsdl:output message="tns:receiveUpdate" name="receiveUpdate"/>
</wsdl:operation>

But the tools kind of choke on that.

Cheers,

- Dan
Nov 23 '05 #1
0 1008

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1357
by: Lucas Tam | last post by:
Is there a realistic maximum time a client can wait for an async response from a web service? I have requests that may take anywhere from 1 - 5 minutes to complete... maybe even more. Is it safe...
5
4023
by: Homa | last post by:
Hi all, Can anyone give me some links about how to do an async web service call from aspx and display a temperary page before the web service returns? Thanks, Homa Wong
5
3237
by: Paul Hasell | last post by:
Hi, I'm trying to invoke a web method asynchronously but just can't seem to get it to tell me when it has finished! Below is the code I am (currently) using: private void...
1
4304
by: Simon Hart | last post by:
Hi, I thought I'd just open a thread in an attempt to get peoples feelers with regards to multithreading vs Async Web Service processing. Of course Web Services makes it easy to do Async...
10
2608
by: Brian Parker | last post by:
I inherited a C++ DLL that I need to remotely call multiple times asynchronously. What I have developed is: CSharp web application that makes asynchronous calls to a CSharp Web Service. The...
3
2530
by: Giulio Petrucci | last post by:
Hi there, I'm quite a newbie in Web Service programming/using and I'm sorry if my question could sound quite "stupid". ;-) I'm working on an application which should request a service to a...
2
5535
by: jojoba | last post by:
Hello to all! I have a fairly simple webservice running in asp.net ajax under c# (vs 2008). I built the service and it runs just dandy when i test it by itself in visual studio. However, to...
1
1958
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... There are a few questions wrapped up in this, but the main one is that the WebService.MyMethodAsync() methods that are automatically generated in the client code by VS 2005 don't seem to...
4
5622
by: dlc9s | last post by:
Hi All, I have a JSR 168 portlet that I need to call a J2EE 1.4 JAX-RPC Web Service. I'm using Oracle 10g JDeveloper. (I don't have a choice about this). It works when I call the sync method, but...
0
7019
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6719
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6847
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5312
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4757
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2980
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1288
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
555
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
166
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.