473,796 Members | 2,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WSDL problems consuming Cisco Web Service

I am having a devil of a time getting WSDL.EXE to consume a WSDL file
that describes a web service (known as AXL) on a Cisco phone switch.
The WSDL file references four schemas and (I believe) two namespaces
via imports and includes. If anyone can help me look at the actual
files, I'll be more than happy to provide them. What follows is the
text of a post on a Cisco programmers forum that describes the problem
I'm having. I'm posting here because I suspect I'll have better luck
finding someone that can help. It's been driving me crazy.

-- Cisco Forum Post --

Microsoft's wsdl.exe tool (used to consume a WSDL file and generate a
client proxy for the web service) errors out on AXLAPI.wsdl. I think it
is in the way that dependent XSD files are imported/included.

Here is the output when you enter:

wsdl axlapi.wsdl

Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 1.1.4322.915]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Error: Unable to import binding 'AXLAPIBinding' from namespace
'http://www.cisco.co
m/AXLAPIService/'.
- Unable to import operation 'addPhone'.
- The element 'http://www.cisco.com/AXL/API/1.0:addPhone' is missing.

I've tried various things. An MS article
(http://support.microsoft.com/default...b;en-us;820122) seemed
to be a lead. The work around is to edit the files (the WSDL and
referenced schema files) a bit. But I couldn't come up with the right
combination. I will tell you that if you add arguments to the wsdl
command, you get different messages. For example:

wsdl AXLAPI.WSDL axlsoap.xsd axl.xsd

Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 1.1.4322.915]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Error: Unable to import binding 'AXLAPIBinding' from namespace
'http://www.cisco.co
m/AXLAPIService/'.
- Unable to import operation 'addPhone'.
- These members may not be derived.

I really don't want to have to roll my own SOAP/HTML to talk to the AXL
api. If I can get the proxy to generate, .NET makes the rest a piece of
cake. But this has stymied me so far.

Thanks for any and all help.

Nov 23 '05 #1
0 4979

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

Similar topics

0
1954
by: Dave | last post by:
Hi, If anyone could help with this, I would greatly appreciate it! I've created my own WSDL file and referenced an XSD file too. I've generated a service side interface using wsdl /server, and created an ASMX file from this. I've then set the Binding for the class and methods and set the Location to my WSDL file. If I put the wsdl:service element in the WSDL file that points to my endpoint, I can go to Add Web Reference and my methods...
5
3488
by: Benne Smith | last post by:
Hi, I have three enviroments; a development, a testing and a production enviroment. I'm making a big application (.exe), which uses alot of different webservices. I don't use the webservices by adding a WebReference, since it does not allow me to keep state (cookiecontainer) or to specify functions on the classes (like if i want to override the ToString() function on a class from my webservice). So the only way i can see how i can get...
1
2151
by: Wayne P. | last post by:
I need some guidance, as I am used to Visual Studio '03 taking care of this for me. I need to connect to a web service, but the web service does not provide a WSDL document to point to... Is there an easy way to setup and use SOAP without a WSDL document that sets everything up? TIA! Wayne
3
5306
by: Mike | last post by:
I have created a web service for a client to consume. The element I am having trouble with is, as described in their WSDL: <xsd:element minOccurs="0" ref="LocalData" maxOccurs="1" /> <xsd:element name="LocalData"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Y" /> <xsd:enumeration value="N" />
0
1692
by: Elhanan | last post by:
hi.. i have a small Web Service which is consumed by dotnet application the webservice is located in 2 places. the first is my local tomcat, and the second is in websphere server. problems is that if i generate a proxy from the wsdl in websphere, i can't get the databean if refer the proxy's url my tomcat's (i simply recive null). this is my tomcats's wsdl:
3
3058
by: Ben Crinion | last post by:
Hi im having a few problems consuming a SOAP::Lite web service. I think the problem is actually with the WSDL but im not sure. I have a SOAP::Lite client which works ok using the WSDL (which i defined by hand). The .NET client on the other hand does not work at all and i get this error when i send the request. Failed to access class (2001::XMLSchema): syntax error at (eval 91) line 1, near "require 2001"
1
3914
by: frustratedcoder | last post by:
I have this Perl soap client which is consuming a Perl based web service. #!perl -w use SOAP::Lite +trace => "debug"; SOAP::Lite ->uri("urn:WebServices") ->proxy("http://example.com") ->SomeMethodName('param1', 'param2') ->result;
4
3423
by: WebDev2 | last post by:
I have a web service created via Visual Web Developer Express Edition on a IIS Server with .NET 2.0 installed. The test page displays just fine when the URL of the .asmx page is entered into a browser i.e. "http://www.mydomain.com/Extranet/WebServices/TestWebServ.asmx" The WSDL displayed when accessing the .asmx via http://www.mydomain.com/Extranet/WebServices/TestWebServ.asmx?wsdl file has the wrong address location. It displays ...
3
5404
by: Arpan | last post by:
Web Services make use of proxy classes whose methods & properties are accessed in exactly the same way as how a normal class' methods & properties are accessed. So what for does ASP.NET generate proxy classes (using WSDL) which consume more hard disk space & resources? For e.g. consider the following code which exists in a user-defined class file: Imports System Imports System.Data
0
9685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10461
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10239
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10190
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10019
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6796
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5579
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.