Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Problem constructing a web service request wich does not include namespace

Avatar

10-07-2008

Hi!

I'm evaluating Flex 3 for a web development.

I'm having problems with a web service invocation.



This is the soap request made with Soap UI:



<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:open="
http://www.openuri.org/">

<soapenv:Header/>

<soapenv:Body>

<open:querySoftware>

<open:imei></open:imei>

<open:groupId></open:groupId>

</open:querySoftware>

</soapenv:Body>

</soapenv:Envelope



<mx:WebService id="giService" wsdl="
http://..." result="onResult(event)">

<mx:operation name="querySoftware">

<imei>1<imei>

</mx:request>

</mx:operation>

</mx:WebService>



When invoking operation I get this error:



[RPC Fault faultString="HTTP request error"
faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
type="ioError" bubbles=false cancelable=false eventPhase=2
text="Error #2032: Error de secuencia. URL: ]

at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\...

at
mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49]

at
mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]

at
DirectHTTPMessageResponder/errorHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:343]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at flash.net::URLLoader/redirectEvent()



I see that Flex is making the request like the following
wichi is not correct according to Soap UI request:



<querySoftware>

<imei></imei>

<groupId></groupId>

<querySoftware>



How could I construct the request to include the open:
namespace?



Thanks a lot.

Replies

Avatar

Avatar
Level 1
EDendramis
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
EDendramis
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
EDendramis
Level 1

11-07-2008

I actually worked through this problem yesterday. This thread
should help you:






http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=585&threadid=1377262&e...