473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

How to create a Webservice style WSDL file in WCF(mex)?

Hi all.

I have some trouble by using WCF while creating WSDL.

Please follow that:
1 Create a WCF service in EXE mode (not tried in IIS), add a basicHTTPBinding and a mexHttpBinding.
2 Run it, and get the WSDL of your service. You should got something like this:
<?xml version="1.0" encoding="utf-8" ?
- <wsdl:definitions name="Service_WCF" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
- <wsdl:types>
- <xsd:schema targetNamespace="http://tempuri.org/Imports">
<xsd:import schemaLocation="http://localhost:30099/?xsd=xsd0" namespace="http://tempuri.org/" /
<xsd:import schemaLocation="http://localhost:30099/?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" /
<xsd:import schemaLocation="http://localhost:30099/?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /
</xsd:schema>
</wsdl:types>
- <wsdl:message name="MyFunction_InputMessage">
<wsdl:part name="parameters" element="tns:MyFunction" /
</wsdl:message>
...

Please notify the short version of wsdl:types with "import" command.

The problem is here. I need to use Delphi 7 to build a client for some reason. But that elder cannot recognize "import" command. So Delphi 7 cannot get any description about parameter of any method which was described in http://localhost:30099/?xsd=xsd0.

4 Please create a WebService project, and you can get another kind of WSDL which included all parameter descriptions in wsdl:typs.

Please help me that: HOW can I get the original Web Service kind WSDL in WCS EXE (mexHTTPBinding or something else).

Thanks for any information. >.<

Nov 27 '07 #1
0 2641

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ronald S. Cook | last post by:
Hi, Some users on our domain can run our WCF application no problem. Some get an unhandled exception error re: SOAP security negotiation. I'm wanting the service to not be secure.. I just want...
1
by: Tobias Grimm | last post by:
Hi! I'm trying to get a WebService running (self hosting, without IIS) that uses SSL and loads the SSL key/certificate from a file (without using httpcfg.exe). I have a running service and...
2
by: =?Utf-8?B?QnJhdmVzQ2hhcm0=?= | last post by:
I am not sure if this is the right form because I didn't see any WCF forms. Anyway, I made a very simple WCF object and hosted it in IIS. Now I have a client that builds 20 threads, and have each...
1
by: Ronald S. Cook | last post by:
Performance in our WCF application is very poor now that we've added a number of records to tables (not an unrealistic number, though). After doing that, we did get "max message size" errors to I...
1
by: Ronald S. Cook | last post by:
Performance in our WCF application is very poor now that we've added a number of records to tables (not an unrealistic number, though). After doing that, we did get "max message size" errors to I...
0
by: =?Utf-8?B?QnJhZA==?= | last post by:
I'm after a simple way to expose IMetaDataExchange from multiple WCF services at a single location. Therefore a client could look at one address and get all the endpoints from all services on that...
4
by: AliR \(VC++ MVP\) | last post by:
Hi everyone, I'm writing a silverlight 2.0 application that uses a web service. The web service is a WCF web service and it uses a class library that I have written. When I add a method to the...
2
by: Steven Cheng | last post by:
Hi Gary, As for the setting you mentioned, it is used to custimze the received data size limitation of WCF binding(such as NetTcpBinding or HttpBinding). After you have definite a customized...
0
by: =?Utf-8?B?a2F1c2hhcw==?= | last post by:
Apologies for cross posting to couple of WCF related forums, but I am frantically trying to find a solution to this WCF Mex endpoint problem described below: I am getting this weird error when...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.