Sure, here is the WSDL, I call it with the WEBService below:

  <?xml version="1.0" ?> 
- <!--  ATL Server generated Web Service Description 
  --> 
- <definitions xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:s0="urn:SerialDeviceService"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:atls="http://tempuri.org/vc/atl/server/";
targetNamespace="urn:SerialDeviceService"
xmlns="http://schemas.xmlsoap.org/wsdl/";>
- <types>
- <s:schema targetNamespace="urn:SerialDeviceService"
attributeFormDefault="qualified" elementFormDefault="qualified">
  <s:import namespace="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  </s:schema>
  </types>
- <message name="OpenPortIn">
  <part name="bstrPortName" type="s:string" /> 
  <part name="BaudRate" type="s:int" /> 
  <part name="ByteSize" type="s:int" /> 
  <part name="parity" type="s:string" /> 
  <part name="StopBits" type="s:int" /> 
  <part name="iReadTimeoutms" type="s:int" /> 
  </message>
- <message name="OpenPortOut">
  <part name="return" type="s:int" /> 
  </message>
- <message name="ReadIn">
  <part name="iDeviceNumber" type="s:int" /> 
  <part name="Count" type="s:int" /> 
  </message>
- <message name="ReadOut">
  <part name="return" type="s:string" /> 
  </message>
- <message name="WriteIn">
  <part name="iDeviceNumber" type="s:int" /> 
  <part name="Data" type="s:string" /> 
  </message>
  <message name="WriteOut" /> 
- <message name="ClosePortIn">
  <part name="iDeviceNumber" type="s:int" /> 
  </message>
  <message name="ClosePortOut" /> 
- <portType name="SerialDeviceServiceSoap">
- <operation name="OpenPort">
  <input message="s0:OpenPortIn" /> 
  <output message="s0:OpenPortOut" /> 
  </operation>
- <operation name="Read">
  <input message="s0:ReadIn" /> 
  <output message="s0:ReadOut" /> 
  </operation>
- <operation name="Write">
  <input message="s0:WriteIn" /> 
  <output message="s0:WriteOut" /> 
  </operation>
- <operation name="ClosePort">
  <input message="s0:ClosePortIn" /> 
  <output message="s0:ClosePortOut" /> 
  </operation>
  </portType>
- <binding name="SerialDeviceServiceSoap" type="s0:SerialDeviceServiceSoap">
  <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; style="rpc"
/> 
- <operation name="OpenPort">
  <soap:operation soapAction="#OpenPort" style="rpc" /> 
- <input>
  <soap:body use="encoded" namespace="urn:SerialDeviceService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  </input>
- <output>
  <soap:body use="encoded" namespace="urn:SerialDeviceService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  </output>
  </operation>
- <operation name="Read">
  <soap:operation soapAction="#Read" style="rpc" /> 
- <input>
  <soap:body use="encoded" namespace="urn:SerialDeviceService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  </input>
- <output>
  <soap:body use="encoded" namespace="urn:SerialDeviceService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  </output>
  </operation>
- <operation name="Write">
  <soap:operation soapAction="#Write" style="rpc" /> 
- <input>
  <soap:body use="encoded" namespace="urn:SerialDeviceService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  </input>
- <output>
  <soap:body use="encoded" namespace="urn:SerialDeviceService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  </output>
  </operation>
- <operation name="ClosePort">
  <soap:operation soapAction="#ClosePort" style="rpc" /> 
- <input>
  <soap:body use="encoded" namespace="urn:SerialDeviceService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  </input>
- <output>
  <soap:body use="encoded" namespace="urn:SerialDeviceService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; /> 
  </output>
  </operation>
  </binding>
- <service name="SerialDeviceService">
- <port name="SerialDeviceServiceSoap" binding="s0:SerialDeviceServiceSoap">
  <soap:address
location="http://192.168.0.7:80/SerialDevice/SerialDevice.dll?Handler=Defaul
t" /> 
  </port>
  </service>
  </definitions> 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Thursday, November 10, 2005 12:37 PM
To: [email protected]
Subject: [flexcoders] Re: Soap Question


Could we see the WSDL?  What encoding is the service using?  Can we
see how you are calling the service, etc.


-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 


--- In [email protected], "James" <[EMAIL PROTECTED]> wrote:
>
> I took out all the other operations, and I get the same error...
> 
> And yes I'm still pulling out my hair
> 
>  
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Dave Wolf
> Sent: Thursday, November 10, 2005 7:59 AM
> To: [email protected]
> Subject: [flexcoders] Re: Soap Question
> 
> If you were to re-write the <mx:WebService> tag so it only contained
> one operation each, does the problem go away?
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
> 
> Email:  [EMAIL PROTECTED]
> Office: 866-CYNERGY
> 
> --- In [email protected], "James" <[EMAIL PROTECTED]> wrote:
> >
> > Hello Everyone,
> >  
> > I'm getting a very strange error.
> >  
> > Request implements version: http://schemas.xmlsoap.org/soap/envelope/ 
> > Response implements version http://schemas.xmlsoap.org/wsdl/
> >  
> > I've looked in the Docs found nothing on this, and I don't know how to
> > modify the WEBService to change:
> >  
> > The WEBService:
> >  
> >     <mx:WebService id="PaymentWS" protocol="http"
> >  
> >
>
wsdl="http://localhost/SerialDevice/SerialDevice.dll?Handler=GenSerialDevice
> > WSDL"
> >   showBusyCursor="true"
> >         fault="faultHandler(event.fault.faultstring)"
> concurrency="multiple"
> > load="runServices()">
> >         <mx:operation name="OpenPort"
> > result="ResultHandler(event.result.OpenPortOut)">
> >          <mx:request>
> >              <bstrPortName>COM4</bstrPortName>
> >     <BaudRate>9600</BaudRate>
> >     <ByteSize>8</ByteSize>
> >     <parity>N</parity>
> >     <StopBits>1</StopBits>
> >     <iReadTimeoutms>300</iReadTimeoutms>
> >       </mx:request>
> >   </mx:operation>
> >         <mx:operation name="Read"
> > result="ReadResultHandler(event.result.ReadOut)">
> >    <mx:request>
> >     <iDeviceNumber>{ReadComPortNumber}</iDeviceNumber>
> >    </mx:request>
> >   </mx:operation>
> >         <mx:operation name="Write"
> > result="WriteResultHandler(event.result.WriteOut)">
> >    <mx:request>
> >     <iDeviceNumber>{WriteComPortNumber}</iDeviceNumber>
> >    </mx:request>
> >   </mx:operation>
> >         <mx:operation name="ClosePort"
> > result="CloseResultHandler(event.result.ClosePortOut)">
> >    <mx:request>
> >     <iDeviceNumber>{CloseComPortNumber}</iDeviceNumber>
> >    </mx:request>
> >   </mx:operation>
> >     </mx:WebService>
> > Any help would greatly be appreciated
> >  
> > James
> >
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>







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



 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to