Showing posts with label visual. Show all posts
Showing posts with label visual. Show all posts

Monday, March 26, 2012

Access not running webservice methods with only wsdl file

Hello!

I'm new to web services. I'm using Visual Studio 2005, I'm developing a web app (c#). This application will use a java web service (hosted by tomcat) on the local machine. This webservice need some config to run, but on my developer machine i cannot make this configs.
My question: I cannot run the webservice, so I cannot add it to my "Web references", so I cannot insert the function calls into my code. BUT I have a wsdl file. So, is there any way to add a web reference to my code with this wsdl? (It will not work, but i can build my project)

Many thx

Hi,

Thank you for you post!

Here:

#Web Services Integrationhttp://msdn2.microsoft.com/en-us/library/aa478995.aspx

<quote>

In order to add a Web Reference to a .NET Framework-based Web service client, the target Web service must have a WSDL document available. Apache SOAP 2.2oes not contain any support for WSDL.

</quote>

Apache AXIS, also known as Apache SOAP 3.0, supported generating WSDL files.

We have just tested and VS can add web reference using a local WSDL file.

BTW,Wsdl.exe accepts the path to the wsdl file to generate a proxy.http://msdn2.microsoft.com/en-us/library/7h3ystb6(VS.80).aspx

If you have further questions,let me know.

Best Regards,


Hy!

Thanks for your answer. I solve it strange way: I put the wsdl file to my localhost, so i can add it to my web reference list. It did not work, but i could build my project.


Hi,

I told you in my last reply:

We have just tested and VS can add web reference using a local WSDL file.

So that is the answer:)

Happy coding.

Access is denied

When I try to install the ASP.Net Ajax download I get an access is denied message. I have IE7, ASP.NET 2.0, Visual Studio Express and SQL Server installed. I also have Net Beans 5.5. Could one of these programs have some sort of conflict with t Ajax framework.

Have you checked all the event logs? You might find a log message that will give you some more information.


Did you get a message telling you that it cannot find the AJAXDownloader(or whatever it is called)[1].msi when in fact it is called AJAXDownloader(or whatever it is called) without the [1]? This happened to me and I just changed the name of the .msi file on my desktop (or wherever you downloaded it to) to AJAXDownloader(or whatever it is called)[1].msi. This worked for me anyway.


Event logs are not very helpful. I found the following warning which does not help much.

Product:Windows Operating SystemID:1015Source:EvntAgntVersion:5.2Symbolic Name:SNMPELEA_NO_REGISTRY_TRACE_LEVEL_PARAMETERMessage:TraceLevel parameter not located in registry; Default trace level used is %1.

The exact message I got is:

C:\Documents and settings\...\Content.IE5\56UJ3Mk4\ASPAJXExtSetup[1].msi

Acces is denied.

Does this provide any clues.


Try this:

Instead of running the .msi file, save it to desktop.

Change the actual name of the icon on the desktop from ASPAJXExtSetup.msi to ASPAJXExtSetup[1].msi.

Double click it to run and install it.

This worked for me. Let me know if it was any help.


The exact message I got is:

C:\Documents and settings\...\Content.IE5\56UJ3Mk4\ASPAJXExtSetup[1].msi

Acces is denied.

I tried saving the download in my documents and then renaming the file without the [1] but this did not help. Did you save the file in another location maybe in the root directory.


Just to add to the above post, if the acccess is denied message appears again then just browse to the renamed ASPAJXExtSetup[1].msi file on the desktop.


Saving the file to the desktop did not have any effect.


What exactly happens when you rename the file to ...[1].msi and double click on it?


I get the same Access is denied message.

The latest clue I have about my problem came from trying to install the Vista advisor. I got the same Access denied message.

C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files\Content.IE5\3LUJIBF4\Windows Vista Upgrade Advisor[1].msi

Access is denied.

I installed both programs in my office computer without any problems. I don't know if this problem has to do with the fact that I downloaded these two programs to two different computers connected through a network or the problem has to do with the computer's regisistry.


when you run a .exe installer it unpacks the .msi in a tempory directory, this is the directory you dont have permission to write to, hence the error. Turning off UAC or right clicking the .exe file and selecting run as administrator will solve the problem.

Guessing Installing at the office worked because your IT administrator turned off UAC on the pcs to slow the wave of support calls

Saturday, March 24, 2012

A simple and newbie question.

how do i get Atlas to show on in Visual Studio after i had install the Atlas download?

Is there a site where it shows how to install and setup Atlas?

Sorry , very new to this field and an advance thank you for the assistances.

Watch these Atlas videos.

http://atlas.asp.net/default.aspx?tabid=47&subtabid=478


so how do i add the atlas functions to my toolbox so that i can drag and drop it using the design view?
Hi,

right click on the Toolbox panel --> [optional: Add Tab ] --> Choose Items

Then, browse to Microsoft.Web.Atlas.dll and AtlasControlToolkit.dll (if you are using the Control Toolkit).

I have a newbie question about installing components in the toolbox if you don't mind me jumping in.

Does it matter where controls are loaded from? For example, I read in an Atlas book that Microsoft.Web.Atlas.dll could be added to the toolbox from the bin folder of a sample application.

I suppose my question is, does it matter where you install from?

John.


Thanks for the replies.

I manage to install Microsoft.Web.Atlas.dll however the syntax appear as when i use the auto extender function
<cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server">
</cc1:AutoCompleteExtender
and i am not able to find the AtlasControlToolkit.dll. Any idea why this is happening?

You say you've managed to install Microsoft.Web.Atlas.dll which is the main Atlas dll but have you also installed the Atlas Control Toolkit dll which is a separate download fromhttp://atlas.asp.net/default.aspx?tabid=47&subtabid=477

This is downloaded as a zip which must be unzipped into a folder and then installed into VS in the same way as the Microsoft.Web.Atlas.dll.

The DLL's are in ..\Atlas Control Toolkit\SampleWebSite\Bin

John.

Wednesday, March 21, 2012

a first-day atlas user got this error, HELP!

when i following the basic atlas application from the following link, btw, I didn't use visual studio, I just manually do it from text editor and command line compiler.

http://atlas.asp.net/docs/Walkthroughs/GetStarted/Basic.aspx

I got a "syntax error" when I launched the page. then when i input text and pressed button, I got "sample undefined" error and nothing happen.

This is the log :

2006-06-29 20:21:18 192.168.1.1 - 192.168.1.36 80 GET /AtlasScript.aspx - 200 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) -
2006-06-29 20:21:19 192.168.1.1 - 192.168.1.36 80 GET /WebResource.axd d=-qnjsxFIQPRe60N1ywfq1ZGbOVMGC5TKMX4JTqrXTR7atJCaMTR4Fc76IpI0uvmBTmmGba1jsr6v9f3MrKscIivr3HdGL-IH8Yqrm9oH01I1&t=632799165960000000 200 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)http://www.mydomain.com/AtlasScript.aspx
2006-06-29 20:21:19 192.168.1.1 - 192.168.1.36 80 GET /HelloWorldService.asmx - 302 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)http://www.mydomain.com/AtlasScript.aspx
2006-06-29 20:21:19 192.168.1.1 - 192.168.1.36 80 GET /ErrorPage.aspx aspxerrorpath=/HelloWorldService.asmx/js 200 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)http://www.mydomain.com/AtlasScript.aspx

hello.

can you be more specific about the error? is it a script error?


yes, it's a script error from browser(IE)

hello again.

well, where are you getting it? what does the error message say? where does it stop in the debugger? what's your code? without knowing this we won't be able to help you.


PROBLEM solved, I followed the installation instruction to modify web.config, it failed, buy when I copied the web.config from atlas folder, it works now!

Thank you very much!