Hi Paul, Thanks for the info. I'll look into this Ajith
On 5/30/06, Paul Gonchar <[EMAIL PROTECTED]> wrote:
I resolved the problem with OMElement.Factory - indeed this was a WSDL problem. I had <w:part name="getUserProfileByIdInput" element="getRequest"/> instead of <w:part name="getUserProfileByIdInput" type="typens:getRequest"/> But still I'm getting problems with generated code. XSD data types "token" are parsed as ConverterUtil.convertToToken() and "calendar" are parsed as ConverterUtil.convertToCalendar(). For the token types, I beleive you need to change convertTotoken() (yes, 't' is lowercase) in class ConverterUtil to convertToToken(). As for "calendar" - change ConverterUtil.convertTodatetime() to convertToCalendar(). As for xmlbeans mode, I don't really like it because it generates bunch of resources and source files in "org" package. Thanks, Paul --- Ajith Ranabahu <[EMAIL PROTECTED]> wrote: > Hi, > Can you post the WSDL ? It seems that your WSDL may > have a namespace issue ! > > On 5/26/06, Paul Gonchar <[EMAIL PROTECTED]> > wrote: > > Has anyone used WSDL2Code generator successfully? > I > > keep getting code that contains call to > > org.apache.axiom.om.OMElement.Factory.parse(). > > > > Axiom spec says OMElement is an interface and it > can't > > contain any Factory. > > > > Any ideas? > > > > Thanks! > > Paul. > > > > P.S. Data binding mode does not matter - in all > cases > > I get this code. > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > -- > Ajith Ranabahu > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Ajith Ranabahu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
