[ 
https://issues.apache.org/jira/browse/AXIS2-4353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033673#comment-13033673
 ] 

Hudson commented on AXIS2-4353:
-------------------------------

Integrated in Axis2 #776 (See [https://builds.apache.org/hudson/job/Axis2/776/])
    AXIS2-4353: XmlSchema 1.4.8-SNAPSHOT now correctly resolves imports 
relative to JAR style URLs. Finalized and enabled the test case.


> ServiceClient can not resolve imported schemas in WSDLs loaded from the class 
> path 
> -----------------------------------------------------------------------------------
>
>                 Key: AXIS2-4353
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4353
>             Project: Axis2
>          Issue Type: Bug
>          Components: client-api
>    Affects Versions: 1.4, 1.4.1
>         Environment: all
>            Reporter: Ben Reif
>            Assignee: Andreas Veithen
>             Fix For: 1.7.0
>
>         Attachments: ResolveXSDTestCase.zip
>
>
> I am using the ServiceClient to invoke a Web Service, but the WSDL file and 
> imported schema files are located within a jar file that is in the Classpth. 
> I can get the Definition object, and I set the DocumentBaseURI to the proper 
> URL pointing inside the jar file, but when I pass it to the ServiceClient I 
> get an error saying that it can't resolve the imported schema files. This 
> happens when it calls AxisService.createClientSideAxisService().
> It looks like a fix was put in the WSDLToAxisServiceBuilder class (the 
> addition of the setCustomResolver() method) so that you can set a custom 
> URIResolver to resolve imported schema files. This gets inherited by the 
> WSDL11ToAxisServiceBuilder, however the problem is that this setter is not 
> exposed to the ServiceClient, so I can never use it.  The ServiceClient 
> constructors and the AxisService.createClientSideAxisService() methods should 
> take in an additional argument so that calling code can pass in the right 
> URIResolver instance which would get set on the WSDL11ToAxisServiceBuilder 
> instance.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to