You can avoid WODirect2Ajax and other WO utilities and just make the calls yourself inside your WO code, those routines are just simple wrappers around a couple of lines of code.

try {
        String endpoint =  "http://services.xmethods.com:80/soap";;
org.apache.axis.client.Service service = new org.apache.axis.client.Service(); org.apache.axis.client.Call call = (org.apache.axis.client.Call) service.createCall();
                        
        call.setTargetEndpointAddress( new java.net.URL( endpoint));
call.setOperationName( new javax.xml.namespace.QName("urn:xmethods- delayed-quotes", "YOUR_CALL" )); call.addParameter( "Symbol", org.apache.axis.Constants.XSD_STRING, javax.xml.rpc.ParameterMode.IN );
        call.setReturnType( org.apache.axis.Constants.XSD_FLOAT );
                        
        Float ret = (Float) call.invoke( new Object[] { symbol } );
        return ret;


On Jan 26, 2006, at 3:47 AM, [EMAIL PROTECTED] wrote:

Subject: Re: WebObjects and Ajax: Is it time?
To: [EMAIL PROTECTED]
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hi, Andrew,

On Jan 25, 2006, at 4:39 PM, [EMAIL PROTECTED] wrote:

Hello Mohapatra;

Which WebObjects applications can be ported to Ajax+WebObjects?

What is it about the WebObjects frameworks now that is preventing
you from implementing support for AJAX in your application?

Heh, that's easy...    they haven't yet implemented WODirect2Ajax!

Regards,
Jerry

--
__ Jerry W. Walker,
    WebObjects Developer/Instructor for High Performance Industrial
Strength Internet Enabled Systems

     [EMAIL PROTECTED]
     203 278-4085        office

----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>


_______________________________________________
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