none
Biztalk wcf service consuming wizard RRS feed

  • Question

  • {Using Biztalk 2013/VS 2012}

    I published WCF-webhttp service using Biztalk WCF service publishing wizard.

    when i browse my service its showing me

    [you have created a service.

     To test this servcie, you will need to create a client and use it to call the service. you can do this using the svcutil.exe tool from the command line with the following syntax.

    svcutil.exe http://[localhost]/expwebhttpsample/service1.svc?wsdl"

    you can also access the service description as a single file:

    http://[localhost]/expwebhttpsample/service1.svc?singlewsdl"

    This is generate a configuration file and a code file that contains the client class. add the two files to your client application and use the generated client class to call the service.

    after execute a command i am getting two files.

    1) .wsdl 2).cs

    I did add service reference and also add the .cs file

    I am trying to Consume this with Add Generated Items. and selecting Consume WCF Service

    I did try both ways metadata exchange (MEX) endpoint and Metadata files(WSDL and XSD)

    Getting an Error at the end.

    Error consuming WCF service metadata.

    Message part missing element. Correct service description [http://tempuri.org/" message type "service1_operation1_inputmessage" part "part" and return the wizard.

    Pls, help me to solve this error.

    thank you in advance.


    • Edited by J45John Friday, June 14, 2013 1:59 PM
    Friday, June 14, 2013 1:56 PM

Answers

All replies