Actually 5.3.x has most of the same issues as 5.4.1. Grab 5.4.2 from the iPhone SDK beta if you can. WebObjects 5.3.x and 5.4.x use different versions of Axis. 5.3.x uses Axis 1.1. 5.4.x uses Axis 1.4.

I am a bit puzzled by the statement: org.apache.xml.security.Init.init(); Where does this come from? It is not part of regular Axis 1.4.

Cheers

Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Apr 22, 2008, at 9:49, Mike Schrag wrote:

There are known issues with WebServices on 5.4.1. I don't know if this one in particular is fixed in 5.4.2 or not, but you should definitely get a baseline on 5.3 FIRST before doing the full move to 5.4.1.

ms

On Apr 22, 2008, at 12:09 PM, Jon Nolan wrote:

I'm in the process of upgrading all my WebObjects projects from Xcode/Java1.4/WebObjects5.2.3 to Eclipse/WOLips/Java1.5/ WebObjects5.4.1. I've possibly bitten off way too big a bite all at once. ;-)

I'm muddling through without too much trouble except when it comes to webservices. I make substantive use of WOSecurityDelegate. It is absolutely necessary in a number of places. I just can't seem to get a delegate registered though. Here's the code:

        org.apache.xml.security.Init.init();
WOWebServiceRegistrar.setSecurityDelegate(new MyWOSecurityDelegateClass());

The registration fails with:

java.lang.NullPointerException
at com .webobjects .appserver ._private .WOServerSessionHandler.<clinit>(WOServerSessionHandler.java:25)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
        at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
at org .apache .axis .deployment .wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353) at org .apache .axis .deployment .wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295) at org .apache .axis .deployment .wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org .apache .axis .deployment .wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org .apache .axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org .apache .axis .deployment .wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org .apache .axis .deployment .wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org .apache .axis .deployment .wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at com .webobjects .webservices .support.WOXMLProvider.getGlobalRequest(WOXMLProvider.java:168)
        at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365)
at com .webobjects .appserver ._private.WOWebService.setSecurityDelegate(WOWebService.java:205) at com .webobjects .appserver .WOWebServiceRegistrar .setSecurityDelegate(WOWebServiceRegistrar.java:358)

My configuration is:

Eclipse 3.3.2 WOLips 3.3.5047
OS X 10.5.2
Java 1.5.0_13

I have standard Apple distribution jars for:

axis.jar (1.4 I think)
commons-discovery-0.2.jar
commons-logging-1.0.4.jar
jaxrpc.jar
saaj.jar
wsdl4j-1.5.1.jar
xmlsec-1.3.0.jar

What else? Yes, the WebObjects webservices frameworks are installed. Yes, the error is the same running within Eclipse or at the command line.

Any help is very appreciated.

--
Jon Nolan

_______________________________________________
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/mschrag%40mdimension.com

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/pierre%40apple.com

This email sent to [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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