Question
BlazeDS as a simple proxy for Flex app using Imported Web Services
After posting to the BlazeDS group, it was recommended that I repost here.
I have been developing a flex application that consumes a 3rd party WSDL. I imported that WSDL using the built in flex WSDL data utilities available under the (Flex 3) Data menu. Things were progressing.
Being new to the whole thing, it took me awhile to determine why I was unable to get the SOAP error codes. After learning that error codes in 500 range are not returned, and that using a proxy such as BlazeDS will allow me to see the SOAP errors, I decided to try to make this work.
Enter BlazeDS.
After scouring the web, reading a lot, looking at the examples, etc., I can now create new projects and, using webservices directly, get results using the BlazeDS proxy.
However, try as I might, I have been unable to create a project that imports the WSDL using the flex data tools, and then have the project work against BlazeDS. The automatically generated webservice class supports instantiation with a destination and proxy address. But any time I use either an AMF or HTTP endpoint, I immediately get decoding errors on the first webservice call.
I'm sure that I'm missing something highly obvious.
Any thoughts would be appreciated.
- Steve
I have been developing a flex application that consumes a 3rd party WSDL. I imported that WSDL using the built in flex WSDL data utilities available under the (Flex 3) Data menu. Things were progressing.
Being new to the whole thing, it took me awhile to determine why I was unable to get the SOAP error codes. After learning that error codes in 500 range are not returned, and that using a proxy such as BlazeDS will allow me to see the SOAP errors, I decided to try to make this work.
Enter BlazeDS.
After scouring the web, reading a lot, looking at the examples, etc., I can now create new projects and, using webservices directly, get results using the BlazeDS proxy.
However, try as I might, I have been unable to create a project that imports the WSDL using the flex data tools, and then have the project work against BlazeDS. The automatically generated webservice class supports instantiation with a destination and proxy address. But any time I use either an AMF or HTTP endpoint, I immediately get decoding errors on the first webservice call.
I'm sure that I'm missing something highly obvious.
Any thoughts would be appreciated.
- Steve
