Tag | XML Posts

Normal 0 false false false EN-US JA X-NONE MicrosoftInternetExplorer4 st1\:*{behavior:url(#ieooui) } /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} Robert ...
BizTalk Hotrod Issue 6 Q2 Magazine is out there. Download Link: http://biztalkhotrod.com/Do... Below are the topics you can find in this magazine. Writing Great BizTalk Applications BizTalk Rule Engine, a practical application Development Challenges with XML over AS2 Batching Outbound Messages: Management of Multiple Batch Criteria per Party Hierarchical naming convention for BizTalk Messaging artifacts To Be, Or Logical Not To Be: If-Then-Else in BizTalk Maps ...
First things, first… You’ll notice the new blog name “The SharePoint Hillbilly”. This is one of the interesting things that came out of SharePint. What do you think? You like it? hate it? At least it’s a little more memorable. Hey, I AM from Arkansas (no, I’m not married to my sister). ANYWAY! The St. Louis SharePoint User Group was kind enough to put together an amazing SharePoint event this past weekend and even more gracious by allowing me to speak. I met a lot of amazing people, had a lot of ...
I need to pass an xml document to a SQL 2005 stored procedure as a parameter with a XML data type. I'm using VBScript with ADODB. I was getting the error of "Bad variable type." The problem is the Provider. The SQL Native Client provider uses an Xml type ( 141) that ADODB doesn't recognize. The OLEDB provider converts the xml type to varWChar. To set things up here's a sample sql stored proc create proc stor_PassXml @xmlVar xml as select @xmlVar end So here's the VBScript to call it Dim conStr Dim ...
[Source: http://geekswithblogs.net/E... Managing concurrency within an application boundary can be straightforward where you own the database schema and the application's data representation. By adding an incrementing lock sequence to tables and holding the current sequence in entity objects, you can implement optimistic locking at the database level without a significant performance hit. At the service level, the situation is more complicated. Even where the database schema can be extended, ...
The latest release of BizTalk adapter 3.0 for mySAP Suite using WCF offers 4 operations for receiving and sending message to SAP. You can receive/send messages as IDOC (Flat file data) or Xml message. Which makes easier for deploying SAP schemas in BizTalk Mgmt DB, then the earlier version where we need to take care of the one receive pipeline to accommodate all the inbound message to BizTalk from SAP. So if you need to migrate from earlier version to the latest version of adapter is easy and it’s ...
XML-FX.COM Finally, we have found the time to be more serious about sharing our knowledge, experiences (good and bad!) in the field of XML applications and technologies. We hope this website provides useful and enlightening information and you will come back here often! The site features a blog with (hopefully) useful articles, posts and downloads, a tools section with applications, tools and utilities, and some useful links. Best regards, Willem ...
The Design Template can be downloaded from: Download the Design Template The new Windows Embedded CE 6.0 New Design Wizard is configurable by adding new templates to a catalog file (PBCXML). You may already know that you can add new BSPs to the catalog and these will then be listed in the wizard. You can also add new design templates for selecting the starting OS components. Having a custom design template can be useful to standardize the systems that you develop. At Eurotech, we have a set of Commercial ...
Nothing special – just a list of good Visual Basic .NET articles I read over the last month. Enjoy: Visual Basic Lambdas are not quite the same as C# Lambdas. This article explains how to work around the differences. Visual Basic needs a hand with iterators as it has no specific syntax. Useful when you live in a world of LINQ and IEnumerable. This article shows you how to create iterators in VB. Combining XML Literals, WCF and LINQ to create temaplates. Interesting stuff. Add “Ruby like” MethodMissing ...
First of all, thanks to all those brilliant people who made the long arduous journey to the UK (and to all those who just happened to be near by). I know it must have killed you to be so far away for so long. I can only imagine how hard it was for you. All of us that couldn’t go really feel for you and feel your pain. Okay! So, for those of us that couldn’t go, some of these guys really did a tremendous job of twittering what was going on during the conference. They absolutely did not have to do ...
In this Issue: Damon Carr, Rishi(2), Mike Taulty, Jeff Prosise, Laurent Bugnion, Ruurd Boeke, and Walt Ritscher. Shoutout: Andy Beaulieu has released his latest game: Boss Launch ... go have some fun with that :) From SilverlightCream.com: Silverlight 3 Beta Player for Adobe Video Formats Damon Wilder Carr sent me this link on HD and streaming. Might be good to read some of the comments he's gotten also. nRoute: Comes complete with a full set of behavioural teeth Rishi is posting bunches of info ...
At MIX 2009, the Expression Blend team cam up with a new concept called Behaviors. In fact, the only thing new is the way that the Behaviors are packed. WPF developers have been doing what we called "Attached Behaviors" for quite some time already: see this thread (dated July 2008) to read a discussion around this topic at the WPF Disciples group. Read the rest of this entry » ...
Man I love InfoPath. I've only used it a bit, but the whole XML in the background, generate your own schema or use one to start with, then save or submit to W/S - it just is cool! I bet the productivity of those who use it regularly is off the charts. On the "oh crap" side is the fact that everyone needs to purchase a copy to use it (there is a web version but that's different). So when a new project required disconnected forms based input, I looked to Adobe LiveCycle Forms ES. Just the mention of ...
I was scooting about the net the other day and landed on someone’s site that had the most fascinating tag cloud I have seen so far. The tags in this cloud revolve as though they are in a 3d sphere. When you mouse over the sphere you can move the words up down and around. Very interesting. This is a flash based control that you can feed with an XML file. Also, the source for it is readily available which makes it a tool that can be ported to just about any tab based platform. Very nice! See the home ...
PowerShell users are scripters and developers who love productivity tools. That’s why you and I like PowerShell – it gives us so much to help us work more efficiently. RSSBus is another swiss-army knife of technology along this same vein, and is a handy complement to PowerShell. The biggest wins? #1, RSSBus makes it easy to get data. No matter the source of the data (tons of sources are supported already, with many more to come and an open interface so anybody can build more data connectors), with ...
My favorite SQL Server command is: STUFF. What an awesome name for a command. During a recent data conversion I had to combine many duplicate part records in the Part table, but retain the values from all of the duplicate part rows. I used STUFF to collapse the rows: Select Distinct [CustomerPartNo] ,[CustomerNo] ,(Stuff((Select ', ' + CustomerDescription From [PARTS] T2 Where T2.[CustomerPartNo] = T1.[CustomerPartNo] and T2.[CustomerNo] = T2.[CustomerNo] FOR XML PATH('')),1,2,'')) From [PARTS] T1 ...
. BizTalk: What features we would like to see in future releases After the MVP Summit [http://geekswithblogs.net/... we, the BizTalk MVPs, have been asked to give feedback to the product team on what features we’d like to see in future releases. I created the list of features and separated it into parts. One is from the global, crazy things than never be implemented. But why don’t imagine? Second ...
About a year ago, I started to evaluate ASP.Net MVC, but decided to put it aside because it was still in heavy-duty development. With the official release a couple of weeks ago, I decided to check it out once again. MVC has a lot of things to offer, but there are a few critical things that we couldn’t overlook. We have a few web applications that all have quite a lot invested in server controls (both third-party and developed in-house). In ASP.Net WebForms, for something as simple as a GridView with ...
Webinars are a great way learn vital skills in a convenient way. Our new webinar series will bring you the tips and tricks you need to increase productivity right to your office or home. Learn More >> Microsoft Word...Use it Right! April 20 2:00pm - 3:30pm Have you ever wondered why Microsoft Word does what it does? Attend this 90-minute webinar to learn the basic functionality that all users should know to efficiently work with Microsoft Word. You'll discover how easy it really is to create ...
LINQ to XML rocks. I use it pretty much day in day out to read mock up data from XML files for prototyping. Today I needed a way to work with an XML file that was embedded in an assembly as an Embedded Resource. Following are the contents of the file: <Users> <User ID="1" Name="Jim"/> <User ID="1" Name="Jon"/> <User ID="1" Name="jack"/> <User ID="1" Name="Matt"/> </Users> LINQ to XML makes working with this very easy. public static XDocument GetDocument(string ...
For the last few months I’ve been working on a fairly large-sized web application for work. The application is mostly Flex-based, so I’m working on back-end components, which are accessed via FluorineFx (an ActionScript-.NET connector). The site also needs to integrate with Ektron, a somewhat perilous enterprise-level CMS, because a lot of the company’s web-facing data is already stored their and they want to reuse as much as possible. The site is a completely new version of a much less-ambitious ...
I just ran across this error while using the Team Foundation Server Power Tools to import a work item template XML document into a TFS instance: Error 0x8013150A: An error relating to security occurred. So it’s a security issue, right? No. As it turns out, I had edited the XML file in Notepad and added values to a field definition with the ALLOWEDVALUES rule. In my over-zealous copy-and-paste efforts, I had added a few of the allowable values in more than one place: <FIELD reportable="dimension" ...
Here is an interesting issue I noticed when using the Except extension method. I have list of users from which I want to exclude some users: The list of users is coming from an XML file: <Users> <User id="1" name="Jack"/> <User id="2" name="Jim"/> <User id="3" name="Joe"/> <User id="4" name="James"/> <User id="5" name="Tom"/> <User id="6" name="Matt"/> <User id="7" name="Jon"/> <User id="8" name="Jill"/> </Users> The code goes like this: ...
The SampleDocViewEditor from the Visual Studio 2008 SDK is useful for figuring out how to create a designer view for an xml file. However, as noted by Nikita Frolov, there is some trickery involved that will cause it to not work for you if you use a different extension. I found out that if I change the test extension, used in the sample, to something else (say, .testaddin), it would not receive "View Code | View Designer" options in following situation: 1. Create a new project 2. Add ".testaddin" ...
Note: I just updated the title for this article, sorry to all of you who were waiting for the TechDays Belgium source code and didn't realize it was here :) I just posted the source code of the demo applications I used in my MIX09 talk "Working across the client continuum". The source code is structured as follows: Read the rest of this entry » ...
I was just refactoring an orchestration today and to help me test it I wanted to query HAT to ensure the orchestration had completed successfully, BizUnit doesn't have a build in step to do this so I created my own which is easy to do thanks to the extensibility of BizUnit. I guess I could probably have used one of the BizUnit database steps and written some fiddly SQL to do this, but a new task would make this fairly reusable. The xml to use my step is below: <TestCase> <TestSetup> </TestSetup> ...
I was using XmlSerialize method from http://codebetter.com/blogs... a while.Recently I found that sometimes it's safer to use TryXmlSerialize: /// <summary> /// Serialize an object into XML /// </summary> /// <param name="serializableObject"&g... that can be serialized</param> /// <returns>Serial XML representation</returns> public static bool TryXmlSerialize(object objectToSerialize, out string strXml) { bool bRet=true; ...
I will be speaking about Silverlight and SharePoint at the upcoming KC .Net User Group meeting this Tuesday, March 24th at 6 pm at Centriq (for more information go here: http://www.kcdotnet.com/). This is pretty much the same talk I have been giving with a little bit at the end talking about some changes in Silverlight 3 addressed (like direct XML Databinding). I am not going to show any Silverlight 3.0 demos until after my talk on April 18th in St. Louis. I do not want to break any of my demos right ...
As I said in my previous post, I’m currently implementing a web service in WCF. It has to be consumable by code that’s been written for a .NET 2.0 style web service (in Perl, as it happens), and so I’m using the BasicHttpBinding and Xml serialisation. One of the reasons I’m using WCF is to be able to wrap all operations (in the WCF sense) in the same error handling code. The requirements of the client are always to have the following class returned: public class Result<T> { public T Data { ...
Recently a few of us were speaking about what would be the future of BizTalk after the 2009 release. I already had a few thoughts on what I think would be great additions to the product and what strategic directions it may move in. I have checked to ensure that none of my thoughts breach the MVP NDA and after getting the thumbs up I've listed my thoughts below so there might be a bit of discussion on these ideas. AreaThoughtNotesImproved or New FeatureConfiguration SubsystemWithin BizTalk solutions ...
For learning purposes, you may have some software installed on your Virtual PC and it is frustrating when the software expires during the evaluation of the software. Though you may have disabled the automatic time synchronization on the Virtual machine, windows will still change the time back again to the current time on the host machine. To permanently disable the time synchronization on your VPC, simply edit the .vmc file to add the following XML snippet under the XML node preferences > integration ...
As I need to send email to many people, i need to convert multiple emails into a single row delimited by semi-colon(;), i had lots of solutions, but which is an old type of solution which needs more lines of code. As i want to use one or two line code which would resolve, i found three methods for my solution which is very simple. Method 1: DECLARE @str varchar(4000) SET @str = (SELECT CONTACT_EMAIL + ';' FROM table FOR XML PATH('')) SET @str = SUBSTRING(@str,1,LEN(@str)-1) SELECT @str Method 2: ...
I’ve recently been working a fair bit with WCF and web services in and out of BizTalk. One of the things this involves is hooking up some orchestration ports using the generated port types when the target service is consumed. Once the consuming wizard is done, the generated port type definitions can then be edited to include a fault message. I chose to assign the out-the-box BTS.soap_envelope_1__1+Fault message. Now, the physical 2-way send port the orchestration wires up to has a custom receive ...
I’ve had the fortune of being involved in some pretty complex and elegant Team Build configurations. I’ve started to blog about individual points several times, but ended up figuring that I should instead write a series of posts about common goals and general Team Build approaches. I can’t take credit for all this content. Some I’ve developed over time, some I’ve learned from others on the web, and yet other stuff I’ve learned from co-workers. That said, here we go with Part 1. General Approach Every ...
In this issue: Jobi Joy, Andy Beaulieu, Rishi, Nikhil Kothari, Pete Brown, Fredrik Normén, Tim Heuer, Kirupa Chinnathambi, Cameron Albert, Shawn Wildermuth, Jeff Wilcox, Terence Tsang, Andrej Tozon, and Somasegar. Shoutouts: First a big congratulations to Bill Reiss for becoming the very first official Silverlight MVP: I'm just speechless… What an honor to be the first Silverlight MVP Want a sneak peek into LOB apps by the guys on the product team? Tim Heuer gave this link: Silverlight Sneak Peek: ...
[Source: http://geekswithblogs.net/E... The Code Generation Guidance Package on CodePlex was designed to be extensible and reusable. There are three main C# projects, which isolate logic for code generation, and the UI and GAX components. Sixeyed.CodeGeneration This is the core project, defining how metadata is represented and retrieved, and defining configuration for code generation runs. Metadata is defined in terms of: A metadata source, which contains the logic for connecting to the ...
[Source: http://geekswithblogs.net/E... The basic Code Generation Guidance Package on CodePlex comes with an additional sample Guidance package. This sample is intended to demonstrate how the functionality of the base package can be customised to create a project-specific Guidance package, where you can easily add tailored code generation recipes to your package. In the basic package are the Wizard steps necessary to configure ad-hoc code generation, but there are also ValueProviders which ...
[Source: http://geekswithblogs.net/E... I've been working on a Guidance package which lets you use Visual Studio as a front end to generate items from T4 templates. Using a recipe wizard you choose your metadata from a Web service, database or file system source, and the template is rendered against each of the metadata objects you select. It's on CodePlex here: Code Generation Guidance Package, and comes in two flavours. The basic Guidance package has a single recipe "Add generated items" ...
In this issue: Nikhil Kothari, Alex Knight(2), Lutz Gerhard, Nigel Sampson, Ofir Shemesh, Tim Heuer, Koen Zwikstra, Jeff Wilcox, Tess Fernandez(6), and Corey Miller. Shoutouts: Corey Schuman has a big list-o-Silverlight 2 books on his site: The State of Silverlight 2 books .. thanks for the shoutout, Corey! Martin Grayson announced that Blacklight v3.0 (Mar09) released! ... check out his post for all the goodness involved in this! From SilverlightCream.com: Silverlight.FX and Silverlight Store Sample ...
.. maybe / maybe not. I've collected / created lots of colour scheme .vssettings xml files over the years, here are some of my favourites... enjoy! All files are guaranteed to only contain settings for the All Settings->Options->En... and Colours so the rest of your visual studio settings remain untouched. All files are in VS2008 format though they can be edited to work with VS2005 by editing the line :- <ApplicationIdentity version="9.0" /> to read <ApplicationIdentity ...
[Source: http://geekswithblogs.net/E... BizTalk 2006 R2 ships with WCF adapters and pre-configured settings for common bindings - basicHttp and wsHttp being typically used for SOAP messaging. With a static port you can use the WCF-Custom adapter, select an existing binding and configure it further in the UI, with the full set of binding options available to you: Here I'm using basicHttp, but I've configured the maxReceivedMessageSize, sendTimeout and transferMode settings to allow us to ...
The fantastic 40 templates from Microsoft can cause issues with content deployment. The following error prevents content deployment with the templates installed: 1. The content type name cannot contain: \ / : * ? " # % < > { } | ~ &, two consecutive periods (..), or special characters such as a tab. at Microsoft.SharePoint.SPCont... name) at Microsoft.SharePoint.SPCont... strVal, String& strLocalized) at Microsoft.SharePoint.SPCont... ...
Every ASP.NET developer is accustomed to writing configurable values into the web.config for directing programming logic at runtime. This practice has always made a lot of sense for storing things that will change depending where assets (such as databases, web services, etc.) are going to live come production time. The tricky part comes in when you need to store configurable values that change the behavior of your code, but don't apply to other systems in any meaningful way. An example of one such ...
If you needed to generate dynamic logfile names with log4net then you can use the following config 1: <appender name="RollingFileAppenderV1" type="log4net.Appender.Roll... 2: <file type="log4net.Util.PatternS... value="F:\HornetFeed\%prope... /> 3: <appendToFile value="true" /> 4: <rollingStyle value="Size" /> 5: <maxSizeRollBackups value="-1" /> 6: <maximumFileSize value="5000KB" /> 7: <staticLogFileName value="true" /> 8: <countDirection ...
Since PDC I’ve been working on and off on an “Oslo” based solution for deploying a BizTalk application; unfortunately I couldn’t get a good chunk of time to play with this, so it’s been dragging a bit, but I’m getting close, so here are some details - I’m a big advocate of automated builds; it’s a topic that probably deserves a post of its own, so I won’t get started on this here, but the idea is that one must have a way to be confident that, when its time to [re-]deploy the app, it will get deployed ...
I've been working on creating an xsl stylesheet from an xml document transformed by a base xsl stylesheet. The problem I was having is that the xsl elements I wanted to output were causing validation errors in VS2005. Of course trying to googling creating xsl from xsl resulted in nothing that approached the problem. I finally stumbled on the solution. Use the xsl:namespace-alias element to convert the namespace in the stylesheet into another alias in the transform. The microsft XSLT documentation ...
I am using dom4j as my xml library in conjunction with my Selenium/Java project. It seemed simple enough, until I got the following stack trace: Exception in thread "main" java.lang.NoClassDefFoundEr... org/jaxen/JaxenException I tried a lot of things to resolve this, and finally figured it out: dom4j has a dependency on the jaxen jar. If you grab just the dom4j jar, obviously you don't get that. You have to grab the jaxen jar, put it in your buildpath and have it included before your dom4j jar. ...
I finally had an entire day of sitting at home where I did not have to pack. I put my slides and my demos on Sky Drive, including the Linq to XML information with the XML file databinding commented out and the webservice code (using WCF). Here is the slide link: http://cid-8e2654c5f01e6069... Here are the demos: http://cid-8e2654c5f01e6069... I am not ...
All right, all you developers out there... let's see a show of hands. How many of you delight in finding new ways to solve a problem? You. Yes, you in the back. Get your hand up. You can't call yourself a developer if you don't enjoy finding a new (preferably somewhat convoluted) to solve a problem. I've been doing some work that involves converting C# code to VB.NET code. I was sitting in the speaker lounge at VS Live, shortly after getting into San Francisco. I'd played a little bit on the plane ...