473,394 Members | 1,841 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,394 software developers and data experts.

Generating Proxy class from WSDL

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\Customercheck_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 9751
Do you have the webservice class with you?
are u trying to generate a proxy class with .net cmd prompt?
Aug 26 '07 #2
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
wsdl.exe /namespace:<Namespace required> /out:<output file name> /appsettingurlkey:<url key> http://localhost/AdminServices/File.asmx?wsdl


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

Hope this would help you..
Aug 27 '07 #4
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/CustomerCheckcore" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.phones4u.co.uk/CustomerCheck/CustomerCheckcore" xmlns:ws="http://www.example.com/webservice" xmlns:http="http://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="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:import="http://www.phones4u.co.uk/CustomerCheck/CustomerCheckcore">
<import namespace="http://www.phones4u.co.uk/CustomerCheck/CustomerCheckcore" location="CustomerCheck.wsdl"/>
<binding name="__soap_CustomerCheck_RS_CustomerCheck" type="tns:CustomerCheck">
<soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="process">
<soap:operation xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" soapAction="process"/>
<input>
<soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
</input>
<output>
<soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
</output>
</operation>
</binding>
<binding name="__esb_CustomerCheck_RS_CustomerCheck" type="tns:CustomerCheck">
<esb:binding/>
<operation name="process">
<esb:operation event-name="CustomerCheck.CustomerCheckCore.CustomerChec k_RS.process"/>
<input/>
<output/>
</operation>
</binding>
<service name="CustomerCheckService">
<port name="__soap_CustomerCheck_RS_CustomerCheck" binding="tns:__soap_CustomerCheck_RS_CustomerCheck ">
<soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://localhost:8888/event/CustomerCheck/CustomerCheckCore/CustomerCheck_RS"/>
</port>
<port name="__esb_CustomerCheck_RS_CustomerCheck" binding="tns:__esb_CustomerCheck_RS_CustomerCheck" >
</port>
</service>
<plt:partnerLinkType name="CustomerCheckLT">
<plt:role name="CustomerCheckProvider">
<plt:portType name="tns:CustomerCheck"/>
</plt:role>
</plt:partnerLinkType>
</definitions>
Aug 28 '07 #5

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

Similar topics

3
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...
5
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...
9
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. ...
1
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...
0
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...
0
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...
9
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: ...
0
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
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
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...
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...

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.