Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
Questionis there any way to create a new Process from a Stream? [modified] Pin
Demasoni8-Sep-09 3:51
Demasoni8-Sep-09 3:51 
GeneralRe: is there any way to create a new Process from a Stream? Pin
harold aptroot8-Sep-09 3:55
harold aptroot8-Sep-09 3:55 
QuestionRe: is there any way to create a new Process from a Stream? Pin
OriginalGriff8-Sep-09 3:56
mveOriginalGriff8-Sep-09 3:56 
AnswerRe: is there any way to create a new Process from a Stream? Pin
Dave Kreskowiak8-Sep-09 4:39
mveDave Kreskowiak8-Sep-09 4:39 
AnswerRe: is there any way to create a new Process from a Stream? [modified] Pin
Luc Pattyn8-Sep-09 5:24
sitebuilderLuc Pattyn8-Sep-09 5:24 
GeneralRe: is there any way to create a new Process from a Stream? Pin
Dave Kreskowiak8-Sep-09 6:54
mveDave Kreskowiak8-Sep-09 6:54 
GeneralRe: is there any way to create a new Process from a Stream? Pin
Luc Pattyn8-Sep-09 6:59
sitebuilderLuc Pattyn8-Sep-09 6:59 
QuestionError when trying to make a web service client Pin
SorenBerggreen8-Sep-09 3:23
SorenBerggreen8-Sep-09 3:23 
Hi all

I've made a web service client, that I'm going to use to call a public web service.

But I keep getting this error:

Could not find endpoint element with name 'basicHttpEndpoint' and contract 'oes.dk.NavisionStatIntegrationService.INavisionStatIntegrationService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element.

I'm rather new at this web service thing, so I'm not sure what to do here.
I've been browsing the net for answers but nothing good has come up.

This is the client part of the app.config:

<client><br />
      <endpoint address="https://test3.oes.dk/NavisionStatIntegrationServiceTest/NavisionStatIntegrationService.svc"<br />
          binding="basicHttpBinding" bindingConfiguration="basicHttpEndpointBinding"<br />
          contract="oes.dk.NavisionStatIntegrationService.INavisionStatIntegrationService"<br />
          name="basicHttpEndpoint" /><br />
</client>


The code I call:
proxy = new NavisionStatIntegrationServiceClient("basicHttpEndpoint");<br />
proxy.ClientCredentials.UserName.UserName = this.UserName;<br />
proxy.ClientCredentials.UserName.Password = this.Password;<br />
this.NSResponse = proxy.InvokeNavisionStatIntegration(this.companyIdentifier, this.immediateExecuting, this.NSRequest);<br />
return this.NSResponse;


This is the code for the NavisionStatIntegrationServiceClient:
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]<br />
[System.ServiceModel.ServiceContractAttribute(Namespace = "http://www.oes.dk/NavisionStatIntegrationService/2009/05/25", ConfigurationName = "oes.dk.NavisionStatIntegrationService.INavisionStatIntegrationService")]<br />
    public interface INavisionStatIntegrationService<br />
    {<br />
        [System.ServiceModel.OperationContractAttribute(Action = "http://www.oes.dk/NavisionStatIntegrationService/2009/05/25/INavisionStatIntegrat" +<br />
            "ionService/InvokeNavisionStatIntegration", ReplyAction = "http://www.oes.dk/NavisionStatIntegrationService/2009/05/25/INavisionStatIntegrat" +<br />
            "ionService/InvokeNavisionStatIntegrationResponse")]<br />
        string InvokeNavisionStatIntegration(string companyIdentifier, string immediateExecuting, string NSRequest);<br />
    }

AnswerRe: Error when trying to make a web service client Pin
Keith Barrow8-Sep-09 3:53
professionalKeith Barrow8-Sep-09 3:53 
GeneralRe: Error when trying to make a web service client Pin
SorenBerggreen8-Sep-09 4:20
SorenBerggreen8-Sep-09 4:20 
AnswerRe: Error when trying to make a web service client Pin
SeMartens8-Sep-09 3:57
SeMartens8-Sep-09 3:57 
GeneralRe: Error when trying to make a web service client Pin
SorenBerggreen8-Sep-09 4:24
SorenBerggreen8-Sep-09 4:24 
GeneralRe: Error when trying to make a web service client Pin
SeMartens8-Sep-09 4:26
SeMartens8-Sep-09 4:26 
GeneralRe: Error when trying to make a web service client Pin
SorenBerggreen8-Sep-09 21:17
SorenBerggreen8-Sep-09 21:17 
AnswerRe: Error when trying to make a web service client Pin
SorenBerggreen8-Sep-09 21:16
SorenBerggreen8-Sep-09 21:16 
Questionhex Pin
sanforjackass8-Sep-09 2:22
sanforjackass8-Sep-09 2:22 
AnswerRe: hex Pin
Luc Pattyn8-Sep-09 2:24
sitebuilderLuc Pattyn8-Sep-09 2:24 
GeneralRe: hex Pin
DaveyM698-Sep-09 3:38
professionalDaveyM698-Sep-09 3:38 
GeneralRe: hex Pin
Luc Pattyn8-Sep-09 3:42
sitebuilderLuc Pattyn8-Sep-09 3:42 
GeneralRe: hex Pin
DaveyM698-Sep-09 4:02
professionalDaveyM698-Sep-09 4:02 
GeneralRe: hex Pin
sanforjackass8-Sep-09 4:02
sanforjackass8-Sep-09 4:02 
GeneralRe: hex Pin
Luc Pattyn8-Sep-09 4:09
sitebuilderLuc Pattyn8-Sep-09 4:09 
QuestionUpdate Cache Data Pin
sjs4u8-Sep-09 2:17
sjs4u8-Sep-09 2:17 
AnswerRe: Update Cache Data Pin
Manas Bhardwaj8-Sep-09 2:18
professionalManas Bhardwaj8-Sep-09 2:18 
GeneralRe: Update Cache Data Pin
sjs4u8-Sep-09 2:38
sjs4u8-Sep-09 2:38 

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.