Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Siebel Web Service written in Java, consumed by .NET client

Posted on 2006-11-01
3
Medium Priority
?
963 Views
Last Modified: 2012-06-27
Hi everyone, the situation is:

We have an application written in .NET 1.1 which calls several Java Web Service functions. We used WSDL.exe to create our proxy classes and we programmed a Web Service simulator because we actually didn't have access to the Java Web Service to develop against. Everything worked fine against the simulator but when deploying our application we've come across a problem we didn't expect...

The Java Web Services are created by a Siebel system using Siebel V7.5 and it turns out the WSDL files created don't conform to the WS-I 1.1 standards, the violation being there are namespace attributes defined for the SOAP body. This means that the XML coming back to the client is in a different namespace than the standard namespace which is expected.

I've done some tests and proved this is the case by saving the Web Service output (the SOAP message) to file, and serializing the resulting XML file into our objects from which the classes were created by WSDL.exe. When the namespace is swapped for the default namespace our objects are populated, when the namespace is left as specified by the Siebel Web Services they're set to nothing.

The Web Service functions cannot change their interface so this problem has to be solved on the client side.

The way I think this needs to be solved is for us to modify the incoming SOAP message on the client but before our function receives it, and replace the Siebel namespace with the default namespace and pass it on.

I've had SOAPExtensions suggested as a possible solution but these seem to be server side only so I'm ruling this out.

Has anyone got any ideas how I can sort this one?

Cheers
0
Comment
Question by:darren_k156
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
joechina earned 2000 total points
ID: 17849756
Please have a look at the source DynWsLib, it might help.

http://www.thinktecture.com/Resources/Software/DynWsLib/default.html#Download
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Loops Section Overview

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question