Java and .NET Web Services Integration Problem

Java and .NET Web Services Integration Problem

Dec 14

If you live problems at calling .NET based xml web services from Java side maybe you should change your web methods attribute by adding or replacing calling attribute with the lines below.

[System.Web.Services.Protocols.SoapRpcMethodAttribute("[SERVICE NAMESPACE HERE/WEB METHOD NAME SEEN BY OUTSIDE OR ACTION NAME]", RequestNamespace = "[SERVICE NAMESPACE HERE]", ResponseNamespace = "[SERVICE NAMESPACE HERE]")]

By adding this method attribute before your method definition blocks, integration problems may be fixed or you can get better method definitions in your proxy class. By default Microsoft wsdl.exe does not generate your service provider web methods with this attribute.

For better understanding of SoapRpcMethodAttribute you should see this link.

Hope it solves your problem.

How To Integrate wsdl and xsd Files By Using wsdl.exe

How To Integrate wsdl and xsd Files By Using wsdl.exe

Dec 14

When you work inside platform independent teams, web services and service oriented approaches are valuable. Especially in telecommunication sector, systems are mostly constructed on Unix – Linux based OS platforms and Java, C,  C++, Perl based software products and services. But the world is converging to each other day by day, companies share their services with outside or corporate with other companies. Value Added Service (for example the business corporation between a telecom company and a finance company) are the most chosen way of making a difference.

In a world that has more broaden borders than it has never before changes the architectures and design types of software. Contract First Design comes into prominence inside this kind of world. Teams or companies that uses different types of platform and works for the same project goal, starts to design their systems as black boxes tries to identify communication methods and services that they will share with each other.

In xml web services world this means to prepare your wsdl file to describe what kind of functionality you share with outsiders and xsd files that provides necessary metadata to describe data that will transform through communication channel. These are boundaries of these two black box systems which are basically the fundamentals of successful integration project.

What is next then? Read more…