Forum Replies Created
-
AuthorPosts
-
I need to get data from a web service.One of methods in this web service has no parameters, and has no return value.so,I create a request-response port in order to connect with the web service.
the question is:
since There is no parameters , how to initialize the input message?
thanks!Have you checked what the installation log says? (it should be in your temp directory, I think). Usually, that’s where you’ll find more detailed information and error code about what happened.
The Biztalk 2006 product comes with a number of tutorials:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bts06gettingstarted/html/58019f98-e91a-4705-b689-c269174d6bae.asp[/url]You should be able to use a combination of SMTP Send Adapter and POP3 Receive adapter to send emails and retrieve responses.
You will need to add a mailbox for responses and set the From address on the Biztalk send port to this mailbox. You will need POP3 functionality on the exchange server and have a POP3 adapter polling this mailbox.Your biggest difficulty is going to be determining if an email has been delivered. In the age of spam most people have disabled external delivery receipts and read receipts. You will possibly get bounce messages so you will have to deal with acks and nacks.
The response messages are meant for human consumption so they will not be structured data so parsing the responses will be a nightmare. As will correllating the responses to the originating messages.Best of luck.
I think you can use register.exe or something like that to manually requester a dll. Not sure how that will work out through. I know in the 2004 days, sometimes I’d just give up – re image. Then, the next time everything would work. Doesn’t make sense to me
Best of luck.
Make sure any .net components called by the rules are in the GAC. Also, might want to check permissions and make the rules are deployed.
Ok, I’m biased, this is my site: http://Biztalk-Training.com.
My tutorials have helped many people get off to a quick start.Neal Walters
Hi!
i’m new in BizTalk, and i need a little help.What kind of programs, tools or utilities do you guys use, in order to help you program in BizTalk( i’m thinking about things like XMLSpy, UltraEdit and stuff of the kind)?
every suggestions is welcomed!
thanks.Sounds like the web service that’s getting called is failing and you’re getting the ASP.NET default error page instead. Have you tried opening up the service in the browser and checking what the error is? You might also want to check if ASP.NET 2.0 is enabled for the site and not 1.1.
Hello All
I m new to Biztalk, So please Help Me
I am getting Following Error when i m dropping one xml file in In Folder.
The File Removes from that folder but doesn’t give any output and everytime generate Following Error in Health and Activity Tracking.Error in accessing the part data or one of its fragments. The part or fragment may not exist in the database.
Please give me solution ASAP.
Thanks & Regards
Jignesh DarjiJust the first one, so my new output looks like:
[code:1:31f9befa88]
…
<Detail>
<Field1>Value1</Field1>
…
<Spec>
<Field1>Value1</Field1>
<Field2>Value2</Field2>
</Spec>
…
</Detail>
…
[/code:1:31f9befa88]Rich,
Ignore my alternate suggestion, it won’t work as the <Spec> node will be dropped from the output.
Does the <xsl:if> construct pick up all the <Spec> nodes or just the first one.
You could also use:
[code:1:856fdf2b37]<xsl:for-each select=\"Detail/Spec\">
<Spec>
<xsl:for-each select=\"Info\">
<xsl:element name=\"{string(@Name)}\">
<xsl:value-of select=\"string(@Value)\" />
</xsl:element>
</xsl:for-each>
</Spec>
</xsl:for-each> [/code:1:856fdf2b37]Hi Greg, you were the one that helped me with the original XSLT, good to hear from you.
I have my change working as needed and verified the ‘new’ output with the developer who will consume the data so I think all is well with what I have. But to answer your questions and to help me understand XSLT a little better, here you go…
[quote:8e6b8e67a7]
What does the output look like for the second instance?
[/quote:8e6b8e67a7]Identical, aside from the ‘Spec’ element and child nodes. Some messages have them which I need to preserve, and other messages will not have the Spec element so I won’t need the output to contain the element.[quote:8e6b8e67a7]Do you want the <spec> element included or just the <Info> elements mapped[/quote:8e6b8e67a7]I need the Spec element included as well, a consumer of the modified data will require the format if it’s there.
[quote:8e6b8e67a7]In your sample you have indented the <Spec> elements but they are not child elements of the preceding <Info> element.[/quote:8e6b8e67a7]Correct, so the change I used above works, as I don’t need it to particularly show in a certain order of the output message. As long as Spec remains a child of Detail, I’m golden.
[quote:8e6b8e67a7]Is there some relationship between the <Spec> element and preceding <Info> element that is derived from its position and does this relationship have to be maintained across the map?[/quote:8e6b8e67a7]No, just that Spec remains the child of Detail is the only requirement.
An alternative would be to change this line from the original XSLT:
<xsl:for-each select=\”Detail/Info\”>
To
<xsl:for-each select=\”Detail//Info\”>OK, looks like I got it….I did the following if any cares to see:
[code:1:29576332f5]
…
<xsl:if test=\"/Root/Detail/Spec\">
<Spec>
<xsl:for-each select=\"Detail/Spec/Info\">
<xsl:element name=\"{string(@Name)}\">
<xsl:value-of select=\"string(@Value)\" />
</xsl:element>
</xsl:for-each>
</Spec>
</xsl:if>
…
[/code:1:29576332f5]Good times!
Take care,
-Rich -
AuthorPosts