Solved

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

Posted on 2006-11-01
3
939 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
3 Comments
 
LVL 13

Accepted Solution

by:
joechina earned 500 total points
Comment Utility
Please have a look at the source DynWsLib, it might help.

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now