Click to See Complete Forum and Search --> : SDL1009 error while using Java Webservice from .NET 2003


arun1405
August 5th, 2004, 05:51 AM
Hi Folks,

I am trying to use a Java webservice from Visual C++ 7.1 (VS.NET 2003). This webservice exposes one function that returns an OBJECT (java.lang.Object). When I try to add web reference to this webservice in VC++7.1, it generates following error while creating webservice proxy.

----------------------------------------------------------------------------------------
Creating web service proxy file for MyJavaService ...
sproxy : error SDL1009 : could not resolve element, with
[
namespace = "http://www.w3.org/2001/XMLSchema"
name = "anyType"
]
sproxy : error SDL1002 : failure in generating output file: "MyJavaService.h"
----------------------------------------------------------------------------------------

I do not know why Visual C++ is not able to recognize "anyType" in WSDL file generated by Java. Does anyone has any idea? or is there any workaround possible ?

Thanks & Regards,
Arun Gupta