community-content

Forum Replies Created

Viewing 15 posts - 1,141 through 1,155 (of 9,648 total)
  • Author
    Posts
  • Hi Daniel, the external company was kind enough to modify the Web Service class name to not have white spaces. By doing this BizTalk added the Web Reference successfully. Thank you for you help. best regards, Rob

    in reply to: wcf adapter https issue #24959

    Hi MP,

     

       Here are some suggestions that you might want to consider:

     

    1. A BizTalkGurus blog on SQL scripts (that can get you started on):

    http://www.biztalkgurus.com/blogs/biztalksyn/archive/2005/12/18/BizTalk-SQL-Scripts-for-Troubleshooting-Deployments.aspx

     

    2. A blog on developing custom tools for BizTalk:

    http://blogical.se/blogs/mikael/archive/2009/12/14/developing-custom-tools-for-biztalk.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+wmmihaa+%28Mikael+H%C3%A5kanssons+Blog%29

     

    3. Have you looked into BizTalkFactory PowerShell Provider for you administrative needs? Here’s a link to the main page on CodePlex:

    http://psbiztalk.codeplex.com/

     

       I hope these resources are helpful to you,

     

       Daniel.

     

    in reply to: Duplicates in MessageBox #24954

    OK. I understood what you mean.
    The answer to this is that I am absolutely sure that different ports receive different XMLs.

    There is no XML that could be used to more than one send port.
    and this happens because on every send port the filters are like:
    1. PromotedFields.FormName = “XX” AND
    2. PromotedFields.StateCode = “Received” AND
    3. PromotedFields.Version = “1.0”.

    Hi Daniel,

    miss read your previous reply. The option you provided will be the way I go if the external company cannot modify the class name in the HTML.

    Thanks again,

    Rob

    After some testing I’m sure that it’s failing when trying to generate the reference.map and .ocx. BizTalk create the ports with the class name. Below is the HTML source of the page.

    <p class=”heading1″>Estaronline – iSAMS Integration</p><br>

    Where as my test I created the site as

    <p class=”heading1″>integration</p><br>

    By doing this BizTalk is able to generate the required items.

    i want to prove my theory before advising the external company, but for the life of me I cannot work out how to modify the class name in the HTML.

    Your previous suggestion I tried a couple of days ago with no success. I added a local web service which was almost a replica of external web service except the class name. I added it successfully. Then when I changed the URL to point to the external location, it updated the WSDL and cisco files and then failed to update the .map and .ocx. I then tried manually to modify via editor and I got nine errors on rebuild relating to the class name i used.

    Thanks,

    Rob

    in reply to: Duplicates in MessageBox #24951

    Hi – about subscriptions

    I thought about something like

    1. Send port filters:

    Message type = x or

    Incoming portName  = In

    2/ SendPort filters:

    MessageType = Y or

    Incoming portName = In

    In both cases your different messages will proceed to both ports (twice). Therefore sometimes when subscription is different – but some of conditions are same for different types of messages.

    in reply to: how to construct the initial select message? #24950

    Hi.

    Do you use SQL adapter or WCF-SQL?

    For creating message which is sent to SQL as request – I generate an instance of schema – of a request, and do next steps:

    define some XML document variable. xDocument.LoadXml(your generated instance);

    msgSqlRequest = xDocument;

    msgSqlRequest (*) = some incoming messages for setting context(*);

    Send this msgSqlRequest  through your defined port to SQL, and get response. If your stored procedures has no incoming parameters – it will be an empty (without parameters) XML, else you should put some parameters in XML fields.

    Also – it’s a bit different while you want to use polling – when your orchestration started on some changed data in SQL Server tables.

    in reply to: mapping #24948

    Hi,

     

       Check to see if this BizTalkGurus blog points you in the right direction to resolve your issue:

    http://www.biztalkgurus.com/blogs/biztalk/archive/2006/08/15/Native-serialization-error-Root-element-is-missing-Map-Error.aspx

     

       Best,

     

       Daniel.

     

    What was your problem back then?

    We have the same thing happening when there is a problem with DB connectivity.

    When the engine has no more free TCP/IP dynamic ports this can happen.

    Hi Rob,

     

       It sounds like there’s a problem with generating a web reference in a BizTalk project from a web service that has white spaces in its URL. I haven’t come across this one, and I assume that the external company is not likely to modify that web service to remove the white spaces, am I correct?

     

       Here’s a workaround that I would suggest: create an internal .NET web service (ASMX) to consume that external web service, and expose that internal web service in your BizTalk project. How does that sound?

     

        Daniel.

     

    in reply to: BizTalk Server 2006 Orchestration?? #24945

    Hi Nengsih,

     

       You can use a variation of the BizTalk pattern known as Content-based Router to implement what you want. Here’s an MSDN sample of that pattern:

    http://msdn.microsoft.com/en-us/library/aa561358.aspx

     

       To accomodate your scenario where you are expected to drop any one of 10 different input messages, just make your activatable receive port to be of generic type (i.e. System.XML.XmlDocument).

       Make sure that all of your 10 different message types have an identifiable element (or attribute) that you can query in the Orchestration (using XPath) to determine the message type (and final recipient of your transformed message).

       Then, in your orchestration, declare 10 messages corresponding to the 10 different schemas, create a Decide shape with 10 branches, and the flow will be determined by the message type. In each branch, you can assign the generic input message to the corresponding message (for that type of message) in an Expression shape, then do any further processing from there (call .NET remoting service, do a mapping, etc.)

     

       Hope this helps,

     

       Daniel.

     

    Hi Daniel,

    all the blogs about Web reference failed doesn’t seem to relate to the problem I’m having. I have a theory but don’t know how to test.

    The external company I’m hitting has white spaces in the asp page name

    in my testing I create a web service the display name on the web is that of the web service class. As it is a class it does not let me put white spaces in the name. i’ve noticed that BizTalk create it’s ports using this name when the web reference is added.

    for the life of me I cannot see how I get the form name to be different to the .net web service class name. If someone can instruct me on how to show a different name I can test my theory.

    Thanks,

    Rob

    Hi Rob,

     

      Since you are using BizTalk Server 2006, check the WSDL of that web service to make sure whether or not your problem is related to this MS KB article:

    http://kbalertz.com/948089/cannot-consume-service-BizTalk-Server-service-references-another.aspx

     

        Best,

     

        Daniel.

     

    Hi Daniel,

    I can confirm that firewall rules are set up OK. As I can hit the site and call the web service and receive a response via a c# application that the remote company sent me. I also can add internal web services successfully. The two blogs you sent me did not assist. I’m wondering if VS.Net needs other ports opened apart from HTTP.

    Below is the web service I’m trying to hit. I’ve replaced host, company names with x’s It looks good to me so I don’t understand why it want add.

    POST /global/data/xxxx_integration.asmx HTTP/1.1
    Host: xxxxxxx.xxxxx.net
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "http://www.xxxxxxxxx.com/webservices/xxxxx_Integration"
    
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <xxxx_Integration xmlns="http://www.xxxxxxxxx.com/webservices/">
          <sMethodName>string</sMethodName>
          <sUserName>string</sUserName>
          <sPassWord>string</sPassWord>
          <sXmlInput>string</sXmlInput>
        </xxxx_Integration>
      </soap:Body>
    </soap:Envelope>
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <xxxxx_IntegrationResponse xmlns="http://www.xxxxxxxxx.com/webservices/">
          <xxxxx_IntegrationResult>xml</xxxxx_IntegrationResult>
        </xxxxx_IntegrationResponse>
      </soap:Body>
    </soap:Envelope>
    thanks, Rob

     

Viewing 15 posts - 1,141 through 1,155 (of 9,648 total)