Relative client lookup of schema fails
--------------------------------------

                 Key: AXIS2-2875
                 URL: https://issues.apache.org/jira/browse/AXIS2-2875
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Nikhil Thaker


Exception when reading wsdl schema. Following Stack trace is received when a 
relative path is used to read the wsdl definition.

org.apache.axis2.AxisFault: org.apache.ws.commons.schema.XmlSchemaException: 
C:\AvailabilityService_schema1.xsd (The system cannot find the file specified.);
nested exception is:  java.lang.RuntimeException: 
org.apache.ws.commons.schema.XmlSchemaException: 
C:\AvailabilityService_schema1.xsd
(The system cannot find the file specified.)
          org.apache.axis2.AxisFault: 
org.apache.ws.commons.schema.XmlSchemaException: 
C:\AvailabilityService_schema1.xsd
(The system cannot find the file specified.); nested exception is:
        java.lang.RuntimeException: 
org.apache.ws.commons.schema.XmlSchemaException: 
C:\AvailabilityService_schema1.xsd
(The system cannot find the file specified.)
        at 
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:293)
        at 
org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.buildAxisServiceFromWSDL(EndpointDescriptionI
mpl.java:771)
        at 
org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.setupAxisService(EndpointDescriptionImpl.java
:636)
        at 
org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(EndpointDescriptionImpl.java:213
)
        at 
org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(EndpointDescriptionImpl.java:182
)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionIm
pl.java:275)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:218
)
        at 
org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:96)
        at 
org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:220)
        at javax.xml.ws.Service.getPort(Service.java:37)


I will provide the fix for this issue.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to