You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/06/08 03:13:25 UTC

[jira] Resolved: (AXIS2-2736) Allow to address own xsd from own wsdl

     [ https://issues.apache.org/jira/browse/AXIS2-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-2736.
-------------------------------------

    Resolution: Fixed

> Allow to address own xsd from own wsdl
> --------------------------------------
>
>                 Key: AXIS2-2736
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2736
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Wish
>          Components: kernel
>    Affects Versions: 1.2
>         Environment: OS: Windows XP Professional 
> WS-Client: 
> Microsoft Visual Studio 2005
> Version 8.0.50727.762  (SP.050727-7600)
> Microsoft .NET Framework
> Version 2.0.50727
> Installed Edition: Professional
> Microsoft Visual C# 2005   77626...
> Microsoft Visual C# 2005
>            Reporter: Tobias Seng
>            Assignee: Davanum Srinivas
>         Attachments: my.aar, my2.aar
>
>
> I need the posibility to address my own xsd from my own wsdl.
> I can write the following input element to the wsdl
>    <xsd:import namespace="mynamespace" schemaLocation="myxsd.xsd" />
> and the registration works, but than I have to put the xsd outside of my aar file to the root location, and this is not accessible with
>    org.apache.axis2.transport.http.HTTPWorker
> If I try to import using a schemaLocation like this
>    <xsd:import namespace="mynamespace" schemaLocation="my?xsd=myxsd.xsd" />
> the registration fails and logs the error
>    javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: Unable to locate with a locator the schema referenced at 'my2?xsd=myxsd.xsd' relative to document base 'META-INF/my2.wsdl'
> see attached files 
> - my.aar 
> - my2.aar

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org