Re: How do you set the name?

2006-05-05 Thread robert lazarski
If I understand correctly, you want your complex type Address with a
package name of your choosing, correct? This worked for me back in my
axis 1.x days: 




   


   


   

 output="resources/axis"


 verbose="true"


 url=""


 >


 

   namespace="http://com/hostedtelecom/callcentreweb"


   package="com.hostedtelecom.callcentreweb.endpoint" />


   


   


   

  	 

    

   

   


 


   


 


   


   


  


   


  


   

That'll create your packages as "com.hostedtelecom.callcentreweb.endpoint" . 

HTH,
Robert
http://www.braziloutsource.com/On 5/5/06, [EMAIL PROTECTED]
 <[EMAIL PROTECTED]> 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

[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:

       


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.
*




Re: How do you set the name?

2006-05-05 Thread Rich Rodriguez
I believe the namespace in the bean mapping should be some URN rather than a java:package declaration. For example:
http://foo.com/address" languageSpecificType="java:my.package.Address"/>
On 5/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> 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

[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:

        

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.
*




How do you set the name?

2006-05-05 Thread Joshua . White

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
[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:

        

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.
*