consume webservice

A

alex

Hi,

My environnement is one server and another computer where I develop.

I try to consume webservice EPM by add the following link to the textbox
from add service in visual studio (2005 and 2008).
I obtain ‘The document format is not recognized (the content type is
‘text/html; charset=utf-8′).’.
So I find on the link the solution
http://projectserverblogs.com/index.php?s=wsdl
I copy the *.asmx in a specific folder, not a sharepoint website and I
generate the files aspx by using the SharePoint Web Service DISCO and WSDL
Generator.
So now when I try to consume the webservice by using the link specified in
my first line, it's ok. I can add the reference in visual studio.
BUT....
When I launch my program :

namespace ProjectWebService
{
class Program
{
static void Main(string[] args)
{
try
{
//Impossible de charger la DLL
'Microsoft.Office.Server.Native.dll': Le module spécifié est introuvable.
Project.ProjectDataSet dsProjectDs = new
ProjectWebService.Project.ProjectDataSet();
Project.Project pj = new Project.Project();
Guid projectUid = new
Guid("3D18618A-AFB3-4C5A-86F4-DAABF6793A2C");
dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);
if(dsProjectDs!=null)
dsProjectDs.WriteXml("c:\test.xml");
}
catch (Exception ex)
{
throw ex;
}


}
}
}

I obtain an exception.
this one, when the execution arrived to

dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);

The server was unable to process the application. ---> Unable to load the
DLL 'Microsoft.Office.Server.Native.dll': The specified module is not found.
(Exception of HRESULT: 0x8007007E)
So I Try to add reference to this one in visual but Visual denied.

In this moment, I install visual studio on the server.
And i will try to consume webservice on the computer.
But it's not a solution but an indication.

So do you have an idea?

Thanks,
Alexandre, new in EPM :)
 
A

alex

Hi,

Your help has been very useful.
So I continu to try to consume my webservice.

I evolve the source code, now I obtain another problem.
When I try to use readproject() I obtain an error about myCredential.
So I decide to login to the server by using the webservice winlogin.amsx

I initialise by the good credentials the object networkcredentials.
And I add this element on my login object.
So when I call the method Login().
I obtain an error :

->The server did not recognize the value of the HTTP header

class login
{
public void Launch()
{
try
{
string projectWebService = "/_vti_bin/PSI/Project.asmx";
string baseUrl = "http://epm2008:82/pwa"; //project web server
baseUrl = baseUrl + projectWebService;
WebSvcLoginWindows.LoginWindows lw = new
ProjectWebService.WebSvcLoginWindows.LoginWindows();
NetworkCredential nc = new
NetworkCredential("administrateur", "Epm2007");
CredentialCache credentialCache = new CredentialCache();
credentialCache.Add(new Uri(baseUrl), "NTLM", nc);
lw.Credentials = credentialCache;
lw.Url = baseUrl;
lw.
if (lw.Login()) //here the error appears
{
ProjectDataSet dsprojetDs = new ProjectDataSet();
Project pj = new Project();
Guid projetUid = new
Guid("AE4C3693-A1ED-4848-9BDD-A31F460B7645");
dsprojetDs = pj.ReadProject(
projetUid,
DataStoreEnum.PublishedStore);
if (dsprojetDs != null)
dsprojetDs.WriteXml("c:\test.xml");
}
else
{
Console.WriteLine("pas de login");
}

}
catch (Exception ex)
{
throw ex;
}


}
}

I find some explanations on the sites but it's not match exactly with my
problem.
as
http://bluebones.net/2003/07/server-did-not-recognize-http-header-soapaction/
but I don't move my webService to another server.

I continu to search.

Thanks by advance.
Alexandre . new in EPM

Chris Boyd said:
Hello,

When you add the web service, can you please try the following:

http://blogs.msdn.com/project_progr...eb-reference-to-the-psi-in-the-rtm-build.aspx


You should not have to reference 'Microsoft.Office.Server.Native.dll'.

--
Chris Boyd
MS Project
Program Manager

Blog: http://blogs.msdn.com/project_programmability/


alex said:
Hi,

My environnement is one server and another computer where I develop.

I try to consume webservice EPM by add the following link to the textbox
from add service in visual studio (2005 and 2008).
I obtain ‘The document format is not recognized (the content type is
‘text/html; charset=utf-8′).’.
So I find on the link the solution
http://projectserverblogs.com/index.php?s=wsdl
I copy the *.asmx in a specific folder, not a sharepoint website and I
generate the files aspx by using the SharePoint Web Service DISCO and WSDL
Generator.
So now when I try to consume the webservice by using the link specified in
my first line, it's ok. I can add the reference in visual studio.
BUT....
When I launch my program :

namespace ProjectWebService
{
class Program
{
static void Main(string[] args)
{
try
{
//Impossible de charger la DLL
'Microsoft.Office.Server.Native.dll': Le module spécifié est introuvable.
Project.ProjectDataSet dsProjectDs = new
ProjectWebService.Project.ProjectDataSet();
Project.Project pj = new Project.Project();
Guid projectUid = new
Guid("3D18618A-AFB3-4C5A-86F4-DAABF6793A2C");
dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);
if(dsProjectDs!=null)
dsProjectDs.WriteXml("c:\test.xml");
}
catch (Exception ex)
{
throw ex;
}


}
}
}

I obtain an exception.
this one, when the execution arrived to

dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);

The server was unable to process the application. ---> Unable to load the
DLL 'Microsoft.Office.Server.Native.dll': The specified module is not found.
(Exception of HRESULT: 0x8007007E)
So I Try to add reference to this one in visual but Visual denied.

In this moment, I install visual studio on the server.
And i will try to consume webservice on the computer.
But it's not a solution but an indication.

So do you have an idea?

Thanks,
Alexandre, new in EPM :)
 
A

alex

So, I don't find any solution about my error.
Except this one,
I use the project logon in the sdk and I incorporate my source code about
readProject.
I obtain an xml file, it's a good news :)
So i try to open the xml file by msp.
I can choose
-incorpore in the project,
-as new project
-merge datas

So I choose as new project but nothing appears in my windows.
I open my xml file by notepad and I can see tasks, and other properties with
values.
Maybe I should do another action?
My way, it's to obtain an extract of any project.

An idea?

Alexandre


alex said:
Hi,

Your help has been very useful.
So I continu to try to consume my webservice.

I evolve the source code, now I obtain another problem.
When I try to use readproject() I obtain an error about myCredential.
So I decide to login to the server by using the webservice winlogin.amsx

I initialise by the good credentials the object networkcredentials.
And I add this element on my login object.
So when I call the method Login().
I obtain an error :

->The server did not recognize the value of the HTTP header

class login
{
public void Launch()
{
try
{
string projectWebService = "/_vti_bin/PSI/Project.asmx";
string baseUrl = "http://epm2008:82/pwa"; //project web server
baseUrl = baseUrl + projectWebService;
WebSvcLoginWindows.LoginWindows lw = new
ProjectWebService.WebSvcLoginWindows.LoginWindows();
NetworkCredential nc = new
NetworkCredential("administrateur", "Epm2007");
CredentialCache credentialCache = new CredentialCache();
credentialCache.Add(new Uri(baseUrl), "NTLM", nc);
lw.Credentials = credentialCache;
lw.Url = baseUrl;
lw.
if (lw.Login()) //here the error appears
{
ProjectDataSet dsprojetDs = new ProjectDataSet();
Project pj = new Project();
Guid projetUid = new
Guid("AE4C3693-A1ED-4848-9BDD-A31F460B7645");
dsprojetDs = pj.ReadProject(
projetUid,
DataStoreEnum.PublishedStore);
if (dsprojetDs != null)
dsprojetDs.WriteXml("c:\test.xml");
}
else
{
Console.WriteLine("pas de login");
}

}
catch (Exception ex)
{
throw ex;
}


}
}

I find some explanations on the sites but it's not match exactly with my
problem.
as
http://bluebones.net/2003/07/server-did-not-recognize-http-header-soapaction/
but I don't move my webService to another server.

I continu to search.

Thanks by advance.
Alexandre . new in EPM

Chris Boyd said:
Hello,

When you add the web service, can you please try the following:

http://blogs.msdn.com/project_progr...eb-reference-to-the-psi-in-the-rtm-build.aspx


You should not have to reference 'Microsoft.Office.Server.Native.dll'.

--
Chris Boyd
MS Project
Program Manager

Blog: http://blogs.msdn.com/project_programmability/


alex said:
Hi,

My environnement is one server and another computer where I develop.

I try to consume webservice EPM by add the following link to the textbox
from add service in visual studio (2005 and 2008).
I obtain ‘The document format is not recognized (the content type is
‘text/html; charset=utf-8′).’.
So I find on the link the solution
http://projectserverblogs.com/index.php?s=wsdl
I copy the *.asmx in a specific folder, not a sharepoint website and I
generate the files aspx by using the SharePoint Web Service DISCO and WSDL
Generator.
So now when I try to consume the webservice by using the link specified in
my first line, it's ok. I can add the reference in visual studio.
BUT....
When I launch my program :

namespace ProjectWebService
{
class Program
{
static void Main(string[] args)
{
try
{
//Impossible de charger la DLL
'Microsoft.Office.Server.Native.dll': Le module spécifié est introuvable.
Project.ProjectDataSet dsProjectDs = new
ProjectWebService.Project.ProjectDataSet();
Project.Project pj = new Project.Project();
Guid projectUid = new
Guid("3D18618A-AFB3-4C5A-86F4-DAABF6793A2C");
dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);
if(dsProjectDs!=null)
dsProjectDs.WriteXml("c:\test.xml");
}
catch (Exception ex)
{
throw ex;
}


}
}
}

I obtain an exception.
this one, when the execution arrived to

dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);

The server was unable to process the application. ---> Unable to load the
DLL 'Microsoft.Office.Server.Native.dll': The specified module is not found.
(Exception of HRESULT: 0x8007007E)
So I Try to add reference to this one in visual but Visual denied.

In this moment, I install visual studio on the server.
And i will try to consume webservice on the computer.
But it's not a solution but an indication.

So do you have an idea?

Thanks,
Alexandre, new in EPM :)
 
C

Chris Boyd

Hello,

The serialized dataset will not load into Project Client. The open from XML
in Project client is meant for projects that have been saved to XML view the
Save As in Project Client.
--
Chris Boyd
MS Project
Program Manager

Blog: http://blogs.msdn.com/project_programmability/


alex said:
So, I don't find any solution about my error.
Except this one,
I use the project logon in the sdk and I incorporate my source code about
readProject.
I obtain an xml file, it's a good news :)
So i try to open the xml file by msp.
I can choose
-incorpore in the project,
-as new project
-merge datas

So I choose as new project but nothing appears in my windows.
I open my xml file by notepad and I can see tasks, and other properties with
values.
Maybe I should do another action?
My way, it's to obtain an extract of any project.

An idea?

Alexandre


alex said:
Hi,

Your help has been very useful.
So I continu to try to consume my webservice.

I evolve the source code, now I obtain another problem.
When I try to use readproject() I obtain an error about myCredential.
So I decide to login to the server by using the webservice winlogin.amsx

I initialise by the good credentials the object networkcredentials.
And I add this element on my login object.
So when I call the method Login().
I obtain an error :

->The server did not recognize the value of the HTTP header

class login
{
public void Launch()
{
try
{
string projectWebService = "/_vti_bin/PSI/Project.asmx";
string baseUrl = "http://epm2008:82/pwa"; //project web server
baseUrl = baseUrl + projectWebService;
WebSvcLoginWindows.LoginWindows lw = new
ProjectWebService.WebSvcLoginWindows.LoginWindows();
NetworkCredential nc = new
NetworkCredential("administrateur", "Epm2007");
CredentialCache credentialCache = new CredentialCache();
credentialCache.Add(new Uri(baseUrl), "NTLM", nc);
lw.Credentials = credentialCache;
lw.Url = baseUrl;
lw.
if (lw.Login()) //here the error appears
{
ProjectDataSet dsprojetDs = new ProjectDataSet();
Project pj = new Project();
Guid projetUid = new
Guid("AE4C3693-A1ED-4848-9BDD-A31F460B7645");
dsprojetDs = pj.ReadProject(
projetUid,
DataStoreEnum.PublishedStore);
if (dsprojetDs != null)
dsprojetDs.WriteXml("c:\test.xml");
}
else
{
Console.WriteLine("pas de login");
}

}
catch (Exception ex)
{
throw ex;
}


}
}

I find some explanations on the sites but it's not match exactly with my
problem.
as
http://bluebones.net/2003/07/server-did-not-recognize-http-header-soapaction/
but I don't move my webService to another server.

I continu to search.

Thanks by advance.
Alexandre . new in EPM

Chris Boyd said:
Hello,

When you add the web service, can you please try the following:

http://blogs.msdn.com/project_progr...eb-reference-to-the-psi-in-the-rtm-build.aspx


You should not have to reference 'Microsoft.Office.Server.Native.dll'.

--
Chris Boyd
MS Project
Program Manager

Blog: http://blogs.msdn.com/project_programmability/


:

Hi,

My environnement is one server and another computer where I develop.

I try to consume webservice EPM by add the following link to the textbox
from add service in visual studio (2005 and 2008).
I obtain ‘The document format is not recognized (the content type is
‘text/html; charset=utf-8′).’.
So I find on the link the solution
http://projectserverblogs.com/index.php?s=wsdl
I copy the *.asmx in a specific folder, not a sharepoint website and I
generate the files aspx by using the SharePoint Web Service DISCO and WSDL
Generator.
So now when I try to consume the webservice by using the link specified in
my first line, it's ok. I can add the reference in visual studio.
BUT....
When I launch my program :

namespace ProjectWebService
{
class Program
{
static void Main(string[] args)
{
try
{
//Impossible de charger la DLL
'Microsoft.Office.Server.Native.dll': Le module spécifié est introuvable.
Project.ProjectDataSet dsProjectDs = new
ProjectWebService.Project.ProjectDataSet();
Project.Project pj = new Project.Project();
Guid projectUid = new
Guid("3D18618A-AFB3-4C5A-86F4-DAABF6793A2C");
dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);
if(dsProjectDs!=null)
dsProjectDs.WriteXml("c:\test.xml");
}
catch (Exception ex)
{
throw ex;
}


}
}
}

I obtain an exception.
this one, when the execution arrived to

dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);

The server was unable to process the application. ---> Unable to load the
DLL 'Microsoft.Office.Server.Native.dll': The specified module is not found.
(Exception of HRESULT: 0x8007007E)
So I Try to add reference to this one in visual but Visual denied.

In this moment, I install visual studio on the server.
And i will try to consume webservice on the computer.
But it's not a solution but an indication.

So do you have an idea?

Thanks,
Alexandre, new in EPM :)
 
A

alex

Hi Chris,

Thanks about your answer(s).
So do you know the process to get a whole project by webservices and open
it by msp. I want to automate the following process :

In Microsoft Project Professionnal, I should click on open project, retrieve
from the server, open it. After that I choose save under, my filter is xml
and I choose the first choice (you can save with enterprise values or not, I
choose with the most datas).

Why I need to do it, because I need to export to xml the project to another
program.

The post in relation with the problem is Get Totally project by webservice.

Do you have an idea about it?
a runway?

Thanks,
Alexandre

Chris Boyd said:
Hello,

The serialized dataset will not load into Project Client. The open from XML
in Project client is meant for projects that have been saved to XML view the
Save As in Project Client.
--
Chris Boyd
MS Project
Program Manager

Blog: http://blogs.msdn.com/project_programmability/


alex said:
So, I don't find any solution about my error.
Except this one,
I use the project logon in the sdk and I incorporate my source code about
readProject.
I obtain an xml file, it's a good news :)
So i try to open the xml file by msp.
I can choose
-incorpore in the project,
-as new project
-merge datas

So I choose as new project but nothing appears in my windows.
I open my xml file by notepad and I can see tasks, and other properties with
values.
Maybe I should do another action?
My way, it's to obtain an extract of any project.

An idea?

Alexandre


alex said:
Hi,

Your help has been very useful.
So I continu to try to consume my webservice.

I evolve the source code, now I obtain another problem.
When I try to use readproject() I obtain an error about myCredential.
So I decide to login to the server by using the webservice winlogin.amsx

I initialise by the good credentials the object networkcredentials.
And I add this element on my login object.
So when I call the method Login().
I obtain an error :

->The server did not recognize the value of the HTTP header

class login
{
public void Launch()
{
try
{
string projectWebService = "/_vti_bin/PSI/Project.asmx";
string baseUrl = "http://epm2008:82/pwa"; //project web server
baseUrl = baseUrl + projectWebService;
WebSvcLoginWindows.LoginWindows lw = new
ProjectWebService.WebSvcLoginWindows.LoginWindows();
NetworkCredential nc = new
NetworkCredential("administrateur", "Epm2007");
CredentialCache credentialCache = new CredentialCache();
credentialCache.Add(new Uri(baseUrl), "NTLM", nc);
lw.Credentials = credentialCache;
lw.Url = baseUrl;
lw.
if (lw.Login()) //here the error appears
{
ProjectDataSet dsprojetDs = new ProjectDataSet();
Project pj = new Project();
Guid projetUid = new
Guid("AE4C3693-A1ED-4848-9BDD-A31F460B7645");
dsprojetDs = pj.ReadProject(
projetUid,
DataStoreEnum.PublishedStore);
if (dsprojetDs != null)
dsprojetDs.WriteXml("c:\test.xml");
}
else
{
Console.WriteLine("pas de login");
}

}
catch (Exception ex)
{
throw ex;
}


}
}

I find some explanations on the sites but it's not match exactly with my
problem.
as
http://bluebones.net/2003/07/server-did-not-recognize-http-header-soapaction/
but I don't move my webService to another server.

I continu to search.

Thanks by advance.
Alexandre . new in EPM

:

Hello,

When you add the web service, can you please try the following:

http://blogs.msdn.com/project_progr...eb-reference-to-the-psi-in-the-rtm-build.aspx


You should not have to reference 'Microsoft.Office.Server.Native.dll'.

--
Chris Boyd
MS Project
Program Manager

Blog: http://blogs.msdn.com/project_programmability/


:

Hi,

My environnement is one server and another computer where I develop.

I try to consume webservice EPM by add the following link to the textbox
from add service in visual studio (2005 and 2008).
I obtain ‘The document format is not recognized (the content type is
‘text/html; charset=utf-8′).’.
So I find on the link the solution
http://projectserverblogs.com/index.php?s=wsdl
I copy the *.asmx in a specific folder, not a sharepoint website and I
generate the files aspx by using the SharePoint Web Service DISCO and WSDL
Generator.
So now when I try to consume the webservice by using the link specified in
my first line, it's ok. I can add the reference in visual studio.
BUT....
When I launch my program :

namespace ProjectWebService
{
class Program
{
static void Main(string[] args)
{
try
{
//Impossible de charger la DLL
'Microsoft.Office.Server.Native.dll': Le module spécifié est introuvable.
Project.ProjectDataSet dsProjectDs = new
ProjectWebService.Project.ProjectDataSet();
Project.Project pj = new Project.Project();
Guid projectUid = new
Guid("3D18618A-AFB3-4C5A-86F4-DAABF6793A2C");
dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);
if(dsProjectDs!=null)
dsProjectDs.WriteXml("c:\test.xml");
}
catch (Exception ex)
{
throw ex;
}


}
}
}

I obtain an exception.
this one, when the execution arrived to

dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);

The server was unable to process the application. ---> Unable to load the
DLL 'Microsoft.Office.Server.Native.dll': The specified module is not found.
(Exception of HRESULT: 0x8007007E)
So I Try to add reference to this one in visual but Visual denied.

In this moment, I install visual studio on the server.
And i will try to consume webservice on the computer.
But it's not a solution but an indication.

So do you have an idea?

Thanks,
Alexandre, new in EPM :)
 
A

alex

Hi,

I try to find a way to save my project on the officeservers to permit to use
readproject webservice. But I realize I can't save in xml format the project
on the server. I can save only on my computer.
Do you know a way?
Because I read another time your answer, and If I understant my project
should be save in xml to be export by readproject.

If it's not possible, thanks to inform.

Thanks,
Alexandre

alex said:
Hi Chris,

Thanks about your answer(s).
So do you know the process to get a whole project by webservices and open
it by msp. I want to automate the following process :

In Microsoft Project Professionnal, I should click on open project, retrieve
from the server, open it. After that I choose save under, my filter is xml
and I choose the first choice (you can save with enterprise values or not, I
choose with the most datas).

Why I need to do it, because I need to export to xml the project to another
program.

The post in relation with the problem is Get Totally project by webservice.

Do you have an idea about it?
a runway?

Thanks,
Alexandre

Chris Boyd said:
Hello,

The serialized dataset will not load into Project Client. The open from XML
in Project client is meant for projects that have been saved to XML view the
Save As in Project Client.
--
Chris Boyd
MS Project
Program Manager

Blog: http://blogs.msdn.com/project_programmability/


alex said:
So, I don't find any solution about my error.
Except this one,
I use the project logon in the sdk and I incorporate my source code about
readProject.
I obtain an xml file, it's a good news :)
So i try to open the xml file by msp.
I can choose
-incorpore in the project,
-as new project
-merge datas

So I choose as new project but nothing appears in my windows.
I open my xml file by notepad and I can see tasks, and other properties with
values.
Maybe I should do another action?
My way, it's to obtain an extract of any project.

An idea?

Alexandre


:

Hi,

Your help has been very useful.
So I continu to try to consume my webservice.

I evolve the source code, now I obtain another problem.
When I try to use readproject() I obtain an error about myCredential.
So I decide to login to the server by using the webservice winlogin.amsx

I initialise by the good credentials the object networkcredentials.
And I add this element on my login object.
So when I call the method Login().
I obtain an error :

->The server did not recognize the value of the HTTP header

class login
{
public void Launch()
{
try
{
string projectWebService = "/_vti_bin/PSI/Project.asmx";
string baseUrl = "http://epm2008:82/pwa"; //project web server
baseUrl = baseUrl + projectWebService;
WebSvcLoginWindows.LoginWindows lw = new
ProjectWebService.WebSvcLoginWindows.LoginWindows();
NetworkCredential nc = new
NetworkCredential("administrateur", "Epm2007");
CredentialCache credentialCache = new CredentialCache();
credentialCache.Add(new Uri(baseUrl), "NTLM", nc);
lw.Credentials = credentialCache;
lw.Url = baseUrl;
lw.
if (lw.Login()) //here the error appears
{
ProjectDataSet dsprojetDs = new ProjectDataSet();
Project pj = new Project();
Guid projetUid = new
Guid("AE4C3693-A1ED-4848-9BDD-A31F460B7645");
dsprojetDs = pj.ReadProject(
projetUid,
DataStoreEnum.PublishedStore);
if (dsprojetDs != null)
dsprojetDs.WriteXml("c:\test.xml");
}
else
{
Console.WriteLine("pas de login");
}

}
catch (Exception ex)
{
throw ex;
}


}
}

I find some explanations on the sites but it's not match exactly with my
problem.
as
http://bluebones.net/2003/07/server-did-not-recognize-http-header-soapaction/
but I don't move my webService to another server.

I continu to search.

Thanks by advance.
Alexandre . new in EPM

:

Hello,

When you add the web service, can you please try the following:

http://blogs.msdn.com/project_progr...eb-reference-to-the-psi-in-the-rtm-build.aspx


You should not have to reference 'Microsoft.Office.Server.Native.dll'.

--
Chris Boyd
MS Project
Program Manager

Blog: http://blogs.msdn.com/project_programmability/


:

Hi,

My environnement is one server and another computer where I develop.

I try to consume webservice EPM by add the following link to the textbox
from add service in visual studio (2005 and 2008).
I obtain ‘The document format is not recognized (the content type is
‘text/html; charset=utf-8′).’.
So I find on the link the solution
http://projectserverblogs.com/index.php?s=wsdl
I copy the *.asmx in a specific folder, not a sharepoint website and I
generate the files aspx by using the SharePoint Web Service DISCO and WSDL
Generator.
So now when I try to consume the webservice by using the link specified in
my first line, it's ok. I can add the reference in visual studio.
BUT....
When I launch my program :

namespace ProjectWebService
{
class Program
{
static void Main(string[] args)
{
try
{
//Impossible de charger la DLL
'Microsoft.Office.Server.Native.dll': Le module spécifié est introuvable.
Project.ProjectDataSet dsProjectDs = new
ProjectWebService.Project.ProjectDataSet();
Project.Project pj = new Project.Project();
Guid projectUid = new
Guid("3D18618A-AFB3-4C5A-86F4-DAABF6793A2C");
dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);
if(dsProjectDs!=null)
dsProjectDs.WriteXml("c:\test.xml");
}
catch (Exception ex)
{
throw ex;
}


}
}
}

I obtain an exception.
this one, when the execution arrived to

dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);

The server was unable to process the application. ---> Unable to load the
DLL 'Microsoft.Office.Server.Native.dll': The specified module is not found.
(Exception of HRESULT: 0x8007007E)
So I Try to add reference to this one in visual but Visual denied.

In this moment, I install visual studio on the server.
And i will try to consume webservice on the computer.
But it's not a solution but an indication.

So do you have an idea?

Thanks,
Alexandre, new in EPM :)
 
Top