domenica 5 luglio 2009

Biztalk Tools & Guidelines

Ciao, navigando qua e la' ho trovato una paginetta molto carina e utile non è recentissima...
ECCOLA

lo trovata interessante....
ciao!

giovedì 2 luglio 2009

WCF lob adapter: errore XmlParsing invalid argument

Ciao
puo' capitare se si usa wcf lob adapter di incorre in questo problema
Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException: Invalid argument: <BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> ...

La soluzione è molto semplice!! Basta mettere nell'orchestrazione il nome della operation sulla Porta Logica , uguale al nome dell ' ACTION generata dal wcf consume service ...
per esempio se avete creato un schema con il wcf consume e volete fare una SELECT su una tabella , il nome da associare all operation sarà SELECT ( attenzione alle maiuscole e  minuscole).

ciao
alla prossima!

venerdì 1 maggio 2009

BizTalk Message Helper Methods

Un altro utilissimo link .. creare dei metodi per estrarreil messaggio
sempre qui

ciao!

martedì 3 febbraio 2009

Using Adapter Oracle , ORA-12705

Ciao,
eccomi di nuovo! Installato il wcf lob adapter , configurate le send port con un WCF-Custom (binding oracle) ecco l'errore che mi si presentava:

ORA-12705: Cannot access NLS data files or invalid environment specified


Per risolvere questo errore bisogna:
1) aprire il Regedit (di ogni macchina biztalk , se ne avete piu' d'una )
2) cercare: HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
3) trovare la chiave NLS_LANG
4) rinominatela in NLS_LANG_old (in modo da poterla recuperare)
5) creare una nuova chiave NLS_LANG con valore: LINGUA ( es.AMERICAN_AMERICA.WE8MSWIN1252 , ITALIAN_ITALY.WE8MSWIN1252 ,... dipende dalla vostra installazione dell'oracle client)
gioco è fatto!

ciao.

giovedì 22 gennaio 2009

Adapter Oracle , error 1723

Ciao,
sto lavorando su un applicazione che fa il debatch di file abb. grandi , si parla di file con all'interno 30000 record... per ogni record debatchato si esegue un'orchestrazione che fa alcune operazioni di check su db oracle e poi terminati i check fa insert in una tabella...e fin qua niente di nuovo!

La nostra configurazione di produzione è 2 server biztalk in cluster.. ottimo! magari... durante l'elaborazione capita che alcuni record si "impallano".... con l'errore Runtime Error : Exception encrypting: Encryption failed with error code: 1723 .. bene!

Ho cercato in internet ed eccolo qua:
http://support.microsoft.com/?scid=kb%3Ben-us%3B942419&x=9&y=11  , un buon fix da applicare...

questa la causa:
This problem occurs because the adapters call the Windows CryptProtectData method. However, the CryptProtectData method is not intended for high volume throughput. Additionally, the method handles a maximum of 10 concurrent calls. When the adapters process lots of messages, the adapters may try to make more than 10 concurrent calls to the CryptProtectData method. When this behavior occurs, a failure occurs.

Installata la fix sembra risolto il problema...

ciao!

lunedì 17 novembre 2008

Using Macros in File Names

Ciao,
stavo cercando le "macro" per ottenere "file names" ,... e cercando qua e la ho trovato il link (finalmente) al MSDN aggiornato a Biztalk 2006 r2:

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

di seguito la tabella  (se non si raggiungesse il link)
Macro name Substitute value
%datetime% Coordinated Universal Time (UTC) date time in the format YYYY-MM-DDThhmmss (for example, 1997-07-12T103508).

%datetime_bts2000%

UTC date time in the format YYYYMMDDhhmmsss, where sss means seconds and milliseconds (for example, 199707121035234 means 1997/07/12, 10:35:23 and 400 milliseconds).

%datetime.tz%

Local date time plus time zone from GMT in the format YYYY-MM-DDThhmmssTZD, (for example, 1997-07-12T103508+800).

%DestinationParty%

Name of the destination party. The value comes from the message context property BTS.DestinationParty.

%DestinationPartyQualifier%

Qualifier of the destination party. The value comes from the message context property BTS.DestinationPartyQualifier.

%MessageID%

Globally unique identifier (GUID) of the message in BizTalk Server. The value comes directly from the message context property BTS.MessageID.
%SourceFileName%
Name of the file from which the File adapter read the message. The file name includes the extension and excludes the file path, for example, Sample.xml. When substituting this property, the File adapter extracts the file name from the absolute file path stored in the FILE.ReceivedFileName context property. If the context property does not have a value—for example, if a message was received on an adapter other than the File adapter—the macro will not be substituted and will remain in the file name as is (for example, C:\Drop\%SourceFileName%).
Correct implementation of this macro requires that the output message is the same message as the received message.
%SourceParty%
Name of the source party from which the File adapter received the message.
Correct implementation of this macro requires that the output message is the same message as the received message.
%SourcePartyQualifier%
Qualifier of the source party from which the File adapter received the message.
Correct implementation of this macro requires that the output message is the same message as the received message.

%time%

UTC time in the format hhmmss.

%time.tz%

Local time plus time zone from GMT in the format hhmmssTZD (for example, 124525+530).