ReST with Axis2

2013-04-24 Thread Jack Sprat
I've been struggling with Axis2 and ReST for a few days and hope someone can help. I have created a version 2.0 WSDL for a very simple service and can generate the code stubs using the wsdl2java command.  In the WSDL I have 2 bindings - 1 for HTTP and 1 for SOAP.  SOAP requests work fine.  All

Re: OpenClinica Axis2 1.6.2 Error

2013-04-24 Thread subrahmanya konduru
Obviously it needs a valid wsdl to be available at the specified location. Try to replace it with a valid URL or download the wsdl and specify the local path to wsdl. Thanks, On Wed, Apr 24, 2013 at 7:14 PM, Erdmann, Patrick < patrick.erdm...@philips.com> wrote: > Hi, > > sd > > i get the foll

AW: Code Generation Exception - any way to work around?

2013-04-24 Thread Stadelmann Josef
If you have NOW an JAX-WS client - can you also make a JAX-WS server? We did so on OpenVMS and we built the server with Maven on OpenVMS as a JAX-WS service into a .WAR package and deploy it to Tomcat. all fine. So we have now a client on .NET 4.0 WCF calling a stub generated by add refere

Re: OpenClinica Axis2 1.6.2 Error

2013-04-24 Thread Shameera Rathnayaka
Hi Erdmann, did you valide your WSDL? If not please valid the WSDL and see is it a valid one. you can use either eclipse WSDL validator[1] or any other WSDL validator for this. If it is a valid one then please provide full stacktrace of error. Thanks, Shameera. [1] http://wiki.eclipse.org/WSDL_

OpenClinica Axis2 1.6.2 Error

2013-04-24 Thread Erdmann, Patrick
Hi, sd i get the following error Message when using wsdl2java: Apr 24, 2013 3:28:46 PM org.apache.axis2.schema.SchemaCompiler compile WARNING: No schemaLocation for import of http://openclinica.org/ws/beans; compilation may fail Apr 24, 2013 3:28:47 PM org.apache.axis2.schema.SchemaCompiler write

RE: Code Generation Exception - any way to work around?

2013-04-24 Thread Talley, Angelina
Hi folks! Yep, I thought about that. But, interestingly enough, wsimport (for creating a JAX-WS client) works, and I can even pass the simple test of opening the file as an XML file in IE (if it was malformed it would not open). It's just Axis that fails. :( So, I figure it's probably something

AW: Code Generation Exception - any way to work around?

2013-04-24 Thread Stadelmann Josef
maybe you can take someone's Visual Studio 2010 or better and use the add service reference menu to suck up the wsdl file and create stubs and skeletons maybe it gives you insight about what is wrong with your wsdl. Josef Von: Talley, Angelina [mailto:angelina.tal...@nexusis.com] Gesende

Re: Code Generation Exception - any way to work around?

2013-04-24 Thread subrahmanya konduru
>From the error stack trace i understand that there is some error while parsing the wsdl file... The below snippet from your error stack trace conveys that message. *Caused by: java.lang.NullPointerException* *at com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityAttributes(Unknown* *Source