Red Gate forums :: View topic - Can not add a web reference to a new project
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Load
ANTS Load forum

Can not add a web reference to a new project

Search in ANTS Load forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Go to page Previous  1, 2
Author Message
QAPCI



Joined: 08 Jan 2007
Posts: 11

PostPosted: Fri Jun 01, 2007 3:24 pm    Post subject: Reply with quote

Yes all machines are on version 1.6 and have .NET 1.1 installed
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6674

PostPosted: Sat Jun 02, 2007 10:28 am    Post subject: Reply with quote

Thanks. That's interesting.

Can you try to get the WSDL in your web browser? Normally if you enter http://yourserver/yourwebservice.asmx?WSDL into the web browser's address bar, you'll get an XML document describing the webservice. Is the targetnamespace attribute in the schema tag the same URL that you used in the WSDL.exe command's namespace argument?
Back to top
View user's profile Send private message
QAPCI



Joined: 08 Jan 2007
Posts: 11

PostPosted: Mon Jun 04, 2007 4:02 pm    Post subject: Reply with quote

When I do as you ask the targetNamespace="http://www.pciwiz.com/pciserver" which does not match the one I was entering in the WSDL.exe command's namespace arguement. However, I checked with a developer on our end and thats simply a made up name. It is not legit. Does not really exist.

I was entering following which is legit and does work when browsing in web browser;
"C:\Program Files\ANTS Load\wsdl.exe" /language:VB /namespace:"10.2.6.14"/protoco1:SOAP/out:Service1.vb "http://10.2.6.14/PCiServerWebService/PCiServerWebService.asmx?wsdl"

Confused on our end why this works on 2 machines but not on others with ANTS not really providing reason as to why.

Any other suggestions would be appreciated?
Thanks for your help!
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Go to page Previous  1, 2
Page 2 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group