Re: Webservices on Eclipse
Re: Webservices on Eclipse
- Subject: Re: Webservices on Eclipse
- From: Drew Thoeni <email@hidden>
- Date: Sat, 14 Jun 2008 15:29:25 -0400
You are absolutely correct. (Sorry I missed that.) However...
Using the correct URL now points to the underlying problem. Though the
console shows the services being registered, they don't appear to be
available.
With this URL:
http://192.168.1.115/cgi-bin/WebObjects/sageservice.woa/-4220/ws/Model20?wsdl
And using a tool called "SOAP Client" for the Mac I get:
Error while parsing WSDL file:
Entity: line 1: parser error : Start tag expected, '<' not found Your
requested web service, namely "Model20", cannot be found in
WOWebServiceReg ^
Using Apple's WebServicesAssistant I get "Connect failed: Response
from server invalid (or no response at all)!"
Sorry for the scant info, but log is producing nothing and console
suggests things are starting an running fine. I'm kind of at a loss as
to where to even look.
Best,
Drew
On Jun 14, 2008, at 3:12 PM, <email@hidden> wrote:
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