You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Tian Xia <xi...@gmail.com> on 2008/04/17 20:42:38 UTC

AXIS2-3048 issue

Hi there,

I am new to this mailing list, so forgive me if this question has been asked
before.

I am trying to build client jar from wsdl with maven2 axis2 plugin. And I am
having the exact problem stated this issue:
https://issues.apache.org/jira/browse/AXIS2-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Looks like it's been addressed, but not in the official Axis2 1.3 release,
am I right? Is there a quick work-around for this problem with 1.3 release?

Specifically, the symptom is with certain directory name where the wsdl
files are located, the maven plugin fails with this exception, after I
changed the directory name, it succeeded. Unfortunately, our project
mandates certain naming convention to naming the directories. And with the
required directory name, it fails.

Here is the exception I got from maven build:

org.apache.xmlbeans.XmlException:
C:\development\arrow2006\services-retail-strategy\etsclient\order-payment\order-payment-operations.xsd:15:4:
error: Imported schema has a target namespace "
...................../tp/ets/2008/04/01/collector-common<http://ws.loyalty.com/tp/ets/2008/04/01/collector-common>"
that does not match the specified "
........................./tp/ets/2008/02/01/common<http://ws.loyalty.com/tp/ets/2008/02/01/common>
"
        at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)


If I change ..\order-payment\... to ...\payment\..., it works.

Any help will be truly appreciated.

-- 
Best Regards,
Tian Xia

Re: AXIS2-3048 issue

Posted by Tian Xia <xi...@gmail.com>.
Hi, anyone can help with this?

Thanks!

On Thu, Apr 17, 2008 at 2:42 PM, Tian Xia <xi...@gmail.com> wrote:

> Hi there,
>
> I am new to this mailing list, so forgive me if this question has been
> asked before.
>
> I am trying to build client jar from wsdl with maven2 axis2 plugin. And I
> am having the exact problem stated this issue:
>
> https://issues.apache.org/jira/browse/AXIS2-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>
> Looks like it's been addressed, but not in the official Axis2 1.3 release,
> am I right? Is there a quick work-around for this problem with 1.3 release?
>
> Specifically, the symptom is with certain directory name where the wsdl
> files are located, the maven plugin fails with this exception, after I
> changed the directory name, it succeeded. Unfortunately, our project
> mandates certain naming convention to naming the directories. And with the
> required directory name, it fails.
>
> Here is the exception I got from maven build:
>
> org.apache.xmlbeans.XmlException:
> C:\development\arrow2006\services-retail-strategy\etsclient\order-payment\order-payment-operations.xsd:15:4:
> error: Imported schema has a target namespace "
> ...................../tp/ets/2008/04/01/collector-common<http://ws.loyalty.com/tp/ets/2008/04/01/collector-common>"
> that does not match the specified "
> ........................./tp/ets/2008/02/01/common<http://ws.loyalty.com/tp/ets/2008/02/01/common>
> "
>         at
> org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
>
>
> If I change ..\order-payment\... to ...\payment\..., it works.
>
> Any help will be truly appreciated.
>
> --
> Best Regards,
> Tian Xia
>



-- 
Best Regards,
Tian Xia