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 Rich Rodriguez <ri...@gmail.com> on 2006/05/06 00:53:09 UTC

Re: How do you set the name?

I believe the namespace in the bean mapping should be some URN rather than a
java:package declaration. For example:

<beanMapping qname="java:Address" xmlns:ns="http://foo.com/address"
languageSpecificType="java:my.package.Address"/>

On 5/5/06, Joshua.White@hartfordlife.com <Jo...@hartfordlife.com>
wrote:
>
>
> When running wsdl2java in debug mode, I see the following:
>
>
> [axis-wsdl2java] org.apache.axis.wsdl.symbolTable.DefinedType
> [axis-wsdl2java] QName:         {
> http://hartfordlife.com}ArrayOf_tns1_Address
> [axis-wsdl2java] name:
> org.apache.xml.axis.wsdd.providers.java.Address[]
> [axis-wsdl2java] isReferenced?  true
> [axis-wsdl2java] Class:
> org.apache.axis.wsdl.symbolTable.DefinedType
> [axis-wsdl2java] Base?:         false
> [axis-wsdl2java] Undefined?:    false
> [axis-wsdl2java] isSimpleType?  false
> [axis-wsdl2java] Node:          [complexType: null]
> [axis-wsdl2java] Dims:          []
> [axis-wsdl2java] isOnlyLiteralReferenced: false
> [axis-wsdl2java] RefType:
> [axis-wsdl2java]   QName:         {
> http://xml.apache.org/axis/wsdd/providers/java}Address<http://xml.apache.org/axis/wsdd/providers/java%7DAddress>
> [axis-wsdl2java]   name:          *
> org.apache.xml.axis.wsdd.providers.java.Address*
> [axis-wsdl2java]   isReferenced?  true
> [axis-wsdl2java]   Class:
> org.apache.axis.wsdl.symbolTable.DefinedType
> [axis-wsdl2java]   Base?:         false
> [axis-wsdl2java]   Undefined?:    false
> [axis-wsdl2java]   isSimpleType?  false
> [axis-wsdl2java]   Node:          [complexType: null]
> [axis-wsdl2java]   Dims:
> [axis-wsdl2java]   isOnlyLiteralReferenced: false
> [axis-wsdl2java]   RefType:       null
> [axis-wsdl2java]
>
> I am using the following beanMapping:
>
>         <beanMapping qname="java:Address" xmlns:ns="java:my.package"
> languageSpecificType="java:my.package.Address"/>
>
> How do I set the name to *my.package.Address* instead of *
> org.apache.xml.axis.wsdd.providers.java.Address*?
>
> Thanks!
>
> Joshua
>
>
>
>
>
>
>
>
> *************************************************************************
> This communication, including attachments, is
> for the exclusive use of addressee and may contain proprietary,
> confidential and/or privileged information. If you are not the intended
> recipient, any use, copying, disclosure, dissemination or distribution is
> strictly prohibited. If you are not the intended recipient, please notify
> the sender immediately by return e-mail, delete this communication and
> destroy all copies.
> *************************************************************************
>