<!-- DIV {margin:0px;}-->Hi All,
    
    I have a WSDL, for which i made a jar file using xml bean task.When 
compiled it gave following error:

        "The WSDL v1.wsdl uses SOAP encoding. SOAP encoding is not compatible 
with literal XML Schema.
         error: src-resolve: type '[EMAIL 
PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found".
        
    To remove this error I compiled the schema file from location 
"http://schemas.xmlsoap.org/soap/encoding/";,
to create a jar file and then added the jar file in the classpath. Now
in my NetBeans IDE I added the jar file to the library and i am trying
to instantiate one of the classes in it and I am getting this error:

// I am creating the object of the class
XYZ  xyzInstance = XYZImpl.Factory.newInstance();


//I am getting this error

"reference
to Factory is ambiguous, both class
org.apache.xmlbeans.XmlObject.Factory in org.apache.xmlbeans.XmlObject
and class com.abc.XYZ.Factory in com.abc.XYZ match"


and
one more thing, is it necessary that the webservice should return a xml
bean type only then i could use xmlbean on he client side. Here I am
using SOAPConnectionFactory for calling webservice.

Thanks,
Arpan










Access over 1 million songs - Yahoo! Music Unlimited.



 
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

Reply via email to