Questions tagged [wscf]

11 questions
14
votes
1 answer

Why do I get ActionNotSupportedException for my WCF client/service?

I'm learning WCF, specifically I'm learning how to write them contract first, ala wscf.blue I can create a WCF client/service the contract last way (Microsoft) I can create a WCF client/service the contract first way (WSCF) But, if I create a…
RoboJ1M
  • 1,590
  • 2
  • 27
  • 34
7
votes
2 answers

Generating code from WSDL in WCF keeps returning message does not match the default value

Ok, this is driving me insane. I've been trying to build service implementation code from a predefined wsdl and it is consistently returning a message on the service contract/interface: // CODEGEN: Generating message contract since the wrapper name…
Brutus35
  • 573
  • 2
  • 6
  • 12
6
votes
1 answer

XmlSerializer in .NET with XmlSchemaForm.Unqualified

Given the following piece of code: using System; using System.Xml.Schema; using System.Xml.Serialization; namespace XmlSerializationTest { [XmlType(Namespace = "http://www.test.com")] public class Element { [XmlElement] …
Stefan
  • 4,166
  • 3
  • 33
  • 47
5
votes
2 answers

Generating DataContracts with exact namespace as in XSD

We have to integrate our project with back end Oracle Platform. And this integration is via various WebServices. I have all WSDLs and XSDs for all these integrations. And I need to generate DataContracts from these WSDLs & XSDs. Now the problem is,…
Nirmit Shah
  • 758
  • 4
  • 10
3
votes
3 answers

WCF service one-way method with fault message

I wanted to create a one-way method for wcf service. Everything is ok unless I want to return fault message - if any. I am using wscf blue code generator for wsdl and contract files. In wsdl operation element I have only 'Input' and 'Fault' child…
user740144
  • 527
  • 2
  • 5
  • 15
2
votes
1 answer

How to specify a generic Type parameter in XSD Data Contract?

I have the following Request and Response Data Contract pair for a Webservice method call
NZJames
  • 4,963
  • 15
  • 50
  • 100
2
votes
2 answers

Generating Service Contract from a WSDL

I have a WSDL that I need to generate a ServiceContract (OperationContract, DataContract)... I have found a way to do it for ASMX WebServices but can't seem to find how to do it in WCF. I have tried running svcutil AuthPartnerWSDL.wsdl /i…
kay.one
  • 7,622
  • 6
  • 55
  • 74
1
vote
2 answers

WCF SOAP payload content serialization with different types

I am dealing with a WSCF (Web Service Contract Firs) implementation where I received the XSDs files and the generic call as a WSDL file. The generic SOAP call looks like this: `
Thiago
  • 39
  • 5
0
votes
0 answers

bad line in namelist &ions: " 10 10 1 0 0 0" (error could be in the previous line)

every one can you help me to solve this problem below. I try to simulate an input.in file using Quantum expresso, but I find the following error 'bad line in namelist &ions: " 10 10 1 0 0 0" (error could be in the previous line)'. I wish you help…
0
votes
0 answers

Consuming web service with WSCF, Unicode characters deserializing to '??'

We use WSCF (Web Services Contract First) to create client proxies to consume another web service that we own. The web service is returning "special" characters such as ® in some of the fields. We are seeing these characters as "??" (it is…
Cortright
  • 1,164
  • 6
  • 19
0
votes
1 answer

WCF-service with xsd generated dataclasses returns empty objects

I have an xsd-file with which I generate dataclasses (with xsd.exe or WSCF-blue) for building a WCF-service. Then I add the generated classes to the operations in the WCF-service like this: MyGeneratedClassOUT operation1(MyGeneratedClassIN…
Mathieu
  • 3,073
  • 1
  • 19
  • 25