Hi Sagar,

Try compiling your classes with javac -g (debug mode) before running
Java2WSDL on them. Running WSDL2Java preserves the parameter names given
in the WSDL.

--Thunder

-----Original Message-----
From: Sagar Pidaparthi [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 23, 2004 2:08 PM
To: [EMAIL PROTECTED]
Subject: How do I generate wsdls and java proxies that retain Origianl
paramter/varible names 


Hi,

Given below is a generated proxy by converting jav 2 wsdl and then wsdl
2 java.  If you notice some of the variables have parameters that have
names which are not the names to be found in original sources.

How do I generate wsdls and java proxies that retain original names? 

Regards

Sagar


package com.chordiant.bd.clientAgents;

public interface GuideClientAgent extends java.rmi.Remote {
    public
com.chordiant.businessServices.applicationSupportCorporateBusinessClasse
s.CASCMScript getScriptForOfferingName(java.lang.String in0,
java.lang.String in1, java.lang.String in2, java.lang.String in3) throws
java.rmi.RemoteException,
com.chordiant.bd.exceptions.BusinessServiceException,
com.chordiant.persistence.exceptions.UnexpectedMultipleRecordsException,
com.chordiant.persistence.exceptions.LockUnavailableException;
    public
com.chordiant.businessServices.applicationSupportCorporateBusinessClasse
s.CASCMScript getScriptForActivityName(java.lang.String in0,
java.lang.String in1, java.lang.String in2, java.lang.String in3) throws
java.rmi.RemoteException,
com.chordiant.bd.exceptions.BusinessServiceException,
com.chordiant.persistence.exceptions.UnexpectedMultipleRecordsException,
com.chordiant.persistence.exceptions.LockUnavailableException;
    public
com.chordiant.businessServices.applicationSupportCorporateBusinessClasse
s.CASCMPrompt getPromptForField(java.lang.String in0, java.lang.String
in1, java.lang.String in2, java.lang.String in3) throws
java.rmi.RemoteException,
com.chordiant.bd.exceptions.BusinessServiceException,
com.chordiant.persistence.exceptions.UnexpectedMultipleRecordsException,
com.chordiant.persistence.exceptions.LockUnavailableException;
    public
com.chordiant.businessServices.applicationSupportCorporateBusinessClasse
s.CASCMPrompt getPromptForActivityName(java.lang.String in0,
java.lang.String in1, java.lang.String in2, java.lang.String in3) throws
java.rmi.RemoteException,
com.chordiant.bd.exceptions.BusinessServiceException,
com.chordiant.persistence.exceptions.UnexpectedMultipleRecordsException,
com.chordiant.persistence.exceptions.LockUnavailableException;
    public
com.chordiant.businessServices.applicationSupportCorporateBusinessClasse
s.CASCMPrompt getPrompt(java.lang.String in0, java.lang.String in1,
java.lang.String in2, java.lang.String in3, java.lang.String in4) throws
java.rmi.RemoteException;
    public java.util.Vector getPickList(java.lang.String in0,
java.lang.String in1, java.lang.String in2) throws
java.rmi.RemoteException,
com.chordiant.bd.exceptions.BusinessServiceException,
com.chordiant.persistence.exceptions.UnexpectedMultipleRecordsException,
com.chordiant.persistence.exceptions.LockUnavailableException;
    public
com.chordiant.businessServices.applicationSupportCorporateBusinessClasse
s.CASCMInstructionSet getInstructionSetForOfferingName(java.lang.String
in0, java.lang.String in1, java.lang.String in2, java.lang.String in3)
throws java.rmi.RemoteException,
com.chordiant.bd.exceptions.BusinessServiceException,
com.chordiant.persistence.exceptions.UnexpectedMultipleRecordsException,
com.chordiant.persistence.exceptions.LockUnavailableException;
    public
com.chordiant.businessServices.applicationSupportCorporateBusinessClasse
s.CASCMInstructionSet getInstructionSetForActivityName(java.lang.String
in0, java.lang.String in1, java.lang.String in2, java.lang.String in3)
throws java.rmi.RemoteException,
com.chordiant.bd.exceptions.BusinessServiceException,
com.chordiant.persistence.exceptions.UnexpectedMultipleRecordsException,
com.chordiant.persistence.exceptions.LockUnavailableException;
    public
com.chordiant.businessServices.applicationSupportCorporateBusinessClasse
s.CASCMGuide getGuide(java.lang.String in0, java.lang.String in1,
java.lang.String in2, java.lang.String in3,
com.chordiant.businessServices.applicationSupportCorporateBusinessClasse
s.CASCMGuide in4) throws java.rmi.RemoteException;
    public java.lang.String getMessage(java.lang.String in0,
java.lang.String in1, java.lang.String in2, java.lang.String in3,
java.lang.String in4) throws java.rmi.RemoteException;
    public java.lang.String getMessage(java.lang.String in0,
java.lang.String in1, java.lang.String in2, java.lang.String in3) throws
java.rmi.RemoteException;
    public java.lang.String getMessage(java.lang.String in0,
java.lang.String in1, java.lang.String in2) throws
java.rmi.RemoteException;
    public java.lang.String getMessage(java.lang.String in0,
java.lang.String in1) throws java.rmi.RemoteException;
    public java.lang.String getMessage(java.lang.String in0) throws
java.rmi.RemoteException;
    public void ping(java.lang.String userName, java.lang.String
authenticationToken) throws java.rmi.RemoteException;
    public void callbackShutdown() throws java.rmi.RemoteException;
    public void setForceFormat(java.lang.String theForceFormat) throws
java.rmi.RemoteException;
    public java.lang.Object baseProcessCallback(java.lang.String
username, java.lang.String authenToken, java.lang.String
targetServiceName, java.lang.String targetFunctionName, java.lang.Object
payload) throws java.rmi.RemoteException;
    public void setServiceName(java.lang.String theServiceName) throws
java.rmi.RemoteException;
    public void setSmartStub(java.lang.Object theSmartStub) throws
java.rmi.RemoteException;
    public java.lang.Object serviceControl(java.lang.Object
aRequestObject) throws java.rmi.RemoteException,
com.chordiant.service.CommandException;
} 

Reply via email to