Hi!
which is the instruction to generate proxy for a service net.msmq
I have "svcutil" and "net.msmq://localhost/private/ServiceModelSamplesTransacted", but I haven't the correct sentence.
Saludos,
Hi!
which is the instruction to generate proxy for a service net.msmq
I have "svcutil" and "net.msmq://localhost/private/ServiceModelSamplesTransacted", but I haven't the correct sentence.
Saludos,
create proxy from net.msmq?
Nestor Pira
SVCUTIL always works with Baseaddress(Base address represents meta data address for your service)
please go through this sdk sample
http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/wcf_samples/html/19e0dd46-5d0b-4734-88f3-349491d3da18.asp
for above sample,service config file looks like
<appSettings> <add key="queueName" value=".\private$\ServiceModelSamples" /> <add key ="baseAddress" value= "http://localhost:8000/queuedCalculator/defaultSample"/> </appSettings> <system.serviceModel> <services> <service type="Microsoft.ServiceModel.Samples.CalculatorService"> <endpoint address= "net.msmq://localhost/private/ServiceModelSamples" binding="netMsmqBinding" bindingConfiguration="DefaultMsmqBinding" contract= "Microsoft.ServiceModel.Samples.IQueueCalculator" /> </service> </services> <bindings> <netMsmqBinding> <binding name="DefaultMsmqBinding" /> </netMsmqBinding> </bindings> </system.serviceModel>Baseaddress useful to know service meta data,once we generate the proxy,we are going to use end point address to communicate with service
-Thank you
Madhu
Vladimir Fedorov
To use SvcUtil, you need to point it at a metadata exchange endpoint. WCF will provide one for you automatically as long as you register with the host a base address of TCP, HTTP, or IPC. You are using MSQM. If you want to, simply add such a base address to the host, and it will generate the proxy for you.
Thanks,
Juval Lowy, IDesign Inc.
Keithdizzle
Thanks Madhu!
Saludos,