Gloval.asax: Cannot process your request now. Please try to reload this page later.

How to share entity in WCF, in WSCF/WCF

BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

Recent WSCF/WCF posts

\r\n problem with SOAP and XmlDocument
WCF Service Validating Soap Header Username/Password
Username and Password validation in wcf adapter
WCF - How much security is needed?
How to provide custom WSDL from a WCF server
WCF security question
Best Practices - most forward looking
WCF authentication problems
XML attributes
Migration path from WSE 2.0 (SP3) to WCF

 
 

WSCF/WCF

View :   

Latest Topics

Table Of Contents


Post Reply

How to share entity in WCF

All posts: microsoft.public.dotnet.framework.webservices
Source: microsoft.public.dotnet.framework.webservices
Sent date: 05/20/2008
From: "sailor" <(email address - cut out)>
Message:

In my project, I define many sevices. In these services , some method may
return object and these object may be parameter as other method. But in
client, these services are in different namespace, so the return object
can't be parameter. For example, server :

[DataContract]
public class A
{
...
}

[ServiceContract]
interface I1
{
[OperationContract]
A GetA();
}

[ServiceContract]
interface I2
{
[OperationContract]
void UseA(A a);
}

so, in client, there will have to class: client.I1.A, client.I1.A, and GetA
will return client.I1.A, UseA will accept client.I2.A.

How to solve this problem?



Post Reply

Related Messages

Table Of Contents



Other groups

WCF LOB

WSCF/WCF

BizTalk Rule Engine

BizTalk BPM, process

BizTalk BAM, activity

Biztalk Adapters

BizTalk Orchestration

BizTalk Server

WS WSDL

 

    Email TopXML