Click here to Skip to main content
15,884,537 members
Home / Discussions / C#
   

C#

 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
Gerry Schmitz4-Jan-17 19:47
mveGerry Schmitz4-Jan-17 19:47 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic4-Jan-17 20:10
MaWeRic4-Jan-17 20:10 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic4-Jan-17 20:13
MaWeRic4-Jan-17 20:13 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
zequion4-Jan-17 23:08
professionalzequion4-Jan-17 23:08 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
Pete O'Hanlon4-Jan-17 23:09
mvePete O'Hanlon4-Jan-17 23:09 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
Gerry Schmitz4-Jan-17 21:19
mveGerry Schmitz4-Jan-17 21:19 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic4-Jan-17 23:12
MaWeRic4-Jan-17 23:12 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic5-Jan-17 1:00
MaWeRic5-Jan-17 1:00 
Everything ok with browsing the service. Filtering etc work like a charm. This is for sure client-issue.

I have tried to generate proxyclasses using 2 different tools that state they can produce proxy for OData v4.

If I try to use Add Service Reference I get en error like this :

Quote:
The document at the url file:///e:/client.xml was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'XML Schema' is 'The root element of a W3C XML Schema should be <schema> and its namespace should be 'http://www.w3.org/2001/XMLSchema'.'.
- Report from 'DISCO Document' is 'Discovery document at the URL file:///e:/client.xml could not be found.'.
- The document format is not recognized.
- Report from 'WSDL Document' is 'There is an error in XML document (2, 2).'.
- <edmx xmlns="http://docs.oasis-open.org/odata/ns/edmx"> was not expected.
If the service is defined in the current solution, try building the solution and adding the service reference again.


Guess That built in proxyclass generator only handles up to V3?

This is what my Schema look like:

<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
  <edmx:DataServices>
    <Schema Namespace="NAV" xmlns="http://docs.oasis-open.org/odata/ns/edm">


Thanks
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
Gerry Schmitz5-Jan-17 5:23
mveGerry Schmitz5-Jan-17 5:23 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic5-Jan-17 8:00
MaWeRic5-Jan-17 8:00 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
Gerry Schmitz5-Jan-17 8:25
mveGerry Schmitz5-Jan-17 8:25 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic5-Jan-17 8:26
MaWeRic5-Jan-17 8:26 
QuestionGlobal structure in Main, Functions and .dlls Pin
zequion3-Jan-17 21:58
professionalzequion3-Jan-17 21:58 
AnswerRe: Global structure in Main, Functions and .dlls Pin
Richard MacCutchan3-Jan-17 23:32
mveRichard MacCutchan3-Jan-17 23:32 
GeneralRe: Global structure in Main, Functions and .dlls Pin
zequion4-Jan-17 1:11
professionalzequion4-Jan-17 1:11 
GeneralRe: Global structure in Main, Functions and .dlls Pin
Richard MacCutchan4-Jan-17 1:16
mveRichard MacCutchan4-Jan-17 1:16 
GeneralRe: Global structure in Main, Functions and .dlls Pin
zequion4-Jan-17 6:41
professionalzequion4-Jan-17 6:41 
GeneralRe: Global structure in Main, Functions and .dlls Pin
Richard MacCutchan4-Jan-17 6:47
mveRichard MacCutchan4-Jan-17 6:47 
GeneralRe: Global structure in Main, Functions and .dlls Pin
zequion4-Jan-17 7:57
professionalzequion4-Jan-17 7:57 
GeneralRe: Global structure in Main, Functions and .dlls Pin
Richard MacCutchan4-Jan-17 21:27
mveRichard MacCutchan4-Jan-17 21:27 
AnswerRe: Global structure in Main, Functions and .dlls Pin
Gerry Schmitz4-Jan-17 7:52
mveGerry Schmitz4-Jan-17 7:52 
Questionhow to store the value selection on calendar in database Pin
being A.S.3-Jan-17 18:37
being A.S.3-Jan-17 18:37 
AnswerRe: how to store the value selection on calendar in database Pin
dan!sh 3-Jan-17 19:55
professional dan!sh 3-Jan-17 19:55 
QuestionRetrieving data from a webpage Pin
MAW303-Jan-17 13:46
MAW303-Jan-17 13:46 
AnswerRe: Retrieving data from a webpage Pin
dan!sh 3-Jan-17 17:30
professional dan!sh 3-Jan-17 17:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.