• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

beanmapping tag

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am writing a java web service using Axis. I have the following method:
public AuthLogStatus[] saveAuthLog(String aUserName, String aPassword, String aVersion, AuthLogInfo[] aAuthLogInfo).

I defined a bean mapping tag in my server-config.wsdd file for AuthLogInfo bean. When I use another beanmapping tag inside the same <service> tag for AuthLogStatus bean and generate the wsdl. I don't see the definition for AuthLogStatus bean in the wsdl, i can only see AuthLogInfo definition.

Here is the snippet from my server-config.wsdd file.

<service name="AuthLogReceiver" provider="java:RPC" style="wrapped" use="literal">
<parameter name="allowedMethods" value="saveAuthLog,getVersion" />
<parameter name="scope" value="request" />
<parameter name="className" value="com.pp.mas.client.service.AuthLogReceiver" />
<namespace>http://www.planetpayment.net</namespace>;

<beanMapping
qname="ns:bean"
xmlns:ns="http://bean.pswitch.service.client.mas.pp.com"
languageSpecificType="java:com.pp.mas.client.service.pswitch.bean.AuthLogInfo"

/>
<beanMapping
qname="ns:bean"
xmlns:ns="http://bean.pswitch.service.client.mas.pp.com"
languageSpecificType="java:com.pp.mas.client.service.pswitch.bean.AuthLogStatus"

/>

</service>
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm getting the same problem, did you find a solution?

Thanks in advance

Chandra Gottipati wrote:I am writing a java web service using Axis. I have the following method:
public AuthLogStatus[] saveAuthLog(String aUserName, String aPassword, String aVersion, AuthLogInfo[] aAuthLogInfo).

I defined a bean mapping tag in my server-config.wsdd file for AuthLogInfo bean. When I use another beanmapping tag inside the same <service> tag for AuthLogStatus bean and generate the wsdl. I don't see the definition for AuthLogStatus bean in the wsdl, i can only see AuthLogInfo definition.

Here is the snippet from my server-config.wsdd file.

<service name="AuthLogReceiver" provider="java:RPC" style="wrapped" use="literal">
<parameter name="allowedMethods" value="saveAuthLog,getVersion" />
<parameter name="scope" value="request" />
<parameter name="className" value="com.pp.mas.client.service.AuthLogReceiver" />
<namespace>http://www.planetpayment.net</namespace>;

<beanMapping
qname="ns:bean"
xmlns:ns="http://bean.pswitch.service.client.mas.pp.com"
languageSpecificType="java:com.pp.mas.client.service.pswitch.bean.AuthLogInfo"

/>
<beanMapping
qname="ns:bean"
xmlns:ns="http://bean.pswitch.service.client.mas.pp.com"
languageSpecificType="java:com.pp.mas.client.service.pswitch.bean.AuthLogStatus"

/>

</service>

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic