Re: Problem with funky wsdl

2010-10-13 Thread Rick Root

Thanks Russ...

I don't believe Axis supports ws-policy, though Axis2 does..

I've found some articles about using Apache CXF, and that does support
ws-policy so I guess if this ws-policy stuff is actually required I'll
might need to go that route.

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


RE: Problem with funky wsdl

2010-10-13 Thread Russ Michaels

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:rick.r...@gmail.com] 
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  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:

https://SERVER/path/to/file.wsdl";
method = "ZAdvWebServOptOut"
username = "Z_ADV_OPTOUT"
password = "ma1l0ptout"
returnVariable = "foo"
refreshWSDL = "yes">




 

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


Problem with funky wsdl

2010-10-13 Thread Rick Root

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  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:

https://SERVER/path/to/file.wsdl";
method = "ZAdvWebServOptOut"
username = "Z_ADV_OPTOUT"
password = "ma1l0ptout"
returnVariable = "foo"
refreshWSDL = "yes">




 

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