community-content

Forum Replies Created

Viewing 15 posts - 3,241 through 3,255 (of 9,648 total)
  • Author
    Posts
  • in reply to: Mapping: multiple elements to one #21671

    Thanks a lot! I used the Value Mapping functoid instead of Value Mapping (Flattening). Now it works 🙂

    in reply to: .NET assembly in business rule engine. Please help urgently ! #21670

    Hello Greg,

    Thanx for the reply. I beleive you are talking in terms of orchestration where as I am talking in terms of BRE (business rule) !!

    Please reply..!!

    in reply to: Fetch lookup Data from MS CRM 4.0 #21669

    HI,

    Thanks for your reply.
    I am working on same structure  as described above.
    When i use the response.xsd provided by Microsoft with the BTS 2006
    adapter for MS CRM 4.0 to receive response by hard coding the
    organization name in the target namespace.targetNamespace=“http://schemas.microsoft.com/crm/2007/BizTalkAdapter/MicrosoftCRM/Response” according to the organization name here orgName: “MicrosoftCRM”

    Still i am getting an error:

    Exception thrown from: segment -1, progress -1
    Inner exception: Received unexpected message type ” does not match expected type ‘http://schemas.microsoft.com/crm/2007/BizTalkAdapter/MicrosoftCRM/Response#Response’

    Exception type: UnexpectedMessageTypeException
    Source: Microsoft.XLANGs.Engine
    Target
    Site: Void VerifyMessage(Microsoft.XLANGs.Core.Envelope, System.String,
    Microsoft.XLANGs.Core.Context, Microsoft.XLANGs.Core.OperationInfo)

     

    Here is the Schema instance for response.xsd generated in Visual Studio 2005

    – <ns0:Response xmlns:ns0=”http://schemas.microsoft.com/crm/2007/BizTalkAdapter/MicrosoftCRM/Response”&gt;
    – <Header>
      <ReturnCode>ReturnCode_0</ReturnCode>
      <ErrorCode>ErrorCode_0</ErrorCode>
      <ErrorString>ErrorString_0</ErrorString>
      <Retryable>Retryable_0</Retryable>
      </Header>
    – <Body>
      <Message>Message_0</Message>
      </Body>
      </ns0:Response>

    and this the suspended message details of response from CRM

    <ns0:Response xmlns:ns0=”http://schemas.microsoft.com/crm/2007/BizTalkAdapter/MicrosoftCRM/Response”&gt;
        <Header>
            <ReturnCode>1</ReturnCode>
            <ErrorCode></ErrorCode>
            <ErrorString></ErrorString>
            <Retryable></Retryable>
        </Header>
        <Body>
            <Message>&lt;prefix:CreateResponse xmlns:prefix=”http://localhost/schemas.microsoft.com/crm/2007/MicrosoftCRM/CreateResponse”&gt;&lt;id&gt;f0650fb5-3ff7-dd11-b0f0-0003ff1a2a3c&lt;/id&gt;&lt;/prefix:CreateResponse&gt;</Message&gt;
        </Body>
    </ns0:Response>

    Thanks,

    Kuldip

    The art to debatching lies in the schema specification and is adapter agnostic.

    Check out this sample from Richard Seroter:
    http://seroter.wordpress.com/2007/01/03/debatching-inbound-messages-from-biztalk-sql-adapter/

    If you still have problems can you post your schema.

    in reply to: Mapping: multiple elements to one #21666

    You need to use the Logical Equals (LEq)  and Value Mapping(Flattening) (VM(f))  functoids

    element/@name  — LEq (“car”)   —   VM(f)   ——–   vehicle/@car
    element ————————————-|

    element/@name  — LEq (“color”)   —   VM(f)   ——–   vehicle/@color
    element —————————————-|

    When you call the rule, do you create an instance of you .NET class and pass to this t the rule as a parameter?

    is there any one who can help me ?[:(]

    in reply to: Passing username/password to published asmx orchestration #21658

    So is message(SOAP.Username) only used to set the username when calling a SOAP service, or can it be used to receive a username?

    I’m trying this type of code in C# to pass the SOAP username, but haven’t got it yet.
    The following looks like it is setting WSE username, not SOAP username.

    I added the “exists” to check if SOAP.Username is coming to orchestration, and it’s not.

                System.Net.HttpWebRequest request =
                    (System.Net.HttpWebRequest)System.Net.WebRequest.Create(
                    “http://localhost/MyOrchestrations_Proxy/ImagingInterfaceLoanDataPull.asmx“);

                string strSOAPRequestBody =
                    “<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:Header>” +
                    “<wsse:Security xmlns:wsse=\”http://schemas.xmlsoap.org/ws/2002/07/secext\“>” +
                    ”  <wsse:UsernameToken>” +
                    ”     <wsse:Username>AUSER</wsse:Username>” +
                    ”     <wsse:Password Type=\”wsse:PasswordText\”>APassword</wsse:Password>” +
                    ”  </wsse:UsernameToken>” +
                    “</wsse:Security>” +
                    “</soap:Header>” +
                    “<soap:Body>” +
                        “<PortLoanDataPull xmlns=\”http://thornburgmortgage.com/mortgagecadence/webservice/\“>” +
                        ”  <LoanDataPull>” +
                        ”    <LoanID>” + strCenlarLoanId + “</LoanID>” +
                        ”  </LoanDataPull>” +
                        “</PortLoanDataPull>” +
                    “</soap:Body>” +
                    “</soap:Envelope>”;

                request.Method = “POST”;
                //request.ContentType = “application/soap+xml; charset=utf-8”;
                request.ContentType = “text/xml; charset=utf-8”;
                request.ContentLength = strSOAPRequestBody.Length;

                System.IO.StreamWriter streamWriter = new System.IO.StreamWriter( request.GetRequestStream() );
                streamWriter.Write( strSOAPRequestBody );
                streamWriter.Close();

                System.IO.StreamReader streamReader = new System.IO.StreamReader(
                request.GetResponse().GetResponseStream() );
                string strResponse = “”;

                while (!streamReader.EndOfStream)
                {
                    strResponse += streamReader.ReadLine();
                }
                streamReader.Close();

     

    in reply to: Assigning Untyped Message to Typed Message #21657

    Any Comments??

    in reply to: CALL WCF web service from BizTalk orchestration #21656

    I went through this sample. Ok, main idea i got, but this sample doesn’t use WCF. I assume that same is for WCF web service. So I create similar WCF web service but I cant call method of this service. I get this error:
    “The adapter failed to transmit message going to send port “SendPort3” with URL “http://localhost:3919/Service1.svc&#8221;. It will be retransmitted after the retry interval specified for this Send Port. Details:”System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. —> System.ServiceModel.FaultException: The message could not be processed because the action ” is invalid or unrecognized. ”

    Maybe someone can help?

    Thanks

    in reply to: CALL WCF web service from BizTalk orchestration #21652
    in reply to: unable to configure biz succesfully #21648

    I have installed sql server 2005 SP2….now the deployment error is with connection to database…..also pls guide me about configuration…..BIZtalk runtime is not getting configured…its asking to start Enterprize SSO…i dnt knw how to do that…also thr is nothing written in Enterprise SSO credentials – secret password, confirm pasword, password help etc…they are all blank…pls help

    in reply to: Fetch lookup Data from MS CRM 4.0 #21647

    See: http://www.ascentium.com/blog/crm/post398.aspx

    CRM Response Namespace
    –

    A core feature of the new adapter and of CRM 4.0 is supporting multiple organizations. While this is a really cool feature, we have found an issue with the new adapter that make truly supporting multiple organizations in BizTalk very challenging. The CRM response XSD, a generic XSD containing the success or failure message sent from CRM on each call, has an organization specific namespace. For example, in Ascentium’s development environment (organization is AscentiumCrmDev) has a CRM response XSD namespace of http://schemas.microsoft.com/crm/2007/BizTalkAdapter/AscentiumCRMDev
    /Response
    . The problem with this is that if the organization name changes from what the BizTalk solution was developed on, the response message will fail because of the differences in expected namespace.

    Here are a couple of possible solutions that we considered:

    •  
      • Creating a custom receive pipeline to change the namespace.
      • Create multiple inbound schema and maps for known organizations and map your ports to the appropriate maps.
      • Ignore the response message from CRM.

    There are many more possible solutions including keeping the organization names the same between all environments, but this defeats the purpose of supporting multiple organizations. For our solution, we implemented a custom receive pipeline to update the namespace as the message comes back from CRM. This is not a simple solution and requires a decent amount of coding, but it serves the long term need for our project.

    in reply to: unable to configure biz succesfully #21646

    ok, got it, I have succesfully installed visual studio n biztalk….now the issue coming is I am unable to configure Groups in my system..it is saying it will need SQL server SP2, so cannt I do it with SP1?????

    Also, only two things are configured – Enterprise SSO and MSMQT(with green tick)……rest all are having red exclamation. Pls help how to get them configured properly.

    One last issue – I am able to create a biztalk application in visual studio 2005….now when I try to deploy, it is saying – “

    “No BizTalk Configuration database(s) found on server”

    pls help


    in reply to: newbie question: strip off trailer of positional flat file #21645

    Hi Greg,

    I’m having the same issue, I’m going tot try and work through your suggestion, but any chnace you still have the sample schema?

    Regards, Jason

    jason dot hyland at gmail dot com

Viewing 15 posts - 3,241 through 3,255 (of 9,648 total)