Olmo Leon

Greenhorn
+ Follow
since Aug 24, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Olmo Leon

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,
14 years ago
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>

14 years ago