The wsdl:
https://ie-services-camb2b.musicnet.com/?WSDL
The invoking code:
<cfinvoke webservice="https://ie-services-camb2b.musicnet.com/?WSDL"
method="GetAccountInfo"
returnvariable="result">
<cfinvokeargument name="authToken"
value="pl5ujduVSEc7tbqDlb5j4S+RhaDY78F59I3igWxJ06hhL0AdsWN3zfLz+4TUidek" />
<cfinvokeargument name="retailerCode" value="somecode" />
<cfinvokeargument name="customerId" value="[email protected]" />
<cfinvokeargument name="includeActiveMediaDevices" value="true" />
<cfinvokeargument name="extraParameters" value="" />
[I cannot post the calling code with correct credentials but the type
error should kick in prior to credentialls being checked]
The element in question in *GetAccountInfo* operation is expanded below for
quick reference:
<xsd:element name="extraParameters" nillable="true" type="tns:*
ArrayOfCustomProperty*"/>
And the break up of tns:ArrayOfCustomProperty:
<xsd:complexType name="*ArrayOfCustomProperty*">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="item"
nillable="true" type="tns:CustomProperty"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="*CustomProperty*">
<xsd:sequence>
<xsd:element minOccurs="0" name="name" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="value" nillable="true"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
Thanks
nitish
2013/5/15 Alan Holden <[email protected]>
> **
>
> I would suggest creating the smallest sample you can - which works to
> demonstrate the issue you're having - and posting that code for us.
>
> I think people help the best when there's a little snippet they can copy &
> run on their own OpenBD.
>
> ---
> Al Holden
>
>
> On 2013-05-15 04 <2013-05-1504>:07, nitish pandey wrote:
>
> How to pass boolean to a remoteobject/soap call? Is it okay if the
> error indicates that the openbd engine is treating it as String?
> How to pass in an array as an argument to a remote object/soap call?
>
> The story?
> I got started (after a break from programming) and was trying to consume a
> WSDL. The WSDL operaetion required an array of name value pairs (nillable
> though) and i just couldn't figure out what and how to pass in. The error i
> got was always "argument type mismatch". And the other thing was that one
> of the argument types was Boolean and i was passing in someparam="true".
> When i would keep the optional array type argument, the error was showing
> that it was considering the boolean argument as String. But in this case
> the error was "couldn't find an operation with these 3 arguments". So when
> i would put in the 4th optional param i would get the other error "argument
> type mismatch". It is not easy to figure out if the type mismatch,
> triggered in after completion of arguments was on Boolean or was it on
> passing in "null" or "" for the array type of input argument.
>
>
>
>
> 2013/4/4 Alan Holden <[email protected]>
>
>> @Dinesh
>> I would suggest downloading the OpenBD desktop version and experimenting
>> with that. Simple zip install. It has it's own little server that you can
>> flip on and off easily (to see if there are any conflicts with your
>> existing setup). Plus an option to enable the online manual.
>> Al
>>
>>
>> On 4/4/2013 2:03 AM, Alan Williamson wrote:
>>
>>> There are many things that are different ... all too good to list here.
>>>
>>> For the 99% you will not notice the difference ... so just play and see
>>> how you get on.
>>>
>>>
>>> On 03/04/2013 09:18, Dinesh Singh Kanwar wrote:
>>>
>>>> Hi, I am just getting started on OpenBD, though working on CFML since
>>>> last 7 years. I will appreciate if someone can guide me about differences
>>>> between ACF and OpenBD CF. I would like to know things about which are
>>>> different in BD or are implemented differently than ACF. I am starting on
>>>> my local box, which already have CF8 under Apache and CF9 with inbuilt IIS.
>>>> Will there be any conflict? Any other things which I need to know about?
>>>> Thank you.
>>>
>>>
>> --
>> --
>> online documentation: http://openbd.org/manual/
>> http://groups.google.com/group/openbd?hl=en
>>
>> --- You received this message because you are subscribed to the Google
>> Groups "Open BlueDragon" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
> --
> -Nitish
> "Faith is a free Option"
> http://www.forcesofindia.com/profiles/np
>
>
> --
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Open BlueDragon" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> --
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Open BlueDragon" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
-Nitish
"Faith is a free Option"
http://www.forcesofindia.com/profiles/np
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.