NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
NuSOAP with Flash

Joined: 31 May 2006
Posts: 3
Location: Atlanta, GA
Reply with quote
Has anyone successfully used NuSOAP+ComplexTypes+Flash before? I set up a NuSOAP service that has one complexType that is a struct, and another that is an array of that struct. These all work fine with a NuSOAP client (, but with Flash it is a different story.

In Flash I create the WebServiceConnector and make the soap call. This works fine for an echoString operation that takes and returns an xsd:string, but it seems to get confused when I call the operations that use complexTypes. When I get a result, I parse it into XML. Flash returns that it is an xml, but I can't traverse it or get any information about it.

Does this sound familiar to anyone?

Here are the ComplexTypes that I define:

   'id' => array('name'=>'page','type'=>'xsd:int'),
        'url' => array('name'=>'title','type'=>'xsd:string'),
        'title' => array('name'=>'title','type'=>'xsd:string'),
      'mediatype' => array('name'=>'title','type'=>'xsd:string'),
      'genre' => array('name'=>'title','type'=>'xsd:string'),
      'startTime' => array('name'=>'page','type'=>'xsd:int'),
      'playLength' => array('name'=>'page','type'=>'xsd:int'),
      'album' => array('name'=>'title','type'=>'xsd:string')

View user's profileFind all posts by jefftimestenSend private messageAIM Address
Site Admin

Joined: 13 Jul 2003
Posts: 8147
Reply with quote
what it "gets confused" what does it actually say? Can you provide more details on the problem?
View user's profileFind all posts by dmitriSend private messageVisit poster's website
NuSOAP with Flash
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

 Reply to topic