Hi Christopher,

Do you per chance have a WSDL with multiple <schema>s with the same
targetNamespace? Someone filed that bug as XFIRE-720 and I just fixed it in
SVN. I'll be publishing snapshots later today, but just wanted to see if it
was the same issue.

- Dan

On 1/2/07, Christopher Moesel <[EMAIL PROTECTED]> wrote:

Hello All,

I am attempting to use Xfire for a contract-first web service.  I've
written
the WSDL which imports a .XSD XML Schema file containing the types.  I've
been able to successfully use the WsGen ANT task to generate all the
server-side files.

My problem is in declaring the wsdlURL in the service definition.  I am
using the spring configuration and have set the wsdlURL property to point
to
the WSDL in several ways:
A) On the classpath
B) Via HTTP URL
C) On the file system

In all cases it's able to find the WSDL, but seems to have trouble finding
the types.  I get the following error when the service is instantiated on
the server:

org.codehaus.xfire.XFireRuntimeException: Couldn't find schema for part:
{http://mycompany.com/myservice/types}someType

[Note that I've changed the name of the NS and type for IP reasons]

I am using Xfire 1.2.3 and XmlSchema 1.1.  I've looked through the
archives
and haven't seen any helpful info yet.  Anyone have any ideas?

Thanks,
Chris


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Reply via email to