Re: Axis2 - WSDL-code sync

2008-07-11 Thread Andrew Clegg
2008/7/11 Yoav Naveh <[EMAIL PROTECTED]>: > However, when I need to update my web service (add new function / parameter > to an existing function) - is it possible to only update the WSDL and then > synchronize the code against it? The code generator won't modify existing code, it'll only overwri

Re: JAX-WS in Axis2

2008-07-08 Thread Andrew Clegg
2008/7/7 Virtual Light <[EMAIL PROTECTED]>: > Docs for wsimport > http://www.sws.bfh.ch/~fischli/kurse/ead/jws/jaxws-2.0-doc/wsimport.html wsimport seems to produce quite nice code, but I have a question. wsdl2java also produces metadata like services.xml for your services based on the WSDL, but w

Re: JAX-WS in Axis2

2008-07-07 Thread Andrew Clegg
2008/7/7 Virtual Light <[EMAIL PROTECTED]>: > JAX-WS with JAXB bindings is your best bet for compatibility across > different SOAP engines. Forget about the wsdl2JAVA that is in Axis2 1.4 and > use wsimport(contract first)/wsgen(code first). Both of these are now part > of JDK 1.6. Okay... Thank

JAX-WS in Axis2

2008-07-07 Thread Andrew Clegg
Morning all, I'm a little confused about the role of JAX-WS in Axis2. Maybe someone can enlighten me a little. My previous WS experiences were in C# and I've only been investigating the Java options for a month or so. Specifically, there seems to be a lot of overlap between the features described

Re: Lightweight servlet container to test web services

2008-07-03 Thread Andrew Clegg
2008/7/3 Paul Fremantle <[EMAIL PROTECTED]>: > Andrew > > In tests, Axis2 is much more performant running in Tomcat or with the > native non-blocking NIO transports that with the built-in standard > server. We use Tomcat in an embedded way in the WSO2 Web Services App > server (http://wso2.org/proj

Re: Lightweight servlet container to test web services

2008-07-03 Thread Andrew Clegg
For production use, what are the advantages of deploying Axis2 within a full-on application server? We don't use any other Java web applications -- indeed, we don't use any other Java applications at the moment -- but we are migrating some webservices from Perl/SOAP::Lite to Java/Axis2. Given tha

Re: faultstring unknown: nomination for the world's least useful error message

2008-06-27 Thread Andrew Clegg
2008/6/27 keith chapman <[EMAIL PROTECTED]>: > Try setting these two parameters in your axis2.xml > > true > > true Brilliant! Thanks. Andrew. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

faultstring unknown: nomination for the world's least useful error message

2008-06-27 Thread Andrew Clegg
Morning all, A question for the Axis team. When a method in my class implementing a web service (Axis2 1.3, ADB) causes a NullPointerException, the SOAP response I get back looks like this: http://schemas.xmlsoap.org/soap/envelope/";> soapenv:Server unknown

Re: XSD inheritance (via extension) in WSDLs (top-down)

2008-06-26 Thread Andrew Clegg
2008/6/26 Amila Suriarachchi <[EMAIL PROTECTED]>: >> By the way, in the process, I hit upon a case under XMLBeans where the >> response documents failed validation against the original WSDL. Should >> I post a test case that demonstrates this? Or is Axis2 with XMLBeans >> not guaranteed to produce

Re: XSD inheritance (via extension) in WSDLs (top-down)

2008-06-26 Thread Andrew Clegg
2008/6/26 Amila Suriarachchi <[EMAIL PROTECTED]>: > Here your request should be something like this > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; > xmlns:typ="http://ws.cathdb.info/Types";> > > > > >tess > > > >

XSD inheritance (via extension) in WSDLs (top-down)

2008-06-25 Thread Andrew Clegg
Here's a question for the schema design gurus. I have a document/literal wrapped WSDL which defines an operation called SubmitBLAST. The corresponding element for the input message looks like this:

Re: "An error occurred while completing process -java.lang.reflect.InvocationTargetException"

2008-06-25 Thread Andrew Clegg
2008/6/25 Pedro Felipe <[EMAIL PROTECTED]>: > When I tryed to generate the WSDL from a Java file (Operation - > Java2WSDL) nothing happens. > In the last screen ("Select the location for the generated WSDL") apears a > message: "An error occurred while > completing process -java.lang.reflect.Invoc

Re: SOAP fault "Could not initialize class ..."

2008-06-24 Thread Andrew Clegg
uide it all came together. Hopefully this followup will help someone else avoid the same mistake... Andrew. 2008/6/24 Andrew Clegg <[EMAIL PROTECTED]>: > Afternoon all, > > I'm trying to get some XMLBeans-based service stubs in place and I'm > hitting an odd problem which I can

SOAP fault "Could not initialize class ..."

2008-06-24 Thread Andrew Clegg
Afternoon all, I'm trying to get some XMLBeans-based service stubs in place and I'm hitting an odd problem which I can't find any reference to via Google. The services deploy to the server fine, with no error messages, and I can see them in http://localhost:8080/axis2/services/ and view the WSDLs

Ant codegen very slow in Eclipse

2008-06-23 Thread Andrew Clegg
Does anyone else find that the Ant code generation task is very slow when run in Eclipse? My WSDL file takes 18 seconds to convert to Java from an Ant task on the command line (and about the same or less if using wsdl2java.sh) but takes about 9-10 MINUTES if the same Ant task is started from Eclip

Re: Multiple services from one WSDL... advice?

2008-06-23 Thread Andrew Clegg
2008/6/22 Amila Suriarachchi <[EMAIL PROTECTED]>: >> So instead I'm planning on keeping them in separate services, and >> writing a custom Ant task that runs the code generator three times and >> deploys three separate services to the server. > > If you have three services you don't have to do thi

Re: Multiple services from one WSDL... advice?

2008-06-20 Thread Andrew Clegg
2008/6/20 Willard, Jonathan <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > Great stuff, thanks for the example, I reckon I can ge

Re: Multiple services from one WSDL... advice?

2008-06-20 Thread Andrew Clegg
Hi Jon, thanks for the tips. I've stayed on-list for the benefit of future searchers... 2008/6/20 Willard, Jonathan <[EMAIL PROTECTED]>: > I am building multiple services that get bundled into one .aar file. I > have a servcies.xml file that uses this structure > > > > > It's good to

Multiple services from one WSDL... advice?

2008-06-20 Thread Andrew Clegg
Morning folks, a new Axis2 user here seeking some sage advice. I'm working on a new WS interface for a scientific compute farm, using Axis2 to generate server classes from WSDLs. The WSDLs currently define three services: Submit, Monitor and Retrieve. Submit offers various operations for submitti