Think you need one parameter with email and OptOut keys.

<cfset wsResult = ws.zAdvWebServOptOut({Email='[email protected]
',OptOut=optcode} )>

Byron Mann
Lead Engineer & Architect
HostMySite.com
On Mar 4, 2013 8:53 PM, "Rick Root" <[email protected]> wrote:

>
> So I have this wonky SAP web service that I'm calling.. you can see an
> example of the WSDL here:
>
> http://www.it.dev.duke.edu/public/wsdl.xml
> http://www.it.dev.duke.edu/public/wsdl.txt
>
> I'm creating my wsdl object:
>
> <cfset argStruct = structNew()>
> <cfset argStruct.username = "myusername">
> <cfset argStruct.password = "mypassword">
> <cfset argStruct.refreshWSDL = "yes">
> <cfset argStruct.saveJava = "no">
>  <cfset ws = createObject("webservice","#wsdlurl#", argStruct)>
>
> And then calling the web service like this:
>
> <cfset wsResult = ws.zAdvWebServOptOut('[email protected]
> ','#optcode#','','')>
>
> This was working fine, but now produces the following error:
>
> Web service operation zAdvWebServOptOut with parameters
> {[email protected],UDVAE,,}
> cannot be found.
>
> Now, I never quite understood how this worked before, given the way the
> wsdl looks.  I have since tried several combinations - passing only two
> arguments (as I would expect), and passing the 4th argument as an int (0),
> to no avail, always the same ol' error (just slightly different actually,
> based on the arguments being passed).
>
> I'm a little stumped here.
>
> Anyone got any suggestions?
>
> Rick
>
>
>
>
> --
> *The beatings will continue until morale improves.*
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354799
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to