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

WCF-Custom sapbinding SendIdoc problem

$
0
0

Hello,

I'm migrating an old BTS solution to BTS 2010. In this solution we have IDOC xsd schemas generated using the old SAP adapter. I found a guide how to use the new WCF-Custom adapter with sapBinding to send these IDOCS without the need to change the solution or schema. 

The method is to configure the send port like this: 
Under SOAP action header set the following : http://Microsoft.LobServices.Sap/2007/03/Idoc/SendIdoc
under "Messages" tab select the template and paste the following:
<SendIdoc xmlns="http://Microsoft.LobServices.Sap/2007/03/Idoc/">
<idocData><bts-msg-body xmlns="http://www.microsoft.com/schemas/bts2007" encoding="string"/></idocData>
</SendIdoc>

However this only works when I send small Idocs, whenever I send a "bigger" idoc I receive the following error:

Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException: The length of the Data Record row (in bytes) is 4456. The maximum length (in bytes) that is allowed is 2126.

I've validated the data against the idoc schema and it passes validation. 

I find it hard to believe that this SendIdoc action doesn't allow idocs greater than 2126 bytes, which isn't very big at all.

Has anyone encountered this problem? Any ideas?

Thanks


How to configure the receive location file mask (dynamically).

$
0
0

Hi

I would like to be able to dynamically configure my receive loation's file mask property with a specific filename. Can someone point me in the direction on how I can achieve this via an orchestration?

Basically I have a number of files in my folder. I only want to process each file when required. I have the filename available at the time it is ready for processing. So I would like to somehow dynamically configure the file mask of my receive location with this filename. I'm assuming them it would be picked up.

Then a few minutes later I would get notification to process another file. I would change the file mask again so the second file is picked up, and so on.

Any help appreciated.

JDE EnterpriseOne Adaptor Error

$
0
0

Hi All,

I am getting the same error: E-JNI0004: A Java exception occurred:
java.lang.NoClassDefFoundError: com/jdedwards/system/bsfn/IUserSession

I am using jdk-7u9-windows-i586. Windows 7 64 bit, BizTalk Server 2010, VS 2010 and JDE sever its Windows 2003 with JDK 1.5. JDE v8.12, tool v8.97

I have place and mentioned following jar files:

C:\JDEJarFiles\ApplicationAPIs_JAR.jar;C:\JDEJarFiles\ApplicationLogic_JAR.jar;C:\JDEJarFiles\Base_JAR.jar;

C:\JDEJarFiles\BizLogicContainer_JAR.jar;C:\JDEJarFiles\BizLogicContainerClient_JAR.jar;C:\JDEJarFiles\Connector.jar;

C:\JDEJarFiles\JdbjBase_JAR.jar;C:\JDEJarFiles\JdbjInterfaces_JAR.jar;C:\JDEJarFiles\JdeNet_JAR.jar;

C:\JDEJarFiles\log4j.jar;C:\JDEJarFiles\PMApi_JAR.jar;C:\JDEJarFiles\Spec_JAR.jar;C:\JDEJarFiles\System_JAR.jar;

C:\JDEJarFiles\xalan.jar;C:\JDEJarFiles\xerces.jar;C:\JDEJarFiles\jdbj.ini;C:\JDEJarFiles\ojdbc14.jar;

C:\JDEJarFiles\JDEDynAccess.jar;C:\JDEJarFiles\jdeinterop.ini;C:\JDEJarFiles\BusinessLogicServices_JAR.jar;

C:\JDEJarFiles\castor.jar;C:\JDEJarFiles\EventProcessor_EJB.jar;C:\JDEJarFiles\EventProcessor_JAR.jar;

C:\JDEJarFiles\Generator_JAR.jar;C:\JDEJarFiles\jmxremote.jar;;C:\JDEJarFiles\jmxremote.jar;

C:\JDEJarFiles\jmxremote_optional.jar;C:\JDEJarFiles\jmxri.jar;C:\JDEJarFiles\Metadata.jar

Can someone please help me on this?


Thanks and Regards, Sagar.

Have different parts in one project/solution

$
0
0

Hi,
In one Biztalk 2009 project/solution, can we have 2 distinct parts, which are doing 2 different jobs? For instance, part 1 is retrieving one input file and further insert one record into the DB. Part 2 will scan one table in the DB and once it sees some records with the status 'CheckedOK', it will generate some transaction records in one other table. Can we do both 2 parts in one project/solution?

If the answer is yes for this, can we have sample/tutorial for it?


Many Thanks & Best Regards, Hua Min


Biztal server WCF-SQL adapter

$
0
0

I am using Microsoft BizTalk server 2006 R2.we want to make use of WCF-SQL adapter to generate schema from the stored procedure.

When I click Add-->Add Generated Items-->Add Adapter. Getting only "SQL" in the list.

Please find the list of S/W that we are using:

1)BizTalk server development user License 2006 R2

2)SQL server Developer edition 2008

3)Visual studio Professional edition 2005

4)WCF LOB adapter SDK 3.0.5280

5)BizTalk adapter pack(x64) 3.5.5280

Please help us to find the exact pack.

Minimum polling interval Dynamics AX Adapter

$
0
0

Hi Pros,

the minimum value for the polling interval of the AX-Adapter in BizTalk Administration is 1 minute. In other adapters like the file adapter you can set the polling interval in milliseconds.

Anyone knows a trick to set the polling interval for the AX-Adapter less than 1 minute?

I already tried to manipulate the bindings.xml without success.. so if there is no trick, anyone at least knows the reason for this behaviour?

Thanks in advance for your ideas!

BizTalk Server 2010 Adapters in SQL Server 2012 Integration Services

$
0
0
Does anyone know if SQL Server 2012 Integration Services is able to use the BizTalk Server 2010 Adapters?

Get SQL Line Number of Error (And Stored Proc Name)

$
0
0

Is there any way to get the Stored Proc name and line number of an error when there is a SQL error in the Stored Proc (when using WCF-Custom adapter in SendPort).  For example, this is what I'm getting below.  I know what Stored Proc the SendPort is calling, but it might call many sub-stored procs. Seems like BizTalk would capture the entire SQL error info and display it back.

Neal


System.Data.SqlClient.SqlException (0x80131904): String or binary data would be truncated.
The statement has been terminated.

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)




sikkerhetssenteret

$
0
0
hei sikkerhets senteret mitt nekte og slå seg på men eg har brannmur,trur kansje d er virus som eg har hatt tidleger som har ødlagt noe der,noen som har ein ide?

Bug in SB-messaging adapter

$
0
0

Hi all,

during a talk last week on the Dutch BizTalk Usergroup I encountered a (what I consider) bug in the new BTS 2013 SB-messaging adapter. I don't know if anyone of you guys have encountered this bug yet. I don't think this is a feature ;) I will also report the scenario to Microsoft and hope it will get solved before RTM.

Please consider the following scenario:

Scenario:

  1. You receive a message from the Azure service bus (queue or topic/subscription) that contains brokered message properties. You receive this message with the new SB-Messaging adapter.
  2. You tick the “Promote Brokered Message Properties” on the receive adapter properties and use a namespace that doesn’t exist in BizTalk (see screenshot).

Expected result:

The message was received and suspended. An error or warning in the event log.

Actual result:

The result was a total of 20 warnings in the event log (screenshot). No suspended message could be found. The lock on the message on the queue or topic won’t be released and message resides on the queue or topic and can’t be received again, since it contains a lock. The message will probably live on the topic until the TTL expires.

There are two types of warnings logged in the event log:

Warning type 1:

The   adapter "SB-Messaging" raised an error message. Details   "System.Runtime.InteropServices.COMException (0xC0C01620): Exception  from HRESULT: 0xC0C01620

  at   Microsoft.BizTalk.TransportProxy.Interop.IBTTransportBatch.MoveToSuspendQ(IBaseMessage   msg)

  at   Microsoft.BizTalk.Adapter.Wcf.Runtime.Batch2.MoveToSuspendQ(IBaseMessage   message, Object userData)

  at   Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkReceiveBatch.SuspendMessageIfNeeded(IBaseMessage   message, StreamAndUserData streamAndUserData, Int32 messageStatus)".

 

Warning type 2:

The   adapter "SB-Messaging" raised an error message. Details   "System.Exception: Loading property information list by namespace failed  or property not found in the list. Verify that the schema is deployed   properly.

  at   Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance.EndOperation(IAsyncResult   result)

  at AsyncInvokeEndEndTwoWayMethod(Object ,   Object[] , IAsyncResult )

  at   System.ServiceModel.Dispatcher.AsyncMethodInvoker.InvokeEnd(Object instance,   Object[]& outputs, IAsyncResult result)

  at   System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeEnd(MessageRpc&   rpc)

  at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage7(MessageRpc&   rpc)

  at   System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean   isOperationContextSet)".

 

oracle adapter problem for generating schema

$
0
0

hi all,

i am trying to generate a shema from oracle source using consume adapter service giving proper connection URL but its showing the following error

Connecting to the LOB system has failed.

Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified..

plese help to resolve

Need the way

$
0
0
Hi,
Is there one tutorial/sample, in which we from time to time, check the database to retrieve one recordset, and then further perform 2 actions in the server machine, like
1. Move the relevant flat file from one place to another based on the given value of the file name of the record in the recordset
2. Update the status of the relevant record in (1), to 'Completed'

Many Thanks & Best Regards, Hua Min

Need to have the name

$
0
0
Hi,
At the time we load one Flat file, how to further take the file name of it and insert it into the database?

Many Thanks & Best Regards, Hua Min

How to connect to SFTP/SSH site using CORE FTP LE and using Biztalk?

$
0
0

Hi All,

I have one SFTP/SSH site from where i have to download file.

For that first i have connect to that site using FTP CORE LE to upload some TEST File. and then i have to download files to some location through Biztalk....But i am not able to connect using FTP CORE LE as well as using Biztalk.

i have some Private and public keys, using those even i m not able to connnect.

Please help me on this.

Thanks,

Pooja


Pooja Jagtap Software Engineer KPIT Cummins

Need details of the way

$
0
0

Hi all,
Can you please show a tutorial/sample to me for doing this?
I need one Biztalk solution which will perform these below. It can have 2 projects inside doing the following and will call DB stored procedures Upd_status, Upd_status2 respectively.
1. in Upd_status, do an insert by also capturing the current path and filename of the input Flat file, into StatusTab table in Upd_status and mark the status column of the current column as 'Received'
2. call Upd_status2, which will then retrieve all records with 'Received' status and then inside Biztalk project, the process will load the relevant input Flat file by the file name column just retrieved, into TransTab

If you're available to help, I can send you all the DB objects like SPs/tables as I am ready with them.


Many Thanks & Best Regards, Hua Min










Need some details

$
0
0
Hi,
Can I have the full steps/details for one project, which is one step inside?
1. in Upd_status, do an insert by also capturing the current path and filename of the input Flat file, into StatusTab table in Upd_status and mark the status column of the current column as 'Received'. Here is the SP
CREATE PROCEDURE [dbo].[Upd_status]
AS
declare @para_id int;
BEGIN
    select @para_id=max(para_id)
    from Transtab;
    
    if (@para_id is null)
    begin
        set @para_id=1
    end
    else
    begin
        set @para_id=@para_id+1
    end
    
    begin tran
        insert into statustab (para_id,status) values (@para_id,'Received');
    commit tran
      return @para_id
END

Many Thanks & Best Regards, Hua Min



Biztalk Adapter Pack - Visual studio 2010 - Error with "Add Adapter Service Reference"

$
0
0

When I try to add adapter service reference,  i am getting the following issue.

Object reference not set to an instance of an object.

Details:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.MetadataPanel.EnumerateAllAvailableBindings(String bindingExtensionName, String bindingConfiguration)
   at Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.MetadataPanel..ctor(MetadataUserControl usercontrol, AdapterProperties properties, String bindingExtensionName, String bindingConfiguration, String uri)

Note :  I have placed the necessary config entry in the machine.config file.

I have installed Biztalk Adapter pack 2010 - 64bit & WCF LOB Adapter SDK 64 Bit. ODP.Net 32bit.

Basically I am trying to use Biztalk Adaptere Pack ( Oracle Adapter for Database change notifications)

Machine.Config entry in binding extensions

<add name="oracleDBBinding" type="Microsoft.Adapters.OracleDB.OracleDBAdapterBindingSection, Microsoft.Adapters.OracleDB, Version=3.5.5280.0, PublicKeyToken=31bf3856ad364e35" />


WCF SQL Error with TypedPolling Interface when Use Ambient Transaction = True

$
0
0

BizTalk 2010 - I have a TypedPolling interface which uses a Data Available and Polling Statements (executes stored procedures).  I need to have "Use Ambient Transaction=True" because that is the only way that the Data Available statement is called.  However, when it is set to true, I get the following error:

The adapter "WCF-Custom" raised an error message. Details "System.ObjectDisposedException: Cannot access a disposed object.

Object name: 'TransactionScope'.

When I set Use "Ambient Transaction=False" the Polling statement SP executes and returns the expected xml data.  The SP itself does not appear to be using transactions (which can conflict with BizTalk's Use Ambient Transaction=True) but I cannot set it to False without disabling the use of the Data Available SP, so that is not an option for a fix.  The only thing I can see that's even related to transactions is that SET XACT_ABORT ON is at the beginning. 

Does anyone know what else I should look for in the Polling Statement Stored Procedure to eliminate this error?  As I said, I need to have "Use Ambient Transaction" set to True in order to fire the Data Available statement.

Marvin


mp

Is it possible to retrieve data from multiple Oracle tables by using WCF-OracleDB adapter using WHERE and JOIN Clause?

$
0
0

Hello Friends,

I have a scenario, where I should not use any Stored Procedures/ Functions/ View in the Oracle Database. This is restrictions by our client.

Is there any way by using WCF- OracleDB adapter, I can perform theSelect Statement with the WHERE and JOIN Clause.

Please find an example of the Select Statement below, which is my requirement:

SELECT a.Employee_id, a.Description,  a.company_id, b.Salary_id, c.Hr_id              

FROM  Employee a, Employee_Salary b, Employee_HR c

WHERE a.Employee_id = 30586980733
and a.Emp_Join_date between to_date('20-NOV-2012') and to_date('22-NOV-2012')
and a.Employee_id = b.Salary_id
and a.Employee_id = c.HR_id;

Could anyone please help me on this to achieve above query using theWCF-OracleDB adapter. Prompt response highly appreciated.

Thanks in advance…

Thanks and Regards,

Ranjan.

Need some help

$
0
0

Hi,

How about the steps in details to build the project doing these, using Biztalk 2009?

1) retrieve the records from the table and then point to the physical file in the server machine using the filename column we have retrieved, i.e. the filename column will hold such value 'c:\proj1\out\ff1.txt'
2) fetch the data of such input file into one other table of the same DB


Many Thanks & Best Regards, Hua Min

Viewing all 197 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>