Forum Replies Created
-
AuthorPosts
-
You could try Xslt Call template e.g.
Connect Invoice to INVOICE with a looping functoid
Add one scripting functoid for each reference node you wish to create, each will need its own name
<xsl:template name=”INVREF”>
<xsl:param name=”type” />
<xsl:param name=”desc” />
<xsl:param name=”code” />
<xsl:element name=”REFERENCE”>
<xsl:attribute name=”REFTYPE”>
<xsl:value-of select=”$type”/>
</xsl:attribute>
<xsl:element name=”REFDESC”>
<xsl:value-of select=”$desc” />
</xsl:element>
<xsl:element name=”REFCODE”>
<xsl:value-of select=”$code” />
</xsl:element>
</xsl:element>
</xsl:template>This template requires three parameters, the type, desc and code. Link the source node to the scripting functoid or hard-code the script input parameter.
The load balanced configuration may be the cause. It looks like the mailserver will only accept one connection at a time, with multiple connections it would have to deal with all sorts of concurrency issues
Not sure if the POP3 adapter will initiate another session if it has one open already. However, if you have two instances of the POP3 adapter on different servers then they would both open connections without the others knowledge and you would hit this problem.
The solution to this would be to only have one instance of the POP3 adapter.
You can do this by specifying a separate host and POP3 receive handler , and
1) only add a host instance to one server or
2) add a host instance to both servers but only start it on one serverYou could try this and set the polling interval back to 10 seconds and see what happens
I’m getting confused… Do you have a short input file you could post? Also, can you post an example of what a correct output file would look like?
Thanks Greg,
Increasing the polling intervall works, but I’de like to keep the intervall at a fairly short intervall…
Maybe my loadbalanced konfiguration cause the two nodes to interfere with each other…?
I’ve tried to monitor the logs written by the mailserver and I’ve
also confronted the FTgate people with some questions regarding this.They suggested firewall issues, but I guess it either will, or won’t work, if thats the case.
I guess I’ll have to settle for a compromise between number of events and polling intervall…
Ole-Petter
Take a look at the HTTP adapter sample: http://msdn.microsoft.com/en-us/library/aa561092.aspx. It shows how to send messages from an ASP.NET app to BizTalk. It should help.
Hi,
i’m triying to send message form asp.net to biztalk server through HTTP adapter, pls can u send the process.
i’m very thank ful if u send answer.
thanks,
Rajendra.
Is there a reason you are creating a library of schemas in the first place? I keep all of my schemas as xsd files and I have more than 40 in a single BizTalk application without any trouble.
You may be causing youself some grief by trying to do something that you really don’t need to.
Just a thought…
HI –
There is a limit to the size of a .net assembly. I recommend that you do one schema per assembly and you’ll have no problems.
Thanks,
Toneii
Hi ,
Me too getting the same error ,as I use an 17 mb schema file . Can any one of you please hlep me out to get rid of this error.
Thanks
Ganesh S
Yes, the component would be invoked for each message. What processing do you want to do when the last record is disassembled? You probably need to build a custom disassembler component.
BizTalk doesn’t exactly use a proxy class the way you would use a proxy class if you were calling a web service from C#. It doesn’t really do serialization/deserialization because it works with XML messages internally rather than objects. They are already serialized. What exactly do you want to see? If you are having problems getting BizTalk to build the SOAP envelope correctly for the web service, then you can use SOAP tracing to see the actual SOAP envelopes BizTalk sends. If you are on R2, then the WCF adapters have nice SOAP tracing capabilities. If you are on R1, then you need to use the WSE adapter for tracing. The SOAP adapter does not trace.
Here’s a trick you can do. Put this line of code in your class library:
System.Diagnostics.Debugger.Break();
This should show a message box that says an error has occurred, and ask you if you want to debug. Just click yes, and you should be able to debug as normal. If I can’t get this method to work, then I normally revert to printing trace statements and watching them in SysInternals DebugView.
Also, Do you have multiple host instances? If so, then you will have multiple instances of BTSNTSVC and will need to attach to the right one.
What is your whole process? Are you using an orchestration, messaging, etc? Is there anything else in the process that could be a bottleneck? Are you sure that BizTalk is receiving all of the files at once, or are they trickling in? Are you using any other adapters than the SQL adapter?
You could use the index functoid. When used inside a loop, it will generate increasing integer values.
-
AuthorPosts