473,467 Members | 1,549 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Document style web service?

Does Microsoft now support Document style web service as part of .NET 3.0
(Windows communication foundations)?
Dec 1 '06 #1
3 4332


"Jens Jensen" <jj@jensen.dkwrote in message
news:#N**************@TK2MSFTNGP04.phx.gbl...
Does Microsoft now support Document style web service as part of .NET 3.0
(Windows communication foundations)?
Yes. They have been supported and encouraged since .NET 1.0.

Specifying Data Transfer in Service Contracts
http://msdn2.microsoft.com/en-us/library/ms732038.aspx

EG:

[ServiceContract, DataContractFormat(Style = OperationFormatStyle.Rpc)]
interface ICalculator
{
[OperationContract, DataContractFormat(Style =
OperationFormatStyle.Rpc)]
double Add(double a, double b);

[OperationContract, DataContractFormat(Style =
OperationFormatStyle.Document)]
double Subtract(double a, double b);
}
DataContractFormatAttribute Class
http://msdn2.microsoft.com/en-us/lib...attribute.aspx

David

Dec 1 '06 #2
Yes. They have been supported and encouraged since .NET 1.0.
>
Specifying Data Transfer in Service Contracts
http://msdn2.microsoft.com/en-us/library/ms732038.aspx

EG:

[ServiceContract, DataContractFormat(Style = OperationFormatStyle.Rpc)]
interface ICalculator
{
[OperationContract, DataContractFormat(Style =
OperationFormatStyle.Rpc)]
double Add(double a, double b);

[OperationContract, DataContractFormat(Style =
OperationFormatStyle.Document)]
double Subtract(double a, double b);
}
DataContractFormatAttribute Class
http://msdn2.microsoft.com/en-us/lib...attribute.aspx

David
Hi David and thank you for your answer,

The problem we had was when consumming web service generated on an Oracle
application server from .Net.
These services are not RPC style. We had some sort of failure while trying
to consumme them within Visual studio. It looked as the problem was due to
the fact that they were generated as Document style web service .
The proxy generation simply failed.

Thanks
JJ
Dec 1 '06 #3


"Jens Jensen" <jj@jensen.dkwrote in message
news:ua**************@TK2MSFTNGP02.phx.gbl...
>Yes. They have been supported and encouraged since .NET 1.0.

Specifying Data Transfer in Service Contracts
http://msdn2.microsoft.com/en-us/library/ms732038.aspx

EG:

[ServiceContract, DataContractFormat(Style = OperationFormatStyle.Rpc)]
interface ICalculator
{
[OperationContract, DataContractFormat(Style =
OperationFormatStyle.Rpc)]
double Add(double a, double b);

[OperationContract, DataContractFormat(Style =
OperationFormatStyle.Document)]
double Subtract(double a, double b);
}
DataContractFormatAttribute Class
http://msdn2.microsoft.com/en-us/lib...attribute.aspx

David

Hi David and thank you for your answer,

The problem we had was when consumming web service generated on an Oracle
application server from .Net.
These services are not RPC style. We had some sort of failure while trying
to consumme them within Visual studio. It looked as the problem was due to
the fact that they were generated as Document style web service .
The proxy generation simply failed.
Proxy generation for document style web services has always worked in .NET.
That wasn't the problem.

David

Dec 1 '06 #4

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

Similar topics

4
by: lawrence | last post by:
Can anyone tell me why this code works in Netscape 7.1 but not in IE??? <SCRIPT type='text/javascript'> function makeVisible(nameOfDiv) {...
3
by: davidkarlsson74 | last post by:
Error: document.getElementById("folderMenu").cells has no properties File: http://www.volkswagen.se/tillbehor/js/foldermenu.js Rad: 49 The function activates different DIV:s, but doesn't seem to...
0
by: Zacknafein | last post by:
Hi, I am currently trying to test an home-made document style web-service with VB.NET. I can send my request without problem, but I can't extract the return document from the SOAP response...
3
by: Yolande | last post by:
Hi there, In the document I fount on web sit http://download.microsoft.com/download/1/b/b/1bb6e11f-8e8c-46bf-a2d7-9a16976d4526/NETConnectedLogoTechnicalSpec020904.doc, it says that “To be .NET...
2
by: Phil Lee | last post by:
What's the general opinion on which of these to choose? I see that the SoapDocumentServiceAttribute defaults to literal/wrapped, but this article -...
6
by: therig | last post by:
I'm having issues, I've spent many hours searching and I'm a noob at javascript, any help will be greatly appreciated. I keep getting the following error: Error: document.forms.sec11_A has no...
4
by: dr1ft3r | last post by:
Hey guys, I'm building a site for a landscaping business down the street and can't seem to get part of the code functioning correctly. The code fails on line 68 where I make a reference to an...
10
omerbutt
by: omerbutt | last post by:
hi there i am working on an inventory rpoject and for that i have made a stock entry form which is pasted below,I have included this form in the main Add Stock page, having the following inputs to be...
5
by: ankit1999 | last post by:
I have a problem, everytime i'm run this page http://click2travel.in/index.php i get the this error,,,
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.