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.

consume a Web Service method in PB App

3 posts in DataWindow Last posting was on 2008-10-01 14:25:49.0Z
New to PB Posted on 2008-09-30 15:51:42.0Z
Sender: 685d.48e0fad4.1804289383@sybase.com
From: New to PB
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: consume a Web Service method in PB App
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48e24b0e.1379.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 30 Sep 2008 08:51:42 -0700
X-Trace: forums-1-dub 1222789902 10.22.241.41 (30 Sep 2008 08:51:42 -0700)
X-Original-Trace: 30 Sep 2008 08:51:42 -0700, 10.22.241.41
Lines: 24
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87880
Article PK: 417136

Hi
I am new to Power Builder world compltely. Have been
developing ASP.NET apps for 2 yrs now.

Now, it is required to consume a Web Service method in PB
app. After spending some time, have figured out I could use
'Web Services Data Window'. using this approach is quite
easier for me as a new bee. I am using POWER BUILDER 11.2

In order to execute web service method it is requried to
authenticate user [ WINDOWS NT]. Have found out I need to
write/create Transaction object and write Power Script[first
to hear] to accomplish this.

Now problem is:

1] How to write it, where to write it and call before I run
the wizrd for 'Web Services Data Window' where i can supply
WSDL and web method.

can't spend lot of time to learn using PB Tool.

your help and insight is appreciated.
Regards,


John Strano[Sybase] Posted on 2008-09-30 18:55:34.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48e24b0e.1379.1681692777@sybase.com>
Subject: Re: consume a Web Service method in PB App
Lines: 39
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
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48e27626$1@forums-1-dub>
Date: 30 Sep 2008 11:55:34 -0700
X-Trace: forums-1-dub 1222800934 10.22.241.152 (30 Sep 2008 11:55:34 -0700)
X-Original-Trace: 30 Sep 2008 11:55:34 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87885
Article PK: 417141

Hopefully these references on the WSConnection object will hel you
get started...

http://infocenter.sybase.com/help/topic/com.sybase.dc37787_1150/html/objcont/CEGJCCAF.htm?

http://infocenter.sybase.com/help/topic/com.sybase.dc37783_1150/html/dwref/BABJBHFG.htm?


--
John Strano - Sybase Technology Evangelist

<New to PB> wrote in message news:48e24b0e.1379.1681692777@sybase.com...
> Hi
> I am new to Power Builder world compltely. Have been
> developing ASP.NET apps for 2 yrs now.
>
> Now, it is required to consume a Web Service method in PB
> app. After spending some time, have figured out I could use
> 'Web Services Data Window'. using this approach is quite
> easier for me as a new bee. I am using POWER BUILDER 11.2
>
> In order to execute web service method it is requried to
> authenticate user [ WINDOWS NT]. Have found out I need to
> write/create Transaction object and write Power Script[first
> to hear] to accomplish this.
>
> Now problem is:
>
> 1] How to write it, where to write it and call before I run
> the wizrd for 'Web Services Data Window' where i can supply
> WSDL and web method.
>
> can't spend lot of time to learn using PB Tool.
>
> your help and insight is appreciated.
> Regards,


New to PB Posted on 2008-10-01 14:25:49.0Z
Sender: 685d.48e0fad4.1804289383@sybase.com
From: New to PB
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: consume a Web Service method in PB App
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48e3886d.329f.1681692777@sybase.com>
References: <48e27626$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 1 Oct 2008 07:25:49 -0700
X-Trace: forums-1-dub 1222871149 10.22.241.41 (1 Oct 2008 07:25:49 -0700)
X-Original-Trace: 1 Oct 2008 07:25:49 -0700, 10.22.241.41
Lines: 50
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87897
Article PK: 417153

I think it works same approach when I wanted to
-- use a Button control and
-- in btnClick event I call Web Services DataWindow
-- authenticatation code used to before WSDW call to execute
the Web Method

Regards,

> Hopefully these references on the WSConnection object will
> hel you get started...
>
>
http://infocenter.sybase.com/help/topic/com.sybase.dc37787_1150/html/objcont/CEGJCCAF.htm?
>
>
http://infocenter.sybase.com/help/topic/com.sybase.dc37783_1150/html/dwref/BABJBHFG.htm?
>
>
> --
> John Strano - Sybase Technology Evangelist
>
>
> <New to PB> wrote in message
> > news:48e24b0e.1379.1681692777@sybase.com... Hi
> > I am new to Power Builder world compltely. Have been
> > developing ASP.NET apps for 2 yrs now.
> >
> > Now, it is required to consume a Web Service method in
> > PB app. After spending some time, have figured out I
> > could use 'Web Services Data Window'. using this
> > approach is quite easier for me as a new bee. I am using
> POWER BUILDER 11.2 >
> > In order to execute web service method it is requried to
> > authenticate user [ WINDOWS NT]. Have found out I need
> > to write/create Transaction object and write Power
> > Script[first to hear] to accomplish this.
> >
> > Now problem is:
> >
> > 1] How to write it, where to write it and call before I
> > run the wizrd for 'Web Services Data Window' where i can
> > supply WSDL and web method.
> >
> > can't spend lot of time to learn using PB Tool.
> >
> > your help and insight is appreciated.
> > Regards,
>
>