Rick,

the ws-policy elements in the metadata document is due to the security
setting (transport https + windows auth). Because WCF uses WS-POLICY
protocol for adding security related description info (together with the
WSDL for service endpoints and operations) in metadata document.
It may be that AXIS does not support this, you may have to check on the
apache  axis site.

This may enlighten you
http://msdn.microsoft.com/en-us/library/ms730294.aspx

Russ
-----Original Message-----
From: Rick Root [mailto:[email protected]] 
Sent: 13 October 2010 19:31
To: cf-talk
Subject: Problem with funky wsdl


Okay, I've been handled a WSDL for a service that our SAP folks have built
for me.

http://www.it.dev.duke.edu/public/wsdl.txt

#1 - I had to comment all the <wsp:> tags because coldfusion wouldn't read
the WSDL at all.  I don't know what they're for so that's one of my issues.

#2 - I'm having some trouble with the input/output stuff.

For example, I'm able to call the service with this statement:

        <cfinvoke
            webservice = "https://SERVER/path/to/file.wsdl";
            method = "ZAdvWebServOptOut"
            username = "Z_ADV_OPTOUT"
            password = "ma1l0ptout"
            returnVariable = "foo"
            refreshWSDL = "yes">
                <cfinvokeargument name="email" value="[email protected]">
                <cfinvokeargument name="optcode" value="AAA21">
                <cfinvokeargument name="msgtab" value="">
                <cfinvokeargument name="_return" value="">
        </cfinvoke>     

This is odd because the service has input and outputs which are complex
types, and each has two elements in the complex types, but It works only if
I pass in four variables.

Problem #3 is that although the web service call executes and does not fail
(I don't know if it works or not), the output, which I've defined to go to
"foo" is not defined.  I'm guessing because the service is somehow designed
to put its response into the 3rd and 4th arguments but.. hell if I know how
to get to them after i've executed the call!

Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:338132
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to