Title: wsdl2java generates wrong wsdd class name


Hi,

When I use wsdl2java utility to generate wsdd file, it generates the

file containing svcname followed by SoapBindingSkeleton, instead of just

SvcName  As shown below.

AccountManagerClientAgentSoapBindingSkeleton

What am I doing wrong to generate the wrong wsdd file?  How do I correct

it?

Code segment is given below.

Thanks for your help


Regards

Sagar


WSDD file entries are given below:

      <parameter name="wsdlTargetNamespace"

value="http://clientAgents.bd.chordiant.com"/>

      <parameter name="wsdlServiceElement"

value="GuideClientAgentService"/>

      <parameter name="wsdlServicePort" value="GuideClientAgent"/>

      <parameter name="className"

value="com.chordiant.bd.clientAgents.GuideClientAgentSoapBindingSkeleton

"/>

      <parameter name="wsdlPortType" value="GuideClientAgent"/>

      <parameter name="allowedMethods" value="*"/>

      <parameter name="scope" value="Session"/>


ant target for generating the wsdd file is given below:

<target name="AccountManagerClientAgent" depends="_init"

description="WSDL to Java for AccountManagerClientAgent">

    <java fork="true" classname="org.apache.axis.wsdl.WSDL2Java"

classpathref="classpath.testers" jvm="${tester.jvm}" >

      <arg value="-o"/>

      <arg value="../WebServicesProxyProject"/>

      <arg value="WebContent/WSDL/AccountManagerClientAgent.wsdl"/>

      <arg value="-d"/>

      <arg value="Session"/>

      <arg value="-s"/>

      <arg value="-S"/>

      <arg value="true"/>

      <!-- @appclient.configuration@ -->

    </java>

Reply via email to