• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

SOAP Proxy - A web service tool that validate SOAP messages

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there !

I'm french, so I apologize in advance if my english is not very "well formed" ;)

I wanted to share with you a simple tool that I have developed these days.

You know when you develope web services, you often faces problems with SOAP messages that are not valid according to the XSD schema declared in the original WSDL. For example, by default, some J2EE servers does not validate incoming SOAP requests before doing their stufs.
There are solutions to prevent these kind of problem, such as Sun's Datapower, which is a proxy that validates SOAP content. But, this kind of product is a bit expensive, and is not accessible for everybody.

The tool I developed acts as a Datapower (it does not replace it ;)), and it is called SOAP Proxy. For each web service interface you need to test, you just have to provide an URI mapping and the WSDL/XSD file that will be used to valide contents.
Then, instead of calling your web service with its target endpoint URL, you call it using the local URL of the proxy, and that's it It also has a "last results page", that shows you the lasts results of SOAP calls tansiting to it. It says for each message, request and response, the status (OK/KO), and if KO, you just have to click on the red button to know why the message validation failed. You can also display requests and responses contents.

What is actually validated ? SOAP Proxy does not validate the whole content of SOAP messages. It validates XML code inside <env:body>....</end:body> tags.
It also supports MTOM, but in a tricky way. Before validating XML content against the XSD schema, each <xop:include> declaration is replaced by a fake Binary64 String. But, the content that is send to the target endpoint (or sent back to the client) is still the original message with the <xop:include> declarations in it.

It would be great if some of you could test this tool, and give me some feebacks and bugs.

To run the tool, you need :
- a standard J2EE web server (such as tomcat, jboss, and so on) running under JDK 1.5 or upper.
- the '/var' directory on your system (or 'DISKNAME:/var' on windows) must be writable (it contains logs and configuration files).

How to install the tool ? SOAP Proxy is packaged as a standard war file. So once your server is started, just deploy the war file on it.

Soap Proxy is still a beta version, and you should not use it in production. Its purpose is only for testing and validating you web service interface !

You can find the tool on source forge at : http://sourceforge.net/projects/soap-proxy

Seeya,

Evan
 
Evan Caballero
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps this topic could be moved to the "Products/Other Open Source Projects" section ;)

Any Admin to do this ?

Evan
 
Evan Caballero
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can someone move the topic please ? It's in the wrong place

Thanks in advance
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, it's in the right place. This forum is used for all kinds of software announcements - we keep those out of the discussion forums.
 
Evan Caballero
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, thanks Ulf
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic