Lembrando que: <testando>(ola)</testando>, na verdade é com chave:
<testando>{ola}</testando>

abraços


2009/6/29 Vinicius <[email protected]>

>
> Pessoal este é meu código:
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="absolute">
>
> <mx:Script>
>        <![CDATA[
>                import mx.rpc.events.ResultEvent;
>
>                private function resultHandler(event:ResultEvent):void{
>
>
>
>
>                }
>
>        ]]>
> </mx:Script>
>
> <mx:WebService
>        id="PPService"
>        wsdl="http://www.empresa.com.br/axis2/services/PPService";
>        result="resultHandler(event);"
>        showBusyCursor="true"
> >
>
> <mx:operation name="testando">
>
> <mx:request xmlns="">
>
> <testando>(ola)</testando>
>
> </mx:request>
>
>
> </mx:operation>
>
>
>
> </mx:WebService>
>
> </mx:WindowedApplication>
>
>
> Dá esse erro:
> [RPC Fault faultString="HTTP request error"
> faultCode="Server.Error.Request" faultDetail="Unable to load WSDL. If
> currently online, please verify the URI and/or format of the WSDL
> (http://webcasting.giga.cpqd.com.br/axis2/services/PPService)"]
>        at mx.rpc.wsdl::WSDLLoader/faultHandler()[C:\autobuild
> \3.2.0\frameworks\projects\rpc\src\mx\rpc\wsdl\WSDLLoader.as:98]
>        at flash.events::EventDispatcher/dispatchEventFunction()
>        at flash.events::EventDispatcher/dispatchEvent()
>        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/
> internal::dispatchRpcEvent()[C:\autobuild\3.2.0\frameworks\projects\rpc
> \src\mx\rpc\AbstractInvoker.as:170]
>        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/
> internal::faultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src
> \mx\rpc\AbstractInvoker.as:225]
>        at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects
> \rpc\src\mx\rpc\Responder.as:53]
>        at
> mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects
> \rpc\src\mx\rpc\AsyncRequest.as:103]
>        at DirectHTTPMessageResponder/errorHandler()[C:\autobuild
> \3.2.0\frameworks\projects\rpc\src\mx\messaging\channels
> \DirectHTTPChannel.as:362]
>        at flash.events::EventDispatcher/dispatchEventFunction()
>        at flash.events::EventDispatcher/dispatchEvent()
>
>
> O serviço está certinho, pois com um cliente Java não tive problemas.
>
> Alguém pod eme ajudar?
>
> Obrigado.
>
> >
>


-- 
Marcel Pigozzi
http://thegeekers.wordpress.com/

"Procure ser uma pessoa de valor, em vez de procurar ser uma pessoa de
sucesso. O sucesso é conseqüência"

--~--~---------~--~----~------------~-------~--~----~
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para [email protected]
Para sair da lista, envie um email em branco para 
[email protected]
Mais opções estão disponíveis em http://groups.google.com/group/flexdev
-~----------~----~----~----~------~----~------~--~---

Responder a