all groups > dotnet web services > november 2004
Filter by week: 1 2 3 4 5
SoapExtension logging to SQL
Posted by Mark A. Richman at 11/30/2004 9:47:12 PM
This is a multi-part message in MIME format.
------=_NextPart_000_0010_01C4D726.263F2CA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Does anyone have an example of a SoapExtension that writes the incoming =
SOAP request to a table via SQL? I ... more >>
Web Service with Media Player
Posted by Shane at 11/30/2004 2:25:04 PM
I'm trying to access the media player (V10) mediacollection object from my
..NET web service to return a list of media files. For some reason when i call
getByAttribute("MediaType", "Audio")
it does not return anything (ie. an empty playlist object), however if i
call this using just a no... more >>
Using a Dynamic URL to connect to a Java Web Service.
Posted by jlaugesen NO[at]SPAM yahoo.com at 11/30/2004 10:53:21 AM
I have a VB.NET desktop program that reads/writes data to a server
using a Java-based Web Service. This web service, in identical
formats, is located on several servers with each server being a
different customer and different data content.
To connect with the Java Web Service, I downloaded th... more >>
Redirect all WS & webmethod requests to one webmethod?
Posted by Peter McEvoy at 11/30/2004 1:35:05 AM
Folks,
I've been building a Webservice API for a contract that will be exposed to
the internet at large. There are two endpoints, and each endpoint contains a
number of webmethods. Every webmethod returns a returncode which indicates
the level of success in performing the operation (as well... more >>
Error connecting to SQL Server through a Web Service???
Posted by GTDriver at 11/29/2004 3:57:02 PM
I'm trying to connect my application with a web service located on my own web
server(localhost).
I guess when the solution/proect is built it makes a file called 'Web
References\localhost\References.vb'
In this file a line of code reports the following error:
Line of code:
Dim results(... more >>
Web service in EXE
Posted by Jeremy Chapman at 11/29/2004 1:25:07 PM
I've seen apps where if a windows exe form is running, it publishes a web
service. There is no IIS folders or virtual directories required. Does
anyone have information on how to do this?
... more >>
WebService session sessionstate SOAP
Posted by jb at 11/29/2004 10:46:31 AM
*Please* help --- I'm tearing my hair out.
I want to use sessionstate in a webservice, accessed from a client, written
in script (JScript, InfoPath).
I have written my webservice (C# .NET). I have marked the method(s) with
EnableSession=true. I have read everything there is to read! I a... more >>
Public Enums in Web service
Posted by DMitchell at 11/29/2004 7:09:09 AM
Is there any way of getting a public enumeration to be generated into a web
service proxy?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Can't import .OCX assembly into Web Matrix Project.
Posted by Jason Robertson at 11/29/2004 2:35:40 AM
Hi,
I am using Web Matrix Project as .NET programming environment. Can you show
me detailed steps how to import the .ocx library into the Web Matrix
Project. I can't seem to be able to import other assembly than .dll, .exe or
..mcl . I am pretty new to the .NET programming environment, and ma... more >>
Correct pattern of methods invocation on WSDL-generated type
Posted by alexttp NO[at]SPAM yahoo.com at 11/28/2004 9:31:20 PM
Introduction:
Assume having a MyApp.MyClass class bearing both data (say, DataSets)
and functionality (proprietary methods).
A WebService exposes this class via some GetMyClass WebMethod.
A WSDL-generated proxy class (localhost.MyClass) on the client side,
naturally, has only the data of the or... more >>
How to speed up the webservice proxy creation
Posted by atul.chivate NO[at]SPAM itb-india.com at 11/28/2004 9:21:15 PM
In my winform application, to access webmethod, we create a webservice
proxy object. For the first time, when winform application is started,
for creating proxy object(e.g. MyWebServiceProxy oProxy = new
MyWebServiceProxy() )it takes a long time(appr. 2 seconds), but for
the next time it happens... more >>
PROBLEM: .NET webservice proxy class as COM
Posted by smugs_boy NO[at]SPAM yahoo.com at 11/28/2004 5:02:23 AM
Hi,
I have a problem with a web service proxy written in .NET and used
from VS6's C++ as COM object.
This proxy works great when used from a .NET application.
It does not seem to work when used as COM object for C++ application.
What happens is this: I've created a class with the following
a... more >>
help with passing stored procedure meta data to web method.
Posted by Magy at 11/26/2004 8:03:18 PM
What would be the best way to execute a Oracle stored procedure that excepts
several input paramters, through a web method in vb.net. What would be a
good way to get to the web method, the Oracle stored procedure's definition;
the name of the proc. and all of the parameter information such as nam... more >>
XML as parameter to a method
Posted by Tushar at 11/26/2004 5:04:49 PM
Is it possible to have a method that accepts XML document (including
processing instruction at top and the root node) as a parameter? Does this
parameter need to be defined as type string?
I have been given an XML structure to be used in a method call and I am not
sure if I should convert that... more >>
Different behaviour access WS from browser and thick client
Posted by Stuart Hemming (via DFN-CIS NetNews Service) at 11/26/2004 4:04:45 PM
I have a WS that I call that with one method 'logs in' to a COM object
and then, with a 2nd method makes a call to the COM object and returns
some data.
Used from a web app this runs fine. This appears to be because I
always connect to the same Session on the WS Server and the
'logged-in' COM... more >>
What's the Web-Reference doing???
Posted by tilli NO[at]SPAM weissenberger.at at 11/26/2004 1:00:30 PM
Hi,
I have a WebService which supplies an object. Now when I add a
"Web-Reference" in VS.2003 the proxy class doesn't return an instance
of that object, but it's own "implementation" of it, which is not what
I need!
I know that in theory I don't always have access to the original
object-ty... more >>
Unable to connect to the remote server
Posted by Arne at 11/26/2004 8:49:06 AM
I get the error message
Unable to connect to the remote server
The webservices runs on localhost. What can I do about this?... more >>
BT_STRUCT* is inaccessible due to its protection level. Only publi
Posted by Pedro Carvalho at 11/26/2004 6:57:04 AM
I am new to .NET and I was trying to build a C++ web service returning 2 char
strings and 2 doubles. So, I am using a struct containing those 4 variables
and trying to return that struct (BT_STRUCT):
BT_STRUCT __gc* BAWSClass::Call_Bt( String* st_receb )
{
BT_STRUCT btrs;
... more >>
No more than 10 parallell WebService connections?
Posted by Johan Johansson (Sweden) at 11/26/2004 6:29:02 AM
I wonder why it is that no more than 10 clients can access a webservice at a
time, and how to increase that number.
The eleventh client get a Http 403.9 (Access forbidden : To many users are
connected) error message.
Simply explanied; if I create the simple HelloWorld WebService, open 11
... more >>
Custom Class in a Web Service
Posted by Josue Avila M. at 11/25/2004 10:21:43 PM
HI
I Design a Class Wich contains severals DataTypes . (2 Strings and Other
Data Types from a Class wich i Desing to)
Its Something like This
<serializable()>
Public Class Emitor
Public NameMsg as String
Public KeyCode as String
Public Parmas ... more >>
wsdl help
Posted by Savas Ates at 11/25/2004 1:06:25 PM
i was given an url bla bla.wsdl
i am asked for entering data using this wsdl url?
is it possible? how can i do it? must i use asp.net werb services ..
any url or example or way t solve it will be appriciated.. please help...
friendly page Dan u say i dont understant what u mean?
what ... more >>
CRM webservice error
Posted by Eric van der Niet at 11/25/2004 11:55:21 AM
I have thuis webservice. Used to get account information out of microsoft
crm. But is reply's an error! can someone see whats the error in this
code???? Help!
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using... more >>
Portlets
Posted by Mem at 11/25/2004 10:01:03 AM
Hi,
i'm thinking to implement an MCMS 2002 site. I have this requirement from
the client: use portlet technology for inserting new services.
I have no idea if mcms and asp.net could be considered "compliant" with
portlet technology.
Could you please explain me which is the possible solu... more >>
Performance problems with short SOAP messages
Posted by Stefan Thieme at 11/24/2004 10:15:04 PM
I'm using a wsdl.exe-generated class to access a web service on the LAN. In
case of short messages there is a 200 ms latency per call. If running in the
debugger (adds debug info to the SOAP messages), or if setting the UserAgent
property to a long string (about 2 KB), the latency is just abou... more >>
Using Server.MapPath in a Webservice?
Posted by ltnats NO[at]SPAM yahoo.com.au at 11/24/2004 6:05:13 PM
Hi there,
I am writing a webservice and am wanting to use Server.MapPath to get
the path to some files on the server that is hosting the webservice. I
am using VB.NET atm, but am learning C#, so either example will be
fine. I have searched all over the newsgroups and forums to get an
example a... more >>
Execute stored procedure via web method.
Posted by Russell Verdun at 11/24/2004 4:13:00 PM
From a vb.net application I'm want to execute an Oracle Stored Procedure via
a web service. What would be the best way to approach this? I can't pass and
Oracle Command or the parameter objects object to the Webservice, cause
they're not serializable. How would I get the parameters to the web met... more >>
Allowing access to a web service only via SSL
Posted by Craig HB at 11/24/2004 3:03:02 PM
I have a web service that I only want users to access via SSL. I am looking
for a way to test whether the client is using https and not http.
I was told that I could this with : if
request.servervariables("server_port") = 443 then. But the code is in a .asmx
page and it doesn't recognise t... more >>
Help with Web methods....please.
Posted by Russell Verdun at 11/24/2004 10:40:28 AM
Is it possible from a vb.net application, to pass an command object to web
method in a web service. I want to be able to invoke a stored procedure
remotely and get a dataset back from the webservice. The stored procedure
has several parameters, so I figure if I can construct the command object
a... more >>
how to return xml document from a web service
Posted by R.A. at 11/24/2004 9:11:20 AM
Hi,
I have an web service method that accept an xml document and returns a
different xml document.
Based on the input xml I fill a dataset with information from a database.
If the dataset has rows then I need to return those rows to the consumer.
I can't tell if the consumer of the web serv... more >>
Access denied
Posted by jozzler at 11/24/2004 12:57:01 AM
Hi
I'm developing a webservice which is supposed to creat a file in c:\program
files\. This ends up with this error:
UfsNotisDb.Upload: System.Web.Services.Protocols.SoapException: Server was
unable to process request. --> Access to the path "c:\program
files\UfsNotis_20041124_073435.mdf" ... more >>
Consumming Web Services in ASP
Posted by Ricardo at 11/23/2004 1:15:02 PM
Hi.
I have a web service with complex params. I need call this web service from
a page .asp. How to create this complex param?
Thanks in advanced.
Ricardo... more >>
DataSet.ReadXml - where the schema name is?
Posted by RA at 11/23/2004 11:03:07 AM
Hi
I have an xml schema and I have created a dataset from that schema.
I have a web service that recieve info and sends back an xml information.
I send back the xml using SchemaDataset.WriteXml (...)
A consumer of the web service then call a different method of the web
service which takes an ... more >>
Connecting to Web Service over SSL
Posted by Xplicit at 11/23/2004 9:54:36 AM
I am trying to connect to a bank's web service over SSL and keep getting the
"Could not establish trust relationship with remote server." error from my
ASP.NET page.
They bank's programmer went as far as to give me the exact code for my
ASP.NET page to use on my server. He verified that it ... more >>
Asynchronous calls to a web Service
Posted by rgarf at 11/23/2004 6:09:03 AM
I have a C++ application that consumes a web service. I would like to call
the web service asynchronously so my C++ application can do other processing
in between.
My proxy file does not have any asynchronous methods in it, What do I have
to do to get my proxy file to have the asynchronous me... more >>
UserID and Password Authentication using Web Service
Posted by Sangeetha Nagaraj at 11/22/2004 9:15:06 PM
Hi Pals,
I am a starter to web services. I have a requirement.
I want to develop a web service, which accepts userid and password from the
user and checks it with the MS Access database. If the userid and password
found correct in the database, it must return the address of the person in
the... more >>
entering data by using wsdl(cross)
Posted by Savas Ates at 11/22/2004 2:28:14 PM
i was given an url bla bla.wsdl
i am asked for entering data using this wsdl url?
is it possible? how can i do it? must i use asp.net werb services ..
any url or example or way t solve it will be appriciated.. please help...
... more >>
page can not be displayed after calling web service
Posted by mithu at 11/22/2004 8:25:07 AM
I have a web service(C#) which involves processing lot of information thru a
third party component. I have couple of issues with my web service.
Issue 1:
My web service calls a third party component. The whole operation including
getting results to the user takes 16 mins. But even after chang... more >>
WebServiceBinding
Posted by Pet Matrix. at 11/22/2004 1:29:05 AM
Hi all .Net lovers,
I am working of a .Net webservices project. Evry thing is done except one
issue ;)
While binding the web seviceses using WebServiceBinding API we have to
specify the Location which I am hardcoded right now. Now the problem we are
shipping only the .dlls and .asmx files. ... more >>
valid data type web method parameters???
Posted by Will at 11/20/2004 10:29:09 PM
I have a web method in my web service that I would to have a command object
passed in as a parameter. But when I compile the service I get the following
error:
You must implement the Add(System.Data.DataRowView) method on
System.Data.DataView because it inherits from ICollection.
If I rep... more >>
Getting error from webserver when passing to method a command object?????
Posted by Will at 11/20/2004 5:07:57 PM
Have a webserver and my asmx file is set up as such:
Imports System.Web.Services
Imports dbClass
Imports System.Data.SqlClient
Imports Oracle.DataAccess.Client
Imports System.Data.DataRowView
<WebService(Namespace:="http://denweb99000.com/RemoteDAL")> _
Public Class RemoteDAL
... more >>
What caused return from XML Web Service to change output format?
Posted by Wendy Elizabeth at 11/20/2004 2:25:01 PM
I wrote a visual Basic .net xml web service that returns xml information back
to a classic ASP page. When the classic ASP page receives the response, the
xml has been returned in a format that that is setup to be read in an HTML
format.
In other words the format should look like:
<tag /... more >>
[newbie] General question about web service
Posted by Peter Schmitz at 11/20/2004 1:25:01 PM
Hi,
I just created my first vb .net web service, but now I ask myself a
question: When I call functions of the webservice by a client, I always need
to specify its url and the *.asmx file I'm refering to. But, as this web
service shall become a commercial application, I don't want to provid... more >>
Programmatically install web service
Posted by Peter Schmitz at 11/20/2004 5:57:02 AM
Hi,
how can I programmatically (NOT by MSI or a setup project) install a .net
webservice?
Thanks a lot
Peter
... more >>
chiamare c# webservice da vbscript ?
Posted by Vincenzo Milazzo at 11/19/2004 6:11:51 PM
Ciao,
come faccio a chiamare un webservice scritto in c# da una pagina asp in
vbscript ?
Ciao a tutti
... more >>
Debugging a WebService
Posted by Arne at 11/19/2004 7:55:03 AM
Is there a secret trick to debugging a Web service?
I compile my web service and test app in debug mode.
The webservice has <compilation defaultLanguage="vb" debug="true" /> in
web.config.
I set breakpoints in my web service.
I try to step into my web services with F11 from my test app.
My w... more >>
Web Service timeout
Posted by rgarf at 11/19/2004 7:09:02 AM
I think my web service is timing out, It seems to be returning an E_FAIL
before it finishes processing, so what would I set to increase the timeout on
a web service request?
How do I get the actual E_FAIL message, is there a way to get a more
specific error return value to know what's causin... more >>
WS-Notification
Posted by SB at 11/19/2004 1:05:04 AM
Can someone please tell me Microsoft .NET's position on this WS-Notification
specification that includes the pub/sub model? Is there something in the
pipeline or already available as part of the .NET or WSE?
--
Kind regards,
SB... more >>
Xslt & Webservices
Posted by WStoreyII at 11/18/2004 11:05:03 PM
Two question,
1) is there a way to edit the interface of the display for when accessing a
asmx file through the browser as opposed to that default web service
interface.
For example what if i wanted to use a dropdown list for one of the
paramaters. if this is possible how html, xslt ? ... more >>
Can't read/write to Registry
Posted by Nikolay Petrov at 11/18/2004 5:08:55 PM
Why I always get 'Requested registry access is not allowed' when i try to
Read/Write to Windows Registry from ASP service. I use ASP NET account?
Also granted full permissions to required Registry keys.
What is the problem?
TIA
... more >>
Xml encryption via soap extension error
Posted by cordata5 NO[at]SPAM yahoo.com at 11/18/2004 4:13:33 PM
Hi all,
I finally figured out how to utilize the soapextension for
encrypting portions of my xml file. However I want to encrypt the
header going from the client web page to the server side web service.
Unfortunately this only works on the response from the server side web
service to the we... more >>
|