Denis103

Hello,

Ií»m an newbie in this area and my english is not so good but i hope the question is not so silly and you can unterstand me! Smile

I build an BizTalk Server 2006 (not R2) Orchestration an i want to consume an Siebel CRM OnDemand Web Service over the SOAP-Adapter. Unfortunatley I caní»t use the Siebel Adapter from Microsoft, because this Adapter is only fur Siebel Enterprise Applications.

After I try to send an Message to the Web Service, I became an Error 5743:

The adapter failed to transmit message going to send port CRMTransfer_1.0.0.0" with URL "https://<myURL>/Services/Integration". It will be retransmitted after the retry interval specified for this Send Port. Details:"SoapException: Server
".

Now I try to explain my actions:

1. I import the WSDL-File from Sieble over "Add Web Reference"

2. I build an Orchestration and add a "New Configured Port" -> Use an existing Port Type -> Web Port Types -> "Siebel-Type"

3. I deploy this solution and configure the SOAP Adapter below this settings:

  • Typ: SOAP
  • Send pipeline: PassThruTransmit
  • Receive pipeline: PassThruTransmit
  • Authentication type: Basic with my Account (User Name + Password)
  • dont use SSO
  • Proxy: Server-Adress and Port from my Company-Proxy-Server
  • Web Service: Orchestration Web Port

4. I start the Orchestration and put in an XML File
5. After I became the Error 5743.
My Questions:
1. Where is the Problem Is the Web Service not reachable
2. have BizTalk an Problem with HTTPS-connections My company protect the Siebel CRM OnDemand by using an own SSL certificate. Maybe I must specify this certificate under the Adapter-Configuration
With Best Regards
Denis



Re: BizTalk R2 Adapters and Adapter Pack Problem with the SOAP Adapter

Hanu Awasthy - Microsoft

Are you able to use a soap client to send a message to your webservice (outside of BTS )

Thanks,

-Hanu





Re: BizTalk R2 Adapters and Adapter Pack Problem with the SOAP Adapter

Denis103

I have full rights on this computer, because my Windows-Account is in the group "Administrators" and I have no other connection problems to other things.

In the Siebel CRM OnDemand-Documentation is an example for the Login-Procedure in C#:

Code Block
using System;
using System.Net;
using System.IO;
namespace WebServiceHandler
{
public class ManageSession
{
public static string SessionID = "";
public static String Login(String loginUrlString, String userName, String password,
StringBuilder output)
{
try
{
// create a http request and set the headers for authentication
HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(loginUrlString);
HttpWebResponse myResponse;
myRequest.Method = "GET";
myRequest.Headers["UserName"] = userName;
myRequest.Headers["Password"] = password;
// Return the response.
myResponse = (HttpWebResponse)myRequest.GetResponse();
Stream sr = myResponse.GetResponseStream();
// retrieve session id
char[] sep = { ';' };
String[] headers = myResponse.Headers["Set-Cookie"].Split(sep);
for (int i=0; i <= headers.Length-1; i++)
{
if (headers[i].StartsWith("JSESSIONID"))
{
sep[0] = '=';
SessionID = headers[i].Split(sep)[1];
break;
}
}
sr.Close();
myResponse.Close();
}
catch (WebException webException)
{
}
catch (Exception e)
{
}
return SessionID;
}
public static void Logoff()
{
String logoffUrlString = serverName + "/Services/Integration command=logoff";
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(logoffUrlString);
req.Headers["Cookie: JSESSIONID"] = SessionID;
// make the HTTP call
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
if (resp.StatusCode != System.Net.HttpStatusCode.OK)
{
}
}
}
}

Is it possible that my web service expects a special Login procedure, that BizTalk at the moment does not serve
Is it necessary that I must write a Proxy-Web-class
To come back once again to my first question. Is it necessary to specify the HTTPS-certificate under the adaptor settings Or is it so, that BizTalk fetch this SSL-zertificat independently, as well as it also the Web-Browser by load to a web page does




Re: BizTalk R2 Adapters and Adapter Pack Problem with the SOAP Adapter

Hanu Awasthy - Microsoft

Reposting question:

Are you able to use a soap client to send a message to your webservice (outside of BTS )

Thanks,

-Hanu





Re: BizTalk R2 Adapters and Adapter Pack Problem with the SOAP Adapter

Karahan Celikel - MSFT

If your service's SSL configuration requires client certifacates, then you need to specify the thumbprint of the X.509 certificate for authenticating this send port to services on your send port's client certificate thumprint property.

You must install the client certificate into the Current User location of the user account for the send handler hosting this send port.

I would also suggest setting the retry count of your send port to 0 for testing purposes. Can you also post the exact error description and the stack trace of your suspended service instance Did you see any event log errors

-Karahan