Click here to Skip to main content
15,850,753 members
Home / Discussions / C#
   

C#

 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
Gerry Schmitz4-Jan-17 20:47
mveGerry Schmitz4-Jan-17 20:47 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic4-Jan-17 21:10
MaWeRic4-Jan-17 21:10 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic4-Jan-17 21:13
MaWeRic4-Jan-17 21:13 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
zequion5-Jan-17 0:08
professionalzequion5-Jan-17 0:08 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
Pete O'Hanlon5-Jan-17 0:09
subeditorPete O'Hanlon5-Jan-17 0:09 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
Gerry Schmitz4-Jan-17 22:19
mveGerry Schmitz4-Jan-17 22:19 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic5-Jan-17 0:12
MaWeRic5-Jan-17 0:12 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic5-Jan-17 2:00
MaWeRic5-Jan-17 2: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 6:23
mveGerry Schmitz5-Jan-17 6:23 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic5-Jan-17 9:00
MaWeRic5-Jan-17 9:00 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
Gerry Schmitz5-Jan-17 9:25
mveGerry Schmitz5-Jan-17 9:25 
GeneralRe: Interacting with a Page Web Service (OData v4) Error Pin
MaWeRic5-Jan-17 9:26
MaWeRic5-Jan-17 9:26 
QuestionGlobal structure in Main, Functions and .dlls Pin
zequion3-Jan-17 22:58
professionalzequion3-Jan-17 22:58 
AnswerRe: Global structure in Main, Functions and .dlls Pin
Richard MacCutchan4-Jan-17 0:32
mveRichard MacCutchan4-Jan-17 0:32 
GeneralRe: Global structure in Main, Functions and .dlls Pin
zequion4-Jan-17 2:11
professionalzequion4-Jan-17 2:11 
GeneralRe: Global structure in Main, Functions and .dlls Pin
Richard MacCutchan4-Jan-17 2:16
mveRichard MacCutchan4-Jan-17 2:16 
GeneralRe: Global structure in Main, Functions and .dlls Pin
zequion4-Jan-17 7:41
professionalzequion4-Jan-17 7:41 
GeneralRe: Global structure in Main, Functions and .dlls Pin
Richard MacCutchan4-Jan-17 7:47
mveRichard MacCutchan4-Jan-17 7:47 
GeneralRe: Global structure in Main, Functions and .dlls Pin
zequion4-Jan-17 8:57
professionalzequion4-Jan-17 8:57 
GeneralRe: Global structure in Main, Functions and .dlls Pin
Richard MacCutchan4-Jan-17 22:27
mveRichard MacCutchan4-Jan-17 22:27 
AnswerRe: Global structure in Main, Functions and .dlls Pin
Gerry Schmitz4-Jan-17 8:52
mveGerry Schmitz4-Jan-17 8:52 
Questionhow to store the value selection on calendar in database Pin
being A.S.3-Jan-17 19:37
being A.S.3-Jan-17 19:37 
AnswerRe: how to store the value selection on calendar in database Pin
dan!sh 3-Jan-17 20:55
professional dan!sh 3-Jan-17 20:55 
QuestionRetrieving data from a webpage Pin
MAW303-Jan-17 14:46
MAW303-Jan-17 14:46 
AnswerRe: Retrieving data from a webpage Pin
dan!sh 3-Jan-17 18:30
professional dan!sh 3-Jan-17 18: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.