Ask a Question related to ASP.NET Web Services, Design and Development.
-
Stephen Edgecombe #1
WSDL.EXE: WSDL Import Directive
Hi
I was supplied a WSDL file to use as the basis for creating a Web Service. I
tried to use the WSDL.EXE tool to generate the VB code to create the
service. It failed, with the following errors:
C:>wsdl /server /language:vb vehicleinventory.wsdl
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Error: Unable to import binding 'VehicleInventoryBinding' from namespace
'urn:schemas-autodesa-org:auto-industry-standards'.
- Unable to import operation 'VehicleInventoryOperation'.
- The element
'urn:schemas-autodesa-org:auto-industry-standards:VehicleInventoryMsg' is
missing.
If you would like more help, please type "wsdl /?".
We subsequently found that the WSDL has an "Import" Directive:
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:auto="urn:schemas-autodesa-org:auto-industry-standards"
targetNamespace="urn:schemas-autodesa-org:auto-industry-standards"
name="VehicleInventory">
<import namespace="urn:schemas-autodesa-org:auto-industry-standards"
location="http://webservices.toyota.com.au/schema/autodesa/0.1/VehicleInvent
ory.xsd"/>
and that WSDL.EXE had trouble importing the XML Schema (XSD) which also had
Imports.
We got around the problem by having the supplier of the WSDL 'fold' the
importef files into the WSDL.
Should WSDL.EXE be able to Import a XSD or is this a limitation?
Thanks
Steve
Stephen Edgecombe Guest
-
Unable to load WSDL. If currently online, please verifythe URI and/or format of the WSDL
Hello, I'm using Flex 2.0 Beta 3 with Flash Player 9. http://mywsdlurl)"] at">http://mywsdlurl)"</a> mx.rpc.soap::WSDLParser/::dispatchFault()... -
WSDL error on Flex app running on JBoss using WSDL to Weblogic
Hello, Not sure if my last post made it so sorry if this ends up being a duplicate post. I have a Flex 1.5 app running on JBoss 4.0.2 which uses... -
Import XSD schema into WSDL
I have an XSD file supplied by a company. I have to interact with a webservice on their site but they didn't supply a WSDL. I generated my own... -
wsdl.exe fails with WebMethods generated wsdl file
Using WebMethods, Inc Developer tool to create a wsdl for a flow service. Try to use .NET wsdl utility to create a C# proxy, but get the errors... -
WSDL file produces useless class when imported with WSDL.exe
I am having a problem with a WSDL file supplied by a client. When WSDL.exe is used, the WSDL file (shown later) produces the following output class....



Reply With Quote

