XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Harish DeshpandeSubject: Help Creating a new wsdl
Author: Harish Deshpande
Date: 06 Nov 2006 10:32 AM
I am sorry if I am posting this in the wrong forum.
Have gone through the documentation and could not figure out a way of creating a new wsdl for a web service I intend to create(not call). How can I go about doing this?

I tried opening a wsdl I had created and when I tried to open it in SS I get the error: Unsupported URL scheme """"

Thanks in advance.

Here is the wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.example.org/wsdl01/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:types="tws"
name="wsdl01"
targetNamespace="http://www.example.org/wsdl01/">

<wsdl:types>
<xs:schema
xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
elementFormDefault = "qualified"
targetNamespace = "http://localhost:8080/ReqResp">
<xsd:import namespace = "tws"
schemaLocation="vvws.xsd"/>
<xsd:import namespace = "http://www.w3.org/2001/XMLSchema" />
</xs:schema>
</wsdl:types>

<wsdl:message name="Request">
<wsdl:part element="types:Person" name="pers"/>
</wsdl:message>
<wsdl:message name="Response">
<wsdl:part element="types:Order" name="ordr"/>
</wsdl:message>

<wsdl:portType name="wsdl01PortType">
<wsdl:operation name="getOrder">
<wsdl:input message="tns:Request"/>
<wsdl:output message="tns:Response"/>
</wsdl:operation>
</wsdl:portType>

<wsdl:binding name="getOrderSOAPBinding" type="tns:wsdl01PortType">
<soap:binding style="message"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="getOrder">
<soap:operation style="message" soapAction="getOrder" />
<wsdl:input>
<soap:body use="message" />
</wsdl:input>
<wsdl:output>
<soap:body use="message" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:service name="getOrderService" >
<wsdl:port name="getOrderSOAPPort"
binding="tns:getOrderSOAPBinding">
<soap:address
location="http://localhost:8080/AxisWeb/services/ReqResp" />
</wsdl:port>
</wsdl:service>

</wsdl:definitions>

The schema that is referenced is:
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="tws" xmlns="tws">
<xs:element name="Order">
<xs:complexType>
<xs:sequence>
<xs:element name="OrderNumber" type="xs:string"/>
<xs:element name="Status" type="xs:string"/>
<xs:element ref="Person"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Person">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Street" type="xs:string"/>
<xs:element name="City" type="xs:string"/>
<xs:element name="State" type="xs:string"/>
<xs:element name="PostalCode" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>


UnknownNoname(27).

Posttop
Tony LavinioSubject: Help Creating a new wsdl
Author: Tony Lavinio
Date: 17 Nov 2006 09:01 AM
Probably when you tried to open it, you used the Web Service
Call Composer instead of the XML Editor.

You can fix the file association under Tools|Options.

You may want to read up on the WSCC to see how it relates to
WSDL files in the documentation. It is not a WSDL editor, but
is used to call web services that themselves expose WSDL.

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.