[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    Re: Axis2 1.0 upgrade error
From:       Bram Biesbrouck <b () beligum ! org>
Date:       2006-05-18 19:08:33
Message-ID: 200605182108.33235.b () beligum ! org
[Download RAW message or body]

Thanks for this.
I tried to run it on another server and it generates everything fine indeed.
I guess there must be something wrong with my sun-sdk package installation on 
ubuntu. I'll try to install from suns binary.

Bram

Op Thursday 18 mei 2006 18:56, schreef robert lazarski:
> Bram, it validated for me too, and even better, I was able to run wsdl2java
> on it and compile it.
>
> One caveat: I'm using the nightly binaries:
>
> http://people.apache.org/dist/axis2/nightly/
>
> If you go this route, you'll need axis2-std-SNAPSHOT-bin.zip and axis.war
>
> I use ant to compile, here's my task - tweak liberally ;-)
>
>  <target name="wsdl2java" depends="clean,prepare">
>       <delete dir="output" />
>       <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
>           <classpath refid="axis.classpath"/>
>           <arg value="-d"/>
>           <arg value="xmlbeans"/>
>           <arg value="-uri"/>
>           <arg file="wsdl/InstrudeoService.wsdl"/>
>           <arg value="-ss"/>
>           <arg value="-g"/>
>           <arg value="-sd"/>
>           <arg value="-o"/>
>           <arg file="output"/>
>           <arg value="-p"/>
>           <arg value="org.simple.endpoint"/>
>       </java>
>
>       <!-- Move the schema folder to classpath-->
>       <move todir="${build.classes}">
>           <fileset dir="output/resources">
>               <include name="*schema*/**/*.class"/>
>               <include name="*schema*/**/*.xsb"/>
>           </fileset>
>       </move>
>
>   </target>
>
> HTH,
> Robert
> http://www.braziloutsource.com/
>
> On 5/18/06, Bram Biesbrouck <b@beligum.org> wrote:
> > Well, actually that's the problem: my validator is saying it is valid...
> > I use the Web Service Tools plugin of Eclipse.
> > I included the WSDL-file in the attachment. If someone with a better
> > validator
> > could run it for me, I'd be very grateful.
> >
> > Bram
> >
> > Op Thursday 18 mei 2006 16:20, schreef robert lazarski:
> > > You could try one of the wsdl validation tools on the market. Don't
> > > know
> >
> > of
> >
> > > an open source one. Trial maybe. I use the cape clear soa editor, but
> >
> > its
> >
> > > no longer available for free download.
> > >
> > > HTH,
> > > Robert
> > > http://www.braziloutsource.com/
> > >
> > > On 5/18/06, Bram Biesbrouck <b@beligum.org> wrote:
> > > > Hi all,
> > > >
> > > > I used Axis2 0.94 to produce some of the Java-code in my
> > > > webservice-project.
> > > > I decided to upgrade the framework to version 1.0, but WSDL2Java is
> > > > complaining:
> > > > Exception in thread "main"
> > > > org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
> >
> > WSDL
> >
> > > >    at
> > > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(
> > > > CodeGenerationEngine.java:96)
> > > >    at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> > > >    at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:22)
> > > > Caused by: WSDLException: faultCode=INVALID_WSDL: IO Error: Absolute
> >
> > URL
> >
> > > > required with null context: InstrudeoService.wsdl:
> > > > java.net.MalformedURLException: Absolute URL required with null
> >
> > context:
> > > > InstrudeoService.wsdl
> > > >
> > > > I won't imbed the WSDL file since it is just too large, but I guess
> >
> > this
> >
> > > > is a
> > > > well known syntax mistake. Any help?
> > > >
> > > > Bram

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic