Hi all,
I'm trying to connect to a SOAP webservice through either or
createObject() with no luck whatsoever.
1. The webservice is hosted on some other server through php, I should
be able to connect to it using my username and password and run
functions on it.
2. The webservice works if I try
Ok after some great help here, and some futher great help from tom
jordhal i got this working. Basically when i got this error CF was
telling me that it couldn't create the objects needed for my
webservices call and that i needed to use actual java objects.
Tom showed me how get these objects with
higher up in my code i create the object:
ws = CreateObject('webservice','NetSuite');
jonese
On 3/23/06, Thomas Chiverton <[EMAIL PROTECTED]> wrote:
> On Thursday 23 March 2006 16:51, jonese wrote:
> > q_getList = ws.get(RecordRef);
>
> Where'd 'ws' come from ?
> Is it correctly configured
On Thursday 23 March 2006 16:51, jonese wrote:
> q_getList = ws.get(RecordRef);
Where'd 'ws' come from ?
Is it correctly configured in the CF admin, or are you making it on the fly ?
--
Tom Chiverton
Advanced ColdFusion Programmer
OK i did just what Dave says below and now I'm getting the following error:
Could not perform web service invocation "get".
Here is the fault returned when invoking the web service operation:
java.lang.IllegalArgumentException: argument type mismatch
I can send the files I'm using if it will help
YEa i tried this and no dice
On 3/23/06, Michael Traher <[EMAIL PROTECTED]> wrote:
> and you've tried RecordRef.internalId = javacast("string",'527'); as per my
> previous reply?
>
~|
Message: http://www.houseoffusion.com/lists.
> The recordRef type descends from BaseRef and is defined in core.xsd.
> (https://webservices.netsuite.com/xsd/platform/v1_2_1/core.xsd)
>
> Field Name: internalId
> XML Schema Type: xsd:string (attribute)
> Req: y
> Notes:
>
> Field Name: type
> XML Schema Type: xsd:string (attribute)
> Req: N
>
and you've tried RecordRef.internalId = javacast("string",'527'); as per my
previous reply?
On 3/23/06, jonese <[EMAIL PROTECTED]> wrote:
>
> Yea i tried that and got the same error about "the web service defines
> an abstract complexType as an input to an operation"
>
> thanks for trying though,
Yea i tried that and got the same error about "the web service defines
an abstract complexType as an input to an operation"
thanks for trying though, i seem to be in an area that people on this
list have'nt traveled before...
jonese
On 3/23/06, Michael Traher <[EMAIL PROTECTED]> wrote:
> have yo
have you tried adding name and type to the RecordRef structure? I know they
are optional in terms of content, but I wonder if they need to exist? Only
a guess I'm afraid and I expect you have tried that already.
On 3/23/06, jonese <[EMAIL PROTECTED]> wrote:
>
> Ok so i'm calling a get method via
Ok so i'm calling a get method via webservices and in the docs it
tells me i have to pass in a RecordRef XSD type. So i look at the docs
to find out what a RecordRef is and i'm given this:
The RecordRef type is used to reference an existing record in NetSuite
in get operations.
Typically, a Record
I had a similar issue calling a java method. I had to wrap the javacast()
function around one of the arguments passed.
Because the java class was local I could use cfdump on the object to give me
some clues - not so easy with a web service, but if you don't have good docs
you can always take a clo
On Wednesday 22 March 2006 21:58, jonese wrote:
> Error converting CFML arguments to Java classes for web service
I'm guessing your inputs to the web service are of the wrong type.
--
Tom Chiverton
Advanced ColdFusion Programmer
~~~
Anyone understand this error??
Error converting CFML arguments to Java classes for web service invocation.
Unable to create web service argument class
com.netsuite.webservices.platform.core_1_2.BaseRef. Error:
java.lang.InstantiationException. Often this is because the web
service defines an abst
14 matches
Mail list logo