I tried running your wsdl, but I'm having some problems on your external schema reference to policy-2006-03-01-RC1.xsd . I found a version in googIe, but then got stuck on ws-addr.xsd .  Could you upload all your external xsd files please ?

Robert
http://www.braziloutsource.com/

On 4/27/06, Florian Rosenberg < [EMAIL PROTECTED]> wrote:
hi,

i'm using the axis2 wsdl2java tool (axis2 version 1.0-RC2) with xmlbeans
databinding to generate my skeletons from the attached wsdl file.

i don't know why, but i guess the wrong skeleton is generated, since the
methods of the skeletons only contain OMElement as input parameter and
return values. nevertheless, the xmlbeans are created correctly but they
aren't used in the skeleton as paramters.

The wsdl file and the generted skeleton are attached and i'm using the
following ant snippet to invoke wsdl2java:
   <target name="wsdl2java" depends="clean,prepare">
        <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
            <classpath refid=" axis.classpath"/>
            <arg value="-uri"/>
            <arg file="wsdl/QoSBroker.wsdl"/>
            <arg value="-ss"/>
            <arg value="-sd"/>
            <arg value="-o"/>
            <arg file="${basedir}"/>
            <arg value="-d" />
            <arg value="xmlbeans" />
            <arg value="-p"/>
            <arg value="at.ac.tuwien.vitalab.vieqos"/>
        </java>

        <!-- Move the schema folder to classpath-->
        <move todir="${build.classes}">
            <fileset dir="${build.dir}">
                <include name="**/*schema*/**/*.class"/>

                <include name="**/*schema*/**/*.xsb"/>
            </fileset>
        </move>
   </target>

any help is appreciated. hopefully i'm only missing some small stuff ;-)

best regards,
florian



--
Florian Rosenberg
University Assistant - Vienna University of Technology
Distributed Systems Group (DSG), Information Systems Institute
A-1040 Wien, Argentinierstrasse 8/184-1
Tel:  +43-1-58801-18418
Fax: +43-1-58801-18491
mail: [EMAIL PROTECTED]
www: http://www.infosys.tuwien.ac.at/Staff/rosenberg/



    /**
     * VieQoSBrokerSkeleton.java
     *
     * This file was auto-generated from WSDL
     * by the Apache Axis2 version: 1.0-RC2 Apr 23, 2006 (05:20:08 IST)
     */
    package at.ac.tuwien.vitalab.vieqos;
    /**
     *  VieQoSBrokerSkeleton java skeleton for the axisService
     */
    public class VieQoSBrokerSkeleton {


        /**
         * Auto generated method signature

          * @param param0

         */
        public  org.apache.axiom.om.OMElement AddServiceQoS
                  (org.apache.axiom.om.OMElement param0 )

           {
                //Todo fill this with the necessary business logic
                throw new  java.lang.UnsupportedOperationException();
        }


        /**
         * Auto generated method signature

          * @param param2

         */
        public  org.apache.axiom.om.OMElement RemoveServiceQoS
                  (org.apache.axiom.om.OMElement param2 )

           {
                //Todo fill this with the necessary business logic
                throw new  java.lang.UnsupportedOperationException();
        }


        /**
         * Auto generated method signature

          * @param param4

         */
        public  org.apache.axiom.om.OMElement QueryQoS
                  (org.apache.axiom.om.OMElement param4 )

           {
                //Todo fill this with the necessary business logic
                throw new  java.lang.UnsupportedOperationException();
        }

    }





Reply via email to