*
The moose likes Web Services and the fly likes User Defined Objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "User Defined Objects" Watch "User Defined Objects" New topic
Author

User Defined Objects

siraj baig
Ranch Hand

Joined: Jul 11, 2006
Posts: 42
Hi All,

I am developing web service application using axis.
i have two files to deploy my webservice
1. service class
which has 2 methods. One returns String and second returns My Own Bean
2. wsdd file



Here how can i provide <operation> tag for getUserInfo() method of user defined class


Thanks
siraj.

Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Are you attempting to write the WSDD file yourself? If so, why? Please explain.
siraj baig
Ranch Hand

Joined: Jul 11, 2006
Posts: 42
Hi James,

Thanks For Your Reply.
I have provided the below line in my wsdd

<beanMapping qname="ns:InfoBean" xmlns:ns="InfoBean" languageSpecificType="java:com.Info" />


It's working fine.


Thanks
siraj.
 
 
subject: User Defined Objects
 
Similar Threads
problem when trying to use return type Integer
No response on server-side
document/literal webservice axis complex-type:Attempted to write schema for bad QName
The AXIS engine could not find a target service to invoke
Help deploying simple web service using Axis/Tomcat