Using C#, I am attempting to consume a web service that was created in Java and deployed on a WebLogic server. I am using VS 2008 and have created an ASP.NET Web Site. I added the service as a web reference and it appears that the classes are available. I attempt to consume the service with the following code:
ShippingApplicationService ship = new ShippingApplicationService();
CollectionPlanInfo cp = ship.getCollectionPlanInfo("TEST1","122");
The web site builds successfully. However, when I run the above code I receive the following error:
InvalidOperationException was unhandled by user code
Unable to generate a temporary class (result=1).
error CS0029: Cannot implicitly convert type 'string' to 'string[]'