Namespace Problem Cont..

M

Mark Thomson

Is there a way I can have the ASP.NET 2.0 application and my web service in
the same namespace. I'm new to ASP.NET and I can't seem to find the
namepace for the project, I do have a namespace at the top of my web service
class however.

How can i set my aspx pages to a namespace?
 
C

Clint Hill

The namespace of your ASP.NET app should be labeled in the code behind
files. I'm not using ASP.NET 2.0 yet, but I imagine it's there.

Have you checked the codebehind file?

Clint Hill
H3O Software
http://www.h3osoftware.com
 
M

Mark Thomson

Yes, I've checked there. ASP.NET 2.0 does something funny with partial
classes and i can only seem to view part of the code behind.

I guess my problem isn't with namespaces as such.

I have a web service that has a Venue class on it. I also have a client
application running on pocket pc that has the same Venue class on it. The
problem is when i perform use the

[WebMethod]
Venue getVenue( )

from the client application, it maps the return type to
Webservicenamespace.Venue instead of Venue.

Should I be using Proxy classes for this or is there a better way to do it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top