Re: Webservices on Eclipse
Re: Webservices on Eclipse
- Subject: Re: Webservices on Eclipse
- From: <email@hidden>
- Date: Sat, 14 Jun 2008 12:12:00 -0700
- Importance: Normal
Dear Drew,
Are you sure that you don't need to also include the web service handler ('ws') in the URL?
E.g.:
http://192.168.1.115/cgi-bin/WebObjects/sageservice.woa/-4220/ws/Model20?wsdl
-matt
Matthew Taylor
Northwestern University
-----Original Message-----
From: Drew Thoeni <email@hidden>
Subj: Re: Webservices on Eclipse
Date: Sat Jun 14, 2008 10:33 am
Size: 2K
To: WebObjects-Dev List <email@hidden>
Making advances (thanks Pascal). Build now completes but WSDL is not
returned.
When I use this URL <http://192.168.1.115/cgi-bin/WebObjects/sageservice.woa/-4220/Model20?wsdl
> I get back the HTML for the "Main" component. Not really what I was
expecting. No error produced, no change in log, just the wrong response.
Anyone experienced that?
Code here:
[2008-6-14 13:18:34 EDT] <main> WebObjects version = 5.4.2
[2008-6-14 13:18:34 EDT] <main> Created adaptor of class
WODefaultAdaptor on port 4220 and address Shark.local/192.168.1.115
with WOWorkerThread minimum of 16 and maximum of 256
[2008-6-14 13:18:34 EDT] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle. Ignoring optional
configuration file.
[2008-6-14 13:18:34 EDT] <main> Cannot use rapid turnaround. Please
start Xcode and open the project for this application.
[2008-6-14 13:18:34 EDT] <main> Creating LifebeatThread now with:
sageservice 4220 Shark.local/192.168.1.115 1085 30000
Welcome to sageservice!
WOWSDDRegistrar.createServiceString()
<?xml version="1.0" encoding="UTF-8"?>
<service xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java
" name=".Model20" provider="Handler">
<parameter name="handlerClass"
value="org.apache.axis.providers.java.RPCProvider"/>
<parameter name="scope" value="Application"/>
<parameter name="className"
value="com.decile.sageservice.models.Model20"/>
<parameter name="allowedMethods" value="*"/>
</service>
WOWSDDRegistrar.createServiceString()
<?xml version="1.0" encoding="UTF-8"?>
<service xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java
" name=".Model30" provider="Handler">
<parameter name="handlerClass"
value="org.apache.axis.providers.java.RPCProvider"/>
<parameter name="scope" value="Application"/>
<parameter name="className"
value="com.decile.sageservice.models.Model30"/>
<parameter name="allowedMethods" value="*"/>
</service>
Transaction Log Write Count: 10
[2008-6-14 13:18:35 EDT] <main> The URL for webserver connect is:
http://192.168.1.115/cgi-bin/WebObjects/sageservice.woa/-4220
[2008-6-14 13:18:35 EDT] <main> null
[2008-6-14 13:18:35 EDT] <main> Waiting for requests...
On Jun 14, 2008, at 8:24 AM, Drew Thoeni wrote:
> I'm porting over a webservices application that runs well in Xcode
> but is not launching in Eclipse.
>
> After reading up on the list, it seems there's a confluence of
> problems, I read:
>
> * Get the latest webobjects from iPhone SDK (or there are no
> difference in WO in the iPhone release, so don't bother)
> * There are problems in *all* releases of WO (or there are only
> trivial problems)
> * The path settings are not the same in Eclipse and Xcode made more
> assumptions.
>
> I'm more than a bit confused, but think I have a problem with the
> path settings and much of this is newbie-inflicted.
--- message truncated ---
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden