Forum Replies Created
-
AuthorPosts
-
August 29, 2006 at 3:10 AM in reply to: TimeOut error while sending file to Webserive in Biztalk #15480
[quote:b9877e5cf1=\”Merryhe45 \”]SoapException: There was an exception running the extensions specified in the config file. –> Maximum request length exceeded.[/quote:b9877e5cf1]
Did you get this on the client or the server side?
On the server side, for ASP.NET applications, this can be changed using the maxRequestLength attribute of the <httpRuntime/> element in the web.config file (the default is 4MB). You can see the documentation for it here:
[url]http://msdn2.microsoft.com/en-us/library/e1f13641.aspx[/url]
August 29, 2006 at 3:02 AM in reply to: TimeOut error while sending file to Webserive in Biztalk #15476Thanks a lot, i got rid of the TimeOut error. 🙂
But then ran into another error:
SoapException: There was an exception running the extensions specified in the config file. –> Maximum request length exceeded.
The file is large around 8M.
How to change the Maximum Allowed Length in biztalk?
Cheers
MerryYou should be able to script it all using WMI or a simple binding file.
WMI can start, stop, enlist, etc. You’ll probably need to run a binding file to actually configure the ports.The SDK in the Admin folder has some WMI sample. For the binding file, might want to look at btsdeploy.exe.
You might even be able to use WMI for the binding, but I don’t think so.
See this post: http://www.biztalkgurus.com/forums/viewtopic.php?t=1525
I think it’ll give you some ideas.
August 28, 2006 at 10:16 PM in reply to: TimeOut error while sending file to Webserive in Biztalk #15479Are you sending the message to a BizTalk Web Service, or are you sending a message to a diferent web service from your BizTalk orchestration?
If it’s the latter, it would be nice to see the entire error message. Meanwhile, have you tried incrementing the client-side timeout for the SOAP adapter when making the call? You can do this by setting the SOAP.ClientConnectionTimeout property on the message you’re setting. See here for some details:
[url]http://www.winterdom.com/weblog/2005/07/17/WebServiceCallTimeoutInBizTalk.aspx[/url]
August 28, 2006 at 5:17 PM in reply to: Cannot use message type STRING in MQSeries receive port. #15474Got it.
I needed to select my new pipeline in the receive location of my receive port…
August 28, 2006 at 2:49 PM in reply to: Cannot use message type STRING in MQSeries receive port. #15473Thanks Greg.
Here is exactly what I am trying to do. I am brand new to BizTalk and am sure I am spinning my wheels over something that is probably straight-forward.
I want to do the following:
1. Receive flatfile messages from MQSeries message queue.
* These message come in 6 different formats. Therefore, I am taking in the whole message and letting a webmethod figure everything out for me.2. In an orchestration, I have a parallel operation which will a. Simply pass the existing message in the SAME format onto another MQSeries Queue. AND b. Call a WEBMETHOD with this message to be processed.
That is it. I started exploring the flat file disassembler, which I believe is going to work. I just don’t think I am setting it up properly.
Here is where I am at with that.
1. I created a new schema for the flat file message which looks like this:
<?xml version=\”1.0\” encoding=\”utf-16\” ?>
– <xs:schema xmlns:b=\”http://schemas.microsoft.com/BizTalk/2003\” xmlns=\”http://EAICNR.schMacrocell\” targetNamespace=\”http://EAICNR.schMacrocell\” xmlns:xs=\”http://www.w3.org/2001/XMLSchema\”>
– <xs:annotation>
– <xs:appinfo>
<schemaEditorExtension:schemaInfo namespaceAlias=\”b\” extensionClass=\”Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\” standardName=\”Flat File\” xmlns:schemaEditorExtension=\”http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\” />
<b:schemaInfo standard=\”Flat File\” codepage=\”65001\” default_pad_char=\”\” pad_char_type=\”char\” count_positions_by_byte=\”false\” parser_optimization=\”speed\” lookahead_depth=\”3\” suppress_empty_nodes=\”false\” generate_empty_nodes=\”true\” allow_early_termination=\”false\” early_terminate_optional_fields=\”false\” allow_message_breakup_of_infix_root=\”false\” compile_parse_tables=\”false\” root_reference=\”Root\” />
</xs:appinfo>
</xs:annotation>
– <xs:element name=\”Root\”>
– <xs:annotation>
– <xs:appinfo>
<b:recordInfo structure=\”delimited\” child_delimiter_type=\”hex\” child_delimiter=\”0xD 0xA\” child_order=\”infix\” sequence_number=\”1\” preserve_delimiter_for_empty_data=\”true\” suppress_trailing_delimiters=\”false\” />
</xs:appinfo>
</xs:annotation>
– <xs:complexType>
– <xs:sequence>
– <xs:annotation>
– <xs:appinfo>
<groupInfo sequence_number=\”0\” xmlns=\”http://schemas.microsoft.com/BizTalk/2003\” />
</xs:appinfo>
</xs:annotation>
– <xs:element name=\”Root_Child1\” type=\”xs:string\”>
– <xs:annotation>
– <xs:appinfo>
<b:fieldInfo justification=\”left\” sequence_number=\”1\” />
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>2. Added a Flat file disassembler pipeline with the schema from step 1 in the Document schema property in the disassemble block.
3. Changed the message type in the MQSeries receive port to the schema from step 1.
4. Have a receive message set to a Message I created with message type of the schema from step 1. and with Operation to the Receive port.
5. Then the parallel operations which simply call a webmethod and another which Sends the message to a MQSeries send port.
All of this works perfectly if I was only dealing with XMLDocument and the message I put on the receive queue is an xml message. (example: <Request><Node>Test</Node></Request> )
In reality, I am dealing with something which looks more like ( 1234567 CustomerName Address City State Zip)
can we customise the portal using the BAM management web services.
Hi Greg,
Everything is working ok from oulook express or any html email clinet.
My conclusion is that it’s something with Exchange configuration.Thanks
The example shown is not a multipart MIME Message. It only has a single text/plain message part. There is no Html message part to extract.
I see what you were looking at. This behavior’s been around. Dynamic Policy Update is explained in the Help docs as \”Dynamic policy updates allow you to modify policies independently of a running business process. You can create and deploy an updated version of the policy, and the hosting application can incorporate the update in near real time. This update does not require you to change any code, and thus you can avoid the overhead of redeveloping and redeploying the application.\” This is because the Rules Engine Update Service polls the rules repository for changes (60 seconds, but you can change that in the registry) which means you can modify your business logic without updating any other components.
August 26, 2006 at 5:55 AM in reply to: The number of applications in this group has reached the max #15459Unlimited.
Well, I’m sure there is a limit – 256 or 1024 or something like that.
August 25, 2006 at 9:12 PM in reply to: BizTalk Transport not an option in Visual Studio .NET ?!? #15427The MessageType used in Biztalk is not a .NET type like string. It is a way of identifiying an Xml message.
The MessageType is made from the root node and target namespace of the incoming message and must match a schema deployed in Biztalk.
The MessageType is determined by one of the pipeline components like the Xml disassembler or FF disassembler.Because your message is a string it will have no MessageType.
The only way to receive untyped messages into an orchestration is to declare the message as an XmlDocument.
This applies to all untyped messages, you can receive a binary image file by declaring the MessageType as XmlDocument.August 25, 2006 at 7:34 PM in reply to: Cannot use message type STRING in MQSeries receive port. #15472I wanted to start a new thread on this since it did not fall in line with the subject of my previous post.
Basically, I am able to setup a receive port to an MQ Series port via MQSeries Adapter and receive/send messages as XMLDocument’s fine.
However, I am receiving fixed width messages from our legacy systems and XLANG/s blows up when non-xml formatted message comes across.
Sounds easy right? Simply change your message type to System.String instead of Xml.XmlDocument and be happy, right?. Wrong! It does not work.
When I do this, I get the following exception:
\”The Messaging engine failed to process a message submitted by adapter:MQSeries Source URL:MQS://cbtnt283/CBTNT283/QL.CBTNT.CNR.MACROCELL. Details:The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration console to troubleshoot this failure.\”
I have been researching this all day and the closest similarity I found was the need to create a RawString from an XMLDocument coming in.
Here is the linky: http://www.traceofthought.net/CommentView,guid,c5418f3d-2ea7-4530-ab9c-ae4c49154fcb.aspx
I could not get this to work.
Has anyone else experienced this?
I find it hard to believe that out of the box, you can’t receive a non-xml message from MQSeries into your Orchestration. All this Legacy data is pre-xml and will not be changed for me.
First time I deploy my application all works fine. I specify that ports be
setup later. When I make any change and try to re-deploy it gives me the
following errors.[code:1:9e66caf6ee]Error 1
Object reference not set to an instance of an object.Error 2 at
Microsoft.BizTalk.Deployment.BizTalkAssembly.GetConnectedPorts(BtsCatalogExplorer explorer, String pipelineFullyQualifiedName)
at Microsoft.BizTalk.Deployment.BizTalkAssembly.RemovePortsUsingPipelines()
at Microsoft.BizTalk.Deployment.BizTalkAssembly.RemovePipelines()
at Microsoft.BizTalk.Deployment.BizTalkAssembly.Remove()
at Microsoft.BizTalk.Deployment.BizTalkAssembly.RemoveNamedModule(String
server, String database, String assemblyName, String assemblyVersion, String
assemblyCulture, String assemblyPublicKeyToken, ApplicationLog log)Error 3 Unspecified exception: \"
Object reference not set to an instance of an object.\"Object reference not set to an instance of an object.
Error 4 Failed to add resource(s). Change requests failed for some
resources. BizTalkAssemblyResourceManager failed to complete end type change
request. Object reference not set to an instance of an object. [/code:1:9e66caf6ee]Any ideas on what I should be looking at? I can’t figure out what the issue
is and how to correct. My solution is split as two projects…
Orchestrations and Schemas. Orchestrations contains orchs and pipelines an
has reference to schemas. Schemas contains all schemas and maps.Thanks
-
AuthorPosts