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.

Pass PowerBuilder resultset to WebLogic EJB

2 posts in EJB Client Last posting was on 2006-09-12 13:52:32.0Z
mcneilja Posted on 2006-09-11 20:17:26.0Z
Sender: 7fae.4505c3d5.1804289383@sybase.com
From: mcneilja
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Pass PowerBuilder resultset to WebLogic EJB
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4505c43e.7fb1.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 11 Sep 2006 13:17:02 -0700, 10.22.241.42
Lines: 15
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 11 Sep 2006 13:17:03 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 11 Sep 2006 13:17:26 -0700
X-Trace: forums-1-dub 1158005846 10.22.108.75 (11 Sep 2006 13:17:26 -0700)
X-Original-Trace: 11 Sep 2006 13:17:26 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:686
Article PK: 424797

I am trying to create a ResultSet object on a powerbuilder
client and then pass it to an EJB running on Weblogic 8.1.
I have powerbuilder and weblogic talking successfully but it
seems no matter what the TabularResultSet argument for my
ejb method is always null on the EJB side. So I still have
a disconnect somewhere.

When I first generated the proxy objects it had the
resultset argument as java_resultset. In order to get my
powerbuilder code to complile I edited the proxy and changed
the java_resultset to resultset. Is this the problem? Is
there a better workaround?

Has anyone passed a resultset from powerbuilder client to an
EJB successfully?


bede Posted on 2006-09-12 13:52:32.0Z
From: bede <bedenosp@msofico.be>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Pass PowerBuilder resultset to WebLogic EJB
Message-ID: <MPG.1f70d9a64482df44989824@forums.sybase.com>
References: <4505c43e.7fb1.1681692777@sybase.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-Original-NNTP-Posting-Host: uu194-7-38-226.unknown.uunet.be
X-Original-Trace: 12 Sep 2006 06:52:03 -0700, uu194-7-38-226.unknown.uunet.be
Lines: 31
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 12 Sep 2006 06:52:06 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 12 Sep 2006 06:52:32 -0700
X-Trace: forums-1-dub 1158069152 10.22.108.75 (12 Sep 2006 06:52:32 -0700)
X-Original-Trace: 12 Sep 2006 06:52:32 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:688
Article PK: 424798

i've seen behaviour that complex java classes (eg: nested parameters like the TabResultset)
containing nulls on deeper levels, result in a complete null on the PB side.

i dunno about this TabularResultSet (we use other parameters to pass) but i don't think you
can simply change it to resultset in your proxy, but i've noticed that ANY is more often
used.. maybe if you try that, you'll be able to see more than null. Still, normally your
proxies should be generated down to native datatypes. If that is not the case, then
somewhere, the parameter is not implementing the right interface.

Good luck,

Ben


In article <4505c43e.7fb1.1681692777@sybase.com>, mcneilja says...

> I am trying to create a ResultSet object on a powerbuilder
> client and then pass it to an EJB running on Weblogic 8.1.
> I have powerbuilder and weblogic talking successfully but it
> seems no matter what the TabularResultSet argument for my
> ejb method is always null on the EJB side. So I still have
> a disconnect somewhere.
>
> When I first generated the proxy objects it had the
> resultset argument as java_resultset. In order to get my
> powerbuilder code to complile I edited the proxy and changed
> the java_resultset to resultset. Is this the problem? Is
> there a better workaround?
>
> Has anyone passed a resultset from powerbuilder client to an
> EJB successfully?
>