Consuming webservice in biztalk

Home Page Forums BizTalk 2004 – BizTalk 2010 Consuming webservice in biztalk

Viewing 2 reply threads
  • Author
    Posts
    • #20623

      Hi,

      I am consuming a web service within the biztalk orchestration,which itself would be hosted as a webservice later.I am trying use the web ports while creating the orchestration but the problem is that I am not able to use the webservice(.asmx?wsdl)..i.e. I am trying to use the add webreference..but the the visual studio throws some error message “unable to download the files from the following location http://XX:XX:XXX:XX:18001/webservice1/requestadapter.asmx?wsdl.do you still want to continue”.In this case how do I consume the web service and use it as the web port?is there any ther way.

      Any pointer would be of great help

      Cheers

      Sri,Singapore

    • #20624

      Hi,

      If you navigate to http://XX:XX:XXX:XX:18001/webservice1/requestadapter.asmx?wsdl in a web browser, can you view the WSDL file?  If so, then you know you have access to the WSDL file, so it probably is an issue with Visual Studio.  If not, you need to talk to the web service owner and either fix the WSDL access or get a copy of the WSDL file.  Also, you should try using the WCF-BasicHttp adapter instead of using a web reference.  It is much more flexible than the SOAP adapter, with many more configuration options, and is generally less problematic than using web references.  Here is a walkthrough:  http://msdn.microsoft.com/en-us/library/bb246019.aspx.

    • #20698

      Based on what you said, I am not sure if you are able to view the wsdl file in a browser. If you are able to view the wsdl file in browser and using 2006 R2 then download the wsdl file and use WCF-basichttp adapter to consume the web service.

      If you are unable to view the wsdl file in browser itself then it could be a problem with the web service itself.

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.