• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

beanmapping tag

 
Chandra Gottipati
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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>
 
Olmo Leon
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic