473,395 Members | 1,666 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

how is client side DTO created from wsdl driven contract?

I am starting to get the idea...the xsd's feed the service layer operations
and messages. I am beginning to understand it at the abstract level. But at
implementation, when the client references a web service, the wsdl is
referenced, then the client binds through a proxy to the web service. My
question is, "How is the same object created(and hydrated) on the client
side that existed on the server side before it was serialized?" How does the
"newing up" happen? If there is no class sitting on the client to
instantiate, does it get the class from the wsdl? There must be in the xsd
portion of the wsdl, the data elements which will be turned into an object.
But when and where does that happen. When and how is the customer object
created on the client and then filled up with the data values? Thank
ou. -hazz
Dec 15 '05 #1
1 2941
In some cases, the proxy class generated by WSDL.exe uses a least common
denominator approach for casting objects to a type specified in a service
description. As a result, the generated type in the proxy class might not be
what the developer wants or expects. For example, when WSDL.exe encounters
an ArrayList type in a service description , it creates an Object Array in
the generated proxy class. To ensure correct object type casts, open the
file containing the generated proxy class and change any incorrect object
types to the expected object type.
http://msdn.microsoft.com/library/de...rviceProxy.asp

"hazz" <ha**@sonic.net> wrote in message
news:e2**************@TK2MSFTNGP11.phx.gbl...
I am starting to get the idea...the xsd's feed the service layer operations
and messages. I am beginning to understand it at the abstract level. But at
implementation, when the client references a web service, the wsdl is
referenced, then the client binds through a proxy to the web service. My
question is, "How is the same object created(and hydrated) on the client
side that existed on the server side before it was serialized?" How does
the "newing up" happen? If there is no class sitting on the client to
instantiate, does it get the class from the wsdl? There must be in the xsd
portion of the wsdl, the data elements which will be turned into an object.
But when and where does that happen. When and how is the customer object
created on the client and then filled up with the data values? Thank
u. -hazz

Dec 15 '05 #2

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

Similar topics

6
by: john deviney | last post by:
I have a C#/.Net 1.1 client talking to a Java based web service. I need to insert a soap header on the client side which is expected on the server side. Currently, the Java ws provider, Axis, does...
3
by: Dhananjayan | last post by:
Hi, I have a java webservice running on Axis, Iam able to create a java client to invoke the webservice and obtain the result. But iam not able to invoke the service from .Net client.. Here are...
3
by: Mike | last post by:
I have created a web service for a client to consume. The element I am having trouble with is, as described in their WSDL: <xsd:element minOccurs="0" ref="LocalData" maxOccurs="1" /> ...
2
by: pshvarts | last post by:
(I'm new in SOAP) I get some wsdl file (from apache service ). I tried creating SOAP client with .NET - trying to add Web Reference and get error like: "Custom tool error: Unable to import...
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
8
by: semedao | last post by:
Hi , I need to develop some feature of web service that can notify client - "Push" operation - and fast somebody know if it's possible , and how? When I say "Push" I mean - pure push :) , not...
5
by: Nick K. | last post by:
I use wsdl.exe to generate client code to call a web service. The actual web service is generated with the BizTalk Web Services Publishing Wizard. I'm not sure this is particular to the BizTalk...
1
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
I have developed web services, myWebService by .NET Visual Studio, with web methods getInfo and getInfo(int) (under .net framework 1.1). It works fine for the clients created by .NET visual studio....
3
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
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
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...

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.