|
maxItemsInObjectGraph too small in web service
Hei,
I have a web services that delivers data from an Access database. When the
volume of data gets "large", I get an error message
"NetDispatcherFaultException was unhandled:
The formatter threw an exception while trying to deserialize the message:
There was an error while trying to deserialize parameter
http://www.ife.no:ListWellboreTracerResultsResponse. The InnerException
message w...
|
4 |
12/29/2008 2:34:50 AM |
|
WCF One Way Services and Thread Issue
Hi,
I have to find out the thread which runs after running WCF service
with basichttpbinding having one way operation.
Step to produce problem is like this:
1. WCF Service
using System;
using System.ServiceModel;
using System.Runtime.Serialization;
// A WCF service consists of a contract (defined below as IMyService,
DataContract1),
// a class which implements that interface (see...
|
1 |
12/23/2008 12:29:24 PM |
|
soapenc:Array
I have a Vb.Net webservice called from a java client which was built using a
java wsdl. I am trying to create a Vb.Net Web Service to mimic the Java Web
Service
I am having problems with Arrays
the Java WSDL definition
<soapenc:Array
id="id1"
xmlns:q1....
<Item
href="#id2"/>
...
but the .Net WSDL is generated as below
- <s:complexType name="Ar...
|
1 |
12/22/2008 5:18:01 PM |
|
Web service testing
I have run into a problem while load testing a webservice. I have written an
test application that uses the async client pattern to call my web service
in a for loop. The web service typically don't respond in 30 seconds.
Problem is that after a couple of iterations (<10), the client calls never
reaches the server. I have used Microsoft Network Monitor to check, and
there is indeed no...
|
7 |
12/22/2008 11:05:31 AM |
|
WCF RESTFul question (Endpoint Not Found)
Hi,
I have a WCF RESTFul service declared thus:
[ServiceContract]
public interface IGasPriceService
{
[OperationContract]
[WebGet
(ResponseFormat = WebMessageFormat.Xml,
BodyStyle = WebMessageBodyStyle.Bare,
UriTemplate = "/GetGasPrice/For/ZipCode/{zipCode}"
)]
GasPriceData GetPriceData(string zipCode)...
|
1 |
12/22/2008 3:07:10 AM |
|
EndpointNotFoundException : There was no endpoint listening
I have hosted my service on IIS 5.1 on Win XP. I have configured it as
follows:
.
.
.
<wsHttpBinding>
<binding name="WSHttp0">
<security mode="Transport">
<transport clientCredentialType="None" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<services>
...
|
1 |
12/20/2008 6:52:43 AM |
|
Custom Soap Headers and WSE 3.0 SoapService
Is it possible to add a custom soap header to a web service developed using
the WSE 3.0 SoapService? I have tried adding SoapHeader attributes though
they never show up in the WSDL generated by the service....
|
1 |
12/19/2008 8:52:04 PM |
|
Custom Soap Headers and WSE 3.0 SoapService
Is it possible to add a custom soap haeader to a web service based on the WSE
3.0 SoapService? I have tried adding SoapHeader attributes but they never
show up in the WSDL. I have been able to do this for webservices developed
using asp.net.
Thanks....
|
1 |
12/19/2008 8:49:01 PM |
|
Returning Objects
Is it a bad practice to return strong typed class objects from my
webservice?
If so, what is the preferred option.
--
Scott
SS IT Services, LLC
...
|
1 |
12/18/2008 10:48:19 PM |
|
WCF SSL Cert
I have been trying to get this answered for some time. How do you generate a
webserver certificate from your local CA? There are tons of examples on how
to get a certificate for WCF/SSL but they all use makecert, which does me no
good when I get out of the testing environment.
When using the standard WebServer template on CertSrv you can create a valid
certificate but you can not export...
|
8 |
12/18/2008 2:11:33 AM |
|
VB.Net Service Parameters are empty from Axis Client
I have a Vb.Net Service with a SimpleFunction with string parameters, when
the Axis client calls the function, the parameters received are empty.
The WSDL
<wsdl:message name="SimpleFunction">
<wsdl:part name="sUser" type="s:string" />
<wsdl:part name="sPWD" type="s:string" />
</wsdl:message>
Using WireShark I see the parameters are sent but enclosed in
x...
|
2 |
12/17/2008 9:50:03 PM |
|
Wrote my first WFC service, cannot access it from other computers on the network
I wrote a WFC service with VS2008 and am hosting it through VS2008. My test
client .exe can access the service just fine from the same computer, but
when I try to run it on a different box I get a TCP error to the effect of
"the host didn't respond".
My firewall is turned off.
Yes, I updated the .config file of the test client to point to the box
that's hosting the service.
Any c...
|
1 |
12/16/2008 5:44:58 PM |
|
Subject Image rendering in a .NET Web Service
I have a design dilemma here and I’m looking for suggestions. My
requirements pretty much dictate I have to build a Windows Service (program
needs to be running all the time), and I’ve chosen a Web Service specifically
with both a Windows Forms or WPF client and also a Silverlight web client.
For the sake of brevity, suffice to say that I need to render images within
this service...
|
2 |
12/16/2008 4:02:40 PM |
|
ContractFilter mismatch at the EndpointDispatcher
Hi to all,
I have a win32 app (written a few years back) that has its own built
in http server that has a web service end point.
What I want to do is create a new wcf service (basic) and let the
existing clients use this service rather than the win32 app web
service.
In the wsdl of the win32 web service I have :
- <operation name="GetBaseTemplates">
<soap:operation soapA...
|
1 |
12/16/2008 1:00:05 PM |
|
"Application start/stop" events in a WCF service
I have a WCF service hosted in IIS that accesses a singleton object living
in another thread. This thread is created on the first call, and reused on
subsequent calls, and this works quite well. Problem is that I need to know
when IIS stops or recycles the application so I can call Dispose() on
internal objects. In ASP.NET I would have used Application_End, but this
don't seem to be avai...
|
8 |
12/16/2008 11:08:53 AM |
|
WCF AJAX complex parameter class not auto generated for proxy
I am trying to call a service method which has both a complex parameter and a
complex response type.
I am hosting the service using WebScriptServiceHostFactory. I can access
the service's /js url. I cannot see in the generated proxy, any class for
the complex method parameter, through the WCF documentation states that one
should be generated.
Here are the elements of the service ...
|
2 |
12/10/2008 6:37:01 PM |
|
WCF Service Error
Hi All
Please can someone help us, we a re a team of 5 developers and have not
slept for nearly 48 hours now trying to sort this out. This is the LAST time
I listen to anything at teched !! no more fancy technology, VB6 from here on
!!!
We have released a project of sizable proportions using WCF, Entetity
framework, presentation foundation. Multi Milti million $ project and
started experi...
|
1 |
12/10/2008 2:36:49 PM |
|
Access WCF-Services after Client invoked windowsIdentity.Impersona
Hi,
I am using a WCF-Service to authorize a user in my client application.
If I am call the service all runs as excpected. But if the user doesn't have
the required permission, he can insert the credentials of another domainuser.
After I got the token of this user with LogonUser, I make an Impersonate
with this new Identity. When I now try to call the Service, I get an
Exception, that t...
|
1 |
12/10/2008 8:13:01 AM |
|
UDDI v3.0 in Windows Server 2008
Hello,
I have several questions regarding UDDI v3.0.
1. What is the best way to create a client to interact with UDDI v3.0? I am
assuming it is to use WCF to generate the client proxies from the uddi.org
wsdls.
2. Is it possible to install UDDI v3.0 on Windows Server 2003? If so, how?
3. Does the Microsoft UDDI API support v3.0 of the UDDI specification, the
MSDN documentation st...
|
1 |
12/9/2008 5:06:31 PM |
|
netsh error - 1312
I have seen numerous posts, both here and google, where people are having
this issue, but I have yet to see an explanation of the problem.
I have a WCF service that is working fine using http. But now we need to
upgrade it to use SSL. To do this we need to install and register a server
certificate.
I got a certificate (Web Server) from our enterprise cert server. Exported
it as a cer...
|
11 |
12/9/2008 4:41:01 PM |
|
Unable to update service reference
Hello,
I have written a windows service and using visual studio 2008.
I Place the exe (service) file on the target server.
Navigate to the exe file path with a command prompt.
Execute a command similar to the following:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe
AEDEV_Service.exe
Start the service
Now when I want to test it locally, i try to configure the service refe...
|
1 |
12/8/2008 9:59:02 PM |
|
WCF WSHttpBinding Anonymous
Hello...
I was wondering if anyone had any knowledge about how the NT
Authority\Authenticated Users account affects anonymous connections.
If seems if this account is removed then anonymous connections will no
longer work. It also seems that you have to have this account or add the
IUSR_<machine> account to the Users group.
Is there any programmatic solution to allow anonymou...
|
1 |
12/8/2008 6:55:02 PM |
|
Web service/soap/sql 2005
Hi, could some please advise on the best solution for my problem.
My company has just had a new website created and the web company have
designed an on-line application form.
We now need a method of receiving the data completed in the web form and
store it into our sql 2005 database.
I'm thinking of having the web compnay's server send over the xml data via
soap and creating a web se...
|
2 |
12/5/2008 1:58:48 AM |
|
Load testing WCF service hosted on IIS
Hi,
I have created a Load unit test in VS2008 and attached a ServiceClient
unit test that invokes a proxy and calls the service method. I ran
this load test with 25 user load and also attached the perf counters
of the machine on which the service is running. But in the result
summary the "request/sec" is coming blank. Any clues? Am I missing a
step or two? Please help.
Thanks & regards
...
|
1 |
12/4/2008 1:54:54 PM |
|
WCF and SQL Server Exception
After many hours (and days) of trying to get my little smart client / WCF
application up and running I finally have come to an error connecting to the
SQL Express 2008 on the server from my data access layer.
"The server was not found or was not accessible. Verify that the instance
name is correct and that SQL Server is configured to allow remote
connections. (provider: Named Pipes Prov...
|
1 |
12/3/2008 5:04:16 PM |