Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / September 2005



Tip: Looking for answers? Try searching our database.

Web service connector in 2004 vs 8

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MDKelly - 26 Sep 2005 04:21 GMT
I'm connecting to a very simple web service that takes three text strings as
input and returns a text string as output. In MX 2004 Pro, I'm expecting to get
the string "mike" as output, but I get the following:
<MDKSecretMessageResponse
xmlns="MDKSecretMessage"><Message>mike</Message></MDKSecretMessageResponse>

In Flash 8, it simply returns the string "undefined"

Why would I get different results across versions? Here is the wsdl. Perhaps
it is the problem. Thanks for any help.
Mike

<?xml version="1.0" encoding="utf-8" ?>
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tenf="MDKSecretMessage" targetNamespace="MDKSecretMessage">
  <types />
- <message name="MDKSecretMessage-In">
  <part name="TFWSUser" type="xsd:string" />
  <part name="TFWSPassword" type="xsd:string" />
  <part name="Key" type="xsd:string" />
  </message>
- <message name="MDKSecretMessage-Out">
  <part name="Message" type="xsd:string" />
  </message>
- <portType name="MDKSecretMessage">
- <operation name="MDKSecretMessage">
  <input message="tenf:MDKSecretMessage-In" />
  <output message="tenf:MDKSecretMessage-Out" />
  </operation>
  </portType>
- <binding name="MDKSecretMessage" type="tenf:MDKSecretMessage">
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"
/>
- <operation name="MDKSecretMessage">
  <soap:operation style="rpc" soapAction="MDKSecretMessage" />
- <input>
  <soap:body use="literal" />
  </input>
- <output>
  <soap:body use="literal" />
  </output>
  </operation>
  </binding>
  <element />
- <service name="MDKSecretMessage">
- <port name="MDKSecretMessage" binding="tenf:MDKSecretMessage">
  <soap:address
location="http://10.150.8.71/TimeTracker/tffcweb20050829.161347.dll" />
  </port>
  </service>
  </definitions>
MDKelly - 28 Sep 2005 23:24 GMT
It looks like the reply comes in the 1999 SOAP schema instead of the 2001
schema. Flash 2004 didn't parse out the response correctly but Flash 8 just
returns "undefined." Is Flash not compatable with the 1999 SOAP schema? Here is
what the reply looks like:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/">
<soap:Body>
<MDKSecretMessageResponse>
<Message>You entered the correct key</Message>
</MDKSecretMessageResponse>
</soap:Body>
</soap:Envelope>
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.