Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > default.aspx returns instead of the service ? Help please...

Reply
Thread Tools

default.aspx returns instead of the service ? Help please...

 
 
con
Guest
Posts: n/a
 
      06-02-2008
I am making a call to a asp.net web site that has a web services in a
subdirectory of the main site ie:
http://www.mainweb.com/webservice/do...ngservice.asmx ( Using vs2005 to locate
the service via add web service )

Call originates in vb.net on the same server, each attempt to connect to
the web service it results in the default.aspx page being processed, this
occurs when searching for the web service except when I put the full url in
and it finds it right away.

I have a default.aspx which is configured in the web site.

what am I missing ?

Running IIS v6, .net 2.0 framework, vs2005 projects & web site.

Thanks in Advance

 
Reply With Quote
 
 
 
 
con
Guest
Posts: n/a
 
      06-02-2008

Sorry I did not explain it properly, when I call the web service it returns
the html of default.aspx, instead of the web service.


"Patrice" <http://www.chez.com/scribe/> wrote in message
newsC4A4A6C-6B14-4318-8FA9-...
> Not sure what you meant by "searching for the web service". It looks like
> it works when you "put the full url". What is wrong with this ? AFAIK when
> calling a service you want to specify the full path ???
>
> Also at which step are you ? Is this when you create the proxy DLL or at
> runtime ? lese double check your service doesn't have something
> particular such as testing for the user agent....
>
> --
> Patrice
>
> "con" <> a écrit dans le message de groupe de discussion
> : ...
>> I am making a call to a asp.net web site that has a web services in a
>> subdirectory of the main site ie:
>> http://www.mainweb.com/webservice/do...ngservice.asmx ( Using vs2005 to
>> locate the service via add web service )
>>
>> Call originates in vb.net on the same server, each attempt to connect to
>> the web service it results in the default.aspx page being processed, this
>> occurs when searching for the web service except when I put the full url
>> in and it finds it right away.
>>
>> I have a default.aspx which is configured in the web site.
>>
>> what am I missing ?
>>
>> Running IIS v6, .net 2.0 framework, vs2005 projects & web site.
>>
>> Thanks in Advance
>>

>


 
Reply With Quote
 
 
 
 
con
Guest
Posts: n/a
 
      06-03-2008
I am unsure on how to do the dummy call, authentication is setup via
windows.

When I provide the address within VS it connects to the service without
issue,
when it attempts to connect when run from the command prompt it returns the
default.aspx html.

I hope this clarifies it.

"Patrice" <http://www.chez.com/scribe/> wrote in message
news:4651EF7C-2A9A-40FB-978E-...
> First of all do you call the correct url ? I'm confused when you say that
> it works when you provide the corect address which is what you should do
> anyway ???
>
> Else this is because the service redirects you to the main page (my first
> thought would be an authentication issue). What if you try to call a dummy
> service at the root of your web site ?
>
> --
> Patrice
>
> "con" <> a écrit dans le message de groupe de discussion
> : ...
>>
>> Sorry I did not explain it properly, when I call the web service it
>> returns the html of default.aspx, instead of the web service.
>>
>>
>> "Patrice" <http://www.chez.com/scribe/> wrote in message
>> newsC4A4A6C-6B14-4318-8FA9-...
>>> Not sure what you meant by "searching for the web service". It looks
>>> like it works when you "put the full url". What is wrong with this ?
>>> AFAIK when calling a service you want to specify the full path ???
>>>
>>> Also at which step are you ? Is this when you create the proxy DLL or
>>> at runtime ? lese double check your service doesn't have something
>>> particular such as testing for the user agent....
>>>
>>> --
>>> Patrice
>>>
>>> "con" <> a écrit dans le message de groupe de
>>> discussion : ...
>>>> I am making a call to a asp.net web site that has a web services in a
>>>> subdirectory of the main site ie:
>>>> http://www.mainweb.com/webservice/do...ngservice.asmx ( Using vs2005 to
>>>> locate the service via add web service )
>>>>
>>>> Call originates in vb.net on the same server, each attempt to connect
>>>> to the web service it results in the default.aspx page being processed,
>>>> this occurs when searching for the web service except when I put the
>>>> full url in and it finds it right away.
>>>>
>>>> I have a default.aspx which is configured in the web site.
>>>>
>>>> what am I missing ?
>>>>
>>>> Running IIS v6, .net 2.0 framework, vs2005 projects & web site.
>>>>
>>>> Thanks in Advance
>>>>
>>>

>>

>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorted Returns List and Reversed Returns Iterator ++imanshu Python 7 08-23-2008 04:25 AM
Hash#select returns an array but Hash#reject returns a hash... Srijayanth Sridhar Ruby 19 07-02-2008 12:49 PM
createImage sometime returns null and sometime returns non-null. vizlab Java 3 10-17-2007 11:21 AM
Web Service App: Exception in Application_Start returns "yellow screen" instead of SoapException Chris ASP .Net 0 01-31-2007 11:22 PM
block returns and hash element returns Trans Ruby 2 11-06-2005 12:15 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57