Ajith,

 

Please take the code to clean up XML names for Java from the Axis1 source base – JaveUtil.java.

 

 

--
Tom Jordahl
Macromedia Server Development


From: Ajith Ranabahu [mailto:[EMAIL PROTECTED]
Sent: Monday, September 19, 2005 7:44 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: Re: [Axis2] codegen

 

Hi Paul,
I see that the porttype name is 'net.xmethods.services.stockquote.StockQuotePortType'. It's of course valid in WSDL but need to be modified when it comes to java. I've already checked this  with the method names (A regexp replaces all none word characters with an _). Is it alright if I introduce the same fix for the class name ???

On 9/19/05, Paul Fremantle <[EMAIL PROTECTED]> wrote:

Folks

I'm trying out WSDL2Code on the XMethods StockQuote WSDL

java org.apache.axis2.wsdl.WSDL2Java -o . -uri http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl  

The resulting classes are like this:

 public interface net.xmethods.services.stockquote.StockQuotePortType {

...

}

which is of course illegal Java.

It should read

package net.xmethods.services.stockquote;
 public interface StockQuotePortType {
}

The -p option doesn't fix this. I did this on the .91 source drop. Is this already fixed?
Otherwise I'll raise a JIRA

Paul




--
Ajith Ranabahu

Reply via email to