User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the XML, XSLT and XPATH section within the Software Development category of DaniWeb, a massive community of 425,924 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,697 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our XML, XSLT and XPATH advertiser: Programming Forums
Views: 10061 | Replies: 2
Reply
Join Date: Feb 2007
Posts: 1
Reputation: syed.ijaz is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
syed.ijaz syed.ijaz is offline Offline
Newbie Poster

Create proxy class from WSDL (.net & java)

  #1  
Feb 4th, 2007
Our company is doing a project for the City of Chicago and we are trying to communicate with their servers using web services. Their environment is java based but we are using .NET on our end. The problem we are currently facing right now is that we are not able to generate a proxy class using the wsdl they have provided us. This is the WSDL contract:
https://192.168.1.45/DataLink/Receiv...ppUpdates.wsdl

wsdl.exe spits the following error when generating a proxy class out of this wsdl:
---
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 1.0.3705.0]
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.

Schema validation warning: Namespace 'http://www.cityofchicago.org/csrinterface/request' is not available to be referenced in this schema.
Schema validation warning: The 'http://www.cityofchicago.org/csrinterface/requesthttp://www.thescripts.com/forum/imag...es/biggrin.gifocument' element is not declared.

Warning: Schema could not be validated. Class generation may fail or may produce incorrect results.

---

What is the reason for this error message and what is going wrong here?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2006
Location: Deptford, London
Posts: 963
Reputation: MattEvans has a spectacular aura about MattEvans has a spectacular aura about 
Rep Power: 5
Solved Threads: 48
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Posting Shark

Re: Create proxy class from WSDL (.net & java)

  #2  
Feb 5th, 2007
That's not really an error so to speak; it's a message that says is "I looked at the URL http://www.cityofchicago.org/csrinterface/request to find a schema document to validate/process nodes under the namespace declared to conform to this schema; and I couldn't find one.)

If you change process specific namespaces to look for that URL as the schema, that would very probably cause an error. If you're just using a namespace to visually categorise a load of (your own) nodes; that's less likely to be critical; but you should probably define a valid schema for them to conform to.

Did an actual error occur?
If it only works in Internet Explorer; it doesn't work.
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 199
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Create proxy class from WSDL (.net & java)

  #3  
Feb 5th, 2007
Often such warnings are harmless but they may result in specific services not being available (iow, methods and types that aren't mapped) or to compilation errors in the generated code.

Of course the actual WSDL is impossible for us to analyse here as you listed only a URI on your local network, unreachable from the internet.

You should also really upgrade to a more modern version of .NET. 1.0 is way outdated, 1.1 is the least you should use and most companies are using or planning to upgrade to 2.0.
The 2.0 wsdl parser is a lot better than the one in 1.1 (let alone 1.0) and is able to correctly parse wsdl that the older versions had problems with.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb XML, XSLT and XPATH Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the XML, XSLT and XPATH Forum

All times are GMT -4. The time now is 9:01 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC