473,809 Members | 2,826 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WSDL not properly parsed

I am generating a web service from an application called Remedy. It
has a sort of wizard that is responsible for creating the web service.
It produces the following WDSL file that is properly parsed by
SOAPSonar and other applications. However, when I try to bring it into
both Visual Studio 2003 and 2005 it doesn't seem to parse out the WSDL
properly.

The problem is that the method called GetItem should have one input
parameter and three output strings (in some sort of XML structure).
When VS receives this WSDL it defines a method that looks like:

Public Function GetItem(ByVal Change_ID As String, ByRef Item As
String, ByRef Status As RemedyTest.Reme dyGetCTIStatus. StatusType,
ByRef Type As String) As String
The WDSL is:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitio ns targetNamespace ="urn:CHG_GetCT I" xmlns="http://
schemas.xmlsoap .org/wsdl/" xmlns:ns0="http ://www.edmonton.ca/
ChangeRequest.x sd" xmlns:s="urn:CH G_GetCTI" xmlns:soap="htt p://
schemas.xmlsoap .org/wsdl/soap/" xmlns:soapenc=" http://
schemas.xmlsoap .org/soap/encoding/" xmlns:wsdl="htt p://
schemas.xmlsoap .org/wsdl/" xmlns:xsd="http ://www.w3.org/2001/
XMLSchema">
<wsdl:types>
<xsd:schema elementFormDefa ult="qualified"
targetNamespace ="urn:CHG_GetCT I">
<xsd:import namespace="http ://www.edmonton.ca/ChangeRequest.x sd"/>
<xsd:element name="GetItem" type="s:GetInpu tMap"/>
<xsd:complexTyp e name="GetInputM ap">
<xsd:sequence >
<xsd:element name="Change_ID " type="xsd:strin g"/>
</xsd:sequence>
</xsd:complexType >
<xsd:element name="GetItemRe sponse" type="ns0:Chang eRequest"/>
<xsd:element name="Authentic ationInfo" type="s:Authent icationInfo"/
>
<xsd:complexTyp e name="Authentic ationInfo">
<xsd:sequence >
<xsd:element name="userName" type="xsd:strin g"/>
<xsd:element name="password" type="xsd:strin g"/>
<xsd:element minOccurs="0" name="authentic ation"
type="xsd:strin g"/>
<xsd:element minOccurs="0" name="locale" type="xsd:strin g"/>
<xsd:element minOccurs="0" name="timeZone" type="xsd:strin g"/>
</xsd:sequence>
</xsd:complexType >
</xsd:schema>
<xsd:schema elementFormDefa ult="qualified" targetNamespace ="http://
www.edmonton.ca/ChangeRequest.x sd" xmlns:xsd="http ://www.w3.org/2001/
XMLSchema">
<xsd:complexTyp e name="ChangeReq uest">
<xsd:sequence >
<xsd:element name="Category" type="xsd:strin g"/>
<xsd:element name="Type" type="xsd:strin g"/>
<xsd:element name="Item" type="xsd:strin g"/>
</xsd:sequence>
</xsd:complexType >
</xsd:schema>
</wsdl:types>
<wsdl:message name="ARAuthent icate">
<wsdl:part element="s:Auth enticationInfo" name="parameter s"/>
</wsdl:message>
<wsdl:message name="GetItemSo apOut">
<wsdl:part element="s:GetI temResponse" name="parameter s"/>
</wsdl:message>
<wsdl:message name="GetItemSo apIn">
<wsdl:part element="s:GetI tem" name="parameter s"/>
</wsdl:message>
<wsdl:portTyp e name="CHG_GetCT IPortType">
<wsdl:operati on name="GetItem">
<wsdl:input message="s:GetI temSoapIn"/>
<wsdl:output message="s:GetI temSoapOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CHG_GetCT ISoapBinding"
type="s:CHG_Get CTIPortType">
<soap:binding style="document " transport="http ://
schemas.xmlsoap .org/soap/http"/>
<wsdl:operati on name="GetItem">
<soap:operati on soapAction="urn :CHG_GetCTI/GetItem"
style="document "/>
<wsdl:input>
<soap:header message="s:ARAu thenticate" part="parameter s"
use="literal">
</soap:header>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CHG_GetCT IService">
<wsdl:documenta tion>
Get Category, Type and Item of a CR </wsdl:documentat ion>
<wsdl:port binding="s:CHG_ GetCTISoapBindi ng"
name="CHG_GetCT ISoap">
<soap:address location="http://blue:8080/arsys/services/
ARService?serve r=remedy_dev1we bService=CHG_Ge tCTI"/>
</wsdl:port>
</wsdl:service>
</wsdl:definition s>

Mar 21 '07 #1
1 1660
Oops, the function that VS defines looks like:

Public Function GetItem(ByVal Change_ID As String, ByRef Type As
String, ByRef Item As String) As String

Mar 21 '07 #2

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

Similar topics

4
4756
by: jm | last post by:
I am new to WSDL and familiar with XML, but have used them very little. What I am used to is ASP and now ASP .NET using a datagrid or something like that. What I am trying to find out is when an introduction to WSDL says "after building a web service, one publishes a WSDL to tell users how to get to the service..." how does one create a web service? If I use WSDL, does that mean I don't have ASP .NET pages anymore and do it in...
2
1740
by: hellrazor | last post by:
Hi there, I'm trying to import the following files as web reference: http://216.18.68.93:9999/CollectionWsInterface.wsdl The hosted web service was not created with Visual Studio.net.
2
4201
by: Ryan Folstad | last post by:
Hello, I have been provided a wsdl file for a webservice that i would like to call with .net. Everything works fine however if the method throws an exception (fault) no SoapException is thrown and no response is visible from the generated class. 2 questions. 1. From within the wsdl generated class file how do i see the actually soap
0
1281
by: Cordell Lawrence | last post by:
Gosh darn it MS guys, I mean ... excuse me a bit cause I'm a little fustrated by having to include my external schemas into my WSDL definition every time I make a chage because the WSDL.EXE is broke. I'm refering to the following known problem: http://support.microsoft.com/default.aspx?scid=kb;en-us;820122 BUG: "Unable to Import Binding from Namespace" Error Message Occurs When You Try to Create an XML Web Service Proxy File by Using...
0
899
by: lozd | last post by:
Hi, I've been building a webservice in dotnet to match a provided WSDL document to allow interoperability with a third party developer's system. As a start point I used the wsdl.exe command line tool to build an abstract service class based on the document and alterred it for use in the actual service. Having finished the service I've tried pointing the third party's system at it. The system gives an error message indicating a HTTP 405...
0
1087
by: loucas | last post by:
Hello, I am writing a C# client for a SOAP Web Service. A java client (whose source code is available to me) is already working on the Web Service without any problems. However, when I try to wsdl or add the Web Reference for visual studio not all the classes get parsed. (I am missing all the exception classes and some functionality classes.) The wsdl file gets correctly loaded in the browser and the java client works fine - so I...
3
11696
by: jparulan | last post by:
Hi All, I'm using SOAP3.0. I was able to successfully call a WSDL file and get a value properly. But when the WSDL changed to have a MULTIPLE <element name> it was failing. This code works BEFORE: strCurrency = oSOAP.eServeSearch(CSTR(Request.Form("T1"))) until the WSDL file changed to have more <element name> T1 is just a field that accepts a STRING
1
2804
by: Rubber_Soul | last post by:
Hi, I create an application in VS2005 C#. There is some data which I send to a WebService to a company X. In my project I've added a Web reference to their WebServices and everything works great. But now i have to create my own WebService which should works with requests sending from their applications. They (company X) sent me a WSDL file witch contains all classes and method that I should to implements. And the problem is, how to do...
2
3787
by: Scott Sauyet | last post by:
I'm trying to select a subset of a WSDL document using XSLT and a simple text document describing the high-level elements to include. I have it working fine for selecting the services, bindings, portTypes, and messages to use. But I'm stumped on how to get the xs:simpleType and xs:complexType elements filtered properly. I am not trying to do this in a generic way. The WSDL is generated by a tool in our backend system, and I know a fair...
0
9721
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
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10376
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...
0
9198
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7651
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
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
5548
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
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3011
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.