Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

see this deploy.wsdd

 
maha laxmi
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
below is generated deploy.wsdd file when run WSDL2Java ant task;

when i run this task it will also generated client stubs and deploy.wsdd;i put client stubs in com.server.generated package.

my doubt is in deploy.wsdd ,parameter name="className" class should be in com.server.generated.Industry or com.server.Industry package???.

see also typeMapping type="java:com.server.genrated.Industry";
i folloed this url;

http://www.javaranch.com/journal/200603/Journal200603.jsp#a6

but when i see his deploy.wsdd className in the com.server.IndustryService package.which is correct..



<service name="IndustryRepository" provider="java:RPC" style="rpc" use="encoded">
<parameter name="wsdlTargetNamespace" value="urn:IndustryService"/>
<parameter name="className" value="com.server.generated.IndustryService"/>
<operation name="getIndustryData" qname="operNS:getIndustryData" xmlns perNS="urn:IndustryService" returnQName="getIndustryDataReturn" returnType="rtns:Industry" xmlns:rtns="urn:IndustryService" soapAction="" >
<parameter qname="industryID" type="tns:int" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
</operation>
<parameter name="allowedMethods" value="getIndustryData"/>

<typeMapping
xmlns:ns="urn:IndustryService"
qname="ns:Industry"
type="java:com.server.genrated.Industry"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>

</service>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic