3
Answers

Communication problem with self-hosted service

Photo of nombre apellidos

nombre apellidos

13y
2.4k
1

Hello,
I created a wcf service and a wcf client following the microsoft tutorial.

http://msdn.microsoft.com/es-es/library/ms734712.aspx


When I test the communication on the same machine, everything works fine, but when I run the server on a different machine (192.168.10.100) and the client from the machine (192.168.50.20) does not work.
I tried to run svcutil to create a new proxy and configuration file as follows:

svcutil.exe http://192.168.10.100:8000/WCFServicios/MiServicio /config:app.config /out:generatedProxy.cs /language:cs 

but I get the following error:
Intentando descargar metadatos de 'http://192.168.10.100:8000/WCFServicios/MiServicio'  con WS-Metadata Exchange o DISCO. Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, versión 4.0.30319.1] © Microsoft Corporation. Reservados todos los derechos.  Error: No se pueden obtener metadatos de http://192.168.10.100:8000/WCFServicios/MiServicio 

How I can do to make communication between services?

Greetings and thanks

Answers (3)

0
Photo of mariah sharp
NA 0 0 11y
code 128 can be generated in many kinds of platforms,just take this guide for code 128 in asp.net for example.
besides,as for barcode reader you may refer to reader in .net.
0
Photo of fsdrfew fsre
NA 2 0 11y
check the sample codes on drawing code 128 in c#:
REImage reImage = REFile.OpenImageFile("c:/Sample.png", new PNGDecoder());

Linear barcode = new Linear();//create a barcode

barcode.Type = RasterEdge.Imaging.Barcode.Creator.BarcodeType.CODE128;//select barcode type

barcode.Data = "123456789";//set barcode data
barcode.X = 1.0F;//set x
barcode.Y = 60.0F;//set y
barcode.Resolution = 96;//set resolution
barcode.Rotate = Rotate.Rotate0;//set rotate

barcode.DrawBarcode(reImage, 300, 450);//draw barcode on REImage with location x and y

REFile.SaveImageFile(reImage, "c:/code128.png", new PNGEncoder());
0
Photo of JAY KARL
NA 22 0 12y
First , you need figure out which app. you want to use?
For instance, generate code128 in asp.net:

  1. Install ASP.NET Barcode Control;
  2. Add ASP.NET Barcode Control onto your .NET Visual Studio Toolbox;
  3. Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes;
  4. Drag and drop the WebLinearBarcode control into the Forms;
  5. Run the website and you will see a barcode image generated;
  6. More Code 128 Setting see below.
 
Then, you just copy the C# to your peoject to decode it!

Hope it helps!
0
Photo of ada jones
NA 8 0 12y
You need to add the DLL to your VS 2010 toolbox as a common control, then drag and drop it to form to generate Code 128. Here is sample of generating Code 128 in Winforms apps. Hope do help to you.
0
Photo of Brain HameL
NA 2 0 12y

We searched a lot and ended up using leadtools barcode module, which helped us to write and read different barcode types (including code 128).

For more information, see the following page:

http://www.leadtools.com/help/leadtools/v175/dh/ba/leadtools.barcode~leadtools.barcode.barcodereader.html
0
Photo of robert dunleavey
NA 2 0 12y
Hi

Are you trying to print the barcode on a specific printer?

Barcode Labels printers have barcodes on-board you just need to send the correct parameters down i.e. x y cordinates, barcode type, density etc.

Regards

Rob

Barcolde Label Answers
0
Photo of Krishna Garad
NA 16.5k 6.2m 12y
Take a look here
Barcode Generator
Barcode Scanner

may helps you.
Next Recommended Forum