|
Rick, your service project is used to provide services only, and so I guess you'd like to use some old web pages to test this service (or for other purposes). If this is the case, what you need is a client project that makes use of this service; you can copy the web pages into this client project. When you create your web service, there's an option to also create a test client project. If you didn't select this option, you can create a web project, copy the wsdl file from the service project and paste it into this new web project(into WebContent>WEB-INF>wsdl), then right click the wsdl file and select Web Service->Generate Client. You can then check how the test pages work and make your web pages to call the service accordingly. Thanks. Chenghui Li WebSphere Development Studio Client for iSeries, IBM, Toronto Phone (905)413-3215, T/L 969-3215 email: chengli@xxxxxxxxxx <Rick.Chevalier@xxxxxxxxxxxxxxx> Sent by: wdsci-l-bounces@xxxxxxxxxxxx 2006-04-25 11:40 Please respond to Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx> To <wdsci-l@xxxxxxxxxxxx> cc Subject Re: [WDSCI-L] Creating web service from source - server target error Chenghui, A future enhancement maybe? I created a new project and it appears to be a service project although I don't never saw a setting to specify that so I don't know what triggered the definition. I have some web pages from the old project I want to keep. Are there any issues with copying them from the old project to the new one? Thanks for your help. Rick > -----Original Message----- > From: wdsci-l-bounces@xxxxxxxxxxxx > [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Chenghui Li > Sent: Tuesday, April 25, 2006 10:25 AM > To: Websphere Development Studio Client for iSeries > Subject: Re: [WDSCI-L] Creating web service from source - > server target error > > Sorry I don't know how to do it (ran into the same problem). > It's much easier to just delete the project you created, and > let the wizard do it. > > Thanks. > > Chenghui Li > WebSphere Development Studio Client for iSeries, IBM, Toronto > Phone (905)413-3215, T/L 969-3215 > email: chengli@xxxxxxxxxx > > > > > <Rick.Chevalier@xxxxxxxxxxxxxxx> > Sent by: wdsci-l-bounces@xxxxxxxxxxxx > 2006-04-25 11:09 > Please respond to > Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx> > > > To > <wdsci-l@xxxxxxxxxxxx> > cc > > Subject > Re: [WDSCI-L] Creating web service from source - server target error > > > > > > > > Chenghui, > > Is there a way to change a project to be a service project or > do I need > to delete and recreate it? The web project was created just for this > purpose so I don't want to create a different one unless I have to. > > Rick > > > -----Original Message----- > > From: wdsci-l-bounces@xxxxxxxxxxxx > > [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Chenghui Li > > Sent: Tuesday, April 25, 2006 9:59 AM > > To: Websphere Development Studio Client for iSeries > > Subject: Re: [WDSCI-L] Creating web service from source - > > server target error > > > > I'd guess your current project is not a "service" project. If > > this is the first web service project you're trying to > > create, it's better to use a new project name for the service > > (and also a new project name for the test client project); > > the default name provided is a new one. After you're > > satisfied with the service, you need to Export this project > > as web service and deploy it, so mixing web services with > > other types of web application is not a good idea. > > > > When you create the second service, you can choose to use the > > first project if you wish. > > > > > > Thanks. > > > > Chenghui Li > > WebSphere Development Studio Client for iSeries, IBM, Toronto > > Phone (905)413-3215, T/L 969-3215 > > email: chengli@xxxxxxxxxx > > > > > > > > > > <Rick.Chevalier@xxxxxxxxxxxxxxx> > > Sent by: wdsci-l-bounces@xxxxxxxxxxxx > > 2006-04-25 10:20 > > Please respond to > > Websphere Development Studio Client for iSeries > <wdsci-l@xxxxxxxxxxxx> > > > > > > To > > <wdsci-l@xxxxxxxxxxxx> > > cc > > > > Subject > > [WDSCI-L] Creating web service from source - server target error > > > > > > > > > > > > > > > > I'm trying to create a web service from an RPG module source > > member. On > > the prompt for Service Deployment Configuration the default is a > > different project than the one I'm working with. If I change the > > service project and EAR file I receive the error 'The project, > > objectreositoryEAR has a server target which is not > > compatible with the > > selected server type.' I have tried changing the server > types via the > > edit button but the error persists. I have even looked at the > > properties of the objectrepository project to get the target server > > information from there and use that in the configuration but without > > success. > > > > Does anyone know how to match the server type with the project? > > > > Rick Chevalier > > AmeriCredit > > Enterprise Solutions > > 817-525-7178 > > > > > > > > Privileged and Confidential. This e-mail, and any > > attachments there to, > > is intended only for use by the addressee(s) named herein and > > may contain > > privileged or confidential information. If you have received > > this e-mail > > in error, please notify me immediately by a return e-mail and > > delete this > > e-mail. You are hereby notified that any dissemination, > > distribution or > > copying of this e-mail and/or any attachments thereto, is strictly > > prohibited. > > -- > > This is the Websphere Development Studio Client for iSeries > > (WDSCI-L) > > mailing list > > To post a message email: WDSCI-L@xxxxxxxxxxxx > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/mailman/listinfo/wdsci-l > > or email: WDSCI-L-request@xxxxxxxxxxxx > > Before posting, please take a moment to review the archives > > at http://archive.midrange.com/wdsci-l. > > > > -- > > This is the Websphere Development Studio Client for iSeries > > (WDSCI-L) mailing list > > To post a message email: WDSCI-L@xxxxxxxxxxxx > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/mailman/listinfo/wdsci-l > > or email: WDSCI-L-request@xxxxxxxxxxxx > > Before posting, please take a moment to review the archives > > at http://archive.midrange.com/wdsci-l. > > > > > > Privileged and Confidential. This e-mail, and any > attachments there to, > is intended only for use by the addressee(s) named herein and > may contain > privileged or confidential information. If you have received > this e-mail > in error, please notify me immediately by a return e-mail and > delete this > e-mail. You are hereby notified that any dissemination, > distribution or > copying of this e-mail and/or any attachments thereto, is strictly > prohibited. > > -- > This is the Websphere Development Studio Client for iSeries > (WDSCI-L) > mailing list > To post a message email: WDSCI-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/wdsci-l > or email: WDSCI-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/wdsci-l. > > -- > This is the Websphere Development Studio Client for iSeries > (WDSCI-L) mailing list > To post a message email: WDSCI-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/wdsci-l > or email: WDSCI-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/wdsci-l. > > Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.