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.

A few questions that will likely help:

-- In setting up Eclipse, what are the recommended paths to keep things organized and simple. Do you still use /Library/webObjects/ Extensions/

-- Newbie question: where do you set the paths in Eclipse?

-- Where do you check version numbers for WO, Java, Eclipse? I can see in the Eclipse updater I have Eclipse 3.3.3r33 with 3.3.2 RCP Patch, and 3.3.5047 WOLips I'm checking /System/Library/Frameworks/JavaWebObjects.framework/ Resources/version.plist to see version 5.4 I'm using /Applications/Utilities/Java/Java Preferences to see J2SE 5.0, but I'm betting there's more specific info elsewhere

Basically, what is the lists' advice on framework/jar organization and paths for Eclipse if you're building WO apps (including Services) using Eclipse.

This is what I'm getting right now (in case I'm misdiagnosing the problem).

Regards,

Drew

Welcome to sageservice !
WOWebServiceRegistrar.createServiceString()
<?xml version="1.0" encoding="UTF-8"?>
<service xmlns="http://xml.apache.org/axis/wsdd/"; 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="*" />
                <namespace>http://xml.apache.org/axis/wsdd/</namespace>
        </service>
[2008-6-14 13:2:22 EDT] <main> A fatal exception occurred: com/ webobjects/webservices/support/WOXMLProvider [2008-6-14 13:2:22 EDT] <main> java.lang.NoClassDefFoundError: com/ webobjects/webservices/support/WOXMLProvider at com .webobjects .appserver._private.WOWebService.initServer(WOWebService.java:134) at com .webobjects .appserver._private.WOWebService.registerService(WOWebService.java: 166) at com .webobjects .appserver .WOWebServiceRegistrar.registerWebService(WOWebServiceRegistrar.java: 186) at com .webobjects .appserver .WOWebServiceRegistrar.registerWebService(WOWebServiceRegistrar.java: 110)
        at com.decile.sageservice.Application.<init>(Application.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun .reflect .NativeConstructorAccessorImpl .newInstance(NativeConstructorAccessorImpl.java:39) at sun .reflect .DelegatingConstructorAccessorImpl .newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main(WOApplication.java: 546)
        at com.decile.sageservice.Application.main(Application.java:40)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/drewt7%40comcast.net

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to