• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Axis 1.4: not doing correct beanmapping on deployment wsdl

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

I'm using Axis 1.4 in java. When I create the deployment document I specified the beanmappings I want axis to published in the wsdl [1]. But when generating the wsdl they are not included as <complexType>, and just putting the classes that are directly referenced in the treatmentStageWS class.
I want to explicitly add other classes to the beanmapping because I have inheritance, and the childs are not being include automatically in the wsdl (what is logic).

[1]

<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name = "treatmentStageWS" style="wrapped" use="literal" provider = "java:RPC">
<parameter name = "allowedMethods" value = "getTreatmentStage,getLastTreatmentStage"/>
<parameter name = "className" value="soap.services.impl.TreatmentStageWSImpl"/>
<parameter name="scope" value="Application"/>
<parameter name="wsdlTargetNamespace" value="http://localhost:8080/axis/services/treatmentStageWS"/>
<parameter name="namespaceUri" value="http://localhost:8080/axis/services/treatmentStageWS"/>
<parameter name="wsdlDocumentUrl" value="http://localhost:8080/axis/services/treatmentStageWS"/>

<beanMapping qname="ns2:KitForm" xmlns:ns2="treatmentStageWS" languageSpecificType="java:forms.KitForm"/>
<beanMapping qname="ns3:KitFormExtension" xmlns:ns3="treatmentStageWS" languageSpecificType="java:forms.KitFormExtension"/>
</service>
</deployment>


So in the wsdl deployed is just being included KitForm and not its child KitFormExtension.

Any idea for solving this problem?

Thanks in advance,
 
I promise I will be the best, most loyal friend ever! All for this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic