Forum Replies Created
-
AuthorPosts
-
I stand corrected. It was a config file. Not the BTSNTSvc.exe.config … but another that I have.
Thanks for putting me on the right track.
Thanks for the tip. I wish it were that easy, but I checked the configs. No issues there.
Hi Richard,
There seems to be a few “secure” FTP protocols out there. If by FTP over HTTPS you mean SFTP (aka FTP/SSH), then you may want to look at http://www.codeplex.com/SftpAdapter. I’ve used it successfully as an SFTP client to pull files into BizTalk. Worked right out of the box.
Walter
The only time I’ve had something remotely similar is when I’ve hosed the BTSNTVS configuration file. Just a thought. Hope it it helps.
April 3, 2009 at 8:48 AM in reply to: ServiceCreationException exception: Cannot get the member ‘segment7’. #22074Hi Shay,
Have you fixed this issue? I am getting same error msg. It was working fine when i depolyed in the prodcution. Now I am getting this error. I couldnt process any file. Please help me if you have fix this.
Thank you in advance,
Siva
HI, I have now sorted it..
April 3, 2009 at 5:09 AM in reply to: How to decrypt a suspended message – from new guy in over his head #22071I ended up creating a receive port that picks up an encrypted file then passes it through a pipeline that decrypts it and then passes it to a send port that writes the decrypted file out to a new folder.
Thanks for the posts, but still not solved it.. If I do a new map which creates a map within my Orch project I can select the destination message, If I select an exsiting map and select the referenced map I cannot select it..
any ideas?
Click on a Construct Message shape (the one around your Transform shape). Open properties, for a property Messages Constructed select your destination message from drop-down list.
After that you will be able to assign a destination message for your map.Regards,
Hi,
I have a similar case: a repeating input element:
<SQLRequests>
<r requestType=”1″ …>
<r requestType=”2″ …>
<r requestType=”2″ …>
<r requestType=”1″ …>
<r requestType=”1″ …>
<r requestType=”2″ …>
…
</SQLRequests>
that should be split into multiple output elements, based on the attribute value:
<SQLRequestsSplit>
<requestType1 …>
<requestType2 …>
<requestType1 …>
<requestType1 …>
<requestType1 …>
<requestType2 …>
…
</SQLRequestsSplit>
After several attempts to use various advanced functoids, I added an intermediate schema, with separate elements. Then, I added a map with a custom XSLT, that did the split, and I plan to add another map, that will map SQLRequestsSplit into the target flat-file schema with two different record types.
I hope this helps.
Regards,
Goce.
Thanks Martin for your help. Using the hint you gave me, I was able to find a sample that cleared up my issue. The sample I downloaded is Handling Typed Fault Exceptions in Orchestrations from http://msdn.microsoft.com/en-us/biztalk/bb608378.aspx
Thank ou very much. I do not have much understanding about XML namespaces and structure. Will tryo to refer some good study meaterial.If you can suggest any, I would be more then happy.
But really appreciate your input.
Thank you once again
i have this message error
The “MQSeries” adapter is suspending a message coming from Source xx
Could not find a matching subscription for the message. . This error occurs if the subscribed orchestration schedule or send port has not been started, or if some of the message properties necessary for subscription evaluation have not been promoted. Please refer to Health and Activity Tracking tool for more detailed information on this failure.
The adapter has received an error from BizTalk HRESULT = C0C01680. Possibly there was a failure in the pipeline. Refer to the Event Log.”.
i try to make a new pipeline same of the other same result.
can you help me
March 30, 2009 at 8:32 PM in reply to: converting a string into xml document in msg assignment shape #22057I assume, you use an orchestration to call the .NET component.
In the orchestration create a variables: varXmlDocument of type System.Xml.XmlDocument, varXmlString of type System.String.
In an expression shape add:// Get an XML string
varXmlString = Call.your.Net.component.here()In a message assignment shape add:
// Create an XML document
varXmlDocument = new System.Xml.XmlDocument();
varXmlDocument.LoadXml(varXmlString);// Set notification message body
msgNotification.Body = varXmlDocument;I reckon, you will also add a decide shape to check your varXmlString includes an error description.
Regards,
Looking at the schemas further, you will have problems when debatching the message in the pipeline as the content schema will not match the debatched message.
There are a number of problems.
Firstly the Body Xpath definition in the schema points to the Error node. So the XmlDisassembler will debatch each child node of this node. i.e. you will get 5 messages ( ID, Type, Priority, Description and Timestamp). Your content schema does not define any of these messages.
The namespaces are not correct. The envelope schema ElementFormDefault is set to Unqualified (the default) so only the root node has a namespace. While the content schema has the same namespace and ElementFormDefault is set to Qualified
- Here is a modified version of your schemas that should work:
<?xml version=“1.0“ encoding=“utf-16“?>
<xs:schema xmlns:ns0=“http://BasicError“ xmlns:b=“http://schemas.microsoft.com/BizTalk/2003“ xmlns=“http://BasicXMLEnvelope“ targetNamespace=“http://BasicXMLEnvelope“ xmlns:xs=“http://www.w3.org/2001/XMLSchema“>
<xs:import schemaLocation=“.\content.xsd“ namespace=“http://BasicError“ />
<xs:annotation>
<xs:appinfo>
<b:schemaInfo is_envelope=“yes“ xmlns:b=“http://schemas.microsoft.com/BizTalk/2003“ />
<b:references>
<b:reference targetNamespace=“http://BasicError“ />
</b:references>
</xs:appinfo>
</xs:annotation>
<xs:element name=“ErrorEnvelope“>
<xs:annotation>
<xs:appinfo>
<b:recordInfo body_xpath=“/*[local-name()=’ErrorEnvelope’ and namespace-uri()=’http://BasicXMLEnvelope’%5D“ />
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref=“ns0:Error“ />
</xs:sequence>
<xs:attribute name=“BatchID“ type=“xs:string“ />
</xs:complexType>
</xs:element>
</xs:schema>
<?xml version=“1.0“ encoding=“utf-16“?>
<xs:schema xmlns:b=“http://schemas.microsoft.com/BizTalk/2003“ xmlns=“http://BasicError“ elementFormDefault=“qualified“ targetNamespace=“http://BasicError“ xmlns:xs=“http://www.w3.org/2001/XMLSchema“>
<xs:element name=“Error“>
<xs:complexType>
<xs:sequence>
<xs:element name=“ID“ type=“xs:integer“ />
<xs:element name=“Type“ type=“xs:integer“ />
<xs:element name=“Priority“ type=“xs:string“ />
<xs:element name=“Description“ type=“xs:string“ />
<xs:element name=“TimeStamp“ type=“xs:dateTime“ />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>And a sample message:
<ErrorEnvelope xmlns=“http://BasicXMLEnvelope“ BatchID=“10“>
<Error xmlns=“http://BasicError“>
<ID>100</ID>
<Type>100</Type>
<Priority>Priority_0</Priority>
<Description>Description_0</Description>
<TimeStamp>1999-05-31T13:20:00.000-05:00</TimeStamp>
</Error>
</ErrorEnvelope> - Here is a modified version of your schemas that should work:
-
AuthorPosts