CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Web references

Print topic Send  topic

Author Message
tsprague


Posts: 3
Posted: 06/19/2007, 1:32 PM

Has any one added code that referenced web services outside of Codecharge?

I am trying to add a web reference. Code charge recognises the object and the namespace it gived me errors when I publish.
View profile  Send private message
andrefogelman

Posts: 117
Posted: 06/20/2007, 2:38 PM

Did you register the assembly?
View profile  Send private message
tsprague


Posts: 3
Posted: 06/21/2007, 1:22 AM

its not actually a complied assembly. its a wsdl file.

I managed to do it in the following way:

1. I opened an ASP.NET web application project in Visual studio.
2. Created a Web Reference using the Add Web Reference... option. This lets you point to a wsdl file and auto generates the code to allow you to reference it.
3. Tested in Visual studio
4. Copied the resulting auto generated file (called Reference.cs) in the Web Reference folder into the App_Code folder on my Codecharge project.

I was then able to successfully refererence the web services objects.

I presume that the problem is something to do with the .NET JIT compiler. It doesn't auto compile things in the Web Reference folder.

If there is a better way of doing it let me know. I am happy to learn from those who are more experienced in these things...:-)
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.