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.

Leave a Reply