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.

Powerbuilder 2 Java

7 posts in Objects Last posting was on 2004-06-12 18:52:20.0Z
Kannan Posted on 2004-06-08 10:44:29.0Z
From: "kannan" <kannankr@cgvakindia.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Powerbuilder 2 Java
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
X-Original-NNTP-Posting-Host: 61.95.184.101
Message-ID: <40c598e3@forums-2-dub>
X-Original-Trace: 8 Jun 2004 03:45:55 -0700, 61.95.184.101
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 8 Jun 2004 03:42:04 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 8 Jun 2004 03:44:29 -0700
X-Trace: forums-1-dub 1086691469 10.22.108.75 (8 Jun 2004 03:44:29 -0700)
X-Original-Trace: 8 Jun 2004 03:44:29 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7923
Article PK: 735195

Hi All,

How to import Java Class file to Powerbuilder.

The options i tried was
1> Generate a Class file using Javac
2> Converted the Class File to .srx file using "Javap -c <ClassFileName>"

While importing the .srx file in Powerbuilder an error occurs
"Import Failed. Possible Causes: Import file missing export header"

Yes, the .srx doesn't have $PBExportHeader.

How to generate a file with this criteria? If any other possible solution
pls reply.

Thanks,
Kannan


Bruce Armstrong [TeamSybase] Posted on 2004-06-08 14:04:35.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Powerbuilder 2 Java
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com>
References: <40c598e3@forums-2-dub>
X-Newsreader: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 66.214.183.11
X-Original-Trace: 8 Jun 2004 07:06:02 -0700, 66.214.183.11
Lines: 60
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 8 Jun 2004 07:02:09 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 8 Jun 2004 07:04:35 -0700
X-Trace: forums-1-dub 1086703475 10.22.108.75 (8 Jun 2004 07:04:35 -0700)
X-Original-Trace: 8 Jun 2004 07:04:35 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7925
Article PK: 735196

This doens't quite make sense. What are you trying to do with that
java file? Do you simply want to call it?

On 8 Jun 2004 03:44:29 -0700, "kannan" <kannankr@cgvakindia.com>

wrote:

>Hi All,
>
>How to import Java Class file to Powerbuilder.
>
>The options i tried was
>1> Generate a Class file using Javac
>2> Converted the Class File to .srx file using "Javap -c <ClassFileName>"
>
>While importing the .srx file in Powerbuilder an error occurs
>"Import Failed. Possible Causes: Import file missing export header"
>
>Yes, the .srx doesn't have $PBExportHeader.
>
>How to generate a file with this criteria? If any other possible solution
>pls reply.
>
>Thanks,
>Kannan
>

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Easy XML with PowerBuilder DOM: June 8 & 10, 2004
http://crm.sybase.com/sybase/www/ESD/ISUGJUNE2004Regbn.jsp

Two new books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com

ISUG Enhancement Requests
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org

---------------------------------------------------------------------
DISCLAIMER:

This newsgroup message is only intended for the recipient. Given that it
is a posting to a public newsgroup, that means if you can read this
message then you are the recipient. This message may contain information
that is confidential and protected from disclosure. And then again,
it may not.

Given that TeamSybase members are not employees of Sybase, the contents
of this message do not necessarily represent the views or policies of
Sybase. Given that TeamSybase is a diverse group of users of Sybase
products, the contents of this message do not necessarily represent the
views of a significant number of the members of TeamSybase. Given that the
author has mutliple personalities and hears voices in his head, the contents
of this message do not necessarily represent his own views.


Kannan Posted on 2004-06-09 05:40:39.0Z
From: "Kannan" <kannankr@cgvakindia.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <40c598e3@forums-2-dub> <9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com>
Subject: Re: Powerbuilder 2 Java
Lines: 74
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
NNTP-Posting-Host: 61.95.184.101
X-Original-NNTP-Posting-Host: 61.95.184.101
Message-ID: <40c6a2d7@forums-1-dub>
Date: 8 Jun 2004 22:40:39 -0700
X-Trace: forums-1-dub 1086759639 61.95.184.101 (8 Jun 2004 22:40:39 -0700)
X-Original-Trace: 8 Jun 2004 22:40:39 -0700, 61.95.184.101
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7926
Article PK: 735200

Hi Bruce,

Yes, i want to use the Java Class file in PB.

Thanks
Kannan

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

wrote in message news:9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com...
> This doens't quite make sense. What are you trying to do with that
> java file? Do you simply want to call it?
>
> On 8 Jun 2004 03:44:29 -0700, "kannan" <kannankr@cgvakindia.com>
> wrote:
>
> >Hi All,
> >
> >How to import Java Class file to Powerbuilder.
> >
> >The options i tried was
> >1> Generate a Class file using Javac
> >2> Converted the Class File to .srx file using "Javap -c <ClassFileName>"
> >
> >While importing the .srx file in Powerbuilder an error occurs
> >"Import Failed. Possible Causes: Import file missing export header"
> >
> >Yes, the .srx doesn't have $PBExportHeader.
> >
> >How to generate a file with this criteria? If any other possible solution
> >pls reply.
> >
> >Thanks,
> >Kannan
> >
>
> Bruce Armstrong [TeamSybase]
> http://www.teamsybase.com
>
> Easy XML with PowerBuilder DOM: June 8 & 10, 2004
> http://crm.sybase.com/sybase/www/ESD/ISUGJUNE2004Regbn.jsp
>
> Two new books on developing with PowerBuilder
> http://www.pb9books.com?source=newsgroups
>
> Need code sample? Check out CodeXchange:
> http://www.codexchange.sybase.com
>
> ISUG Enhancement Requests
> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
>
> Preach the gospel at all times. If necessary, use words. - Francis of
Assisi
> http://www.needhim.org
>
> ---------------------------------------------------------------------
> DISCLAIMER:
>
> This newsgroup message is only intended for the recipient. Given that it
> is a posting to a public newsgroup, that means if you can read this
> message then you are the recipient. This message may contain information
> that is confidential and protected from disclosure. And then again,
> it may not.
>
> Given that TeamSybase members are not employees of Sybase, the contents
> of this message do not necessarily represent the views or policies of
> Sybase. Given that TeamSybase is a diverse group of users of Sybase
> products, the contents of this message do not necessarily represent the
> views of a significant number of the members of TeamSybase. Given that
the
> author has mutliple personalities and hears voices in his head, the
contents
> of this message do not necessarily represent his own views.


Bruce Armstrong [TeamSybase] Posted on 2004-06-09 05:49:30.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Powerbuilder 2 Java
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <109dc0lgfe8dhv6u5tjlkivkbemh049dnu@4ax.com>
References: <40c598e3@forums-2-dub> <9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com> <40c6a2d7@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 64-52-15-210.client.cypresscom.net
X-Original-Trace: 8 Jun 2004 22:50:58 -0700, 64-52-15-210.client.cypresscom.net
Lines: 116
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 8 Jun 2004 22:46:59 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 8 Jun 2004 22:49:30 -0700
X-Trace: forums-1-dub 1086760170 10.22.108.75 (8 Jun 2004 22:49:30 -0700)
X-Original-Trace: 8 Jun 2004 22:49:30 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7927
Article PK: 735198

Assuming you are on PB9 or later, use an EJBConnection object to call
it. There is a sample of doing this on the CodeXchange site:

http://powerbuilder.codexchange.sybase.com/files/documents/67/1135/calljava.zip

On 8 Jun 2004 22:40:39 -0700, "Kannan" <kannankr@cgvakindia.com>

wrote:

>Hi Bruce,
>
>Yes, i want to use the Java Class file in PB.
>
>Thanks
>Kannan
>
>"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
>wrote in message news:9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com...
>> This doens't quite make sense. What are you trying to do with that
>> java file? Do you simply want to call it?
>>
>> On 8 Jun 2004 03:44:29 -0700, "kannan" <kannankr@cgvakindia.com>
>> wrote:
>>
>> >Hi All,
>> >
>> >How to import Java Class file to Powerbuilder.
>> >
>> >The options i tried was
>> >1> Generate a Class file using Javac
>> >2> Converted the Class File to .srx file using "Javap -c <ClassFileName>"
>> >
>> >While importing the .srx file in Powerbuilder an error occurs
>> >"Import Failed. Possible Causes: Import file missing export header"
>> >
>> >Yes, the .srx doesn't have $PBExportHeader.
>> >
>> >How to generate a file with this criteria? If any other possible solution
>> >pls reply.
>> >
>> >Thanks,
>> >Kannan
>> >
>>
>> Bruce Armstrong [TeamSybase]
>> http://www.teamsybase.com
>>
>> Easy XML with PowerBuilder DOM: June 8 & 10, 2004
>> http://crm.sybase.com/sybase/www/ESD/ISUGJUNE2004Regbn.jsp
>>
>> Two new books on developing with PowerBuilder
>> http://www.pb9books.com?source=newsgroups
>>
>> Need code sample? Check out CodeXchange:
>> http://www.codexchange.sybase.com
>>
>> ISUG Enhancement Requests
>> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
>>
>> Preach the gospel at all times. If necessary, use words. - Francis of
>Assisi
>> http://www.needhim.org
>>
>> ---------------------------------------------------------------------
>> DISCLAIMER:
>>
>> This newsgroup message is only intended for the recipient. Given that it
>> is a posting to a public newsgroup, that means if you can read this
>> message then you are the recipient. This message may contain information
>> that is confidential and protected from disclosure. And then again,
>> it may not.
>>
>> Given that TeamSybase members are not employees of Sybase, the contents
>> of this message do not necessarily represent the views or policies of
>> Sybase. Given that TeamSybase is a diverse group of users of Sybase
>> products, the contents of this message do not necessarily represent the
>> views of a significant number of the members of TeamSybase. Given that
>the
>> author has mutliple personalities and hears voices in his head, the
>contents
>> of this message do not necessarily represent his own views.
>

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Easy XML with PowerBuilder DOM: June 8 & 10, 2004
http://crm.sybase.com/sybase/www/ESD/ISUGJUNE2004Regbn.jsp

Two new books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com

ISUG Enhancement Requests
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org

---------------------------------------------------------------------
DISCLAIMER:

This newsgroup message is only intended for the recipient. Given that it
is a posting to a public newsgroup, that means if you can read this
message then you are the recipient. This message may contain information
that is confidential and protected from disclosure. And then again,
it may not.

Given that TeamSybase members are not employees of Sybase, the contents
of this message do not necessarily represent the views or policies of
Sybase. Given that TeamSybase is a diverse group of users of Sybase
products, the contents of this message do not necessarily represent the
views of a significant number of the members of TeamSybase. Given that the
author has mutliple personalities and hears voices in his head, the contents
of this message do not necessarily represent his own views.


Kannan Posted on 2004-06-09 13:23:36.0Z
From: "Kannan" <kannankr@cgvakindia.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <40c598e3@forums-2-dub> <9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com> <40c6a2d7@forums-1-dub> <109dc0lgfe8dhv6u5tjlkivkbemh049dnu@4ax.com>
Subject: Re: Powerbuilder 2 Java
Lines: 139
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
NNTP-Posting-Host: 61.95.184.101
X-Original-NNTP-Posting-Host: 61.95.184.101
Message-ID: <40c70f58@forums-1-dub>
Date: 9 Jun 2004 06:23:36 -0700
X-Trace: forums-1-dub 1086787416 61.95.184.101 (9 Jun 2004 06:23:36 -0700)
X-Original-Trace: 9 Jun 2004 06:23:36 -0700, 61.95.184.101
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7930
Article PK: 735202

Hi Bruce,

The below URL helped me lot but i'm facing one more problem. I'm able to run
the "Convertor" example successfully which is already provided . I wrote my
own example and able to create the proxy successsfully but during runtime
i'm getting this error "Failed to invoke the EJB method:".

Thanks,
Kannan

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

wrote in message news:109dc0lgfe8dhv6u5tjlkivkbemh049dnu@4ax.com...
> Assuming you are on PB9 or later, use an EJBConnection object to call
> it. There is a sample of doing this on the CodeXchange site:
>
>

http://powerbuilder.codexchange.sybase.com/files/documents/67/1135/calljava.
zip
>
> On 8 Jun 2004 22:40:39 -0700, "Kannan" <kannankr@cgvakindia.com>
> wrote:
>
> >Hi Bruce,
> >
> >Yes, i want to use the Java Class file in PB.
> >
> >Thanks
> >Kannan
> >
> >"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
> >wrote in message news:9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com...
> >> This doens't quite make sense. What are you trying to do with that
> >> java file? Do you simply want to call it?
> >>
> >> On 8 Jun 2004 03:44:29 -0700, "kannan" <kannankr@cgvakindia.com>
> >> wrote:
> >>
> >> >Hi All,
> >> >
> >> >How to import Java Class file to Powerbuilder.
> >> >
> >> >The options i tried was
> >> >1> Generate a Class file using Javac
> >> >2> Converted the Class File to .srx file using "Javap -c
<ClassFileName>"
> >> >
> >> >While importing the .srx file in Powerbuilder an error occurs
> >> >"Import Failed. Possible Causes: Import file missing export header"
> >> >
> >> >Yes, the .srx doesn't have $PBExportHeader.
> >> >
> >> >How to generate a file with this criteria? If any other possible
solution
> >> >pls reply.
> >> >
> >> >Thanks,
> >> >Kannan
> >> >
> >>
> >> Bruce Armstrong [TeamSybase]
> >> http://www.teamsybase.com
> >>
> >> Easy XML with PowerBuilder DOM: June 8 & 10, 2004
> >> http://crm.sybase.com/sybase/www/ESD/ISUGJUNE2004Regbn.jsp
> >>
> >> Two new books on developing with PowerBuilder
> >> http://www.pb9books.com?source=newsgroups
> >>
> >> Need code sample? Check out CodeXchange:
> >> http://www.codexchange.sybase.com
> >>
> >> ISUG Enhancement Requests
> >> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
> >>
> >> Preach the gospel at all times. If necessary, use words. - Francis of
> >Assisi
> >> http://www.needhim.org
> >>
> >> ---------------------------------------------------------------------
> >> DISCLAIMER:
> >>
> >> This newsgroup message is only intended for the recipient. Given that
it
> >> is a posting to a public newsgroup, that means if you can read this
> >> message then you are the recipient. This message may contain
information
> >> that is confidential and protected from disclosure. And then again,
> >> it may not.
> >>
> >> Given that TeamSybase members are not employees of Sybase, the contents
> >> of this message do not necessarily represent the views or policies of
> >> Sybase. Given that TeamSybase is a diverse group of users of Sybase
> >> products, the contents of this message do not necessarily represent the
> >> views of a significant number of the members of TeamSybase. Given that
> >the
> >> author has mutliple personalities and hears voices in his head, the
> >contents
> >> of this message do not necessarily represent his own views.
> >
>
> Bruce Armstrong [TeamSybase]
> http://www.teamsybase.com
>
> Easy XML with PowerBuilder DOM: June 8 & 10, 2004
> http://crm.sybase.com/sybase/www/ESD/ISUGJUNE2004Regbn.jsp
>
> Two new books on developing with PowerBuilder
> http://www.pb9books.com?source=newsgroups
>
> Need code sample? Check out CodeXchange:
> http://www.codexchange.sybase.com
>
> ISUG Enhancement Requests
> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
>
> Preach the gospel at all times. If necessary, use words. - Francis of
Assisi
> http://www.needhim.org
>
> ---------------------------------------------------------------------
> DISCLAIMER:
>
> This newsgroup message is only intended for the recipient. Given that it
> is a posting to a public newsgroup, that means if you can read this
> message then you are the recipient. This message may contain information
> that is confidential and protected from disclosure. And then again,
> it may not.
>
> Given that TeamSybase members are not employees of Sybase, the contents
> of this message do not necessarily represent the views or policies of
> Sybase. Given that TeamSybase is a diverse group of users of Sybase
> products, the contents of this message do not necessarily represent the
> views of a significant number of the members of TeamSybase. Given that
the
> author has mutliple personalities and hears voices in his head, the
contents
> of this message do not necessarily represent his own views.


Kannan Posted on 2004-06-11 08:55:47.0Z
From: "Kannan" <kannankr@cgvakindia.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <40c598e3@forums-2-dub> <9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com> <40c6a2d7@forums-1-dub> <109dc0lgfe8dhv6u5tjlkivkbemh049dnu@4ax.com> <40c70f58@forums-1-dub>
Subject: Re: Powerbuilder 2 Java
Lines: 162
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
X-Original-NNTP-Posting-Host: 61.95.184.101
Message-ID: <40c973ef@forums-2-dub>
X-Original-Trace: 11 Jun 2004 01:57:19 -0700, 61.95.184.101
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 11 Jun 2004 01:53:02 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 11 Jun 2004 01:55:47 -0700
X-Trace: forums-1-dub 1086944147 10.22.108.75 (11 Jun 2004 01:55:47 -0700)
X-Original-Trace: 11 Jun 2004 01:55:47 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7939
Article PK: 735211

Hi Bruce,

The below URL helped me lot but i'm facing one more problem. I'm able to
run
the "Convertor" example successfully which is already provided . I wrote my
own example and able to create the proxy successsfully but during runtime
i'm getting this error "Failed to invoke the EJB method:".

Thanks,
Kannan

"Kannan" <kannankr@cgvakindia.com> wrote in message
news:40c70f58@forums-1-dub...
> Hi Bruce,
>
> The below URL helped me lot but i'm facing one more problem. I'm able to
run
> the "Convertor" example successfully which is already provided . I wrote
my
> own example and able to create the proxy successsfully but during runtime
> i'm getting this error "Failed to invoke the EJB method:".
>
> Thanks,
> Kannan
>
> "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
> wrote in message news:109dc0lgfe8dhv6u5tjlkivkbemh049dnu@4ax.com...
> > Assuming you are on PB9 or later, use an EJBConnection object to call
> > it. There is a sample of doing this on the CodeXchange site:
> >
> >
>
http://powerbuilder.codexchange.sybase.com/files/documents/67/1135/calljava.
> zip
> >
> > On 8 Jun 2004 22:40:39 -0700, "Kannan" <kannankr@cgvakindia.com>
> > wrote:
> >
> > >Hi Bruce,
> > >
> > >Yes, i want to use the Java Class file in PB.
> > >
> > >Thanks
> > >Kannan
> > >
> > >"Bruce Armstrong [TeamSybase]"
<NOCANSPAM_bruce.armstrong@teamsybase.com>
> > >wrote in message news:9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com...
> > >> This doens't quite make sense. What are you trying to do with that
> > >> java file? Do you simply want to call it?
> > >>
> > >> On 8 Jun 2004 03:44:29 -0700, "kannan" <kannankr@cgvakindia.com>
> > >> wrote:
> > >>
> > >> >Hi All,
> > >> >
> > >> >How to import Java Class file to Powerbuilder.
> > >> >
> > >> >The options i tried was
> > >> >1> Generate a Class file using Javac
> > >> >2> Converted the Class File to .srx file using "Javap -c
> <ClassFileName>"
> > >> >
> > >> >While importing the .srx file in Powerbuilder an error occurs
> > >> >"Import Failed. Possible Causes: Import file missing export header"
> > >> >
> > >> >Yes, the .srx doesn't have $PBExportHeader.
> > >> >
> > >> >How to generate a file with this criteria? If any other possible
> solution
> > >> >pls reply.
> > >> >
> > >> >Thanks,
> > >> >Kannan
> > >> >
> > >>
> > >> Bruce Armstrong [TeamSybase]
> > >> http://www.teamsybase.com
> > >>
> > >> Easy XML with PowerBuilder DOM: June 8 & 10, 2004
> > >> http://crm.sybase.com/sybase/www/ESD/ISUGJUNE2004Regbn.jsp
> > >>
> > >> Two new books on developing with PowerBuilder
> > >> http://www.pb9books.com?source=newsgroups
> > >>
> > >> Need code sample? Check out CodeXchange:
> > >> http://www.codexchange.sybase.com
> > >>
> > >> ISUG Enhancement Requests
> > >> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
> > >>
> > >> Preach the gospel at all times. If necessary, use words. - Francis of
> > >Assisi
> > >> http://www.needhim.org
> > >>
> > >> ---------------------------------------------------------------------
> > >> DISCLAIMER:
> > >>
> > >> This newsgroup message is only intended for the recipient. Given that
> it
> > >> is a posting to a public newsgroup, that means if you can read this
> > >> message then you are the recipient. This message may contain
> information
> > >> that is confidential and protected from disclosure. And then again,
> > >> it may not.
> > >>
> > >> Given that TeamSybase members are not employees of Sybase, the
contents
> > >> of this message do not necessarily represent the views or policies of
> > >> Sybase. Given that TeamSybase is a diverse group of users of Sybase
> > >> products, the contents of this message do not necessarily represent
the
> > >> views of a significant number of the members of TeamSybase. Given
that
> > >the
> > >> author has mutliple personalities and hears voices in his head, the
> > >contents
> > >> of this message do not necessarily represent his own views.
> > >
> >
> > Bruce Armstrong [TeamSybase]
> > http://www.teamsybase.com
> >
> > Easy XML with PowerBuilder DOM: June 8 & 10, 2004
> > http://crm.sybase.com/sybase/www/ESD/ISUGJUNE2004Regbn.jsp
> >
> > Two new books on developing with PowerBuilder
> > http://www.pb9books.com?source=newsgroups
> >
> > Need code sample? Check out CodeXchange:
> > http://www.codexchange.sybase.com
> >
> > ISUG Enhancement Requests
> > http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
> >
> > Preach the gospel at all times. If necessary, use words. - Francis of
> Assisi
> > http://www.needhim.org
> >
> > ---------------------------------------------------------------------
> > DISCLAIMER:
> >
> > This newsgroup message is only intended for the recipient. Given that it
> > is a posting to a public newsgroup, that means if you can read this
> > message then you are the recipient. This message may contain
information
> > that is confidential and protected from disclosure. And then again,
> > it may not.
> >
> > Given that TeamSybase members are not employees of Sybase, the contents
> > of this message do not necessarily represent the views or policies of
> > Sybase. Given that TeamSybase is a diverse group of users of Sybase
> > products, the contents of this message do not necessarily represent the
> > views of a significant number of the members of TeamSybase. Given that
> the
> > author has mutliple personalities and hears voices in his head, the
> contents
> > of this message do not necessarily represent his own views.
>
>


Bruce Armstrong [TeamSybase] Posted on 2004-06-12 18:52:20.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Powerbuilder 2 Java
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <hvjmc0tb90239ln8f0d1p6m51g18g8o1m6@4ax.com>
References: <40c598e3@forums-2-dub> <9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com> <40c6a2d7@forums-1-dub> <109dc0lgfe8dhv6u5tjlkivkbemh049dnu@4ax.com> <40c70f58@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 66-214-183-11.la-cbi.charterpipeline.net
X-Original-NNTP-Posting-Host: 66-214-183-11.la-cbi.charterpipeline.net
Date: 12 Jun 2004 11:52:20 -0700
X-Trace: forums-1-dub 1087066340 66.214.183.11 (12 Jun 2004 11:52:20 -0700)
X-Original-Trace: 12 Jun 2004 11:52:20 -0700, 66-214-183-11.la-cbi.charterpipeline.net
Lines: 177
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7941
Article PK: 735213

You might repost your question in a new thread and see if Jim O'Niel
(the author of that sample) picks it up. I can point you to the
sample, I don't have the time at the moment to debug your use of it.

On 9 Jun 2004 06:23:36 -0700, "Kannan" <kannankr@cgvakindia.com>

wrote:

>Hi Bruce,
>
>The below URL helped me lot but i'm facing one more problem. I'm able to run
>the "Convertor" example successfully which is already provided . I wrote my
>own example and able to create the proxy successsfully but during runtime
>i'm getting this error "Failed to invoke the EJB method:".
>
>Thanks,
>Kannan
>
>"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
>wrote in message news:109dc0lgfe8dhv6u5tjlkivkbemh049dnu@4ax.com...
>> Assuming you are on PB9 or later, use an EJBConnection object to call
>> it. There is a sample of doing this on the CodeXchange site:
>>
>>
>http://powerbuilder.codexchange.sybase.com/files/documents/67/1135/calljava.
>zip
>>
>> On 8 Jun 2004 22:40:39 -0700, "Kannan" <kannankr@cgvakindia.com>
>> wrote:
>>
>> >Hi Bruce,
>> >
>> >Yes, i want to use the Java Class file in PB.
>> >
>> >Thanks
>> >Kannan
>> >
>> >"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
>> >wrote in message news:9mhbc0l07ggpkdn5cmemf03j5acvl1ciin@4ax.com...
>> >> This doens't quite make sense. What are you trying to do with that
>> >> java file? Do you simply want to call it?
>> >>
>> >> On 8 Jun 2004 03:44:29 -0700, "kannan" <kannankr@cgvakindia.com>
>> >> wrote:
>> >>
>> >> >Hi All,
>> >> >
>> >> >How to import Java Class file to Powerbuilder.
>> >> >
>> >> >The options i tried was
>> >> >1> Generate a Class file using Javac
>> >> >2> Converted the Class File to .srx file using "Javap -c
><ClassFileName>"
>> >> >
>> >> >While importing the .srx file in Powerbuilder an error occurs
>> >> >"Import Failed. Possible Causes: Import file missing export header"
>> >> >
>> >> >Yes, the .srx doesn't have $PBExportHeader.
>> >> >
>> >> >How to generate a file with this criteria? If any other possible
>solution
>> >> >pls reply.
>> >> >
>> >> >Thanks,
>> >> >Kannan
>> >> >
>> >>
>> >> Bruce Armstrong [TeamSybase]
>> >> http://www.teamsybase.com
>> >>
>> >> Easy XML with PowerBuilder DOM: June 8 & 10, 2004
>> >> http://crm.sybase.com/sybase/www/ESD/ISUGJUNE2004Regbn.jsp
>> >>
>> >> Two new books on developing with PowerBuilder
>> >> http://www.pb9books.com?source=newsgroups
>> >>
>> >> Need code sample? Check out CodeXchange:
>> >> http://www.codexchange.sybase.com
>> >>
>> >> ISUG Enhancement Requests
>> >> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
>> >>
>> >> Preach the gospel at all times. If necessary, use words. - Francis of
>> >Assisi
>> >> http://www.needhim.org
>> >>
>> >> ---------------------------------------------------------------------
>> >> DISCLAIMER:
>> >>
>> >> This newsgroup message is only intended for the recipient. Given that
>it
>> >> is a posting to a public newsgroup, that means if you can read this
>> >> message then you are the recipient. This message may contain
>information
>> >> that is confidential and protected from disclosure. And then again,
>> >> it may not.
>> >>
>> >> Given that TeamSybase members are not employees of Sybase, the contents
>> >> of this message do not necessarily represent the views or policies of
>> >> Sybase. Given that TeamSybase is a diverse group of users of Sybase
>> >> products, the contents of this message do not necessarily represent the
>> >> views of a significant number of the members of TeamSybase. Given that
>> >the
>> >> author has mutliple personalities and hears voices in his head, the
>> >contents
>> >> of this message do not necessarily represent his own views.
>> >
>>
>> Bruce Armstrong [TeamSybase]
>> http://www.teamsybase.com
>>
>> Easy XML with PowerBuilder DOM: June 8 & 10, 2004
>> http://crm.sybase.com/sybase/www/ESD/ISUGJUNE2004Regbn.jsp
>>
>> Two new books on developing with PowerBuilder
>> http://www.pb9books.com?source=newsgroups
>>
>> Need code sample? Check out CodeXchange:
>> http://www.codexchange.sybase.com
>>
>> ISUG Enhancement Requests
>> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
>>
>> Preach the gospel at all times. If necessary, use words. - Francis of
>Assisi
>> http://www.needhim.org
>>
>> ---------------------------------------------------------------------
>> DISCLAIMER:
>>
>> This newsgroup message is only intended for the recipient. Given that it
>> is a posting to a public newsgroup, that means if you can read this
>> message then you are the recipient. This message may contain information
>> that is confidential and protected from disclosure. And then again,
>> it may not.
>>
>> Given that TeamSybase members are not employees of Sybase, the contents
>> of this message do not necessarily represent the views or policies of
>> Sybase. Given that TeamSybase is a diverse group of users of Sybase
>> products, the contents of this message do not necessarily represent the
>> views of a significant number of the members of TeamSybase. Given that
>the
>> author has mutliple personalities and hears voices in his head, the
>contents
>> of this message do not necessarily represent his own views.
>

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Two new books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com

ISUG Enhancement Requests
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org

---------------------------------------------------------------------
DISCLAIMER:

This newsgroup message is only intended for the recipient. Given that it
is a posting to a public newsgroup, that means if you can read this
message then you are the recipient. This message may contain information
that is confidential and protected from disclosure. And then again,
it may not.

Given that TeamSybase members are not employees of Sybase, the contents
of this message do not necessarily represent the views or policies of
Sybase. Given that TeamSybase is a diverse group of users of Sybase
products, the contents of this message do not necessarily represent the
views of a significant number of the members of TeamSybase. Given that the
author has mutliple personalities and hears voices in his head, the contents
of this message do not necessarily represent his own views.