Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Web Service Datasource vs. generic WS class

4 posts in DataWindow Last posting was on 2008-06-05 16:28:33.0Z
Arthur Hefti Posted on 2008-06-05 04:35:47.0Z
From: "Arthur Hefti" <arthur@catsoft.ch>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Web Service Datasource vs. generic WS class
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48476d23@forums-1-dub>
Date: 4 Jun 2008 21:35:47 -0700
X-Trace: forums-1-dub 1212640547 10.22.241.152 (4 Jun 2008 21:35:47 -0700)
X-Original-Trace: 4 Jun 2008 21:35:47 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87080
Article PK: 416337

When using a Web Service Datasource for a DW I have to code for each class
or dw methods for retrieving, updating, inserting and deleting data. When a
column changes I have to change the data retrieval and update of the web
service, some of the methods in the datawindow and the datawindow itself.
When using a generic Web Service that passes an XML string between to the
datawindow, the only thing I have to change is the data retrieval and update
in the Web Service and the datawindow showing the data. With this solution I
only need one Web Service.
What's the advantage of the Web Service Datasource?

Arthur


Bruce Armstrong [TeamSybase] Posted on 2008-06-05 13:14:33.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Web Service Datasource vs. generic WS class
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <0kpf445se2lecb8bpuv71guv00uv9q79ru@4ax.com>
References: <48476d23@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 5 Jun 2008 06:14:33 -0700
X-Trace: forums-1-dub 1212671673 10.22.241.152 (5 Jun 2008 06:14:33 -0700)
X-Original-Trace: 5 Jun 2008 06:14:33 -0700, vip152.sybase.com
Lines: 23
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87086
Article PK: 416343

When you pass the data as an XML string, client have no idea how to
map the data, and no guarantee that if the schema for the data changes
they'll have any notice other than a failure the next time they call
it. Web services return strongly typed data so that the clients know
what to do with the result.

On 4 Jun 2008 21:35:47 -0700, "Arthur Hefti" <arthur@catsoft.ch>

wrote:

>When using a Web Service Datasource for a DW I have to code for each class
>or dw methods for retrieving, updating, inserting and deleting data. When a
>column changes I have to change the data retrieval and update of the web
>service, some of the methods in the datawindow and the datawindow itself.
>When using a generic Web Service that passes an XML string between to the
>datawindow, the only thing I have to change is the data retrieval and update
>in the Web Service and the datawindow showing the data. With this solution I
>only need one Web Service.
>What's the advantage of the Web Service Datasource?
>
>Arthur
>


Arthur Hefti Posted on 2008-06-05 15:51:21.0Z
From: "Arthur Hefti" <arthur@catsoft.ch>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48476d23@forums-1-dub> <0kpf445se2lecb8bpuv71guv00uv9q79ru@4ax.com>
Subject: Re: Web Service Datasource vs. generic WS class
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48480b79$1@forums-1-dub>
Date: 5 Jun 2008 08:51:21 -0700
X-Trace: forums-1-dub 1212681081 10.22.241.152 (5 Jun 2008 08:51:21 -0700)
X-Original-Trace: 5 Jun 2008 08:51:21 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87088
Article PK: 416345

Versioning could be covered with a version element or attribute. With the
XML method it's also possible to pass a serialized class from a .NET WS
written e.g. in C#.


"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>

wrote in message news:0kpf445se2lecb8bpuv71guv00uv9q79ru@4ax.com...
>
> When you pass the data as an XML string, client have no idea how to
> map the data, and no guarantee that if the schema for the data changes
> they'll have any notice other than a failure the next time they call
> it. Web services return strongly typed data so that the clients know
> what to do with the result.
>
> On 4 Jun 2008 21:35:47 -0700, "Arthur Hefti" <arthur@catsoft.ch>
> wrote:
>
>>When using a Web Service Datasource for a DW I have to code for each class
>>or dw methods for retrieving, updating, inserting and deleting data. When
>>a
>>column changes I have to change the data retrieval and update of the web
>>service, some of the methods in the datawindow and the datawindow itself.
>>When using a generic Web Service that passes an XML string between to the
>>datawindow, the only thing I have to change is the data retrieval and
>>update
>>in the Web Service and the datawindow showing the data. With this solution
>>I
>>only need one Web Service.
>>What's the advantage of the Web Service Datasource?
>>
>>Arthur
>>
>


Bruce Armstrong [TeamSybase] Posted on 2008-06-05 16:28:33.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48476d23@forums-1-dub> <0kpf445se2lecb8bpuv71guv00uv9q79ru@4ax.com> <48480b79$1@forums-1-dub>
Subject: Re: Web Service Datasource vs. generic WS class
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48481431@forums-1-dub>
Date: 5 Jun 2008 09:28:33 -0700
X-Trace: forums-1-dub 1212683313 10.22.241.152 (5 Jun 2008 09:28:33 -0700)
X-Original-Trace: 5 Jun 2008 09:28:33 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87089
Article PK: 416346

Yep, another thing that web services aren't supposed to do (pass language
specific data types). You are certainly free to take a hammer and try to
use it as a screwdriver. I just wouldn't hold out a lot of hope for it
working well or being supported.

"Arthur Hefti" <arthur@catsoft.ch> wrote in message
news:48480b79$1@forums-1-dub...
> Versioning could be covered with a version element or attribute. With the
> XML method it's also possible to pass a serialized class from a .NET WS
> written e.g. in C#.
>
>
> "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
> wrote in message news:0kpf445se2lecb8bpuv71guv00uv9q79ru@4ax.com...
>>
>> When you pass the data as an XML string, client have no idea how to
>> map the data, and no guarantee that if the schema for the data changes
>> they'll have any notice other than a failure the next time they call
>> it. Web services return strongly typed data so that the clients know
>> what to do with the result.
>>
>> On 4 Jun 2008 21:35:47 -0700, "Arthur Hefti" <arthur@catsoft.ch>
>> wrote:
>>
>>>When using a Web Service Datasource for a DW I have to code for each
>>>class
>>>or dw methods for retrieving, updating, inserting and deleting data. When
>>>a
>>>column changes I have to change the data retrieval and update of the web
>>>service, some of the methods in the datawindow and the datawindow itself.
>>>When using a generic Web Service that passes an XML string between to the
>>>datawindow, the only thing I have to change is the data retrieval and
>>>update
>>>in the Web Service and the datawindow showing the data. With this
>>>solution I
>>>only need one Web Service.
>>>What's the advantage of the Web Service Datasource?
>>>
>>>Arthur
>>>
>>
>
>