-
- Bad request?
by KevinBurton
- 14 Replies
- Last post
by Lukasz_S
- I am getting the following exception:
TestCase 'TestGetBasket'
failed: System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (400) Bad Request.
System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.
-
- Webservice endPoint configuration format for WCF
by MoazzamAhmed
- 2 Replies
- Last post
by MoazzamAhmed
- hi all so I thought WCF could call web services too. Is this true or is it either WCF OR Web services if you CAN call a web service through WCF, how would you configure its endpoint I have this all configured and my WS is running, & my proxy instantiates fine too (meaning it doesnt return null), but when I make a call to a method in my WS, it says "Object reference set to null". Th
-
- MessageCredentialType.UserName
by rnby
- 8 Replies
- Last post
by rnby
- HI , I want to auhtneticate by using a username and password that I get from the user untill the user logs out or times out. I have the following code in my client. where do I add the username and password
Client
private void Form1_Load(object sender, EventArgs e) { EndpointAddress epa = new EndpointAddress("http://CompanyName:7777/CompanyNameEndPoint/"); WS
-
- duplicate the same visual over and over
by bitbonk
- 4 Replies
- Last post
by bitbonk
- I need to draw a very simple graphic (just some lines) a lot of times on my UI. To increase performance I would like draw the visual just once (preferably using a DrawingVisual) and place the the same "handle" to that visual all over the UI at defined positions. What is the fastest/cheapes way to do this
-
- Consuming WebService WSHttpBinding
by wilLiam578310
- 1 Replies
- Last post
by Marcos Cobeña
- Hello! I got a simple WCF Service that exposes a Web Service. Im using using WSHttpBinding . The client its a ASP .NET site. When a call the Web Method, Ive got a TimeOut . This only happens when a get the metadata using the svcutil.exe. This TimeOut happens when i get the metadata with Visual Studio, " Add Web Reference ". Why is that In a ASP .NET, when i consuming a Web Service that
-
- Problem in Hosting WCF Service using Net Tcp Binding
by Kanhaiya
- 8 Replies
- Last post
by Dinesh Ravva - MSFT
- Hello,
I am developing a Chat Application, when I am using wsDualHttpBinding, everything working fine. Now when I have added one more end point using Net Tcp Binding, It's giving me error saying that "net tcp protocol is not supported".
The version of IIS on which I am working is 5.0.
My configuration file looks like below
< xml version = " 1.0 &quo
-
- LINQ to XML
by Hooper
- 5 Replies
- Last post
by Hooper
- Hi,
I have not used LINQ, just heard some about it. I have an older app that I maintain, written in the VS 6 days using MFC, I use VS 2005. My latest maintencance project is to add some XML ability to the app. So my question is can I use LINQ to do this
If so, are there examples anywhere
Thanks
Jeff
-
- Menu Control
by damy
- 5 Replies
- Last post
by Ben Carter - MSFT
- I'm in the process of creating a menu control for some of my projects. What I have in mind is a dynamic user control to which I can add children (grids, user controls, etc.) and some properties describing how they should be presented (eg. listview, radial view, 3d, etc.) Within the user control I can build the different menu styles and switch between ItemsPanelTemplates, ItemTemplates, etc. The st
-
- store ServiceSecurityContext.Current info
by GinaK
- 7 Replies
- Last post
by Todd West
- This may sound strange but is it possible to save the ServiceSecurityContext.Current info so that I can retrieve it and use it later
I have a scenario where the client subscribes itself via a subscription service in the host. The host resides in another machine. Later, another service from the same host tries to invoke a method from the subscriber's service.
The trouble I'm having is with S
-
- Unique Identifiers
by Mike Pisano
- 6 Replies
- Last post
by Rafik Robeal
- My current table has a integer auto incrementing value as the primary key which I need to rethink for synchronization. I thought about changing this to a GUID, but it would be complete overkill. My second option would be to use my USERID along with some DATE+TIME algorithm which still would generate a long key.
I've also been playing around with changing the increment value to -1 in my local XS
-
- force derived usercontrols to include certain controls in XAML
by hanuman523
- 2 Replies
- Last post
by hanuman523
- Is there a way to force usercontrols derived from another usercontrol to include a specific control in their XAML I'd like to have a virtual method in the base class which fetches the Text value of a textbox named "searchTB". I'd like to define the textbox in the XAML of the derived classes though. Is it possible to force the derived classes to include this in their XAML and have the vi
-
- WPF: making simple things easy and difficult things impossible?
by R&#38;&#35;252
- 3 Replies
- Last post
by billyzelsnack
- Hi everybody. I have been playing around with WPF for the last few months. I have been working with the excellent book "WPF unleashed" by adam nathan. So far I must say that WPF is a beautifully designed API that finally enforces a good separation between content and presentation. But as soon as you try to do something more complex, especially with complex animated geometry, the whole t
-
- Binding to a static class's static property
by Nishant Sivakumar
- 5 Replies
- Last post
by Patrick Sears
- I am having a tough time figuring out why the following is not working as expected. I have a static public class Preferences with a public static property of type String named Test. I am trying to bind this to a TextBox. I have this in <Window.Resources> :-
<ObjectDataProvider x:Key="Prefs" ObjectType="{x:Type local references}" />
And later on, I have
-
- SelectionChanged event fire on scrolling
by Kurtl
- 4 Replies
- Last post
by Kurtl
- I have a combobox (a column [in every row] in a listview), that use the "SelectionChanged" event (to get the new/old item value in the combobox when the index changed.)
But when i use the window scrollbar for scrolling the SelectionChanged event for the combobox is always raising - Why - and how can i suppress that
<!-- XAML Code -->
< Window.Resources >
-
- Source files above project directory.
by billyzelsnack
- 4 Replies
- Last post
by billyzelsnack
- Has this been fixed yet in C# I would prefer the following directory structure and it does not seem possible. The project files below the source files... foo App.xaml App.xaml.cs vs9 foo.sln foo.csproj Among other things I don't want the build files cluttering up my source directory.
-
- Getting null values from server
by AndyHuff
- 3 Replies
- Last post
by Sara Wong - MSFT
- I have not been able to successfully get any of my data returned unless it was a primative type. (For example if it returned a string it works just fine.) I have a simple class described in a data contract, but it never returns any data. Here is the code:
Service and Data Contracts on the client and server
Code Snippet
[ ServiceContract (Namespace = http://www.somenames
-
- CLient test fail....:-(
by Serge Calderara
- 7 Replies
- Last post
by Serge Calderara
- Dear all,
I am actually try to see how this WCF is working . For that I am using the step by step procedure describes in MSDN library with the ICalculator samples. Everything works fine until the point I try to connect to my end point with a client application.
- The service is up and running correctly
- I have generate the proxy class and the configuration file fior use in my cli
-
- using wsHttpBinding without enabling WS -AT Protocol
by Akshay Saini
- 2 Replies
- Last post
by Akshay Saini
- Hi,
My WCF service is using a wsHttpBinding hosted in IIS as :-
< bindings >
< wsHttpBinding >
< binding name = " Binding1 "
transactionFlow = " true " />
</ wsHttpBinding >
</ bindings >
My client is WCF client which start a tranasction which flowed to service.Tranactions are committed or aborted as expected.
As I h
-
- How to pass method parameters consisting of objects of non-serializable FCL types in WCF?
by MoKei
- 4 Replies
- Last post
by MoKei
- Hi,
I'm recently moving from .NET remoting to WCF and converting a NET remoting solution to WCF. The remoting projects consists of MarshalByRef classes that contain a lot of methods with non-serializable out-parameters (e.g. out IList<MethodInfo> to which object of type List<MethodInfo> is assigned).
That worked pretty well in remoting but WCF service fails - communic
-
- WCF and NHibernate
by shido
- 6 Replies
- Last post
by kargenc
- Hi,
I use a wcf with a nhibernate, but when I call a service occur an error. Only occur when nhibernate return a collection of objects (Person) with their children:
[Datacontract]
public Person
{
private List<Person> children;
[Datamember]
public List<Person> Children
{
...
Somebody can help me
Thank you!!
-
- Find an Element
by Aybe81
- 5 Replies
- Last post
by Robert@Big
- Hello,
I'm just trying to do this simple thing but it does not work ....
How to: Find an Element with a Specific Child Element ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/wd_linqxml/html/8035f18c-6199-4abb-9f46-cc23155f5899.htm
here is the sample code :
Dim root As XElement = XElement.Load("TestConfig.xml") Dim tests As IEnumerable(Of XElement) = _ From e
-
- Draw a line between two controls?
by DiamonDogX
- 4 Replies
- Last post
by Vuyka
- If I have to controls in a stackpanel or canvas (does it have to be a canvas ), how would I simply draw a line connecting them Thanks.
-
- VS2008 Installation on Win2000
by YL99
- 2 Replies
- Last post
by Figo Fei - MSFT
- Hello, I check the system requirement for VS2008 Beta, but there is no mention of installation on Windows 2000. Can VS2008 beta be installed on Win2000
-
- Question to experts
by petzold
- 13 Replies
- Last post
by WPCoder
- Hi fellas, I'm working on a project which is dependent on a huge project. This huge project has been just updated and I have upgrade something in my project. I'm getting the following error in my project: An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll Additional information: Cannot create instance of 'Window1' defined in assembly 'Te
-
- I suspect I am missing the big picture...but...
by Shawn Wildermuth - MVP &am
- 14 Replies
- Last post
by Shawn Wildermuth-MVP
- For a myriad of reasons I am devling into the Entity Provider and using the Query<> stuff its easy to query the model to get back an object graph. Great...really...
I am looking at how to tackle the enterprise data problem here (e.g. Reporting and such). The Entity Provider is simililar (though clearly not the same) as any other ADO.NET Managed Provider (e.g. no DataReader or DataAdap