Help needed regarding webservice

I have just started my work in BizTalk and I have assigned to develop a new project , where I need to get the source file which I need to map with wsdl file.The wsdl link which I have  provided has a only three fields in which I need to send a username,password and xml batch as a string.Every customer has their own username , the question is I have been provided a source file in which there is no field "username " which I need to map.While sending the file through the wsdl , how I need to send the username,password ?

 
  • Edited by Ashwanth14 Monday, July 06, 2015 10:27 PM
July 6th, 2015 10:26pm

Firstly I'd refer you to https://msdn.microsoft.com/en-us/library/aa577881.aspx which will tell you how to use the WSDL and create an orchestration to call the Web Service (the WSDL for which you have). Then I'd like to refer you to https://msdn.microsoft.com/en-us/library/aa559261.aspx which will tell you how to use the mapper to use the Web Service Response into the final output you want.

The WSDL is not your data schema, it is a Web-Service Definition which you must consume to get message schemas, orchestration port types, operations and such. 

Regards.

Free Windows Admin Tool Kit Click here and download it now
July 7th, 2015 4:44am

Hi,

You need to consume the external web service f to get your web ports and reference.xsd file to be populated within your project .

For reference how to consume a web service ,you can look into below blog post by Richard Seroter.Steps are nicely been explained how you can consume external web service within biztalk projects

https://seroter.wordpress.com/biztalk-and-wcf-part-i-operation-patterns/.

Once you consume the web service you need to map the request which you are getting from xml file with web service request .

For SOAP header you can follow below links https://msdn.microsoft.com/en-us/library/bb245946.aspx

On MSDN you can find a code walk through for all these process in below link 

Walkthrough: Consuming WCF Services with the WCF-BasicHttp Adapter

  Thanks

Abhishek

July 7th, 2015 5:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics