cancel
Showing results for 
Search instead for 
Did you mean: 

Invoking a SAP web service from Dreamweaver MX

Former Member
0 Kudos

I am trying to invoke a SAP web service from ColdFusion and it looks like ColdFusion does not even recognize the rfc generated wsdl file as a wsld file. I have tried other wsdl url's outside my company and they work...so I know that web services at least work in ColdFusion. Can anyone advise on this topic?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

Welcome to SDN,

I havet tried it with ColdFusion, but i have tried with SOAPscope, microsoft office infopath, etc and they do recognize the SAP WSDL.

Whats the error you are getting?

Regards

Raja

eddy_declercq
Active Contributor
0 Kudos

Paula,

I suppose you're using CFINVOKE (http://www.activsoftware.com/code_samples/code.cfm/CodeID/44/ColdFusion/Invoking_SOAP_Web_Services_with_ColdFusion_MX_CFINVOKE_Tag) or are you using a third party tool like CFX_SOAP (http://www.activsoftware.com/products/productdetail.cfm/id/1015)?

Are you working with WebAS 6.4 or 6.2?

It works with web services created with WebAS 6.4, but you should generate proxy classes. Check Thomas' weblog (second part of it)->https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1012. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

The WSDL generated by this method is more standard than the one generated when you just Remote enable an FM and look at the webservice browser.

Th core of CF MX is Java and that engine is rather strict in standards.

Eddy

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Paula,

did you try to use different styles of the wsdl? (i.e. document style). You find the different styles using the ws navigator.

regards,

Martin

Former Member
0 Kudos

I now get a different error in ColdFusion when I attempt to use WebAS 6.4.

It says:

"Error is server behavior CF6ProxyGen.htm: the value returned from applyServerBehavior is not a text string"

Like I said, when I use a public WSDL file in ColdFusion, it works fine. I am just using a test WSDL from SAP.

Any thoughts from anyone?

Thank you for those who responded.

Paula

eddy_declercq
Active Contributor
0 Kudos

Hi,

I've never encountered that problem but I've seen that problem in forums (on Actuate etc) but with no answers.

Some useful background info:

http://sdc.shockwave.com/support/ultradev/behaviors/create_extensions/create_extensions08.html

Eddy