Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > What is wrong with this WSDL file???

Reply
Thread Tools

What is wrong with this WSDL file???

 
 
jim.long@vanderbilt.edu
Guest
Posts: n/a
 
      03-23-2005
I am trying to write a custom WSDL file to interface with a SOAP::Lite
server. I am comming from an IIS server running ASP. I have network
snoops if they are needed. Could someone with more knowledge then
myself look at this file?

<?xml version="1.0"?>
<definitions name="FetchRRDShared"
targetNamespace="urn:FetchRRDShared"
xmlns:typens="urn:FetchRRDShared"
xmlnssd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">

<types>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:FetchRRDShared">

<xsd:complexType name="FetchRRDSharedResponse">
<xsd:all>
<xsd:element name="s-gensym9"
type="xsd:string"/>
</xsd:all>
</xsd:complexType>

</xsd:schema>
</types>

<message name="FetchRRDShared">
<part name="c-gensym3" type="xsd:string"/>
<part name="c-gensym5" type="xsd:int"/>
<part name="c-gensym7" type="xsd:string"/>
<part name="c-gensym9" type="xsd:int"/>
</message>

<message name="FetchRRDSharedResponse">
<part name="return" type="typens:GoogleSearchResult"/>

</message>

<portType name="FetchRRDSharedPort">

<operation name="FetchRRDShared">
<input message="typens:FetchRRDShared"/>
<output message="typens:FetchRRDSharedResponse"/>
</operation>

</portType>

<binding name="FetchRRDSharedBinding"
type="typens:FetchRRDSharedPort">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>

<operation name="doFetchRRDShared">
<soapperation soapAction="urn:FetchRRDSharedAction"/>
<input>
<soap:body use="encoded"
namespace="urn:FetchRRDShared"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="urn:FetchRRDShared"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>

<!-- Endpoint for Google Web APIs -->
<service name="FetchRRDSharedService">
<port name="FetchRRDSharedPort"
binding="typens:FetchRRDSharedBinding">
<soap:address
location="http://nnm02.mc.vanderbilt.edu/NetPerfSOAP/">
</port>
</service>

</definitions>


the ASP code that invokes this is:
<%
IP = request.form("IP")
IfIndex = request.form("IfIndex")
Metric = request.form("Metric")
Duration = request.form("Duration")

if IP > "" then
Set ObjSOAPClient = Server.CreateObject("MSSOAP.SoapClient30")
ObjSOAPClient.mssoapinit Server.MapPath("trend.wsdl")

Set ResultNodeList = ObjSOAPClient.FetchRRDShared (IP, IfIndex,
Metric, Duration)

end if
%>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
webservices, wsdl & xsd (schema-2-wsdl) Dark Java 1 11-14-2008 07:58 PM
wsdl.exe fails with WebMethods generated wsdl file mrnu ASP .Net Web Services 0 06-07-2004 04:51 PM
WSDL file produces useless class when imported with WSDL.exe RH ASP .Net Web Services 1 05-27-2004 09:40 PM
is the w3c's schema for wsdl and wsdl/soap binding possibly buggy ? _clb_ Chris Bedford XML 0 08-20-2003 11:52 PM
WSDL.EXE: WSDL Import Directive Stephen Edgecombe ASP .Net Web Services 0 08-13-2003 06:38 AM



Advertisments