Hi Pablo,

Actually, WSIF parses the imported schemas too. I dont know what way you are 
parsing the WSDL.

May be you can try using this code

        WSDLFactory factory = WSDLFactory
            .newInstance(WSIFConstants.WSIF_WSDLFACTORY);
        WSDLReader wread = factory.newWSDLReader();
        Definition def = wread.readWSDL(wsdlLoc);

Initially I had faced few issues related to parsing schemas.The above code 
solved it.

regards
GP


-----Original Message-----
From: Pablo Gomes Ludermir [mailto:[EMAIL PROTECTED]
Sent: Thu 9/20/2007 2:26 PM
To: [email protected]
Subject: No Schema Elements Found: when using WSIF with JAX-WS services
 
Hi all,

I have created a ws using JAX-WS (using Netbeans). Now, I am trying to use WSIF 
to access my service, but I always get the following error:


- WSIF0006W: Multiple WSIFProvider found supporting the same namespace URI 
'http://schemas.xmlsoap.org/wsdl/soap/'. Found 
('org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheAxis, 
org.apache.wsif.providers.soap.apachesoap.WSIFDynamicProvider_ApacheSOAP')  
- WSIF0007I: Using WSIFProvider 
'org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheAxis' for 
namespaceURI 'http://schemas.xmlsoap.org/wsdl/soap/' 
Trying to invoke the operation...
org.apache.wsif.WSIFException: no schema elements found
        at org.apache.wsif.util.WSIFUtils.unWrapPart(Unknown Source)
        at 
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.unwrapSOAPParts(Unknown
 Source)
        at 
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.prepare(Unknown
 Source)
        at 
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(Unknown
 Source)
        at 
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(Unknown
 Source)



The service is pretty straightforward. In netbeans you can create it within a 
couple of minutes. The generated WSDL file does not contain the schema 
definition in it. The schema definition is imported from an external file. I 
don't know if it is a problem and I couldn't find a way to make netbeans 
generate a single file. 

Has anyone have this kind of error?

   Kind Regards,
   Pablo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

Reply via email to