No Schema Elements Found: when using WSIF with JAX-WS services

"Pablo Gomes Ludermir" <pablo.gomes-zBNV4dQ1Q0AbxheQQ/[email protected]> Thu, 20 Sep 2007 10:56:16 +0200
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <2B28305E062AB9409C5519F2DC4D37E42C3280@msnl10.int.mediasurface.nl>
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_ApacheAxi=
s, =
org.apache.wsif.providers.soap.apachesoap.WSIFDynamicProvider_ApacheSOAP'=
) =20
- WSIF0007I: Using WSIFProvider =
'org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheAxis=
' for namespaceURI 'http://schemas.xmlsoap.org/wsdl/soap/'=20
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.unwrap=
SOAPParts(Unknown Source)
        at =
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.prepar=
e(Unknown Source)
        at =
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invoke=
RequestResponseOperation(Unknown Source)
        at =
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.execut=
eRequestResponseOperation(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.=20

Has anyone have this kind of error?

=A0 =A0Kind Regards,
=A0=A0 Pablo