Hi Paul, I had a similar problem, and I have created a JIRA yesterday. key: AXIS2-784. Could you verify if you had the same problem? I believe my wsdl is valid.
Thanks, Bhaskar On 5/30/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
Good Evening Warren What is bungholeio? Martin - This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "Warren Crossing" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, May 30, 2006 7:07 PM Subject: Re: Problem with code generated by WSDL2Code > use adb databinding instread of xmlbeans > > <java classname="org.apache.axis2.wsdl.WSDL2Java"> > <arg value="-uri"/> > <arg value="callback_endpoint.wsdl"/> > <arg value="-ss"/> > <arg value="-sd"/> > <arg value="-d"/> > <arg value="adb"/> > <arg value="-o"/> > <arg value="callback_endpoint_service"/> > <arg value="-t"/> > <arg value="-p"/> > <arg value="au.com.nec.ssd.rfid.ws"/> > <classpath> > <fileset dir="${axis2.home}/lib" includes="*.jar" /> > </classpath> > </java> > > For some reason the code is bungholeio. > > Martin Gainty wrote: >> Good Monring >> >> In 1.3 the name of the code generator is WSDL2Java >> Here is the example I use >> >> java -classpath $CLASSPATH. org.apache.axis.wsdl.WSDL2Java >> NameOfService.wsdl >> >> Martin -- >> >> ********************************************************************* >> This email message and any files transmitted with it contain confidential >> information intended only for the person(s) to whom this email message is >> addressed. If you have received this email message in error, please >> notify >> the sender immediately by telephone or email and destroy the original >> message without making a copy. Thank you. >> >> >> >> ----- Original Message ----- >> From: "Paul Gonchar" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Thursday, May 25, 2006 6:47 PM >> Subject: Problem with code generated by WSDL2Code >> >> >> >>>Hi guys, >>>I've just started using Axis2. I need to generate >>>server skeletons. I used the following command: >>> >>>call WSDL2Code.bat -uri >>>C:\project\cvs\gazoo\src\share\xml\webservice\userprofile\ver2.0\userProfile.wsdl >>>-ss -sd -d adb -p com.test.generated -o output/server >>> >>>and I got a bunch of generated code that can't be >>>compiled. I've noticed things like calls to >>>org.apache.axis2.databinding.utils.ConverterUtil.convertToToken(content) >>>(there is no method convertToToken in ConverterUtil) >>>which may be fixed by replacing convertToToken with >>>convertTotoken >>> >>>The same thing with >>>org.apache.axis2.databinding.utils.ConverterUtil.convertToCalendar(content) >>>-> must be replaced with convertTodateTime >>> >>>Finally I got into problem I can't fix : >>> >>> >>> private java.lang.Object fromOM( >>> org.apache.axiom.om.OMElement param, >>> java.lang.Class >>>type, >>> java.util.Map >>>extraNamespaces) { >>> >>> try { >>> >>> if >>>(org.apache.axiom.om.OMElement.class.equals(type)){ return >>>org.apache.axiom.om.OMElement.Factory.parse(param.getXMLStreamReaderWithoutCaching()); >>> } >>> >>> } catch (Exception e) { >>> throw new RuntimeException(e); >>> } >>> >>> return null; >>> } >>> >>> >>>The problem is in line >>>org.apache.axiom.om.OMElement.Factory - there is no >>>variable Factory in class OMElement. >>> >>> >>>Am i doing something wrong or Axis2 is indeed that >>>buggy? >>> >>> >>>Thanks! >>>Paul Gonchar >>> >>> >>> >>> >>> >>> >>>__________________________________________________ >>>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] >>> >> >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
