You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by Rafael Naufal <rn...@gmail.com> on 2006/11/13 14:46:42 UTC

JaxbException: A Manager for {http://zz.com/integration/order/response}order is not declared.

Hi,

I'm trying to create a XML from some Java classes (the marshall process).

When I execute the method marshaller.marshal(Object, writer); I get the
following message from a JaxbException: A Manager for {
http://zz.com/integration/order/response}order is not declared.

What's it about? I have to set the JaxbProperty JAXB_SCHEMA_LOCATION at my
Marshaller object?

Thanks,

-- 
------------------------------------------------------------------------
Rafael Naufal
"The great pleasure in life is doing what people say you cannot do"
blog: http://rnaufal.livejournal.com
------------------------------------------------------------------------

Re: JaxbException: A Manager for {http://zz.com/integration/order/response}order is not declared.

Posted by Rafael Naufal <rn...@gmail.com>.
Thanks Jochen.

I've just implemented a custom JMManager.

Thanks for the attention.

On 11/13/06, Rafael Naufal <rn...@gmail.com> wrote:
>
> Dear Jochen,
>
> what's the difference between global and local objects in JaxMe?
> Local means that it uses a namespace?
>
> How can I solve this?
>
> Tks,
>
> On 11/13/06, Jochen Wiedmann <jo...@gmail.com> wrote:
> >
> > On 11/13/06, Rafael Naufal <rn...@gmail.com> wrote:
> >
> > > I'm trying to create a XML from some Java classes (the marshall
> > process).
> > >
> > > When I execute the method marshaller.marshal(Object, writer); I get
> > the
> > > following message from a JaxbException: A Manager for {
> > > http://zz.com/integration/order/response}order
> > <http://zz.com/integration/order/response%7Dorder> is not
> > > declared.
> > >
> > > What's it about? I have to set the JaxbProperty JAXB_SCHEMA_LOCATION
> > at my
> > > Marshaller object?
> >
> > The most likely reason is that you are attempting to marshal an
> > object, which is not global, but local.
> >
> > Jochen
> >
> >
> > --
> > My wife Mary and I have been married for forty-seven years and not
> > once have we had an argument serious enough to consider divorce;
> > murder, yes, but divorce, never.
> > (Jack Benny)
> >
>
>
>
> --
> ------------------------------------------------------------------------
> Rafael Naufal
> "The great pleasure in life is doing what people say you cannot do"
> blog: http://rnaufal.livejournal.com
> ------------------------------------------------------------------------
>



-- 
------------------------------------------------------------------------
Rafael Naufal
"The great pleasure in life is doing what people say you cannot do"
blog: http://rnaufal.livejournal.com
------------------------------------------------------------------------

Re: JaxbException: A Manager for {http://zz.com/integration/order/response}order is not declared.

Posted by Jochen Wiedmann <jo...@gmail.com>.
On 11/13/06, Rafael Naufal <rn...@gmail.com> wrote:

> what's the difference between global and local objects in JaxMe?
> Local means that it uses a namespace?

    <xs:element name="global">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="local"/>
        </xs:sequence>
      </xs:complexType>
    </xs:element>

-- 
My wife Mary and I have been married for forty-seven years and not
once have we had an argument serious enough to consider divorce;
murder, yes, but divorce, never.
(Jack Benny)

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


Re: JaxbException: A Manager for {http://zz.com/integration/order/response}order is not declared.

Posted by Rafael Naufal <rn...@gmail.com>.
Dear Jochen,

what's the difference between global and local objects in JaxMe?
Local means that it uses a namespace?

How can I solve this?

Tks,

On 11/13/06, Jochen Wiedmann <jo...@gmail.com> wrote:
>
> On 11/13/06, Rafael Naufal <rn...@gmail.com> wrote:
>
> > I'm trying to create a XML from some Java classes (the marshall
> process).
> >
> > When I execute the method marshaller.marshal(Object, writer); I get the
> > following message from a JaxbException: A Manager for {
> > http://zz.com/integration/order/response}order is not
> > declared.
> >
> > What's it about? I have to set the JaxbProperty JAXB_SCHEMA_LOCATION at
> my
> > Marshaller object?
>
> The most likely reason is that you are attempting to marshal an
> object, which is not global, but local.
>
> Jochen
>
>
> --
> My wife Mary and I have been married for forty-seven years and not
> once have we had an argument serious enough to consider divorce;
> murder, yes, but divorce, never.
> (Jack Benny)
>



-- 
------------------------------------------------------------------------
Rafael Naufal
"The great pleasure in life is doing what people say you cannot do"
blog: http://rnaufal.livejournal.com
------------------------------------------------------------------------

Re: JaxbException: A Manager for {http://zz.com/integration/order/response}order is not declared.

Posted by Jochen Wiedmann <jo...@gmail.com>.
On 11/13/06, Rafael Naufal <rn...@gmail.com> wrote:

> I'm trying to create a XML from some Java classes (the marshall process).
>
> When I execute the method marshaller.marshal(Object, writer); I get the
> following message from a JaxbException: A Manager for {
> http://zz.com/integration/order/response}order is not
> declared.
>
> What's it about? I have to set the JaxbProperty JAXB_SCHEMA_LOCATION at my
> Marshaller object?

The most likely reason is that you are attempting to marshal an
object, which is not global, but local.

Jochen


-- 
My wife Mary and I have been married for forty-seven years and not
once have we had an argument serious enough to consider divorce;
murder, yes, but divorce, never.
(Jack Benny)

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org