all groups > asp.net webservices > march 2007
Filter by week: 1 2 3 4 5
System. Web. Services. Protocols. SoapException: Server was unable to process request.---> Object reference not set to an instance of an object.
Posted by Florencio Laso at 3/27/2007 12:42:34 PM
Hola to all:
We have created a service web that works perfectly while is invoked in the
localhost of the machine of development or from the IE of the servant where
we have published it. Nevertheless, if we create an application client who
does a call to the same one, it returns the following ... more >>
SQLParameter array in Web Service
Posted by Doogie at 3/26/2007 3:04:45 PM
I was finishing a design on a web service and at the review a question
was raised about my using a SQLParameter array as a parameter to a
method in the web service. The preference the person had was to use
xml instead. If I understood him correctly he indicated that DotNet
converts everything ... more >>
Consuming ColdFusion Web Service
Posted by GaryDean at 3/23/2007 10:40:05 AM
I've been writing Web services and assemblies that consume web services
successfully for some time now. However, I need to consume a web service
from a vendor that was written in Cold Fusion and it's not working...
The Web Service reference gets created ok. It's name is CMWebService. The
... more >>
providing progress to client
Posted by cgambol NO[at]SPAM gmail.com at 3/22/2007 10:13:32 AM
I am using vs 2003 and .net 1.1.
I have a web service that does some work on a list of objects.
Each object takes about a second to process.
Lets say the client sends me a list of 1000 objects.
This will take me 1000 seconds to complete.
While processing I would like to be able to give the ... more >>
Web service client behind a firewall
Posted by tjfdownsouth at 3/19/2007 3:56:03 PM
I have an app that consumes a web service. Everything runs fine here at the
office and at some of my clients businesses but one of them uses a web proxy
that redirects to port 8080 and it blows up. Is there a way to tell the web
service to handle this without messing it up for everyone else.... more >>
Why custom (config) files are not copied in Web Site / Webservice bin folder
Posted by PAF at 3/19/2007 2:15:19 AM
Hi all,
I have a solution that contains a Web Site / Webservice project and
one library project.
The library project use a config file.
When I build the solution, the config file is not copied in bin folder
of web site in spite of the config file is flagged as "Copy Always".
Someone coul... more >>
WebServices security
Posted by Ludwig Wittgenstein at 3/19/2007 12:11:05 AM
Hello, all.
I'm very new to web services and I have a question about an .asmx
page. How do I find out if I am allowed to used its methods? Is there
a way you can tell whether this web service is open to the public or
not?
Thanks,
... more >>
noob assumptions about webservices in ASP.NET
Posted by evil tabby cat at 3/18/2007 5:24:54 PM
I have the following assumptions about .NET webservices which I need
confirmation/denial of:
1 - They are only instantiated when required & then a different
instance for each request.
2 - If someone making a request causes an unhandled exception then
their instance will die but it won't eff... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Webservice returing a zip file
Posted by Isa Janfada at 3/18/2007 4:17:02 PM
Hi,
Is it possible to make a method that returns a zip file to the client?
when I invoke the service like http://webserver/webservice.aspx?GetFile
the service compute some values and do a zip file and return to the browser
or web client.
Thanks for any tips
... more >>
Posible solution
Posted by MarianoH at 3/16/2007 2:00:31 PM
I had the same problem, but find the solution here:
http://weblogs.asp.net/jan/archive/2003/12/04/41154.aspx
I'ts for 2003, but still work's in 2005.
hope helps!
... more >>
X509 and UserName/Pass in SOAP header?
Posted by cootmonster at 3/15/2007 11:45:10 AM
planning on using a X509 cert to validate that a business client is who they
say they are. After we authenticate client, then we need a username and
password to authorize users permissions. Should we store this in the SOAP
header or just as part of the XML message structure?
... more >>
C# ASP .NET (VS2005) - how to obtain caller's IP address
Posted by j.a. harriman at 3/15/2007 10:14:17 AM
Hi,
Can someone point me to an MSDN or other location where I can obtain the
caller's IP Address?
I'd like to put this in the "WebMethod" portion of the program.
The intent is not so much for security, as it is for me to identify
customers, and do not want to rely on them putting an "iden... more >>
WCF and null reference in Message contract
Posted by Scott Holman at 3/15/2007 9:58:58 AM
I have defined a message contract (MsgRespData) and data
contract(DataResponse) listed below. The data contract has two fields
(System.String and System.Data.Dataset) and the message contract contains
the data contract. The service contract has a single method that returns
MsgRespData. Wh... more >>
Asyncronous Web Service
Posted by jeff NO[at]SPAM cumpsty.co.uk at 3/15/2007 9:01:24 AM
I need to turn an asyncronous call into a syncronous one.
I have a Web Applicaition which makes a call to web services to
retrieve data.
A new web service that I need to support work asyncronously...sort
of. The way it is set up is I make a call into a third party web
service, and get a jo... more >>
HTTP_REFERER is not workign in web services
Posted by neerajb NO[at]SPAM noida.nospamhcltech.com at 3/15/2007 2:06:00 AM
Hi,
My requirement is that i want to know the clinet url in the web service.My
authentication is based on the client url.
I am gettign the IP address by using the
System.Web.HttpContext.Current.Request.UserHostAddress
but i need the complete url of the client.
Thanks in Advance.
... more >>
Web Service Debugging
Posted by John Cantley at 3/14/2007 12:23:00 PM
Usually I write the web service into my solution and can debug it with no
problems. My current situation does not give me access to the source control
so I want to keep the web service out of the main web solution. So in
essence how do I debug the webservice? I can instantiate it in my web
p... more >>
Client code w/wsdl.exe
Posted by Nick K. at 3/14/2007 9:06:12 AM
I use wsdl.exe to generate client code to call a web service. The actual web
service is generated with the BizTalk Web Services Publishing Wizard.
I'm not sure this is particular to the BizTalk code but the calls to web
methods pass parameters by ref so that I have to call it like:
XmlDocu... more >>
Webservice inheriting from interface
Posted by Lopamudra at 3/14/2007 1:52:00 AM
Hi,
I have a webservice which inherits additionally from an interface. This
webservice provides implementation for the methods in the interface as well
as provides addtiional methods.
One of the methods of my assembly takes as parameter a type of the
interface. My webservice instance s... more >>
Calling an HTTP server
Posted by Amir at 3/12/2007 7:19:00 AM
Hi
I am trying to replicate a price of Java code in .NET (the Java code is at
the end of this post).
Basically, I need to send a SOAP message to an HTTP server program (that
happens to be written in Java). I have been Googling for the past 4-5 hours
and found 3-4 samples but non of them... more >>
TreeView & WebResource.axdny
Posted by cpasmwalolo NO[at]SPAM hotmail.com at 3/9/2007 1:16:02 PM
I'm experimenting some problems with the treeview, I developed a module
within DotNetNuke that contains a treeview. It's working fine on my laptop
at the office. I'm trying to get it back for a personal project.
When running it seems that the WebResource.axd is not found, I removed the
comp... more >>
Transferring large binary files to web service-How to
Posted by John K at 3/9/2007 7:20:02 AM
Hello
I have an existing web service in C# 2005 that utilizes Web Service
Enhancments 3.0 with custom UsernameTokenManager authentication. I need to
pass very large binary files to the web service for subsequent storage into a
database. When we do this as part of a web service function, w... more >>
Difference between SoapDocumentMethod(OneWay=true)] and OneWay Att
Posted by John Bailey at 3/9/2007 6:23:30 AM
Does anyone know what the difference between the
SoapDocumentMethod(OneWay=true)] and the [OneWay] attribute? According to
the documentation, both seem to specifiy that a web service method is one way
only and does not return any data (a void method essentially).
Could someone please outli... more >>
COM+ Proxy
Posted by aljamala NO[at]SPAM gmail.com at 3/8/2007 1:22:36 PM
Hi,
I am kind of new to web services, not the idea, but actually
implementing and consuming them.
Currently I am being asked to develop a COM+ proxy that will fall
between the presentation tier and services. This is a COM+ object
used to interface the ASP communication with the financial c... more >>
SOAP Message sender info
Posted by Zowie at 3/8/2007 9:41:38 AM
Hi.
Im just starting using SOAP Extensions to intercept web service
requests to and from one server.
I would like to know if there is a way to find what application made
the request (for the outgoing requests) or even wich server it came
from (in case of an incoming request), using the interc... more >>
sessionID and authentication in WS
Posted by Tina at 3/8/2007 7:47:26 AM
All of the examples of web services in the books I have are using anonymous
access and don't utilize sessions. Is there any material anywhere that
shows how to authenticate and uses sessions in Web Services?
Also, why two webServices forums?
Thanks,
T
... more >>
Authentication and Web Services
Posted by Mythran at 3/7/2007 1:43:35 PM
I followed some walk-throughs to create a web application using forms
authentication. All is well. Basically, what happens is the user requests
a page from the app, the app redirects the user to the logon page, they log
in, the page creates an encrypted FormsAuthenticationTicket and attaches... more >>
"Underlying connection was closed. Could not establish trust relationship" error
Posted by Anna Troiken at 3/7/2007 1:14:06 PM
All,
We have an ASP.NET 1.1 application running on a W2K3 box that is consuming a
web-service via HTTPS and we are receiving this error, BUT, it's only
intermittent. It's not happening all the time. It just started happening a
few days ago and there was no code changes made to the server.
... more >>
is WSE wise?
Posted by GaryDean at 3/7/2007 8:29:07 AM
We have to put up some web services for a client and I am looking into WSE
3.0. While I'm sure it provide security it looks like it complicates
development but I am wondering how much. I notice that WSE is not discussed
much on this forum and when questions come up on it, they largely go
u... more >>
Consuming .NET Webservices in Java and PHP
Posted by Anoop M at 3/7/2007 12:00:00 AM
What all compatibility issues are there when I expose a .NET web service
(which uses datasets) to clients in platforms like Java and PHP?
Some tools are avaialbale
Anoop
visit me: http://amazedsaint.blogspot.com
... more >>
How do I get session state
Posted by Donald Adams at 3/6/2007 8:44:26 PM
How can I get session state for my user in a web service?
I understand that with WinForm clients that this was not necessary, but now
with Asp.net Ajax, I can access all the server objects but the session one.
I can use the User object but it's a lot of extra work.
Is Microsoft employees l... more >>
mixing visual studio and frameworks
Posted by psb at 3/5/2007 6:30:56 PM
Running win2k advanced server (IIS 5. 0) with ASP.NET Framework 2.0
installed. I am developing with VS2003.
I am trying to make an ASP.NET Webservice and I am having all sorts of
trouble.
ERROR: "The path '/svc/App_GlobalResources/' maps to a directory outside
this application, which is... more >>
Webservice suggestions
Posted by Sean-usenet at 3/5/2007 7:28:20 AM
Hello everyone
I am brand-new to webservices, but do have programming experience. I
created a webservice that looks up the current lottery Jackpot amounts
for several lottery games. I was hoping some of you experts could
take a look at the webservices and make sure everything is looking
lik... more >>
SoapExtension and SoapHeader
Posted by nilesh.shah.uk NO[at]SPAM gmail.com at 3/5/2007 6:36:08 AM
I need to supply some info in a Soap Header from the client and see it
in a Soap Extension on the server in the BeforeDeserialize stage. The
value of the header at this stage (inSoapMessage) is null but once in
the .asmx the header it is set. Seems to suggest that
BeforeDeserialize at server i... more >>
Binary Serialization!
Posted by mehdi at 3/5/2007 5:29:39 AM
Hi folks,
I would like to know that is there anyway to change the default
serialization from XML to Binary? If not, what's the best approach to
accomplish binary serialization under an ASP.NET Web Service? I've
used the following format to do it so far, however, it's really
painless:
publi... more >>
returning strongly typed dataset from web service
Posted by N. Shehzad at 3/2/2007 3:42:21 PM
All,
I have a webservice webmethod which does returns a strongly typed dataset
called MyStronglyTypedDataSet correctly.
On the client side, when I cast the dataset to my strongly typed dataset, it
throws the following error "Cannot convert type
ClientConsumer.localhost.MyStronglyTypedData... more >>
input type=file does not always work
Posted by malhenry at 3/1/2007 12:28:33 PM
Hi,
I am using asp.net 2.0. The code below has a special case where it does not
work.
If I browse to a file or enter a fullpath (i.e. c:\x.x), then the
OnServerclick method will be called as expected. This is true regardless of
whether or not C:\x.x exists.
However, if I just enter ... more >>
Database Connection
Posted by nbohana at 3/1/2007 10:01:10 AM
I am using MS Visual Studio 2005. I am building a web application. my initial
data base connection was to SQL Express. I would like to change to SQL
Server. I have defined my database and tables and would like to use them. In
my APP_DATA it has file:///D:\ePims\App_Data\ASPNETDB.MDF, I would ... more >>
|