Ok, I found a class dumper and have used that to get a bit of a better idea
of what's going on.

I now have this:

<cfscript>

// create the webservice object
ws = CreateObject('webservice','Netsuite');

// create the passport to submit to login
struct = CreateObject("java",
"com.netsuite.webservices.platform.core_1_3.Passport");

struct.setEmail( "[EMAIL PROTECTED]" );
struct.setPassword( "****" );
struct.setAccount( "****" );

// login here
whatever = ws.login(struct);

loginHeader1 = getSoapResponse(ws);
loginHeader2 = getSoapResponseHeader(ws,
'https://messages_1_3.platform.webservices.netsuite.com', 'loginHeader1',
TRUE);

</cfscript>


<cfdump var="#loginHeader1#"/>

<cfdump var="#loginHeader2#"/> 


Which logs me in succesfully. Now I need to understand how to persist the
session to then perform operations via the NetSuite webservice.

Any ideas? Jonese?

Thanks

Will

        
                

-----Original Message-----
From: Will Swain [mailto:[EMAIL PROTECTED] 
Sent: 12 October 2006 10:22
To: CF-Talk
Subject: RE: Soap and namespaces A bit deeper

Hi Dan,

I took a look for your class dumper you posted on here but couldn't find
it....can you point me in the right direction?

Thanks

Will
        
                

-----Original Message-----
From: Dan Plesse [mailto:[EMAIL PROTECTED]
Sent: 12 October 2006 06:28
To: CF-Talk
Subject: Re: Soap and namespaces A bit deeper

Will,

     Did you fix the error and did you call the constructor correctly? Dan






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256534
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to