Expand my Community achievements bar.

Proxy-config wsdl question

Avatar

Level 1

When defining my destenatoin in the proxy-config.xml, Is it possible to point to a wdsl  located on the local file system?

I am trying to connect TIBCO web-services which do not advertise the WSDL.

-jh

2 Replies

Avatar

Level 1

You peaked my interest so I did the following.

FIrst, I found a simple service (calculate) online and copied it's WSDL to my local drive.

http://www.dneonline.com/calculator.asmx?WSDL

I added the file reference to it in my proxy-config.xml.

<wsdl>file://c:/calculator.wsdl</wsdl>

No luck!

However, since I had the WSDL, I placed it on my local TOMCAT (LCDS) instance so that I could reference it via HTTP.

<destination id="testWSDLFile">

<properties>

<wsdl>http://localhost:8400/lcds/wsdl/calculator.wsdl</wsdl>

<soap>*</soap>

</properties>

<adapter ref="soap-proxy"/>

</destination>

Once i did that, I could use the Data Service wizard in FlashBuilder and everything seemed to work. I was worried that I might have crossdomain issue-something to consider I suppose. Otherwise .. all good.

Hope that helps some

-bob-

Avatar

Level 1

That did help ~ sorry for the late response, I just decided to include the

WSDL file in the war deployment and self reference it.

I figured that any change i needed to make would require me to redeploy the war anyways.

-jh