Archive for March, 2007


Page 13 of 15« First...«6789101112131415»

FireScope Debuts AJAX Powered IT Operations Management Portal

FireScope debuted its breakthrough IT operations management dashboard solution at RSA Conference 2007 in San Francisco. Surpassing both the graphical and performance capabilities of other IT operations solutions as well as traditional monitoring products, FireScope offers a real-time, intuitive and customizable look at the entire availability, performance and security of an enterprise?s assets, enabling IT managers to instantly assess?and even diagnose?any aspect of the system?s health.

Comments

NamePicker v1.5 | Blog

Much-needed changes to the Name Picker widget including much updated code

Comments

Search Engine Forums Spotlight

What's new in search? Found in the forums: Content on an E-commerce Site; Implications of CSS Layouts on SEO; First Year at SES NY; and more.

Comments

Highlights from the SEW Blog: Feb. 26, 2007

Featured posts to the Search Engine Watch blog in the past week, along with recent search-related headlines from around the Web.

Comments

Should You Bring Search In-House?

The decision to bring search marketing efforts in-house is an important topic, requiring serious thought before a decision is made.

Comments

Autobytel Hopes to Usher in Second Phase of Automobile Search

New vertical search site MyRide.com will help consumers find automotive info and provide marketing opportunities for the automotive industry.

Comments

Google Offers More Click Fraud Data

The amount of click fraud detected by Google remains in single-digit percentages of total clicks, and the amount that slips through to advertisers is just 0.02 percent, according to Google.

Comments

Search Engine Forums Spotlight

What's new in search? Found in the forums: But Is The Traffic Any Good?; What is Your Best AdSense Tip?; Ranking Without Links; and more.

Comments

Highlights from the SEW Blog: Mar. 5, 2007

Featured posts to the Search Engine Watch blog in the past week, along with recent search-related headlines from around the Web.

Comments

Setting SOAP Headers Using Stubby (Monday, Mar 5)

DANGER: The programming geekery below may cause drowsiness. Please do not read while operating heavy machinery. Thank you.

I got a question last week about setting SOAP Headers when making web service calls from Lotus Notes using Stubby: the Web Services Slayer (a.k.a. -- the Lotus Notes Axis Stub Generator). I figured I should go ahead and document it here, if for no other reason than the fact that I can link back to it from the OpenNTF project site.

A typical SOAP envelope looks something like this:


  
    
      FOO
    
  

If you use Stubby to generate the Axis client code for you to use in Lotus Notes, this SOAP envelope will be generated by code similar to the following:

import StockInfoNamespace.*;

StockInfoServiceLocator locator = new StockInfoServiceLocator();
StockInfoService service = locator.getDomino();
service.GetStockInfo("FOO"); 

Sometimes a web service will also require you to include SOAP Header information, usually for login purposes. In the case of explicit headers (that are defined in the WSDL), the SOAP Header information is supposed to be writable directly from the Axis client code. However, if the headers are implicit (not defined in the WSDL), you will have to generate them manually.

There are two kinds of header elements you may have to generate. The first are elements that are simply child nodes of the

element, like so:


  
    
      John Doe
    
  
  
    
      FOO
    
  

This type of envelope can be created with Stubby code similar to this:

import StockInfoNamespace.*;
import lotus.domino.axis.client.Stub;

StockInfoServiceLocator locator = new StockInfoServiceLocator();
StockInfoService service = locator.getDomino();
((Stub) service).setHeader(
    "urn:thisNamespace", "UserName", "John Doe");
service.GetStockInfo("FOO"); 

You can also end up with header elements that are nested, such that there are nodes with subnodes within the

element, like so:


  
    
      John Doe
    
  
  
    
      FOO
    
  

In this case, the node is within an node within the SOAP Header. This type of envelope can be created with Stubby code similar to this:

import StockInfoNamespace.*;
import lotus.domino.axis.client.Stub;
import lotus.domino.axis.message.SOAPHeaderElement;
import javax.xml.soap.SOAPElement;

StockInfoServiceLocator locator = new StockInfoServiceLocator();
StockInfoService service = locator.getDomino();
SOAPHeaderElement headerElement = new SOAPHeaderElement(
    "urn:thisNamespace", "AuthenticationInfo");
SOAPElement node = headerElement.addChildElement("UserName");
node.addTextNode("John Doe");
((Stub) service).setHeader(headerElement);
service.GetStockInfo("FOO"); 

Note that we're talking about SOAP Envelope Headers here, not HTTP headers. You can set HTTP headers too if you'd like. The normal reason is to set a session cookie or to use basic authentication. Here is some sample code for that situation:

import StockInfoNamespace.*;
import lotus.domino.axis.transport.http.HTTPConstants;
import lotus.domino.axis.client.Call;

StockInfoServiceLocator locator = new StockInfoServiceLocator();
StockInfoService service = locator.getDomino();
// to set a cookie:
service._setProperty(
    HTTPConstants.HEADER_COOKIE, "AuthToken=abc123");
// to use Basic HTTP Authentication:
service._setProperty(
    Call.USERNAME_PROPERTY, "user name");
service._setProperty(
    Call.PASSWORD_PROPERTY, "password");
service.GetStockInfo("FOO"); 

Speaking of HTTP headers, if a SOAPAction Header was specified in the WSDL file, it will be generated automatically by the client code. No need to worry about that.


[ permalink ] [ e-mail me ] [ read/add comments ]

Comments

New Beginner Development Learning Center on MSDN

Are you a true beginner at web development? Do you want to know what CSS stands for or how to write your first line of JavaScript? Do you already know HTML and basic web development, but are new to ASP.NET? Are you familiar with ASP.NET but are not sure how to add master pages or membership to your application? If you answered yes to any of the above questions, the Beginner Web Development Learning Center that we launched last week is just for you. You can start at the level that is appropriate for you. There are 3 levels at the site labeled Tier1 through Tier3. Get started with a 30 minute video overview of Visual Web Developer Express that starts at the very beginning - i.e. how to download and install the product. It goes on to do a detailed...(read more)

Comments

Couch Desk - ‘Cause I gotta go home at night.

If you like me, after dinner it’s back to work. Duringthe day it’s recording videos, and phone calls most of the day. Night time is research, coding, learning, etc…. While my office is only a few minute walk from my house, I like to be in the house at night so I can hear the kids play. They run in and out of my den or turn my TV to the Disney Channel Sitting on the couch with my laptop isn’t comefortable and the laptop on my lap doesn’t really work either. I recently found this “Lap Desk”. It’s the second of these type of products that I’ve tried. The first was junk, but this one is cool. It’s light but pretty firm and it’s vented so your lap doesn’t sweat. It’s also wide enough for my Trackball or my mouse dock. So now I can sit back and comefortably...(read more)

Comments

USB 2.0 Coolness.

I’m a mobile guy and USB devices are an integral part of my day. I found this little beauty at Circuit City. It has a total of 7 ports. 4 on the front and 3 on top. The ones on top are great for dropping USB keys onto. It also has an external power supply (so it doesn’t suck up 2 USB ports on your PC). You can pick them up HERE. Read More......(read more)

Comments

What happens when Mozilla, Microsoft and Opera get together under Douglas Crockford’s moderation?

A very interesting conference that's available from Yahoo!. Douglas Crockford's introduction is worth the watch in itself but the others also have very interesting things to say. Chris Wilson from the IE team and Mike Shaver from Mozilla are all about conciliation and doing the right thing for the Web to continue to be the platform of choice for the killer applications of the future. Encouraging. Mike even had nice things to say about IE7 (yes, you read that right). H?kon Lie was more trying to pitch his product (and gently bashing IE) but still made an interesting case for a standard

Comments

Beanstalk Launches A New Keyword Activity Tool

Comments

Starting Notes? Sametime Integration

I've had a few people ask me about this one, so here you go...

If you are using Notes 6.5 or above, you now have Sametime Instant Messaging integration included right inside of Notes. ?While this is great, there are times you may not want the client to try and connect to your Sametime server, for example when you are disconnected or at a customer site without access back to your company's intranet.

To prevent Notes from trying to connect to Sametime automatically, you simply need to edit your current location document. ? You can do this by clicking the bottom right corner of Notes, and choose "Edit Current..."
Image:Starting Notes’ Sametime Integration

Next switch to the Instant Messaging tab, and change value of the field labelled "Connect" to "Manually".
Image:Starting Notes’ Sametime Integration

Finally save and close the location document.

Now when you start Notes, you will be able to manually connect to Sametime, the client will not try to log on automatically.
Image:Starting Notes’ Sametime Integration

Comments

Wood For The Trees | Blog

A little cautionary tale of over-reliance on JavaScript libraries.

Comments

Tip/Trick: Integrating ASP.NET Security with Classic ASP and Non-ASP.NET URLs

One of the questions I am often asked is "How can I integrate ASP.NET security with Classic ASP other non-ASP.NET URLs?". Specifically, people want to know if they can integrate ASP.NET's Forms Authentication, Role Based Security, and URL Authorization features with Classic ASP, PHP, JSP, .HTM, .JPG and other non-ASP.NET URLs. The good news is that this is pretty easy with ASP.NET 2.0 and IIS 6.0 today, and will get even easier in the IIS 7.0 timeframe. The below blog post demonstrates how to integrate ASP.NET 2.0's Forms Authentication and Login/Membership features with classic ASP and static .HTML files. For a much more detailed walkthrough of how to achieve this (as well as how to integrate features like ASP.NET role based authorization with...(read more)

Comments

Microsoft Ajax Library on PHP

A reader asked about the reference to running part of ASP.NET AJAX on PHPApache in my recent interview ... The specific thing I was talking about was running the Microsoft Ajax Library on PHP... Check out the CodePlex project.. Feel free to jump in and contribute to it. http://codeplex.com/phpmsajax Here is the "hello, world" for this project.. ProcessRequest(); ?> index.html : Hello, World! read more)

Comments

Third Free SEO Tool Launched

Comments

Page 13 of 15« First...«6789101112131415»