I am using wsdl imports for schemas and that works ok.

 

You have to be careful with the URL in the import though. Initially, in my situation, the external IP-address of the server was used in the import-URL, while I was testing the application from ‘localhost’. Flex’ security mechanism then prohibits to download from the URL on an other IP-address.

 

After I started my application on the external IP-address, all worked fine.

 

Cheers,
Franck

 


From: [email protected] [mailto:[email protected]] On Behalf Of Peter Farland
Sent: Tuesday, June 06, 2006 5:18 PM
To: [email protected]
Subject: RE: [flexcoders] Flex 2.0b3 & WebServices

 

Do you have a fully qualified URL for the wsdl attribute on the <mx:WebService> tag?

 

Flex 2 should support WSDL imports.


 


From: [email protected] [mailto:[email protected]] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 10:52 AM
To: [email protected]
Subject: [flexcoders] Flex 2.0b3 & WebServices

Guys,

I'm trying to call a webservice and getting an error when FlexServer tries
to read the wsdl.

The WebService is deployed on a Websphere box and the wsdl files are
divided into two pieces :

a) A Service Wsdl and,
b) An Interface wsdl.

The Service Wsdl imports the Interface wsdl file and runs fine when tested
inside WebSphere test environment. I'm using Cairngorm2b3 to get to the
WebService but receive the following error at the start of the application
:

[RPC Fault faultString="Cannot resolve relative WSDL import without a fully
qualified base address." faultCode="Client.WSDL.Import" faultDetail="Please
specify the location of the WSDL document for the WebService."]
at mx.rpc.soap::WSDLParser/::dispatchFault()
at
mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at
::HTTPMessageResponder/HTTPChannel.as$8:HTTPMessageResponder::resultHandler()
at ::HTTPMessageResponder/completeHandler()
at ::ChannelRequestLoader/::callEventCallback()
at ::ChannelRequestLoader/::completeHandler()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

I'm guessing that Flex can only read WSDL files with inline schemas ? Does
anyone have any pointers ?

Thanks in advance,
Praful

Praful Aggarwal
Lending Projects Team
EBS IT Department
praful.aggarwal@mail.ebs.ie
Ph : +353-1-6659256

"Wrinkles should merely indicate where smiles have been - Mark Twain"

Savings - Home Loans - Personal Loans - Investments - Credit Card - Insurance

all together better EBS Building Society www.ebs.ie

**********************************************************************
Terms and Conditions apply. EBS is regulated by the Financial Regulator.
**********************************************************************
The information contained in this communication is intended solely for
the use of the individual or entity to whom it is addressed. It may
contain confidential or legally privileged information. If you are not
the intended recipient you are hereby notified that
any disclosure, copying, distribution or taking any action in reliance
on the contents of this information is strictly prohibited and may be
unlawful. If you have received this communication in error, please
notify us immediately by responding to this email and then delete it from
your system.

Any personal opinions expressed in this e-mail are views of the
individual and do not necessarily reflect the views of the EBS Group.
The content of this e-mail may have been sent without the authority of
the EBS Group.

EBS Group cannot guarantee that this e-mail and attachments are free of viruses and you must ensure that you carry out your own virus checks. EBS

Group accepts no liability for any loss or damage caused by software
viruses.

www.ebs.ie

*******************************************************************

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to