Quantcast
Channel: BizTalk Server Adapters and Adapter Pack Forum
Viewing all 197 articles
Browse latest View live

Installing Custom RFCs for the Data Provider for SAP

$
0
0

I am trying to connect to SAP using SSIS and reached a stage where I need to configure Custom RFC's at SAP side:

I am following the below link http://msdn.microsoft.com/en-us/library/dd788547(v=bts.10).aspx

and am confused with the following point : Repeat steps (b) and (c) for the second set of transport files.

Z_EXTRACT_DATA_OO (For SELECT)

  1. K900524.BI1
  2. R900524.BI1

Z_EXECUTE_SAP_QUERY (For EXECQUERY)

  • K900534.BI1
  • R900534.BI1

Does this mean that the steps need to be completed for all the 4 files or just the files starting with K*****. or the files starting with R**** also have to loaded and imported into SAP?

Any help appreciated.

Thanks,

Ashish

 

Thanks, Ashish Singh


I-JDE0042: Login failed: com.jdedwards.system.connector.dynamic.ServerFailureException: Exception occurred while validating role and/or environment in Java Connector Login method:Invalid Role *ALL and/or Environment JDV900 for User jde

$
0
0

Hello,

Appreciate help. Thanks in Advance.

I am using BizTalk Server 2010 Enterprise One Adapter for integrating JDE 9.0 (Tool release 8.98) with Oracle database.

Within BizTalk server Admin console I have created a send port and Within JDEEnterprise Transport properties I have provided all the credentials required for connecting to JD Enterprise Server.
Also provided all the essential JAR files. I am using Java 1.6.0_31 version

But when I try to Generate Schema using Add Adapter wizard, soon as I select J.D. Edwards Enterprise One option and Send port I don't not see any result in "Services to import" dialog box.

When traced event viewer I got following error.

I-JDE0042: Login failed: com.jdedwards.system.connector.dynamic.ServerFailureException:   Exception occurred while validating role and/or environment in Java Connector Login method:Invalid Role *ALL and/or Environment JDV900 for User jde

........

The issue here is I am able to login into JDEdwards Enterprise One directly by using the same username, password, environment and role. There no issue in this case.

I don't know why the Java connector can not login by using the same user that can login to JDEdwards Enterprise directly.

Did someone face this?

Please let me know if any resolution

I am stuck in this issue for quite some time and not able to trace any resolution.

Note : When I gave wrong user id it gives me error of in valid user id....
means I am able to connect E1 but stuck further in Role validation process.
I am using 8.98 Jar files..

Thanks in advance.



JD Edwards Enterprise One error - Database connect failed

$
0
0

Configured JD Edwards Enterprise One LOB adapter for Biztalk 2010

 

this is the error - when i gen schemas

E-JDE0010: JNI invocation method failed for the method GetModulePrefixes. JDEdwards error message : com.jdedwards.system.connector.dynamic.spec.SpecFailureException: Cannot connect to Oneworld Spec Source:Fail to connect to Oneworld Database [DATA_SOURCE_NOT_FOUND] Data source for F00950, TBLE not found. ([DATABASE_CONNECT_FAILED] Database Connection failed for DataSource System - 812.)

 

Did someone face this?

Anyone use ActiveDirectory Adapter with Dynamic port?

$
0
0

Hi all,

We would like to use the ActiveDirectory Adapter with ESB, and we're configuring it to dynamically resolve using Business Rules. Anyone know of the core required properties in order to correctly configure it?

Thanks.


MCT, MCSD.NET, MVP

Biztalk 64 bit adapter pack & 32 bit SAP business suite adapter

$
0
0
Hi
We already use a free version of SAP Business Suite in (32 bit adapter) to suck data from SAP.
We are now upgrading all our SSIS packages with the 64bit Biztalk adapter pack 2010 and have few questions on this. It works successfully.

Question 1:

In my live SAP I have the function module installed and my old 32 bit adapter is working. As part of the migration to new 64 bit adapter I am given with new functional module to put in SAP which I have put in SAP test area. To migrate all my packages, I need to start moving from one adapter to the other and need both the function module in SAP LIVE system. If this is the case, will there be any conflict on 2 functional modules working for 2 different adapters (32 & 64 bit)? If my transition period is 4 weeks, can these modules will still work?

Question 2:

If it works does it cause any impact in SAP production system at all? I don't want the daily data extraction to cause an impact at all.
Please advice. I am unable to find any relevant article on this.
Thanks
Mani

com.jdedwards.system.connector.dynamic.ServerFailureException: Exception occurred while validating role and/or environment in Java Connector Login method:Invalid Role *ALL and/or Environment JDV900 for User jde

$
0
0

Hello,

Appreciate help. Thanks in Advance.

I am using BizTalk Server 2010 Enterprise One Adapter for integrating JDE 9.0 (Tool release 8.98) with Oracle database.

Within BizTalk server Admin console I have created a send port and Within JDEEnterprise Transport properties I have provided all the credentials required for connecting to JD Enterprise Server.
Also provided all the essential JAR files. I am using Java 1.6.0_31 version

But when I try to Generate Schema using Add Adapter wizard, soon as I select J.D. Edwards Enterprise One option and Send port I don't not see any result in "Services to import" dialog box.

When traced event viewer I got following error.

I-JDE0042: Login failed: com.jdedwards.system.connector.dynamic.ServerFailureException:   Exception occurred while validating role and/or environment in Java Connector Login method:Invalid Role *ALL and/or Environment JDV900 for User jde

........

The issue here is I am able to login into JDEdwards Enterprise One directly by using the same username, password, environment and role. There no issue in this case.

I don't know why the Java connector can not login by using the same user that can login to JDEdwards Enterprise directly.

Did someone face this?

Please let me know if any resolution

I am stuck in this issue for quite some time and not able to trace any resolution.

Note : When I gave wrong user id it gives me error of in valid user id....
means I am able to connect E1 but stuck further in Role validation process.
I am using 8.98 Jar files..

Thanks in advance.

Cannot configure SharePoint Adapter for SharePoint Foundation 2010 when installing BizTalk 2010

$
0
0

I installed SharePOint Foundation 2010 64 bit on WIn 7 64 bit machine. I am successfully able ti install BizTalk 2010 Developer edition but I am not ableto configure SharePoint adapter in the Server Configuration page.

 

When I try to enable Windows Sharepoint Services Adapter, there is a red cross mark against the text box listing the web site. The error is

"Unsupported machine configuration. WSS 4.0 is supported only if OS is 64 bit and IIS is running in native 64 bit mode. (CWssAdaCfg)"

 

Any ideas?

 

Need the detailed steps

$
0
0
Hi,
I need some detailed steps to achieve these in Biztalk 2009.
The project has one input text file. In Upd_status database SP, do an insert by also capturing the current path and filename of the input flat file, into StatusTab table within Upd_status SP and mark the status column of the current record as 'Received'.


Many Thanks & Best Regards, Hua Min



How to configure WSS adapter so BizTalk can write to multiple IIS sites

$
0
0

Hi,

I have an issue with the BizTalk WSS adapter hopefully someone can help with. I'll just explain my setup first:  

In my environment I have a BizTalk server and a separate SharePoint server. On SharePoint I have a web application named e.g.http://testsite. As per the documentation, I extended this web application to create an IIS Site for the BizTalk adapter, named e.g. 'BizTalk Adapter Site'. Its URL ishttp://biztalkadaptertestsite.

In BizTalk Configuration on the SharePoint server, for 'WSS Adapter Web Site' I specified 'BizTalk Adapter Site'. The adapter web service is therefore browsable at http://biztalkadaptertestsite/BTSharePointAdapterWS/BTSharePointAdapterWS.asmx.

In my BizTalk app I have a dynamic send port named e.g. Port01, and in the code if I want to write to e.g.http://testsite/sites/Site01/Library01, I do so as follows:

Port01(Microsoft.XLANGs.BaseTypes.Address) = wss://biztalkadaptertestsite/sites/Site01/Library01

I also gave Contribute permissions on http://testsite to the SharePoint Enabled Hosts group (which contains the BizTalk host instance account).

The above all works perfectly. My problem is, I now want to write to a different web application on the same SharePoint server (and therefore a different IIS site).

If I want to write to http://testsite2/sites/Site02/Library02, and I use the same approach in the code, specifying:

Port01(Microsoft.XLANGs.BaseTypes.Address) = wss://testsite2/sites/Site02/Library02

I get an error, which seems to be because the web service cannot be found in testsite2 (see URL in bold):

A message sent to adapter "Windows SharePoint Services" on send port "Port01_axdfghy67890" with URI "wss://testsite2/sites/Site02/Library02" is suspended.

Error details: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

The file you are attempting to save or retrieve has been blocked from this Web site by the server administrators

Request URL: http://testsite2/BTSharePointAdapterWS/BTSharePointAdapterWS.asmx
Request path: /BTSharePointAdapterWS/BTSharePointAdapterWS.asmx

This indicates that BizTalk doesn't 'know' where the adapter web service is installed: instead you specify the SharePoint location you want to write to, e.g.http://sitename/listname, and it simply looks for the web service athttp://sitename/BTSharePointAdapterWS/BTSharePointAdapterWS.asmx.

In other words, it seems you can only write to the IIS site where the adapter is installed. Is this true?

In this article though http://msdn.microsoft.com/en-us/library/aa547280.aspx it says: "The adapter Web service can handle multiple SharePoint sites regardless of whether they are on the same IIS site or on different IIS sites"

Does anyone know if/how I can write to http://testsite2 if the adapter web service is not installed in an IIS site for this web application?

Or, if the adapter web service does have to be in an IIS site for this web application, then how do I install the web service in more than one IIS site? BizTalk Configuration only allows one IIS site to be specified. Should I copy the web service files and add them to my second IIS site manually??

Thanks for your help,

Alyosha

How to insert xml data in splist Biztalk to WSS adapter

$
0
0

Hi

I want to insert xml file data in splist through WSS adapter in Biztalk server 2010.My machine cponfiguration is SQL and BizTalk on one machine and Sharepint server 2010 on another machine.Please ASAP help me.....

Thanks

Sunil Kumar

The remote server returned an error: (500) Internal Server Error.

$
0
0

Hi,

We are constructing a SOAP Invoice message and sending it over a Request-Response Port(Http). in the send port in the Http adpter confiuration with a URI like example https(an URI with SSL certificate) and will be getting an reponse for the same.

But we are getting an error at the send port  like below

Error event: BizTalk Server: A message sent to adapter "HTTP" on send port "sndResPort" with URI "https URI " is suspended. Error details: The remote server returned an error: (500) Internal Server Error.

Can any one please provide the resolution for this error.

Thank you.

Regards

SBF

SQL Adapter Error

$
0
0

Hi,

I am gettingthe below error

Error event: BizTalk Server: A message sent to adapter "SQL" on send port "sndSQLPort" with URI "SQL://ServerName/DBName/" is suspended. Error details: HRESULT="0x80004005" Description="Transaction (Process ID 171) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction." HRESULT="0x80004005" Description="2" HRESULT="0x80004005" Description="109655" HRESULT="0x80004005" Description="1" HRESULT="0x80004005" Description="ACTIVE" HRESULT="0x80004005" Description="Procedure started"

Can anyone help me on this.

Regards

SFBasha.

Could not retrieve User ID, Responsibility ID, and Application ID

$
0
0

Hi

I am sending data to oracle EBS  but i am getting following error .

Could not retrieve User ID, Responsibility ID, and Application ID. These values are required to set the application context. Make sure that you have specified correct values in the binding properties or the message context properties for setting the application context. ---> Microsoft.ServiceModel.Channels.Common.MetadataException: Could not retrieve User ID, Responsibility ID, and Application ID. These values are required to set the application context. Make sure that you have specified correct values in the binding properties or the message context properties for setting the application context. ---> Oracle.DataAccess.Client.OracleException: ORA-01403: no data found
ORA-06512: at line 2

I have set following properties

OracleESB Adapter :

ClientCredentialsType:Database
Binding -I have passed apps credentials
credentials  Tab-I have passed oracle database credentails

How to check Application short Name,OracleEBSresponsibility Key,OracleEBSOrganizationID are correct what i am passing from adapter

Native BizTalk 2010 REST adaptor

$
0
0

Hi all,

Now BizTalk 2013 is released in beta, does anyone know when the REST adapter will be released for 2010?  I'm guessing it will be around the same time BTS 2013 is on general release?

Thanks


GilesB

to configure biztalk application in VSMS for copying data into SQL database tables when the stored procedure is based on table type

$
0
0

Hi,

Please tell me,

how to configure the biztalk application in visual studio 2010 for inserting bulk records of xml file into multiple tables of a database, if the stored procedure is created based on table type for all tables and 
how to deploy it in biztalk admin console.

==========

Thanks,

Prabhakar



copying Exel file into Sql Tables using biztalk

$
0
0

Hi,

Please tell me,

How to copy an excel file into database tables from receive File handler to Sql send Handler using biztalk, when the stored procedure is based on table type in which single table type consists of all parametres of multiple tablels and stored procedure consists of only 2 parametres.

==============

Thanks,

Prabhakar.

POP3 Adapter Attachment Name

$
0
0

When sending an e-mail with attachments directly from Outlook 2010 to contactcentre@mycompany.com, a BizTalk Server 2010 application has a receive location using the POP3 adapter to process this e-mail and each attachment message part contains the correct name of the attachment, e.g. myfile.pdf.

However, when I create an e-mail with attachments programmatically in C# using System.Net.Mail.SmtpClient, the POP3 Adapter does not seem to recognise the attachment names and the name of the attachment message part instead becomes a GUID. I suspect that this has something to do with encoding. What am I doing wrong in the code?

Here is the code:

SmtpClient smtpClient = new SmtpClient(ConfigurationManager.AppSettings["SmtpServer"]);
smtpClient.DeliveryMethod = SmtpDeliveryMethod.Network;
MailMessage mailMessage = new MailMessage(ConfigurationManager.AppSettings["From"], ConfigurationManager.AppSettings["To"], ConfigurationManager.AppSettings["Subject"], ConfigurationManager.AppSettings["Body"]);
string[] files = ConfigurationManager.AppSettings["Attachments"].Split(',');
foreach (string file in files)
{
    FileInfo fileInfo = new FileInfo(file);
    ContentType contentType = new ContentType();
    contentType.MediaType = GetMimeType(file);
    contentType.Name = fileInfo.Name;
    Attachment attachment = new Attachment(file, contentType);
    attachment.ContentDisposition.FileName = fileInfo.Name;
    attachment.Name = fileInfo.Name;
    mailMessage.Attachments.Add(attachment);
}
smtpClient.Send(mailMessage);

The strange thing is that when I view the message in Outlook 2010, the attachment name appears correct.

I need the POP3 Adapter to interpret the attachment name correctly instead of setting it to a GUID.

Any ideas?

biztalk 2006 File adaptor batchsize

$
0
0

Hi all,

does anyone know how we can Programmatically set the 'BatchSize' of a BizTalk 2006 file adapter on a receive location?  This is so we can limit the location to only pickup 1 file every minute, instead of all files at the same time.

Ref: http://msdn.microsoft.com/en-us/library/aa547108(v=bts.20).aspx

BatchSize

Long

The number of files this receive location can submit to the server at one time.

Integer

Minimum value: 1

Maximum value: 256

If not specified, the default value is set to 20 files.

Many thanks in advance


GilesB

Error while Integrating with biztalk and mainframe using HIS TI Manager

$
0
0

Hi,

I never used HIS before and was trying to integrate Biztalk with Mainframe, I was using TI Manager and Host Apps adapter as trying to link to a transaction on the CICS region. I could successfully connect to the mainframe and was able to see the response generated in the CICS logs but while getting back response I got an error saying that "The adapter failed to transmit message going to send port "" with URL "Connection String". 'The call to Transaction Integrator returned 'There was an error generating the XML document".

I created a Static  Solicit request-response send port. and tried giving an inbound map (map created with the schema generated using Client DLL and schema that I created)at the port level and also tried changing the receive pipeline but didn't work out any.

Could any one suggest on this. Thanks!!!!!!!!!!

Biztalk Sample for insert or update a record to/in Oracle database

$
0
0

Hello,

I am looking for a complete sample in BizTalk 2010 of how to insert a record into an Oracle database. So far, the sample I found is quite old (from Microsoft for BizTalk 2006, I think:http://msdn.microsoft.com/en-us/library/aa560681(v=bts.20).aspx). I have Oracle installed properly along with necessary adapters. From VS2010, I can add a generated items and choose to consume an adapter service using OracleDBBinding, have configured the uri properly and connected successfully to the database. In the contract type, I have selected service (inbound), selected the schema I wanted to work with and the store procedure I wanted to use (the store procedure was tested outside and worked probably, it basically inserts a record and if the key exists, it will modify the record, very simple and straight forward...nothing fancy)

I then create a simple orchestration with a receive port which is going to take an xml file from a folder. I also created a send-receive port that is going to call my store procedure to insert a record into my Oracle database. The msg will be exactly the same msg as the xml received in the receive port and I will get back the status spit out from my store procedure but I have not done anything with it (for now).

I have deployed the project successfully, configure and started the project without any incident. When I put the xml (generated from the xsd) in the received folder, BizTalk consumed it but did not insert the record into my Oracle database.

Checking the application event viewer this is what I got:

"

WcfSendPort_OracleDBBinding_XXXXX_Procedure_Custom
oracledb://YYYYYYYYYYY
Microsoft.ServiceModel.Channels.Common.MetadataException:
Argument <BtsActionMapping
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Operation
Name="RECORD_ACTIVITY"
Action="http://Microsoft.LobServices.OracleDB/2007/03/xxXXXXXX/Procedure/RECORD_ACTIVITY"
/> </BtsActionMapping> is invalid. Server stack trace: at
System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at
System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult
result) at System.ServiceModel.Channels.ServiceChannel.EndCall(String action,
Object[] outs, IAsyncResult result) at
System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
Exception rethrown at [0]: at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,
IMessage retMsg) at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type) at
System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result) at
Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult
result)

"

Is my sequence of doing thing correct? What is the issue with my application? I appreciate your help.




Viewing all 197 articles
Browse latest View live