Note that there are some explanatory texts on larger screens.

plurals
  1. POWCF Operation not supported in WCF Test Client because it uses type
    primarykey
    data
    text
    <p>When I try to import a WSDL (<a href="http://ns.hr-xml.org/schemas/org_hr-xml/3_0/Services/Web_Services/WSDL/TimeCard.wsdl" rel="nofollow noreferrer">http://ns.hr-xml.org/schemas/org_hr-xml/3_0/Services/Web_Services/WSDL/TimeCard.wsdl</a>) via WCF Test Client I get the "</p> <blockquote> <p>WCF Operation not supported in WCF Test Client"</p> </blockquote> <p>because it uses type " error message as shown on screenshot. <img src="https://i.stack.imgur.com/oyjxz.jpg" alt="enter image description here"></p> <p>The contract looks like below, I'm not sure why I'm getting above error message. Could some one please guide me to right direction:</p> <pre><code>[System.ServiceModel.OperationContractAttribute(Action="ChangeTimeCard", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(HRXMLTimeCard.HRXML_Candidate_3_1.ConfirmBODType), Action="ChangeTimeCard", Name="ConfirmBOD", Namespace="http://www.openapplications.org/oagis/9")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BinaryObjectType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AmountType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(QuantityType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(PreferenceABIEType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AddressBaseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NameType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(PersonNameBaseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimePeriodABIEType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TextType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CodeType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(StatusBasisType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(VerbType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResponseCodeType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(IdentifierType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BusinessObjectDocumentType))] HRXMLTimeCard.HRXML_Candidate_3_1.ProcessTimeCardResponse ChangeTimeCard(HRXMLTimeCard.HRXML_Candidate_3_1.ChangeTimeCardRequest request); </code></pre> <p>And this is the ChangeTimeCardRequest class:</p> <pre><code>[System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] public partial class ChangeTimeCardRequest { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.hr-xml.org/3", Order=0)] public HRXMLTimeCard.HRXML_Candidate_3_1.ChangeTimeCardType ChangeTimeCard; public ChangeTimeCardRequest() { } public ChangeTimeCardRequest(HRXMLTimeCard.HRXML_Candidate_3_1.ChangeTimeCardType ChangeTimeCard) { this.ChangeTimeCard = ChangeTimeCard; } } </code></pre> <p>Below is the ChangeTimeCardType:</p> <pre><code>[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.225")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.hr-xml.org/3")] public partial class ChangeTimeCardType : BusinessObjectDocumentType { private ChangeTimeCardDataAreaType dataAreaField; /// &lt;remarks/&gt; [System.Xml.Serialization.XmlElementAttribute(Order=0)] public ChangeTimeCardDataAreaType DataArea { get { return this.dataAreaField; } set { this.dataAreaField = value; this.RaisePropertyChanged("DataArea"); } } } </code></pre> <p>Also, if wsdl doesn't work in WCF Test Client, does it mean it won't work for all clients ie. Java or php?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload