473,770 Members | 1,994 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Generating Proxy class from WSDL

3 New Member
Client has provided me a WSDL file generated using BPEL v10.1.3.3.0. When i try to generate the proxy class in visual studio .net 2003 I am getting the following error.

Reading WSDL from: C:\wsdl\Custome rcheck_rs.wsdl
Unable to generate source files from contract:
The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There is an error in XML document (9, 10).
- A schema with the namespace '' has already been added.

I am stuck. It is really urgent. Can any one please help.

Thanks in advance

Regards
kiran
Aug 26 '07 #1
4 9783
Divya08
9 New Member
Do you have the webservice class with you?
are u trying to generate a proxy class with .net cmd prompt?
Aug 26 '07 #2
devikiran
3 New Member
Do you have the webservice class with you?
are u trying to generate a proxy class with .net cmd prompt?
I have wsdl file with me. Using wsdl.exe utility i am trying to generate the proxy class.
Aug 27 '07 #3
Divya08
9 New Member
wsdl.exe /namespace:<Name space required> /out:<output file name> /appsettingurlke y:<url key> http://localhost/AdminServices/File.asmx?wsdl


"namespace" name is required if the webservice is present in same application root
"appsettingurlk ey" is optional if u r trying to access from a appsettingkey in web.config

Hope this would help you..
Aug 27 '07 #4
devikiran
3 New Member
I have tried with wsdl.exe but it is throwing the same error what i have told in the original message. It seems .net 2003 do not understand the tags given in the wsdl. I am not that familiar with wsdl. So if can tell me what need to be changed it would be good. following is my wsdl

<?xml version = '1.0' encoding = 'UTF-8'?>
<definitions targetNamespace ="http://www.phones4u.co .uk/CustomerCheck/CustomerCheckco re" xmlns="http://schemas.xmlsoap .org/wsdl/" xmlns:tns="http ://www.phones4u.co .uk/CustomerCheck/CustomerCheckco re" xmlns:ws="http://www.example.com/webservice" xmlns:http="htt p://schemas.xmlsoap .org/wsdl/http/" xmlns:plt="http ://schemas.xmlsoap .org/ws/2003/05/partner-link/" xmlns:esb="http ://www.oracle.com/esb/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/" xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/" xmlns:import="h ttp://www.phones4u.co .uk/CustomerCheck/CustomerCheckco re">
<import namespace="http ://www.phones4u.co .uk/CustomerCheck/CustomerCheckco re" location="Custo merCheck.wsdl"/>
<binding name="__soap_Cu stomerCheck_RS_ CustomerCheck" type="tns:Custo merCheck">
<soap:binding xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/" style="document " transport="http ://schemas.xmlsoap .org/soap/http"/>
<operation name="process">
<soap:operati on xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/" style="document " soapAction="pro cess"/>
<input>
<soap:body xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/" use="literal"/>
</input>
<output>
<soap:body xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/" use="literal"/>
</output>
</operation>
</binding>
<binding name="__esb_Cus tomerCheck_RS_C ustomerCheck" type="tns:Custo merCheck">
<esb:binding/>
<operation name="process">
<esb:operatio n event-name="CustomerC heck.CustomerCh eckCore.Custome rCheck_RS.proce ss"/>
<input/>
<output/>
</operation>
</binding>
<service name="CustomerC heckService">
<port name="__soap_Cu stomerCheck_RS_ CustomerCheck" binding="tns:__ soap_CustomerCh eck_RS_Customer Check">
<soap:address xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/" location="http://localhost:8888/event/CustomerCheck/CustomerCheckCo re/CustomerCheck_R S"/>
</port>
<port name="__esb_Cus tomerCheck_RS_C ustomerCheck" binding="tns:__ esb_CustomerChe ck_RS_CustomerC heck">
</port>
</service>
<plt:partnerLin kType name="CustomerC heckLT">
<plt:role name="CustomerC heckProvider">
<plt:portType name="tns:Custo merCheck"/>
</plt:role>
</plt:partnerLink Type>
</definitions>
Aug 28 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1756
by: amine | last post by:
Hi, I have created a proxy class from a wsdl document and I want to add it to my project. but the generated proxy class contains packages like system.web that are not supported by the .NET compact framework. does anyone have any idea how to fix this problem Thank you ..
5
3487
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...
9
3220
by: MSDNAndi | last post by:
Hi, I have a set of simple webservices calls that worked fine using .NET Framework 1.0. I am calling a Java/Apache based webservices, the calling side is not able to supply a proper WSDL. What it does is to call a webservice with two parameters, one being a integer, the other one being a "String" which contains XML (not the best practice, however that is the target interface and we cannot change that).
1
2862
by: louis_la_brocante | last post by:
Dear all, I am having trouble generating a client proxy for a webservice whose methods return a "complex" type. The type is complex in that it is a class whose members are a mix of primitive types and of more elaborate classes implementing IXmlSerializable. The resulting WSDL file for the webservice has two separate schemas in its <types> sections, and the client proxy (generated with wsdl.exe) is missing the definitions of the...
0
5115
by: Richard Gregory | last post by:
Hi, I have the wsdl below, for an Axis web service, and when I select Add Web Refernce in Visual Studio the proxy is missing a class representing the returnedElementsType (see reference.cs below the wsdl). This complex type is a collection of another complex type(elementType), and the Reference.cs has an array of these rather than the single returnedElementsType. If If I want to be able to obtain these elements from the SOAP response I...
0
1994
by: bbalet.free.fr | last post by:
The “Add Web Reference” Visual tool generates bad classes (from WSDL schema) for ComplexType containing only one element (wsdl.exe and wseWsdl3.exe tools have the same problem) : if a ComplexType A contains only one element, the tool don’t generate a class for the ComplexType A. It generates a class only for the element type (B) included in this ComplexType (if this type contains more than one element...). For types in WSDL schéma...
9
11937
by: Cesar | last post by:
Hello there, A java programmer sent me a wsdl file, which I have to use to consume his web methods. When I run the wsld.exe tool to generate the class' code, I get the following message: CODEGEN: The operation binding 'getAvaluos' from namespace 'urn:m15.AvaluosPortType' was ignored. The combination of style=rpc with use=literal is not supported.
0
1386
by: =?Utf-8?B?S2FydW5ha2Fy?= | last post by:
Hi Everyone, I have reached a dead end in trying to solve the following problem. I have been given this wsdl that is already in operation in production systems throughtout the world (its part of a package). However it runs on the Java Platform and by the looks of it uses Soap with Attachments which is not supported by Microsoft natively at present. I have checked the validity of the WSDL using the Altova WSDL
0
1609
by: freshj | last post by:
I am attempting to create a C# proxy using WseWsdl3 against a WSDL file created by out Java development staff. I am having the hardest time figuring out what the issue is. Any help would be greatly appreciated. The error message is Error: Unable to import binding 'BusinessHierarchyBinding' from namespace 'http://com/jpmc/cio/bhservice'. - Unable to import Operation: 'GetBookList' - Operation Binding 'GetBookList' from Namespace...
0
9454
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
10101
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
10038
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
9906
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
8933
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 projectplanning, coding, testing, and deploymentwithout 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...
0
6710
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
5354
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
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.