473,715 Members | 5,414 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How does the client of a webservice figure out a complex type

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 out to create a "DataSet" as the
return type from the webservice?

I looked in the wsdl.... there is no reference to DataSet, it just says the
type is "Schema".
Thanks
Nalaka
Nov 23 '05 #1
7 2923
Hi,

The trick WebServices in .Net use is "send a hint in the XML instance
document".

When a DataSet is detected in the WebService generation part an
additional attribute with a 'hint for .Net only' is send allong.

This allows the (.Net) de-serializer to create the .Net native
'DataSet' type and populate it.

I.o.w. It's the toolkit you are using which is able to do this for
you, it has NOTHING to do with the official specs for WebServices.

Hope this helps,

Marvin Smit.

On Thu, 8 Sep 2005 08:30:52 -0700, "Nalaka" <na******@nospa m.nospam>
wrote:
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 out to create a "DataSet" as the
return type from the webservice?

I looked in the wsdl.... there is no reference to DataSet, it just says the
type is "Schema".
Thanks
Nalaka


Nov 23 '05 #2
Thanks Marvin.....

Does that mean... to create the client code...
..Net not only gets the wsdl... it also invokes the webservice itself, to get
a instance, to look for .Net speific hints.
,
Nalaka

"Marvin Smit" <ma*********@gm ail.com> wrote in message
news:ic******** *************** *********@4ax.c om...
Hi,

The trick WebServices in .Net use is "send a hint in the XML instance
document".

When a DataSet is detected in the WebService generation part an
additional attribute with a 'hint for .Net only' is send allong.

This allows the (.Net) de-serializer to create the .Net native
'DataSet' type and populate it.

I.o.w. It's the toolkit you are using which is able to do this for
you, it has NOTHING to do with the official specs for WebServices.

Hope this helps,

Marvin Smit.

On Thu, 8 Sep 2005 08:30:52 -0700, "Nalaka" <na******@nospa m.nospam>
wrote:
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 out to create a "DataSet" as the
return type from the webservice?

I looked in the wsdl.... there is no reference to DataSet, it just says
the
type is "Schema".
Thanks
Nalaka

Nov 23 '05 #3
Hi Nalaka,

As for how webservice client figure out a complex type, it all depends on
the webservice client's programming platform( .NET , java .....). As for
webservice standard, the WSDL is the only service contract and provide type
definition, the webservice just generate clientside class according to the
schemas within the WSDL. As for complex xml types, the certain client will
generate the appropriate proxy classes for them, for example as the DataSet
you mentioned, the webservice expose it as a schema type since it's XML
standard and not platform specific, then the webservice clientside can
generate proper client proxy class to represent it. For .NET, the
clientside VS.NET(or wsdl.exe) will use DataSet class to represent it, in
JAVA, maybe some other class (could just be a XmlDocument class ...).

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "Nalaka" <na******@nospa m.nospam>
References: <#j************ **@TK2MSFTNGP14 .phx.gbl>
<ic************ *************** *****@4ax.com>
Subject: Re: How does the client of a webservice figure out a complex type
Date: Thu, 8 Sep 2005 13:19:04 -0700
Lines: 57
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <OL************ **@TK2MSFTNGP12 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: m181-9.bctransit.bc. ca 199.60.181.9
Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTNGP08.phx .gbl!TK2MSFTNGP 1
2.phx.gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :11995
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Thanks Marvin.....

Does that mean... to create the client code...
..Net not only gets the wsdl... it also invokes the webservice itself, to
get
a instance, to look for .Net speific hints.
,
Nalaka

"Marvin Smit" <ma*********@gm ail.com> wrote in message
news:ic******** *************** *********@4ax.c om...
Hi,

The trick WebServices in .Net use is "send a hint in the XML instance
document".

When a DataSet is detected in the WebService generation part an
additional attribute with a 'hint for .Net only' is send allong.

This allows the (.Net) de-serializer to create the .Net native
'DataSet' type and populate it.

I.o.w. It's the toolkit you are using which is able to do this for
you, it has NOTHING to do with the official specs for WebServices.

Hope this helps,

Marvin Smit.

On Thu, 8 Sep 2005 08:30:52 -0700, "Nalaka" <na******@nospa m.nospam>
wrote:
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 out to create a "DataSet" as the
return type from the webservice?

I looked in the wsdl.... there is no reference to DataSet, it just says
the
type is "Schema".
Thanks
Nalaka


Nov 23 '05 #4
Hi,
.Net not only gets the wsdl... it also invokes the webservice itself, to get
a instance, to look for .Net speific hints.
That's the proxy that is generated (Web Reference) on the client side
using the WSDL. The proxy (baseclass) contains code to 'check for
these hints'.

Hope this helps,

Marvin Smit.

On Thu, 8 Sep 2005 13:19:04 -0700, "Nalaka" <na******@nospa m.nospam>
wrote:
Thanks Marvin.....

Does that mean... to create the client code...
.Net not only gets the wsdl... it also invokes the webservice itself, to get
a instance, to look for .Net speific hints.
,
Nalaka

"Marvin Smit" <ma*********@gm ail.com> wrote in message
news:ic******* *************** **********@4ax. com...
Hi,

The trick WebServices in .Net use is "send a hint in the XML instance
document".

When a DataSet is detected in the WebService generation part an
additional attribute with a 'hint for .Net only' is send allong.

This allows the (.Net) de-serializer to create the .Net native
'DataSet' type and populate it.

I.o.w. It's the toolkit you are using which is able to do this for
you, it has NOTHING to do with the official specs for WebServices.

Hope this helps,

Marvin Smit.

On Thu, 8 Sep 2005 08:30:52 -0700, "Nalaka" <na******@nospa m.nospam>
wrote:
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 out to create a "DataSet" as the
return type from the webservice?

I looked in the wsdl.... there is no reference to DataSet, it just says
the
type is "Schema".
Thanks
Nalaka

Nov 23 '05 #5
Hi,
Sorry to be bugging again on the same issue.

if the wsdl does not contain any reference (to DataSet), how does the clinet
code generator know, that this schema is a DataSet?
Even before I call the webservice (at design time), client code (proxy) that
was generated for me by .Net, knew that the return data type is DataSet.

hmmm... or may be it did not???..... just let me assign the return to any
type (an compile ok)... and then (if I am wrong) at runtime generate an
error?

I am not sure if I explained my confusion properly....

,
Nalaka


"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:u$******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Nalaka,

As for how webservice client figure out a complex type, it all depends on
the webservice client's programming platform( .NET , java .....). As for
webservice standard, the WSDL is the only service contract and provide
type
definition, the webservice just generate clientside class according to the
schemas within the WSDL. As for complex xml types, the certain client will
generate the appropriate proxy classes for them, for example as the
DataSet
you mentioned, the webservice expose it as a schema type since it's XML
standard and not platform specific, then the webservice clientside can
generate proper client proxy class to represent it. For .NET, the
clientside VS.NET(or wsdl.exe) will use DataSet class to represent it, in
JAVA, maybe some other class (could just be a XmlDocument class ...).

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "Nalaka" <na******@nospa m.nospam>
References: <#j************ **@TK2MSFTNGP14 .phx.gbl>
<ic************ *************** *****@4ax.com>
Subject: Re: How does the client of a webservice figure out a complex type
Date: Thu, 8 Sep 2005 13:19:04 -0700
Lines: 57
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <OL************ **@TK2MSFTNGP12 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: m181-9.bctransit.bc. ca 199.60.181.9
Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTNGP08.phx .gbl!TK2MSFTNGP 1
2.phx.gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :11995
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Thanks Marvin.....

Does that mean... to create the client code...
Net not only gets the wsdl... it also invokes the webservice itself, to
get
a instance, to look for .Net speific hints.
,
Nalaka

"Marvin Smit" <ma*********@gm ail.com> wrote in message
news:ic******** *************** *********@4ax.c om...
Hi,

The trick WebServices in .Net use is "send a hint in the XML instance
document".

When a DataSet is detected in the WebService generation part an
additional attribute with a 'hint for .Net only' is send allong.

This allows the (.Net) de-serializer to create the .Net native
'DataSet' type and populate it.

I.o.w. It's the toolkit you are using which is able to do this for
you, it has NOTHING to do with the official specs for WebServices.

Hope this helps,

Marvin Smit.

On Thu, 8 Sep 2005 08:30:52 -0700, "Nalaka" <na******@nospa m.nospam>
wrote:
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 out to create a "DataSet" as
the
return type from the webservice?

I looked in the wsdl.... there is no reference to DataSet, it just says
the
type is "Schema".
Thanks
Nalaka


Nov 23 '05 #6
Hi,

try tracing what goes over the wire when you do a call through the
proxy. Take notice of the "return value" on the wire havnig an
attribute with a hint for the client side proxy this is a DataSet.

Hope this helps,

Marvin Smit.

On Fri, 9 Sep 2005 16:23:15 -0700, "Nalaka" <na******@nospa m.nospam>
wrote:
Hi,
Sorry to be bugging again on the same issue.

if the wsdl does not contain any reference (to DataSet), how does the clinet
code generator know, that this schema is a DataSet?
Even before I call the webservice (at design time), client code (proxy) that
was generated for me by .Net, knew that the return data type is DataSet.

hmmm... or may be it did not???..... just let me assign the return to any
type (an compile ok)... and then (if I am wrong) at runtime generate an
error?

I am not sure if I explained my confusion properly....

,
Nalaka


"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:u$******* *******@TK2MSFT NGXA01.phx.gbl. ..
Hi Nalaka,

As for how webservice client figure out a complex type, it all depends on
the webservice client's programming platform( .NET , java .....). As for
webservice standard, the WSDL is the only service contract and provide
type
definition, the webservice just generate clientside class according to the
schemas within the WSDL. As for complex xml types, the certain client will
generate the appropriate proxy classes for them, for example as the
DataSet
you mentioned, the webservice expose it as a schema type since it's XML
standard and not platform specific, then the webservice clientside can
generate proper client proxy class to represent it. For .NET, the
clientside VS.NET(or wsdl.exe) will use DataSet class to represent it, in
JAVA, maybe some other class (could just be a XmlDocument class ...).

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "Nalaka" <na******@nospa m.nospam>
References: <#j************ **@TK2MSFTNGP14 .phx.gbl>
<ic************ *************** *****@4ax.com>
Subject: Re: How does the client of a webservice figure out a complex type
Date: Thu, 8 Sep 2005 13:19:04 -0700
Lines: 57
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <OL************ **@TK2MSFTNGP12 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: m181-9.bctransit.bc. ca 199.60.181.9
Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTNGP08.phx .gbl!TK2MSFTNGP 1
2.phx.gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :11995
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Thanks Marvin.....

Does that mean... to create the client code...
Net not only gets the wsdl... it also invokes the webservice itself, to
get
a instance, to look for .Net speific hints.
,
Nalaka

"Marvin Smit" <ma*********@gm ail.com> wrote in message
news:ic******** *************** *********@4ax.c om...
Hi,

The trick WebServices in .Net use is "send a hint in the XML instance
document".

When a DataSet is detected in the WebService generation part an
additional attribute with a 'hint for .Net only' is send allong.

This allows the (.Net) de-serializer to create the .Net native
'DataSet' type and populate it.

I.o.w. It's the toolkit you are using which is able to do this for
you, it has NOTHING to do with the official specs for WebServices.

Hope this helps,

Marvin Smit.

On Thu, 8 Sep 2005 08:30:52 -0700, "Nalaka" <na******@nospa m.nospam>
wrote:

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 out to create a "DataSet" as
the
return type from the webservice?

I looked in the wsdl.... there is no reference to DataSet, it just says
the
type is "Schema".
Thanks
Nalaka


Nov 23 '05 #7
Hi Nalaka,

As Marvin has mentioned, the webservice's response message of the DataSet
service will contains some flag to indicate the result element be a
DataSet, here is a simple webservice(whic h return dataset)'s response SOAP
message:
==========
<?xml version="1.0" encoding="utf-8"?><soap:Envel ope
xmlns:soap="htt p://schemas.xmlsoap .org/soap/envelope/"
xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema"><soa p:Body><GetData SetResponse
xmlns="http://tempuri.org/"><GetDataSetRe sult><xs:schema id="ds" xmlns=""
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="u rn:schemas-microsoft-com:xml-msdata"><xs:ele ment name="ds"
msdata:IsDataSe t="true" msdata:Locale=" zh-CN"><xs:complex Type><xs:choice
maxOccurs="unbo unded"><xs:elem ent
name="dt"><xs:c omplexType><xs: sequence><xs:el ement name="id" type="xs:long"
minOccurs="0" /><xs:element name="name" type="xs:string " minOccurs="0"
/></xs:sequence></xs:complexType> </xs:element></xs:choice></xs:complexType> <
/xs:element></xs:schema><diff gr:diffgram
xmlns:msdata="u rn:schemas-microsoft-com:xml-msdata"
xmlns:diffgr="u rn:schemas-microsoft-com:xml-diffgram-v1"><ds xmlns=""><dt
diffgr:id="dt1" msdata:rowOrder ="0"
diffgr:hasChang es="inserted">< id>1</id><name>Name_1 </name></dt><dt
diffgr:id="dt2" msdata:rowOrder ="1"
diffgr:hasChang es="inserted">< id>2</id><name>Name_2 </name></dt><dt
diffgr:id="dt3" msdata:rowOrder ="2"
diffgr:hasChang es="inserted">< id>3</id><name>Name_3 </name></dt><dt
diffgr:id="dt4" msdata:rowOrder ="3"
diffgr:hasChang es="inserted">< id>4</id><name>Name_4 </name></dt><dt
diffgr:id="dt5" msdata:rowOrder ="4"
diffgr:hasChang es="inserted">< id>5</id><name>Name_5 </name></dt></ds></diffgr
:diffgram></GetDataSetResul t></GetDataSetRespo nse></soap:Body></soap:Envelop
e>
==============

You can find the

xmlns:msdata="u rn:schemas-microsoft-com:xml-msdata"

namespace which used to provide MS specific type information. So .NET
webservice client proxy can use these info to correcdtly deserialize the
XML element into the proper type instance. For any other platform, java,
perl... they'll have their own rule on deserializing such response.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: Marvin Smit <ma*********@gm ail.com>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
Subject: Re: How does the client of a webservice figure out a complex type
Date: Sat, 10 Sep 2005 14:04:19 +0200
Message-ID: <hr************ *************** *****@4ax.com>
References: <#j************ **@TK2MSFTNGP14 .phx.gbl>
<ic************ *************** *****@4ax.com>
<OL************ **@TK2MSFTNGP12 .phx.gbl>
<u$************ **@TK2MSFTNGXA0 1.phx.gbl>
<eo************ **@TK2MSFTNGP09 .phx.gbl>
X-Newsreader: Forte Free Agent 3.0/32.763
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: ab***@chello.nl
Organization: chello.nl
Lines: 145
NNTP-Posting-Host: 62.194.138.116 (62.194.138.116 )
NNTP-Posting-Date: Sat, 10 Sep 2005 14:04:27 +0200
X-Trace: 531be4322cbcb9b 672fd129497
Path:
TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!ne wsfeed00.sul.t-online.de!t-onli
ne.de!tiscali!n ewsfeed1.ip.tis cali.net!border 2.nntp.ams.giga news.com!border 1
..nntp.ams.giga news.com!nntp.g iganews.com!ams news11.chello.c om!amsnews14.ch el
lo.com!news.che llo.nl.POSTED!n ot-for-mail
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7852
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Hi,

try tracing what goes over the wire when you do a call through the
proxy. Take notice of the "return value" on the wire havnig an
attribute with a hint for the client side proxy this is a DataSet.

Hope this helps,

Marvin Smit.

On Fri, 9 Sep 2005 16:23:15 -0700, "Nalaka" <na******@nospa m.nospam>
wrote:
Hi,
Sorry to be bugging again on the same issue.

if the wsdl does not contain any reference (to DataSet), how does the clinetcode generator know, that this schema is a DataSet?
Even before I call the webservice (at design time), client code (proxy) thatwas generated for me by .Net, knew that the return data type is DataSet.

hmmm... or may be it did not???..... just let me assign the return to any
type (an compile ok)... and then (if I am wrong) at runtime generate an
error?

I am not sure if I explained my confusion properly....

,
Nalaka


"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:u$******* *******@TK2MSFT NGXA01.phx.gbl. ..
Hi Nalaka,

As for how webservice client figure out a complex type, it all depends on
the webservice client's programming platform( .NET , java .....). As for
webservice standard, the WSDL is the only service contract and provide
type
definition, the webservice just generate clientside class according to the schemas within the WSDL. As for complex xml types, the certain client will generate the appropriate proxy classes for them, for example as the
DataSet
you mentioned, the webservice expose it as a schema type since it's XML
standard and not platform specific, then the webservice clientside can
generate proper client proxy class to represent it. For .NET, the
clientside VS.NET(or wsdl.exe) will use DataSet class to represent it, in
JAVA, maybe some other class (could just be a XmlDocument class ...).

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "Nalaka" <na******@nospa m.nospam>
References: <#j************ **@TK2MSFTNGP14 .phx.gbl>
<ic************ *************** *****@4ax.com>
Subject: Re: How does the client of a webservice figure out a complex type Date: Thu, 8 Sep 2005 13:19:04 -0700
Lines: 57
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <OL************ **@TK2MSFTNGP12 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: m181-9.bctransit.bc. ca 199.60.181.9
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTNGP08.phx .gbl!TK2MSFTNGP 1 2.phx.gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :11995
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Thanks Marvin.....

Does that mean... to create the client code...
Net not only gets the wsdl... it also invokes the webservice itself, to
get
a instance, to look for .Net speific hints.
,
Nalaka

"Marvin Smit" <ma*********@gm ail.com> wrote in message
news:ic******** *************** *********@4ax.c om...
Hi,

The trick WebServices in .Net use is "send a hint in the XML instance
document".

When a DataSet is detected in the WebService generation part an
additional attribute with a 'hint for .Net only' is send allong.

This allows the (.Net) de-serializer to create the .Net native
'DataSet' type and populate it.

I.o.w. It's the toolkit you are using which is able to do this for
you, it has NOTHING to do with the official specs for WebServices.

Hope this helps,

Marvin Smit.

On Thu, 8 Sep 2005 08:30:52 -0700, "Nalaka" <na******@nospa m.nospam>
wrote:

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 out to create a "DataSet" as
the
return type from the webservice?

I looked in the wsdl.... there is no reference to DataSet, it just says
the
type is "Schema".
Thanks
Nalaka



Nov 23 '05 #8

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

Similar topics

0
2302
by: Bartas | last post by:
Hi, I'am writting a simple SOAP client in python (2.4) using SOAPpy lib. I've met with this problem: when I want to send a list of complex type using some method from WebService(java,WAS), I'v got an exception:
11
3956
by: Andy | last post by:
Make the story short, I have a VB.NET client interface calling .NET webservice, written in VB.NET as well. I am trying to make the client as thin as possible so I let the webservice part to handle most of the things. Currently I have a class called "Product" sitting my webserivce like the following: Code:
4
5904
by: Sean Feldman | last post by:
Hello, I've installed WSE2 and succedded to download from WebService DataTable object, but can't do the oposite. Anyone can help please? Thanks a lot!
4
2589
by: Martin Ehrlich | last post by:
Hello NG. I've got a little problem with sharing types between webservices and clients. I've created a business class with public fields within a shared assembly like: public class Item {
1
2419
by: Steve | last post by:
I have a windows CE application, talking to a C# WebService. In the WebService project I have created a dataset (dsJobList), and there is a web method in there which returns a fully loaded dsJobList dataset to the client, which in this case is a windows CE device. In the code for my application on the WinCE device, I have added a Web Reference to this WebService. Once I have added it I can see the .disco, the ..wsdl and a dsJobList.xsd...
0
4590
by: jimmyfishbean | last post by:
Hi, I have a successful VB6 web service client that uses the SOAP Toolkit 3 to make calls to a web service written in ASP.Net (VB.Net). However, due to Microsoft not recommending the use of SOAP Toolkit 3 on a Windows 2003 server, I must scrap the use of the toolkit and look to develop the client in VB.Net instead. I have upgraded the VB6 application to VB.Net using the built-in upgrade tool that comes with Visual Studio .Net 2003. ...
1
2861
by: louis_la_brocante | last post by:
Dear all, I am having trouble generating a client proxy for a webservice whose methods return a "complex" type. The type is complex in that it is a class whose members are a mix of primitive types and of more elaborate classes implementing IXmlSerializable. The resulting WSDL file for the webservice has two separate schemas in its <types> sections, and the client proxy (generated with wsdl.exe) is missing the definitions of the...
3
4424
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 the other machine I get the error upon instantiating the service client. I add the reference by choosing Add Service Reference from the project menu, and pointing to the remote wsdl file. I can't seem to find what the difference between the two...
5
3071
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... I've got a .Net client to a soap service that works for the most part, but there are a couple of things I'd like to improve: 1) the first request to the client wrapper always takes 12-15 seconds even though the web server shows < a half second spent on the request. What takes so much time for the client wrapper to warm up? All subsequent requests, even to the same method, take the half second.
0
8823
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8718
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9343
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9047
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7973
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5967
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4477
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4738
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2119
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.